Transformer, a deep learning technology, has achieved great success in various applications such as natural language processing. However, its space-time consumption remains a concern, leading to the issue of AI techno...
详细信息
Transformer, a deep learning technology, has achieved great success in various applications such as natural language processing. However, its space-time consumption remains a concern, leading to the issue of AI technology monopoly. Therefore, downsizing this technology is critical to mitigating the adverse effects of technological monopoly on innovation and competition. This article proposes a revised version of the Performer, an efficient variant of Transformer. Specifically, the proposed revision aims to resolve three issues associated with Performer. First, generating a target token necessitates padding tokens that require O(L) space and time for sequences of maximum length L. Second, Performer redundantly calculate attentions between previously generated tokens. Third, inconsistencies arise between the training and inference phases due to normalizer calculation in the stable FAVOR+ masked attention operation. The proposed revision introduces a cached version of the FAVOR+ operation, resulting in fast text generation with O(L) time and O(1) space complexity. To examine the effectiveness of the proposed revision, a Performer -based encoder/decoder model that generates text feedback for code correction in object -orientedprogramming education is developed and evaluated. The results show that the revised Performer achieves high accuracy and a more than 120 -fold increase in inference speed. In addition, user evaluation shows that the feedback generated by this model is more beneficial for programming education than that generated by ChatGPT.
In order to teach object-oriented design and programming in introductory computer science it is imperative to teach objects from the very beginning of the course. The use of interacting objects is motivated by example...
详细信息
In order to teach object-oriented design and programming in introductory computer science it is imperative to teach objects from the very beginning of the course. The use of interacting objects is motivated by examples with an inherent complexity. We describe a case study based on a maze as an example that provides a complex framework but at the same time admits to simple pieces that students can work with early in an introductory course. This case study can be used throughout the first year not only to introduce basic control structures, but also to introduce a number of design ideas and algorithms.
To simulate the process of cold roll-forming process, a new method isadopted. The theoretical foundation of this method is an elastic-plastic large deformation splinefinite strip method based on object-oriented progra...
详细信息
To simulate the process of cold roll-forming process, a new method isadopted. The theoretical foundation of this method is an elastic-plastic large deformation splinefinite strip method based on object-oriented programming. Combined with the computer graphicstechnology, the visual simulation of cold roll-forming is completed and the system is *** analyzing common channel steel, the process is shown and explained including theory method, modeland result display. So the simulation system is already a kind of mature and effective tool toanalyze the process of cold roll forming.
In this paper, we present a new approach to the integration of object-oriented programming languages, database programming languages and query languages. While object-oriented programming languages and languages that ...
详细信息
ISBN:
(纸本)9789728865887
In this paper, we present a new approach to the integration of object-oriented programming languages, database programming languages and query languages. While object-oriented programming languages and languages that are supported by object database systems appear to be closely related, there are a number of significant differences that affect language design and implementation. Such issues include the degree of encapsulation, persistence, the incooperation types and classes, inheritance, concurrency, NULL values, garbage collection etc. In this paper, we outline the respective challenges that affect language design and provide a brief overview of the integrated object-oriented database programming and querying language DBPQL.
Learners of object-oriented programming (OOP) languages need to understand several OOP concepts such as encapsulation, polymorphism and inheritance. Procedural languages often learned in the introductory programming c...
详细信息
ISBN:
(纸本)9781728124643
Learners of object-oriented programming (OOP) languages need to understand several OOP concepts such as encapsulation, polymorphism and inheritance. Procedural languages often learned in the introductory programming course do not have these concepts. Even when learners understand these concepts through examples, they generally do not always appreciate their usefulness. Besides, learners need to understand several design techniques of OOP as well as the basic concepts of OOP. This paper proposes a Web -based learning support system using graphics programming for understanding concepts and design techniques of OOP.
In this review paper, the studies dedicated to identifying the learning of objectorientedprogramming through Serious Games(SGs) and applying different programming approached applied were investigated. This systemati...
详细信息
ISBN:
(纸本)9781538621073;9781538621066
In this review paper, the studies dedicated to identifying the learning of objectorientedprogramming through Serious Games(SGs) and applying different programming approached applied were investigated. This systematic review attempts to gather all evidence that helps answer three specific research questions: identification of SGs developed or incorporated for learning OOP, OOP concepts covered in those games, and programming approaches applied. Three different ways were found as result of the learning through SGs: learning by playing games, learning by creating games and learning by using game related tools. Majority of studies covered all basic OOP concepts. The programming approaches applied includes object first, concept first, GUI first and code first programming approaches. Result indicates learning by playing games is most frequently used and effective strategy followed by learning by using game related tools. The most common programming approach applied is Game as first approach.
With billions of lines of code being deployed and running on cloud servers, PCs, as well as battery-driven mobile phones, embedded systems, and IoT devices, software energy efficiency will play an increasingly importa...
详细信息
ISBN:
(纸本)9781538634707
With billions of lines of code being deployed and running on cloud servers, PCs, as well as battery-driven mobile phones, embedded systems, and IoT devices, software energy efficiency will play an increasingly important role in green IT. In the past decades, objectorientedprogramming (OOP) has become the de facto standard for commercial software design. However, very little is known about the impact of OOP and design patterns on software energy efficiency. In this paper, we conduct an empirical study on a series of OOP features and design patterns and find out that their influences on performance and energy efficiency vary greatly. Some of them have negligible impact while others could degrade performance and increase energy consumption. If used appropriately, design patterns can also help improve performance and reduce energy consumption.
This contribution presents a computational framework for simulation and gradient-based structural optimization of geometrically nonlinear and large-scale structural finite element models. CAGD-free optimization method...
详细信息
ISBN:
(纸本)9781905088416
This contribution presents a computational framework for simulation and gradient-based structural optimization of geometrically nonlinear and large-scale structural finite element models. CAGD-free optimization methods have been developed to integrate shape optimization in an early stage of design and to reduce the related modelling effort. To overcome the problem of an increasing numerical cost due to the large design space, the design sensitivities for objectives and constraints are evaluated via adjoint formulations. A new parallel computation strategy for sensitivity evaluation is presented which takes advantage of a completely parallelized simulation and optimization environment. Two application examples illustrate the method and demonstrate the high parallel efficiency.
This document will present an educational videogame called Ashy. alRescate () that aims to teach the subject of object-oriented programming (OOP) in Java programming language through the mixture of a baseline story of...
详细信息
ISBN:
(纸本)9781538692332
This document will present an educational videogame called Ashy. alRescate () that aims to teach the subject of object-oriented programming (OOP) in Java programming language through the mixture of a baseline story of the videogame with the implementation of programming code. The student programs the classes of the characters, their methods, attributes among others, for providing functionality to the characters. The results tested on university students show that there are improvements either in learners with only previous knowledge in C programming and in learners which have pursued an OOP course.
暂无评论