University of Madras - Syllabus of Bachelor of Computer Applications (BCA) Ist Year - Semester II - BCA108 - Programming in C
UNIVERSITY OF MADRAS
Bachelor in Computer Applications (BCA)
SEMESTER SYSTEM WITH CREDITS
(Effective from the Academic Year 2003-2004)
SYLLABUS
Semester II - BCA108 - Programming in C
Lecturer/Lab Hours per Week: 6
Duration: 3 hrs
Max Makrs: 100
Credit: 4
Unit - I
C fundamentals Character set - Identifier and keywords - data types - constants - Variables - Declarations - Expressions - Statements - Arithmetic, Unary, Relational and logical , Assignment and Conditional Operators - Library functions.
Unit - II
Data input output functions - Simple C programs - Flow of control - if, if-else, while, do-while, for loop, Nested control structures - Switch, break and continue, go to statements - Comma operator.
Unit - III
Functions -Definition - proto-types - Passing arguments - Recursions. Storage Classes - AutOmatic, External, Static, Register Variables - Multi-file programs.
Unit - IV
Arrays - Defming and Processing - Passing arrays to functions - Multi-dimension arrays - Arrays and String. Structures - User defined data types - Passing structures to functions - Self-referential structures - Unions - Bit wise operations.
Unit - V
Pointers - Declarations - Passing pointers to Functions - Operation in Pointers - Pointer and Arrays - Arrays of Pointers - Structures and Pointers - Files: Creating, Processing ,Opening and Closing a data file.
REFERENCES:
1. B.W. Kernighan and D.M.Ritehie, The C Programming Language, 2
nd Edition, PHI, 1988.
2. H. Schildt, C: The Complete Reference, 4
th Edition, TMH Edition, 2000.
3. Gottfried,B.S, Programming with C, Second Edition, TMH Pub. Co. Ltd., New Delhi 1996.
4. Kanetkar Y., Let us C, BPB Pub., New Delhi, 1999.