3. Aug. 22 Sc. Problem Solving: Introduction to Algorithms/Flowcharts. Introduction Getting Started: C++ character set, C++ Tokens (Identifiers, To C++ Keywords, Constants, Operators,), Structure of a C++ Program (include files, main function), Header files – iostream.h, iomanip.h, cout, cin; use of I/O operators (<<and>>), Use of endl and setw ( ), Cascading of I/O operators, compilation , Error Messages; Use of editor, basic commands of editor, compilation, linking and execution. Data Types, Variables and Constants: Concept of Data types; Built-in Data types: char, int , float and double; Constants: Integer Constants, Character 20+12 02 34 constants (- \n, \t, \b), Floating Point Constants, String Constants; Access modifier: const; Variables of built-in-data types, Declaration/Initialization of variables, Assignment statement, Type modifier: signed, unsigned, long Operator and Expressions: Operators: Arithmetic operators (-,+,*,/,%), Assignment operator (=), c++ shorthands (+=, -=,*=,/=,%=) Unary operators (-), Increment (++) and Decrement (--) Operators, Relation operator (>,>=,<=,=,!=), Logical operators (!,&&,||), Conditional operator: <condition>?<if false>; Precedence of Operators; Automatic type conversion in expressions, Type casting; 4. Sep. 23 Sc. Flow of control Programming Conditional statements: if else, Nested if, In C++ use of conditional operator, (Control Nested switch..case, break statement (to be used in Structures) switch..case only); 20+14 03 37 Loops: while, do – while, for and Nested loops Standard Inbuilt Functions Functions
3. Aug. 22 Sc. Introduction To C++ Problem Solving: Introduction to Algorithms/Flowcharts. Getting Started: C++ character set, C++ Tokens (Identifiers, Keywords, Constants, Operators,), Structure of a C++ Program (include files, main function), Header files – iostream.h, iomanip.h, cout, cin; use of I/O operators (<<and>>), Use of endl and setw ( ), Cascading of I/O operators, compilation , Error Messages; Use of editor, basic commands of editor, compilation, linking and execution. Data Types, Variables and Constants: Concept of Data types; Built-in Data types: char, int , float and double; Constants: Integer Constants, Character constants (- \n, \t, \b), Floating Point Constants, String Constants; Access modifier: const; Variables of built-in-data types, Declaration/Initialization of variables, Assignment statement, Type modifier: signed, unsigned, long Operator and Expressions: Operators: Arithmetic operators (-,+,*,/,%), Assignment operator (=), c++ shorthands (+=, -=,*=,/=,%=) Unary operators (-), Increment (++) and Decrement (--) Operators, Relation operator (>,>=,<=,=,!=), Logical operators (!,&&,||), Conditional operator: <condition>?<if false>; Precedence of Operators; Automatic type conversion in expressions, Type casting; 20+12 02 34 4. Sep. 23 Sc. Programming In C++ (Control Structures) Standard Functions Flow of control Conditional statements: if else, Nested if, use of conditional operator, Nested switch..case, break statement (to be used in switch..case only); Loops: while, do – while, for and Nested loops Inbuilt Functions 20+14 03 37