University of Madras - Syllabus of Bachelor of Science (BSc) Mathematics - Semester V - Paper XII - Programming Language With 'C' Theory
UNIVERSITY OF MADRAS
B.Sc. DEGREE COURSE IN MATHEMATICS
SEMESTER SYSTEM WITH CREDITS
(Effective from the Academic Year 2003-2004)
SYLLABUS
Semester V - Paper XII - Programming Language With 'C' Theory
Duration of Examination: 3 hrs
Maximum Marks: 100
Credits: 4
C constants, Variables, Data-types, Declaration of variables, Assigning values to variables.
Operators:
Arithmetic, Relational, Logical, Increment and Decrement Conditional Operators.
Arithmetic Expressions, Evaluation of Expressions, Precedence of arithmetic operators, Formatted Input
and Output, Decision making and branching, If, Simple-If, If-Else, Nesting of If-Else
Else-IF Ladder, Switch Statement, The ?: Operator, Go to Statement
Decision making with looping: While, Do, For Statement, Jumps in loops
Arrays: 1-dimensional, 2-dimensional array, Initiatising 2-D arrays, Multi-Dimensional arrays
User-Defined Function:
Need for user-defined function, Multi-Function Progarm, The form of C-Function return value and their types, Calling a function, Category of functions, No arguments and no return values, arguments but no return values, arguments with return values. Handling of non-integer functions, Nesting of functions, Recursion, Function with Arrays, Scope and lifetime of variables in functions Structure and Unions: Structure definition, Giving values to numbers, Structure initialisation, Comparison of structure variables, Arrays of structure, Arrays within Structures, Structure within Structures, Structures and functions.
Pointers:
Understanding pointers, accessing the address of a variable, Declaring and initialising of pointers, accessing a variable through its pointer, Pointer expression, Pointer increments and scale factor, Pointers and arrays, Pointers and functions, Pointers and structures
Files: Defining and opening a file, closing a file.
Reference Books:
Programming in ANSI C 2nd edition, E.Balaguruswamy, Tata-Mcgraw Hill Publishing company.
Chapter Sections
2 2.5 to 2.9
3 3.2 to 3.7,3.l0 to 3.12
4 4.4,4.5
5 5.2 to 5.9
6 6.2 to 6.5
7 7.2 to 7.5
9 9.2,9.15
10 10.2 to l0.9
11 11.2 to 11.8, 11.10 to 11.11
12 12.2,12.3