Subject Subject
Subject Title L T P IM EM CR
Code Category
1505105 /
ED Programming in C 3 1 0 30 70 3
1505203
Course Objectives:
To understand the syntax and semantics of C programming language and other features of the
language
To learn logical skills for solving problems, implement them using C language
UNIT I
Introduction to Computers: Computer Systems, Computing Environment, Computer Languages,
Creating and Running Programs, System Developments, Algorithms, Flowcharts.
Introduction to the C Language: Introduction, C programs, Identifiers, Types, Variables, Constants,
Input and Output, Programming Examples.
UNIT II
Structure of C program: Expressions, Precedence and Associativity, Evaluating Expressions, Type
Conversion, Statements, Sample Programs.
Selections and Making Decisions: Logical Data and Operators, Two-way Selection, Multiway Selection.
UNIT III
Repetition: Concept of Loop, Pretest and Post-test Loops, Initialization and Updation, Event and
Counter Controller Loop, Loops in C, Looping Applications
Functions: Introduction, User Defined Functions, Inter-Function Communication, Standard Functions,
Scope, Programming Examples.
UNIT IV
Arrays: Introduction, Two Dimensional Arrays, Multi-Dimensional Arrays, Inter Function
Communication, Array Applications, Exchange(Bubble) Sort, Binary Search, Linear Search.
Strings: String Concepts, C Strings, Sting Input/output Functions, Arrays of Strings, String Manipulation
Functions, String/Data Conversion.
UNIT V
Enumerated, Structure, and Union Types: The Type Definition, Enumerated Types, Structure, Unions,
Programming Applications.
Bitwise Operators: Exact Size Integer Types, Logical Bitwise Operators, Shift Operators, Mask,
Introduction to Pointers and File management.
TEXT BOOKS:
1. Computer Science, A Structured Programming Approach Using C, Behrouz A. Forouzan &
Richard F. Gilberg, Third Edition, Cengage Learning
2. Programming in ANSI C, E. Balagurusamy, Fifth Edition, McGraw Hill.
REFERENCE BOOKS:
1. How to solve it by Computer by R.G. Dromey, Pearson
2. Computer Fundamentals and C Programming, Second Edition, Dr. P. Chenna Reddy.
3. Programming in C: A Practical Approach, Ajay Mittal, Pearson.
24