GE6151
|
COMPUTER PROGRAMMING
|
L
|
T P C
|
|
|
3
|
0 0 3
|
OBJECTIVES:
The students should be made to:
· Learn the organization of
a digital computer.
· Be exposed to the number systems.
· Learn to think logically and write pseudo code or
draw
flow charts for
problems.
·
Be exposed to the syntax of C.
· Be familiar with programming in C.
·
Learn to use arrays, strings,
functions, pointers, structures and unions in C.
UNIT I INTRODUCTION
8
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
10
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
9
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
9
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
9
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.
OUTCOMES:
At the end of the course, the student should be able to:
· Design C Programs for problems.
· Write and execute C programs for simple applications.
TOTAL: 45 PERIODS
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.
ANNA UNIVERSITY | SYLLABUS | UNIVERSITY QUESTION PAPER | NOTES
Post a Comment Blogger Facebook