0% found this document useful (0 votes)
5 views

Computer Programming Introduction

The course 'Computer Programming/Structured Programming' is designed for beginners and focuses on procedural programming using the C language, covering topics such as data types, control structures, functions, and debugging. By the end of the course, students will be able to describe programming concepts, create algorithms, implement them in C, and test their programs. Assessment includes continuous tests and a final examination, with a prerequisite of EIT 4101: Fundamentals of Computers.

Uploaded by

jeresladii
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Computer Programming Introduction

The course 'Computer Programming/Structured Programming' is designed for beginners and focuses on procedural programming using the C language, covering topics such as data types, control structures, functions, and debugging. By the end of the course, students will be able to describe programming concepts, create algorithms, implement them in C, and test their programs. Assessment includes continuous tests and a final examination, with a prerequisite of EIT 4101: Fundamentals of Computers.

Uploaded by

jeresladii
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lecturer: Dr.

Kennedy Hadullo
Mobile:0733770772,0722545125
Email:khadullo@gmail.com,khadullo@tum.c.ke

COMPUTER PROGRAMMING /STRUCTURED PROGRAMMING:


SMA 2174/EIT 4102/TEE 4211/EIT 4151

Course Description
This course is designed for students with no prior programming experience. It
introduces the fundamental concepts of procedural programming using C
programming language. Topics include data types, control structures, functions,
arrays, data files, and the mechanics of running, testing, and debugging; The role of
algorithms in the problem-solving process; Fundamental programming constructs:

Learning Outcomes

By the end of this course, the learners should be able to:

1. Describe fundamental programming terms such as programming languages,


variables, datatypes, control structures functions and arrays.
2. Create simple algorithms and respective flowcharts for computer problems
3. Implement algorithms into programming code using C Language
4. Test and debug programs written in C Language

Course Plan
Week Topic Subtopics
1 Introduction to  Programming languages
programming &  Programming tools
Algorithms  Stepwise refinement
 Pseudo codes
 Flow charts
2 Computer  Data types
Programming  Case sensitivity
Basics  Programming tokens
 Identifiers & keyword
 Variables & comments
 Constants & Literals
3 Introduction to C  Applications of C
Language  Structure of a C program
 Input and Output
 Operators and Types
 Variable Scope

4 Control Flow  If statement


Statements  If else statement

1
 Nested if statements
 Switch statements
 Nested switch statements
5 Introduction to  While loop
Loops  Do while loop
 For Loop
 Nested Loops
 Loop Control Statements
6 Strings and  Definition of strings
Pointers  String Function
 Defining of Pointers
 Application of Pointers
7 Arrays  Definition of an Array
 Declaring Arrays
 Initializing Arrays
 Accessing Array Elements
 Multidimensional Arrays
8 Functions &  Defining a Function
Recursion  Function Declarations
 Calling a Function
 Function Arguments
 Definition of Recursion
 Applications of Recursion
9 Structures  Defining a Structure
 Accessing Structure Members
 Structures as Function Arguments
 Pointers to Structures

9 Data Files  Definition of data file


 File operations
 Working with Files

Reference materials
 Internet material
 Class notes (given/ taken during the lecture time).

Assessment
 The continuous assessment test will carry a total of 30%, and will be examined
as follows:
o CAT One will account for 10%Written assignment 10% Programming
Project 10%
o The University Final Examination will account for 70%
Pre-requisites: EIT 4101: Fundamentals of Computers
Delivery:
Lectures, Laboratory exercises.

You might also like