In recent years, object-oriented programming has become the most influential programming paradigm. But teaching and learning object-oriented(OO) programming are both difficult. There has been debate about problems of ...
详细信息
In recent years, object-oriented programming has become the most influential programming paradigm. But teaching and learning object-oriented(OO) programming are both difficult. There has been debate about problems of teaching OO at university. In this paper, we focus the teaching OO issues on the student of Internet of Things(Io T) major. By analyzing the situation of major and students propose the specific strategies to the existing problems.
Traditional approaches to using data structures mainly focus on the improvement in algorithm efficiency but rarely take advantage of object-oriented programming that can simulate the definition of mathematic concepts ...
详细信息
Traditional approaches to using data structures mainly focus on the improvement in algorithm efficiency but rarely take advantage of object-oriented programming that can simulate the definition of mathematic concepts in a way that is similar to human thinking mode,so traditional approaches cannot satisfy the need of simulating sets and their features and operations for mathematics studies. In this paper, the author pointed out the disadvantages of traditional ways, proposed a series of hypotheses describing the relationship between sets and classes such as inheriting and inclusion relationships and a way based on those hypotheses using features of object-oriented programming, and used C#, one of the best object-oriented programming languages, to simulate sets and their features. In addition, for each hypothesis,the author raised examples with C# codes that realize the theory in this paper, clearly showing the approach proposed in this paper and why it is both efficient and elegant.
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.
The University of Maryland University College (UMUC) serves a dispersed patron base, and its library has developed, over time, a circulation system for distributing physical research materials to its patrons throughou...
详细信息
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.
暂无评论