Level 2 (CQFW Level 5), 20 Credits.
We have 1 upcoming course
(Tuesdays from 6:00 pm to 9:00 pm)
This course is intended for students with some prior knowledge of computer programming. This module aims to provide a sound foundation in programming and is structured so that an appreciation of good practice is gained as well as the essentials of the C++ programming language.
Who is this course for?
This course is ideal for the student who wants a good general introduction to object oriented programming.
Learning and Teaching
This module includes a mix of traditional lectures and laboratory sessions. Each meeting starts with a lecture and finishes with a laboratory session.
Coursework and Assessment
To award credits we need to have evidence of the knowledge and skills you have gained or improved. Some of this has to be in a form that can be shown to external examiners so that we can be absolutely sure that standards are met across all courses and subjects.
During the course, students will be given assignments to be submitted to the course tutor. At the end of the course, there will be a class test.
The most important element of assessment is that it should enhance your learning. Our methods are designed to increase your confidence and we try very hard to devise ways of assessing you that are enjoyable and suitable for adults with busy lives.
- Data Types
- Introduction to classes and objects
- The difference between public and private access to functions and data
- Introduction to constructors
- Overloaded constructors
- Numeric and relational operators
- Use of conditional and iterative control statements
- Accessing arrays using subscripts and pointers
- Formatting of output
- Use of string functions
- Use of static functions and static variables within a class
- Use of new operator to dynamically allocate memory and use of delete operator to release memory
- Handling memory allocation errors
- Use of iostream library functions to get input from the keyboard
- Introduction to inheritance by creating a derived class from a base class
- Inherited and overriden functions in the derived class
- Calling a specific base class constructor from the derived class
- Base class access control
- Command line argument processing
- Writing and reading files using the fstream library functions
- Using user defined classes to write object-oriented programs
Schildt, H. (2003) C++ from the Ground Up. Osborne McGraw-Hill.