Module Description:        

Data types, variables, assignment, general structure of a program; Input/Output; Arithmetic expression; Introduction to Classes and Objects; Relational operators; Boolean expression, logical operators; conditional Statements: If. Else, Switch; Loop: for, while, do .. while; Methods: Constructor, getter/setter, Method overloading; Array; Exception handling.

Module Aims:                           

·         Construct error-free C++ programs.

·         Divide a problem into its logical components.

·         Understand the basic structured programming concepts.

·         Design and code small to medium sized problems from the start using C/C++ constructs, such as input/output statements, if-then-else statements, while and for loops, functions

·         Employ some of the available data structures in C++ such as built-in data types, arrays and pointers to solve programming problems.

·         Use the required developments tools to write, compile, trace and debug C++ programs.

Learning Outcomes:                                                   

·         Identify the basic components of a computer system.

·         Design an algorithm to solve a given problem using the top-down design approach.

·         Know the difference between call-by-value and call-by-reference parameters.

·         Understand the notion of procedural abstraction.

·         Understand and use the three basic programming structures: sequence, selection, repetition.

·         Use arrays, strings and pointers to manipulate data.

Textbook:                                                                   

 C++: How To Program, Deitel and Deitel, 5th edition, Prentice Hall, 2005.