#1
| |||
| |||
Sathyabama Institute of Science and Technology B.E. - Aeronautical Engineering SCSA1103 Programming in C Syllabus SATHYABAMA INSTITUTE OF SCIENCE AND TECHNOLOGY SCHOOL OF MECHANICAL ENGINEERING SCSA1103 PROGRAMMING IN C L T P Credits Total Marks 3 * 0 3 100 UNIT 1 INTRODUCTION OF C 9 Hrs. Introduction: Generation and Classification of Computers- Basic Organization of a Computer Algorithms & flowcharts - Overview of C - Features of C - Structure of C program - Compilation & execution of C program - Identifiers, variables, expression, keywords, data types, constants, scope and life of variables, and local and global variables – Operators: arithmetic, logical, relational, conditional and bitwise operators– Special operators: size of () & comma (,) operator – Precedence and associativity of operators & Type conversion in expressions – Input and output statements- solving simple scientific and statistical problems. UNIT 2 CONTROLS STRUCTURES AND FUNCTIONS 9 Hrs. Control structures: Conditional statements – Looping statements – Functions: Library Functions - User Defined– Function Prototype - Function Definition – Types of Functions – Functions with and without Arguments-Functions with no return and with Return Values - solving simple scientific and statistical problems- Nested Functions - Recursion. UNIT 3 ARRAYS AND STRINGS 9 Hrs. Arrays: Single and Multidimensional Arrays – Array Declaration and Initialization of Arrays Array as Function Arguments. Strings: Declaration – Initialization and String Handling Functions- Simple programs- sorting- searching – matrix operations. Structure and Union: Definition and Declaration – Nested Structures – Array of Structures – Structure as Function Argument – Function that Returns Structure – Union. UNIT 4 STORAGE CLASS AND POINTERS 9 Hrs. Storage Class Specifier: Auto, Extern, Static, & Register. Pointers: The ‘&’ and’ *’ Operators – Pointers Expressions – Pointers arithmetic- Example Problems. Arrays Using Pointers – Structures Using Pointers– Functions Using Pointer – Function as Arguments – Command Line Arguments. UNIT 5 MEMORYMANAGEMENT AND FILES 9 Hrs. DMA functions: malloc (), calloc (), sizeof (), free () and realloc (). Pre-processor directives. File management: File operations - opening & closing a file, Read and write binary files ,input and output statements, Control statements. Max.45 Hrs. COURSE OUTCOMES On completion of the course, student will be able to CO1 - Design C Programs for problems. CO2 - Write and execute C programs for simple applications. CO3 - Develop programs using the basic elements like control statements, Arrays and Strings. CO4 - Solve the memory access problems by using pointers. CO5 - Understand about the dynamic memory allocation using pointers which is essential for utilizing memory. CO6 - Understand the uses of pre-processors and various header file directives. TEXT / REFERENCE BOOKS 1. Byron S Gottfried, “Programming with C”, Schaum‟s Outlines, 2nd Edition, Tata McGraw Hill, 2006. 2. Dromey R.G., “How to Solve it by Computer”, Pearson Education, 4th Reprint, 2007. 3. Kernighan, B.W and Ritchie, D.M, “The C Programming language”, 2nd Edition, Pearson Education, 2006. 4. Balaguruswami. E., ‘Programming in C’, TMH Publications, 2003. 5. Yashavant P. Kanetkar, ‘LET US C’, 5th Edition, 2005. 6. Stevens , ‘Graphics programming in C’, BPBpublication,2006. 7. Subburaj. R , ‘Programming in C’, Vikas Publishing, 1st Edition, 2000. END SEMESTER EXAMINATION QUESTION PAPER PATTERN Max. Marks: 100 Exam Duration: 3 Hrs. PART A: 10 Question of 2 marks each – No choice 20 Marks PART B: 2 Questions from each unit of internal choice, each carrying 16 marks 80 Marks |
|