You are on page 1of 3

12CS2103 PROGRAMMING IN C (Common to CSE & IT) AIM

3 0 0 100

To learn syntax and concepts of C programming language and be able to write applications in C. OBJECTIVES To understand basics of Programming To learn basics elements and Control Structures in C To learn about Derived and User Defined Data Types To understand concept of Files and Preprocessing Directives UNIT I COMPUTER BASICS AND PROGRAMMING 9 Computer Organization - Computer Software Algorithm Flowchart - Pseudo code History of C C as Structured Programming Language Compilers Vs Interpreters Library & Linking Separate Compilation C's Memory Map. UNIT II EXPRESSIONS AND STATEMENTS 9 Basic Data Types Variables Scopes Qualifiers Storage Class Specifiers Constants Operators Expressions Selection Statements Iteration Statements Jump Statements Expression Statements Block Statements. UNIT - III ARRAYS, STRINGS AND POINTERS 9 Single-Dimension Array Generating Pointer to an array Two-Dimensional Array MultiDimensional Array Pointer Variables Pointer Expressions Pointers and Arrays Multiple Indirection Pointers to Functions Dynamic Allocation Functions UNIT IV USER DEFINED DATATYPES 9 Functions Function Arguments Command line arguments Return Statement Recursion inline Structures Array of Structures Passing Structures to Functions Structures Pointers Unions Bit Fields Enumerations typedef UNIT- V FILES HANDLING AND PREPROCESSING DIRECTIVES 9 Introduction - File Management in C - Input and Output on Files - Error Handling - Command line arguments Preprocessing Directives Total Periods:45 TEXT BOOKS 1. Herbert Schildt, The Complete Reference C, Tata McGraw-Hill Edition, Fourth Edition, 2011 REFERENCE BOOKS 1. Yashwant Kanetkar, Let us C, BPB Publications, 10th Edition,2010 2. E.Balagurusamy, Programming in ANSI C , Tata McGraw-Hill Edition, Fifth Edition, 2011 3. V.Rajaraman, "Fundamentals of Computers", Fifth Edition, PHI 2010 4. Byron Gottfried, "Programming with C", Third Edition, McGraw-Hill, 2011

12CS2101 COMPUTER FUNDAMENTALS AND C PROGRAMMING 3 0 0 100 (Common to AERO, BME, CIVIL, MECH, ECE, EEE, EIE) AIM To learn syntax and concepts of C programming language and be able to write applications in C. OBJECTIVES To understand basics of Programming To learn basics elements and Control Structures in C To learn about Derived and User Defined Data Types To understand concept of Files and Preprocessing Directives 9

UNIT I COMPUTER BASICS AND PROGRAMMING

Evolution of computers- Generations of computers - Classification of computers - Computer Organization - Computer Memory - Input Output Media Computer Software Algorithm Flowchart - Pseudo code -Programming languages- Generations of Programming languages UNIT II C FUNDAMENTALS 9 Introduction to C Constants Variables - Data types - Operators and Expressions - Managing Input and Output operations - Decision Making and Branching - Looping UNIT - III ARRAYS AND FUNCTIONS Arrays - Character Arrays and Strings - User defined functions - Storage Classes UNIT IV STRUCTURES AND POINTERS 9 Structures Definition Initialization - Array of Structures - Structures within structures - Unions, Pointers - Declaration and Initialization - Pointers and Arrays UNIT- V FILES HANDLING AND PREPROCESSING DIRECTIVES arguments Preprocessing Directives Total Periods: 45 TEXT BOOKS 1. E.Balagurusamy, Programming in ANSI C , Tata McGraw-Hill Edition, Fifth Edition, 2011 REFERENCE BOOKS 1. Yashwant Kanetkar, Let us C, BPB Publications, 10th Edition,2010 2. V.Rajaraman, "Fundamentals of Computers", Fifth Edition, PHI 2010. 3. Byron Gottfried, "Programming with C", Third Edition, McGraw-Hill, 2011 4. ITL Education Solutions Limited, "Introduction to Information Technology", Pearson Education (India), 2005. 9 9

Introduction - File Management in C - Input and Output on Files - Error Handling - Command line

12CS2102 PROGRAMMING LABORATORY (Common to all branches of B.E / B.Tech) AIM To write simple C programs and be able to write applications in C.

0 0 3 100

OBJECTIVES To understand basics of Programming To learn basics elements and Control Structures in C To learn about Derived and User Defined Data Types To understand concept of Files and Preprocessing Directives LIST OF EXERCISES 1. Write a C program to print Pascal's triangle. 2. Write a C program to print the sine and cosine series. 3. Write a C program to perform Matrix multiplication. 4. Write a C program to prepare and print the sales report. 5. Write a C program to perform string manipulation functions like string concatenations, comparison, find the length and string copy without using library functions. 6. Write a C program to arrange names in alphabetical order. 7. Write a C program to calculate the mean, variance and standard deviation using functions. 8. Write a C program to perform sequential search using functions. 9. Write a C program to print the Fibonacci series and to calculate the factorial of the given number using functions. 10. Write a C program to print the mark sheet of n students using structures. 11. Write a C program to swap two numbers using Pointers. 12. Write a C program for mark sheet processing using files. 13. Write a C program to merge the given two files

You might also like