| 1 |
Introduction to Programming
Compiler vs. Interpreter, C++ Development Environment
|
|
|
|
| 2 |
Variables and Operators
Data Types, Assignment and Relational Operators
|
|
Q1 |
|
| 3 |
Conditional Logic
Logical and Bitwise Operators, Unary Operators, if / if-else / if-else-if
|
|
|
|
| 4 |
Conditional Statements
Nested if, switch, Menu-Driven Programs, Character Comparison
|
|
Q2, Q3 |
A1 |
| 5 |
Loops
while, do-while, for
|
|
|
|
| 6 |
Functions
Global vs. Local Variables, Call Stack and Activation Records
|
|
|
|
| 7 |
Functions II
Pass-by-Value vs. Pass-by-Reference, Inline Functions, Static Variables, Overloading
|
|
Q4 |
|
| 8 |
Midterm Exam
|
|
|
|
| 9 |
Arrays
Declaration and Initialization, Out-of-Bounds Access, Passing Arrays to Functions
|
|
|
|
| 10 |
Arrays II
Character and String Arrays, Static vs. Automatic Local Arrays, Constant Arrays, Multi-dimensional Arrays
|
|
|
|
| 11 |
Arrays III
Linear Search, Binary Search, Bubble Sort, Selection Sort
|
|
Q5 |
A3 |
| 12 |
Recursion and Pointers
Declaration and Initialization, Reference and Dereference Operators, Pointer Operators
|
|
|
|
| 13 |
Pointers II
Pass-by-Value vs. Pass-by-Reference, Pointer Arithmetic, Passing Pointers to Functions, Pointers and Arrays, Arrays of Pointers
|
|
Q6 |
A4 |
| 14 |
Structures and Dynamic Memory
Structures, Dynamic Memory Allocation
|
|
Q7 |
A5 |
| 15 |
File Processing
Reading and Writing Text Files, ifstream and ofstream, Formatted File I/O
|
|
|
|
| 16 |
Pseudo-Random Number Generation
rand() and srand(), Generating Numbers in a Range, Simple Simulations
|
|
Q8 |
A6 |
| 17 |
Final Exam
|
|
|
|