COMP 103: Structured Programming [2 Credit]. Objectives. This course
introduces the fundamental concepts of procedural programming in C. Topics
include ...
COMP 103: Structured Programming [2 Credit] Objectives This course introduces the fundamental concepts of procedural programming in C. Topics include data types, control structures, functions, arrays, etc. This course also focuses on the development of problem solving skills using programs. Contents: 1. Introduction to Computer System 1.1. Brief History of Computation 1.2. Architecture and Peripherals 2. Introduction to Software Systems 2.1. System Software 2.2. Application Software 2.3. Programming Language 3. Introduction to Software Life Cycle 3.1. Problem Solving and Software Engineering – a brief introduction (SDLC) 3.2. Algorithms and Flowchart 4. Fundamentals of C 4.1. The C Character set 4.2. Identifiers and Keywords 4.3. Data Types 4.4. Variables, Constants, Declarations Statement 5. Operators and Expressions 5.1. Introduction 5.2. Arithmetic Operators 5.3. Unary Operators 5.4. Relational and Logical Operators 5.5. Assignment Operators 5.6. Conditional Operators 5.7. Operator Precedence 6. Decision 6.1. 6.2. 6.3. 6.4. 6.5.
Control Statements Introduction The if-else Construct The nested if-else Constructs The else-if Ladder Construct The switch Construct
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, SCHOOL OF ENGINEERING, KAVRE, DHULIKHEL, NEPAL
7. Loop Control Statement 7.1. Introduction 7.2. The While Construct 7.3. The do-while Construct 7.4. The For Construct 8. Functions 8.1. Anatomy of a Function (Defining a function, accessing a function) 8.2. Function Prototype 8.3. Recursion (Introduction and Some Program) 9. Program Structure 9.1. Storage Classes 9.2. Automatic, External and Static variables 10. Arrays 10.1. 10.2. 10.3. 10.4.
Introduction Processing and Array Passing Arrays to Functions Multidimensional Array
11. Structures 11.1. Understanding C’s Structures 11.2. Referencing a Structure Member 11.3. Using Structure with Function Calls 11.4. Arrays of Structures 11.5. Understanding Unions 12. Pointers 12.1. 12.2. 12.3. 12.4. 12.5. 12.6.
Introduction Passing Pointers to Functions Pointers and One Dimensional Array Pointers to Structures Dynamic Memory Allocation Operations in Pointers
Text Books: Byron s. Gottfried, “Theory and Problems of Programming with C, 2/e”, McGrawHill. Robert L Wood, “C Programming for Scientists and Engineers”, Penton Press. Evaluation: Internal = 50 Final = 50
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, SCHOOL OF ENGINEERING, KAVRE, DHULIKHEL, NEPAL