Beruflich Dokumente
Kultur Dokumente
MODULE MANUAL
Instructor:Ravi Govil
ravigovil@its.edu.in
Semester Second
Session – 2018-19
Section A
1 Module descriptor
3 Mode of assessment
4 University Syllabus
5 Suggested Readings
6 Key Dates
Semester:II
Introduction/ Description:
1. Student must be aware about the fundamental of C with the basic knowledge of
programming.
2. It is assumed that the reader is familiar with the C Programming environment.
Course Objective:
Learning Outcomes:
Mode of Assessment:
III. Attendance
UNIT-I
Arrays
Definition, declaration and initialization of one dimensional array; Accessing array elements;
Displaying array elements; Sorting arrays; Arrays and function; Two-
Dimensional array: Declaration and Initialization, Accessing and Displaying, Memory
representation of array [Row Major, Column Major]; Multidimensional array
UNIT-II
Pointers
Definition and declaration, Initialization; Indirection operator, address of operator; pointer
arithmetic; dynamic memory allocation; arrays and pointers; function and pointers
UNIT-III
Strings
Definition, declaration and initialization of strings; standard library function: strlen(), strcpy(),
strcat(), strcmp(); Implementation without using standard library functions
UNIT-IV
Structures
Definition and declaration; Variables initialization; Accessing fields and structure operations;
Nested structures; Union: Definition and declaration; Differentiate between Union and structure
UNIT-V
Introduction C Preprocessor
Definition of Preprocessor; Macro substitution directives; File inclusion directives; Conditional
compilation
Bitwise Operators
Bitwise operators; Shift operators; Masks; Bit field
UNIT-VI
File handling
Definition of Files, Opening modes of files; Standard function: fopen(), fclose(), feof(), fseek(),
fewind();Using text files: fgetc(), fputc(), fscanf()
Command line arguments
This module is taught via a series of lectures, case studies (in the form of different programs). In
addition to lectures reading about the topics from the different text book is required.
RECOMMENDEDREADING
Student could also refer Internet for course material and for gaining current technologies in the
market. There are numbers of web portals where you can find the material. Some of them are
listed below:
1. C Language Tutorial
phy.ntnu.edu.tw/~cchen/ctutor.pdf
2. A Tutorial on Pointers and Arrays in C
pw1.netcom.com/~tjensen/ptr/pointers.htm
KEY DATES
UNIT-I
Arrays
1 Revision of the important 1 Lecture Board and Let us C
Concepts Taught in previous marker :YashwantKanitkar
semester BPB Publication
UNIT-V
Introduction C Pre-processor
21 Definition of Pre-processor; 28 Lecture Board and Programming in
Macro substitution directives; File Marker Ansi C :
inclusion directives; Conditional E.Balaguruswamy
compilation McGraw Hill[
Sixth Edition]
CH 14
PAGE NO. 452-
460
22 Bitwise Operators 29 Lecture Board and Let us C
Bitwise operators; Shift operators; Marker :YashwantKanitkar
Masks; Bit field , BPB Publication
Revision of Unit V CH 14 PAGE
NO. 490-
508,PAGE NO.
526-528
Discussion of Q
uestion of Unit 5
based on the
University
Question Papers
UNIT-VI
File handling