Anna University, Chennai
1st semster
Regulation 2013
GE6151 COMPUTER PROGRAMMING Syllabus
UNIT I
INTRODUCTION
Generation and Classification of Computers- Basic Organization of a Computer –Number System – Binary – Decimal – Conversion – Problems. Need for logical analysis and thinking – Algorithm – Pseudo code –Flow Chart.
UNIT II
C PROGRAMMING BASICS
Problem formulation – Problem Solving - Introduction to ‘ C’ programming –fundamentals – structure of a ‘C’ program – compilation and linking processes – Constants, Variables – Data Types – Expressions using operators in ‘C’ – Managing Input and Output operations – Decision Making and Branching – Looping statements – solving simple scientific and statistical problems.
UNIT III
ARRAYS AND STRINGS
Arrays – Initialization – Declaration – One dimensional and Two dimensional arrays. String- String operations – String Arrays. Simple programs- sorting- searching – matrix operations.
UNIT IV
FUNCTIONS AND POINTERS
Function – definition of function – Declaration of function – Pass by value – Pass by reference – Recursion – Pointers - Definition – Initialization – Pointers arithmetic – Pointers and arrays- Example Problems.
UNIT V
STRUCTURES AND UNIONS
Introduction – need for structure data type – structure definition – Structure declaration – Structure within a structure - Union - Programs using structures and Unions – Storage classes, Pre-processor directives.
TEXTBOOKS:
1. Anita Goel and Ajay Mittal, “Computer Fundamentals and Programming in C”, Dorling Kindersley (India) Pvt. Ltd., Pearson Education in South Asia, 2011.
2. Pradip Dey, Manas Ghosh, “Fundamentals of Computing and Programming in C”, First Edition, Oxford University Press, 2009
3. Yashavant P. Kanetkar. “ Let Us C”, BPB Publications, 2011.
REFERENCES:
1. Byron S Gottfried, “Programming with C”, Schaum’s Outlines, Second Edition, Tata McGraw-Hill, 2006.
2. Dromey R.G., “How to Solve it by Computer”, Pearson Education, Fourth Reprint, 2007.
3. Kernighan,B.W and Ritchie,D.M, “The C Programming language”, Second Edition, Pearson Education, 2006.