Fundamentals of Programming (C++)

Fundamentals of Programming (C++)


1. Introduction to Computer Programming (Introduction)

  • Why Machines?
  • What is a Programming?
  • Programming languages
  • Stages of Computer Programming
  • Flow chart (a way to design your program)
  • Characteristics of a Good Computer Program


2. Introduction to C++

  • Introduction
  • Key Words, Syntax, and Semantics
  • Escape sequences
  • Simple Program
  • ASCII Art
  • Compilation errors


3. Data Types, Input & Output

A data type in a programming language is a set of data with values having predefined characteristics.

  • C++  Data types
  • Modifiers
  • Variables
  • Input
  • Output
  • Format your console output


4. C++ Operators

  • C++ Operators
  • Precedence of operators


5. Selection

  • Selection (if and switch)
  • debug your code


6. Loops

while, do-while and for loops


7. Functions

A function is a group of statements that together perform a task. EveryC++ program has at least one function, which is main(), and all the most trivial programs can define additional functions


8. Arrays

An array is a container object that holds a fixed number of values of a single type.


9. Pointers and C++ Memory Managements

10.  Menu-driven console applications

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most Graphical User Interface (GUI) operating systems, such as the Win32 console in Microsoft Windows, the Terminal in Mac OS X, and xterm in Unix {wiki}

C++ Console Applications

Class Activities



Lab Sheet

Sample Questions

%d bloggers like this: