Computer Programming Introduction
Computer Programming Introduction
Kennedy Hadullo
Mobile:0733770772,0722545125
Email:khadullo@gmail.com,khadullo@tum.c.ke
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
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
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
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.