GE6151 - COMPUTER PROGRAMMING - Unit 1 - Questions and Answers - Download

GE6151 - COMPUTER PROGRAMMING - Unit 2 - Questions and Answers - Download

GE6151 - COMPUTER PROGRAMMING - Unit 3 - Questions and Answers - Download

GE6151 - COMPUTER PROGRAMMING - Unit 4 - Questions and Answers - Download

GE6151 - COMPUTER PROGRAMMING - Unit 5 - Questions and Answers - Download


GE6151-COMPUTER PROGRAMMING             

AIM:  
To provide an awareness to Computer and Programming in “C” language.
OBJECTIVES: 

  • To enable the student to learn the major components of a Computer system.  
  • To know the correct and efficient ways of solving problems using C Language.
  • To learn the concepts of Arrays, Strings, Pointers, Functions, Structure and Union in C Language.
 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.                     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.