Computer Fundamentals and Programming in C

Paper Code: 
BIF 123
10.00
Unit I: 
Introduction to computers

Characteristics & capabilities; classification; Components of computer system with Block Diagram, CPU, only preliminary concept of Software, Hardware, Low Level Language, High Level Language, Compiler and Interpreter. Operating Systems: Introduction to operating Systems: WINDOWS, UNIX, Linux operating systems.

12.00
Unit II: 
C Programming basics & control structures

Basics of C programming, Structure of a simple C program, Simple I/o functions, Data types in C, operators & their precedence, Control Structures: if-else statements, switch statement, loops: while, do-while and for loop.

16.00
Unit III: 
Functions

User-defined functions, returning a value from a function, local & Global variables, automatic, Static Register and External Storage class. Parameters: Type, declaration of a function, functions with more than one parameters, recursion, Arrays: arrays (up to 2 dimensions), Declaration and initialization, the break structured, string and character arrays, operations with arrays, The C preprocessors. String and string functions. Structures: Initializing a structure, Arrays of structures, arrays within structures, structures within structures; Structures and functions, Unions,

11.00
Unit IV: 
Pointers in C

Pointers, the concept of pointers, the address and indirection operators, passing pointers as parameters. Dynamic memory allocation, Arrays and pointers, passing by value and reference, Address arithmetic. Basics of Pointer to pointers.

11.00
Unit V: 
File Handling

Modes for files, functions used in files (putchar, getchar, getc, putc, fopen, fclose, fscanf, fprint,fseek, ftell, fread and (write), error handling in files.

ESSENTIAL READINGS: 

1. Norton Peter, “Introduction to Computers”, 6th Edition. TMH, 2001 2. H.M.Deitel & P.J.Deitel, “How to program in ‘C’”, 3rd Edition, Pearson Education, 2001. 3. Byron Gottfried. “Programming with C”. Schaum's Outline Series,Tata McGrawHill Publishing Company, 1998. 4. E. Balagurusamy - “Programming in C++ ” Tata Mc. Graw Hill Edition.

REFERENCES: 

1. B.Kernighan & D.Ritchie. “C Programming Language”, 2nd Edition, Prentice-Hall, 1988. 2. E. Balagurusami. “Programming in ‘ANSI C’”, TMH Publications. 3. Yashwant Kanetkar. “Working with C”, BPB Publications. 4. S. Lipschutz. “C Programming”, Schaum’s outline series, Tata McGraw Hill Edition. 5. Morris Mano. “Computer System Architecture”, 3rd Edition, Prentice-Hall of India Private Limited, 1999. 6. V. Raja Raman, “Introduction to Computers”, PHI, fundamentals

Academic Year: