Teaching C++ as a First Programming Language

2019 ◽  
Vol 2 (2) ◽  
Author(s):  
Ivaylo Donchev ◽  
◽  
◽  

Nowadays, most C++ introductory courses begin by studying the procedural constructs of C language, following the imperative-first strategy described in CC2001 [7]. While this has been a successful approach in the near past, our experience shows that it does not lead to the development of skills to create a good C++ code. That’s why in recent years we’ve been teaching C++ to beginners in a totally different way – with avoidance of C-style strings and raw arrays; delayed introduction to pointers (just after references); polymorphism with references instead of pointers; smart pointers instead of raw pointers; early use of standard library features, and writing modern C++ from day one.

2014 ◽  
Vol 926-930 ◽  
pp. 4553-4556
Author(s):  
Hao Cui Du ◽  
Jian De Fan

C Language Programming is one of the main courses for computer science majors’ students. As the first programming language, it is difficult to learn and teach for both of students and teachers. In our traditional teaching methods, we had to introducing statements and syntaxes, in addition to some simple examples. However, this method showed the lack of logic system training in the programming approach and the students taught by this mode were not so competent for handling problems occurring in programming. Therefore, the teaching method of C Language programming needs reforming. After years of experiencing the new teaching modes, we come to a conclusion that teaching C Language Programming should be based on the programming approach, importing the software engineering ideas into teaching, and practicing Case Studies and Project teaching mode, i.e, teaching students in accordance with their aptitude. This teaching mode has brought us great achievements so far.


2021 ◽  
Vol 13 (2) ◽  
Author(s):  
Gajendra Sharma ◽  
Toshika Ojha

This study explores how the first-year undergraduate students in School of Engineering, Kathmandu University learns their very first programming language i.e. C programming. The students were requested to response to an online questioner, where they were asked about their perception about the programming language they are learning, their motivation on learning that particular language and their strategy on preparing for the subject. Student’s concept on C programming and their approach for preparing for the exam are categorized. Our results show what kind of different strategies they use to learn this particular programming language. Additionally, the insights of this paper point that learning theory of programming and practicing programming goes hand in hand in C programming course and the focus here is on learning difficult topics which involves investigating students perceptions and conceptions of causality in relation to learning difficulties (Berglund et al., 2009). This study is intended to be helpful for future teachers and students in programming courses in Nepal.


2013 ◽  
Vol 380-384 ◽  
pp. 1734-1737
Author(s):  
Xiang Ping Xiao

As its international status, mastering C programming language is very important, for example the java language, popular and widely used at present, which has all kinds of connections with C programming language. In the C language, the bubbling sort, which has the knowledge of the cycle and array, has been seen as classic examples to explain, and also is used in a variety of computer exams. One important reason is the bubbling sort itself more classic; another is that it is not easy for students to grasp and understand the bubbling sort. This paper will explore a new teaching method--introduction of mathematical thought--to help students to understand and master the bubbling sort.


1992 ◽  
Vol 1 (2) ◽  
pp. 99-114
Author(s):  
Tom MacDonald

The predominant programming language for numeric and scientific applications is Fortran-77 and supercomputers are primarily used to run large-scale numeric and scientific applications. Standard C* is not widely used for numerical and scientific programming, yet Standard C provides many desirable linguistic features not present in Fortran-77. Furthermore, the existence of a standard library and preprocessor eliminates the worst portability problems. A comparison of Standard C and Fortran-77 shows several key deficiencies in C that reduce its ability to adequately solve some numerical problems. Some of these problems have already been addressed by the C standard but others remain. Standard C with a few extensions and modifications could be suitable for all numerical applications and could become more popular in supercomputing environments.


1993 ◽  
Vol 3 (1) ◽  
pp. 5-34 ◽  
Author(s):  
Tim Lambert ◽  
Peter Lindsay ◽  
Ken Robinson

AbstractThe functional programming language Miranda has been used as a first programming language at the University of NSW since the beginning of 1989, when a new computer engineering course and a revised computer science course were introduced. This paper explains the reasons for choosing the language, and describes the subject in which Miranda is introduced. Examples of the presentation of the material, and of exercises and assignment used in the course, are given. Finally, an assessment of the experience is given.


Sign in / Sign up

Export Citation Format

Share Document