COMP 102: Computer Programming (in “C”) [3 Credit]

5 downloads 141 Views 508KB Size Report
COMP 102: Computer Programming (in “C”) [3 Credit] ... Introduction of C. 1.3. ... A Book on C (Programming in C) Fourth Edition –AL Kelley, IRA Pohl.
COMP 102: Computer Programming (in “C”) [3 Credit] Objectives . Contents: 1. Introduction 1.1. History of C 1.2. Introduction of C 1.3. Importance of C 1.4. Desirable Program characteristics 2. Data Types, Operators and Statement 2.1. Identifiers & Keywords 2.2. Constants 2.3. C Operators 3. Writing Program 3.1. Variable Declaration 3.2. The Scope of Variable 3.3. Statements 3.4. Simple Programs 3.5. Input Statement 3.6. Output Statement 3.7. Feature of stdio.h 4. Control Structures 4.1. Conditional statements 4.2. Loop Statement 4.3. Breaking Control Statements 5. Structure 5.1. Declaration of Structure 5.2. Initialization of Structure 5.3. Static Variable 5.4. Automated (global) Variable 5.5. More about Library Functions 5.6. Array of Structures 6. Array 6.1. 6.2. 6.3. 6.4. 6.5. 6.6.

Array Notation Array Declaration How Array are Useful Multidimensional Array Array initialization Processing with Array

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, SCHOOL OF ENGINEERING, KAVRE, DHULIKHEL, NEPAL

6.7.

Character Array

7. Function 7.1. 7.2. 7.3. 7.4. 7.5.

Defining Function Use of Function Types of Function Return Statement Recursive function

8. Pointers 8.1. 8.2. 8.3. 8.4.

Pointer Declaration Pointer Arithmetic Pointer function Pointers to Pointers

9. Data Files 9.1. Opening & Closing Data files 9.2. Simple File Operations 9.3. Structure & file Operation 9.4. Block Read & Write 9.5. File Type 9.6. File Handling Function 9.7. Error Handling Text Books: Programming with ‘C’ – K.R. Venugopal & Sudeep R. Prasad A Book on C (Programming in C) Fourth Edition –AL Kelley, IRA Pohl Evaluation: Internal = 50 Final = 50

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, SCHOOL OF ENGINEERING, KAVRE, DHULIKHEL, NEPAL