Professional Documents
Culture Documents
Course Title: Programming in C Course Code: 3060 Course Category: B Periods/Week: 3 Periods/Semester: 54 Credits: 3 Time Schedule Topic Periods
Course Title: Programming in C Course Code: 3060 Course Category: B Periods/Week: 3 Periods/Semester: 54 Credits: 3 Time Schedule Topic Periods
OBJECTIVES
MODULE -I
1. Operators and Expressions
1.1 Declaration
1.1.1 Constants
1.1.2 Variables
1.1.3 Data types
1.2 Operators
1.2.1 Arithmetic Relational and Logical
1.2.2 Assignment, Increment and decrement
1.2.3 Bitwise, special operator
1.2.4 Precedence of operators
1.3 Expressions
1.3.1 Arithmetic Relational and Logical
1.4 Header files, Library files
1.5 Input, Output Operations
1.5.1 Reading and Writing characters
1.5.2 Getline() function
1.5.3 Output(‘%’) formats
MODULE - II
2. Decision making
2.1 With IF statement
2.1.1 IF .. ELSE statement
2.1.2 Nested IF statement, Switch statement
2.1.3 ?: Operator
2.1.4 GOTO statement
2.2 With Looping
2.2.1 WHILE statement
2.2.2 DO statement
2.2.3 FOR statement
2.3 User defined functions
2.3.1 Need of unction
2.3.2 Function definition
2.3.3 Function call with and without return value
MODULE –III
3. Arrays
3.1 Number Arrays
3.1.1 Declaration and working of one dimensional array
3.1.2 Declaration and working of two dimensional array
3.1.3 Concept of multidimensional array and dynamic array
3.2 String Array
3.2.1 Declaration of string array
3.2.2 Reading and writing
3.2.3 String handling functions
MODULE – IV
4. Memory and File Management
4.1 Structure
4.1.1 Define structure
4.1.2 Declaration and initialization of structure
4.1.3 Copy and Comparison of structures
4.2 Unions
4.3 Pointers
4.3.1 Introduction to pointers
4.3.2 Declaration, Initialization of pointers
4.3.3 Addressing a variable through its pointer
4.3.4 malloc(), calloc() functions
4.4 Files
4.4.1 Defining a file
4.4.2 Opening and closing of File
4.4.3 Input/ Output operation on Files in binary and text mode
CONTENT DETAILS
MODULE –I
Declaration of constants, variables and data types, Arithmetic Relational and Logical operators,
Assignment, Increment and decrement operators, Bitwise and special operator, Precedence of operators-
Arithmetic Relational and Logical Expressions, Header files and Library files, Input and Output
Operations, Reading and Writing of characters, getline(), % formats
MODULE- II
Decision making – with IF statement, IF .. ELSE statement, Nested IF – Switch statement - ?: Operator
GOTO statement – WHILE statement – DO statement - FOR statement , User defined functions - Need of
unction - Function definition - Function call with and without return value
MODULE – III
Arrays – Declaration and working of one and two dimensional arrays – Concept of multidimensional
array and dynamic array, String variables – Declaration, Reading and writing – String handling functions
MODULE IV
Structure – Define structure – Declaration, initialization, Copy and Comparison of structures
Unions, Pointers – Introduction – Declaration, Initialization and addressing , malloc(), calloc()
Files – Defining, opening and closing – Input/ Output operation on Files in binary and text mode.
TEXT BOOK
1. Programming in C E Balaguruswamy – McGrawhill
REFERENCES
1. Programming in C – Dr.S.Ramaswamy & P Radhaganesan - Scitech
2. Mastering C – K R Venugopal & S R Prasad – McGrawhill