REVISION TOUR OF XI C++: (For XII CS
REVISION TOUR OF XI C++: For XII CS
TOTAL MARKS : 12 M
GENERAL DEFINITION - 2 M
HEADER FILE - 1 M
ERROR CORRECTION - 2 M
OUTPUT - - 3 M
OUTPUT - -2 M
OUTPUT - -2 M
*************************************************
1. C++ Tokens (Identifiers, Keywords, Constants, Operators)
2. Header files
3. Use of endl and setw ()
4. Cascading of I/O operators
5. Concept of Data types; Built-in Data types: char, int, float and double
6. Constants: Integer Constants,Character constants - \n, \t, \b), Floating Point Constants, String Constants
7. Access modifier: const; modifier: signed, unsigned, long
8.Syntax Errors, Logical Errors
9.Flow of control : Conditional statements: if-else, Nested if, switch..case..default, use of conditional operator, Nested switch..case, break statement (to be used in switch..case only); Loops: while, do - while , for and Nested loops
10.Inbuilt Functions Header file Categorization
Standard input/output functions
stdio.h gets ( ), puts ( )
Character Functions
ctype.h isalnum ( ), isalpha ( ),
isdigit ( ), islower ( ),
isupper ( ), tolower ( ),
toupper ( )
String Functions
string.h strcpy ( ), strcat ( ),
strlen ( ), strcmp ( ),
strcmpi ( ), strrev ( ),
strlen ( ), strupr ( ),
strlwr ( )
Mathematical Functions
math.h fabs ( ), pow ( ), sgrt ( ),
sin ( ), cos ( ), abs ( )
Other Functions stdlib.h
randomize ( ), random ( ),
itoa ( ), atoi ( )
11.User Defined Functions:
12.Defining a function; function prototype, Invoking/calling a function, passing arguments to function,
13. specifying argument data types, default argument, constant argument, call by value, call by reference,
14. returning values from a function, calling functions with arrays, scope rules of functions and variables
15. local and global variables.
16. Arrays: Introductory to Array and its advantages.
One Dimensional Array : Declaration/initialisation of One-dimensional array, Inputting array elements,
Accessing array elements, Manipulation of Array elements (sum of elements, product of elements,
average of elements, linear search, finding maximum/minimum value)
17. Declaration/Initialization of a String, string manipulations (counting vowels/ consonants/digits/special characters, case conversion, reversing a string, reversing each word of a string)
18.Two-dimensional Array
Declaration/initialisation of a two-dimensional array, inputting array elements Accessing array elements,
Manipulation of Array elements (sum of row element, column elements, diagonal elements, finding maximum/minimum values)
19.User-defined Data Types:
Introduction to user defined data types.
Structure
Defining a Structure (Keyword Structure), Declaring structure variables, Accessing structure elements,
Passing structure to Functions as value and reference argument/parameter, Function returning structure,
Array of structures, passing an array of structure as an argument/ a parameter to a function
20. Defining a symbol name using typedef keyword and defining a macro using #define directive.
................................*************................................
TOTAL MARKS : 12 M
GENERAL DEFINITION - 2 M
HEADER FILE - 1 M
ERROR CORRECTION - 2 M
OUTPUT - - 3 M
OUTPUT - -2 M
OUTPUT - -2 M
*************************************************
1. C++ Tokens (Identifiers, Keywords, Constants, Operators)
2. Header files
3. Use of endl and setw ()
4. Cascading of I/O operators
5. Concept of Data types; Built-in Data types: char, int, float and double
6. Constants: Integer Constants,Character constants - \n, \t, \b), Floating Point Constants, String Constants
7. Access modifier: const; modifier: signed, unsigned, long
8.Syntax Errors, Logical Errors
9.Flow of control : Conditional statements: if-else, Nested if, switch..case..default, use of conditional operator, Nested switch..case, break statement (to be used in switch..case only); Loops: while, do - while , for and Nested loops
10.Inbuilt Functions Header file Categorization
Standard input/output functions
stdio.h gets ( ), puts ( )
Character Functions
ctype.h isalnum ( ), isalpha ( ),
isdigit ( ), islower ( ),
isupper ( ), tolower ( ),
toupper ( )
String Functions
string.h strcpy ( ), strcat ( ),
strlen ( ), strcmp ( ),
strcmpi ( ), strrev ( ),
strlen ( ), strupr ( ),
strlwr ( )
Mathematical Functions
math.h fabs ( ), pow ( ), sgrt ( ),
sin ( ), cos ( ), abs ( )
Other Functions stdlib.h
randomize ( ), random ( ),
itoa ( ), atoi ( )
11.User Defined Functions:
12.Defining a function; function prototype, Invoking/calling a function, passing arguments to function,
13. specifying argument data types, default argument, constant argument, call by value, call by reference,
14. returning values from a function, calling functions with arrays, scope rules of functions and variables
15. local and global variables.
16. Arrays: Introductory to Array and its advantages.
One Dimensional Array : Declaration/initialisation of One-dimensional array, Inputting array elements,
Accessing array elements, Manipulation of Array elements (sum of elements, product of elements,
average of elements, linear search, finding maximum/minimum value)
17. Declaration/Initialization of a String, string manipulations (counting vowels/ consonants/digits/special characters, case conversion, reversing a string, reversing each word of a string)
18.Two-dimensional Array
Declaration/initialisation of a two-dimensional array, inputting array elements Accessing array elements,
Manipulation of Array elements (sum of row element, column elements, diagonal elements, finding maximum/minimum values)
19.User-defined Data Types:
Introduction to user defined data types.
Structure
Defining a Structure (Keyword Structure), Declaring structure variables, Accessing structure elements,
Passing structure to Functions as value and reference argument/parameter, Function returning structure,
Array of structures, passing an array of structure as an argument/ a parameter to a function
20. Defining a symbol name using typedef keyword and defining a macro using #define directive.
................................*************................................