Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
102 views3 pages

COMP 102 Computer Programming (I-I) 1581324967

The document outlines the course COMP 102: Computer Programming at Kathmandu University, focusing on procedural programming in C. It covers fundamental concepts such as data types, control structures, functions, arrays, and pointers, while emphasizing problem-solving skills. The course consists of various chapters detailing specific topics and includes recommended textbooks for further study.

Uploaded by

Rabin Shrestha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views3 pages

COMP 102 Computer Programming (I-I) 1581324967

The document outlines the course COMP 102: Computer Programming at Kathmandu University, focusing on procedural programming in C. It covers fundamental concepts such as data types, control structures, functions, arrays, and pointers, while emphasizing problem-solving skills. The course consists of various chapters detailing specific topics and includes recommended textbooks for further study.

Uploaded by

Rabin Shrestha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Department Of Computer Science and Engineering

Kathmandu University
Dhulikhel, Kavre

Subject:​Computer Programming​ Course: ​COMP 102


Level: B.E./B.Sc 1​st​ Year/1​st​ Semester Credit Hours: 3

Course Description:
This course introduces the fundamental concepts of procedural programming in C. Topics
include data types, control structures, functions, arrays, structure and pointer. This course also
focuses on the development of problem solving skills using programs.

Prerequisite:
Students should have fundamental knowledge about computers. All the programming
assignments and labs during the semester are in C programming language.

CHAPTERS

1. Introduction [1 Hour]
1.1. History of C
1.2. Introduction to C
1.3. Important of Program (C Program)
1.4. Desired Program Characteristics

2. C Fundamentals [3 Hours]
2.1. The C Character set
2.2. Identifier and Keywords
2.3. Data Type, Variables, Declaration
2.4. Constants (Sting, Numeric, Character Constant)
2.5. Symbolic Constant

3. C Operators [4 Hours]
3.1 Arithmetic Operators
3.2 Assignment Operators
3.3 Logical and Comparison Operations
3.4 Bitwise Operators 3.5 Unary Operator
3.6 Conditional Operators
4. Writing a Program in C (Data Input and Output) [4 Hours]
4.1 Simple Program
4.2 Input Statement
4.3 Output Statement
4.4 Features of stdio.h

5 Control Structure [8 Hours]


5.1 Condition Statements
a. if Statement
b. if-else Statement
c. switch statement
5.2 Loop Statements
a. for loop
b. while loop
c. do-while loop
5.3 Break Control Statements
a. break
b. continue
c. go-to statement

6 Function [5 Hours]
6.1 Defining Function
6.2 Use of function
6.3 Function Prototypes
6.4 Passing Argument to a Function
6.5 Recursive function

7 The Scope of Variable [2 Hours]


7.1 Storage Class
7.2 Automatic Variable
7.3 Static Variable
7.4 External Variable
8 Array [6 Hours]
8.1 Defining an Array
8.2 Processing an Array
8.3 Passing Array to Function
8.4 Multidimensional Array

9 Pointer [6 Hours]
9.1 Pointer Declaration
9.2 Pointer Arithmetic
9.3 Operation on Pointers
9.4 Pointer and Array (Pointer and one dimension Array)
9.5 Dynamic Memory Allocation

10 Program Structure [4 Hours]


10.1 Declaration of Structure
10.2 Initialization of Structure
10.3 Array of Structure
10.3 Pointer to Structure

Books:
Programming with C Byron Gottfried
Programming with C K.R. Venugopal Surdeep R. Prasad

You might also like