COURSE OBJECTIVES

  • Learn and Recognize syntax of different constructs of C++.
  • Anticipate output for C++ statements.
  • Learn C++ constructs to design solution for small scale computational problems.
  • Apply programming knowledge and design algorithms that solve small-to-moderate scale computational problems.

COURSE LEARNING OUTCOMES (CLO)

CLO: 1. Learn and Recognize syntax of different constructs of C++.
CLO: 2. Anticipate output for C++ statements.
CLO: 3. Learn C++ constructs to design solution for small scale computational problems.
CLO: 4. Apply programming knowledge and design algorithms that solve small-to-moderate scale computational problems


COURSE CONTENTS


1 Introduction to computers, Parts of computer, description and bird eye view of working of different components, with their measuring units (capacity, speed etc). Various interfaces and peripherals. Introduction to software, types of software, purpose, need and working of OS, system software, drivers, and different application software.
2 Anatomy of C++ program and how the program is compiled and linked, escape sequences. Data types, signed, unsigned variable, assign and display values Constant variables and data casting and sizes of data types. Operations, Arithmetic operators, Unary Operators, assignment operators
3 Expressions / mixed expressions and casting (Implicit and Explicit casting) Control structures. If, if-else
4 multiple If-else-if, nested if and Logical operators Switch statement, Ternary operators
5 for loop, While loop, do while loop
6 nested loops+ Practice Questions using nested loop
7 Arrays (Single Dimension), Char Arrays (NULL terminated Single Dimension character),
8 Sorting, searching and MIN MAX Course Revision
9 Mid Discussion and Intro to Multi-dimension arrays Examples of Multi-dimension arrays
10 Introduction to Functions, scope and life time of variables, local, global and static variables Function Parameters (Pass by Value and Pass by reference)
11 Functions and arrays. Introduction to Strings
12 Strings Manipulation and Functions Introduction to Pointers , pointers referencing, indirection
13 Pointer arithmetic, Pointer and functions Constant Pointers & Constant Data, Void Pointers Class Test
14 Introduction to Structures, DOT operator, accessing structure data member. Making an array of structures
15 Passing structures and array of structures to functions by pointers Examples of Structures