SOUTH EASTERN KENYA UNIVERSITY
SCHOOL OF SCIENCE AND COMPUTING
COURSE OUTLINE 2024/2025 SEMESTER 2
SCI 251/EME 251: COMPUTER PROGRAMMING
INSTRUCTOR: Dr. A A Omala
OFFICE HOURS: Monday-Friday
LEARNING OUTCOMES: On completion of this module the students will be able to:
• Conceptualize engineering problems as computational
problems.
• Write computer programs for basic computing problems
using the C computer programming language.
• Understand the basics of data structures.
• Perform dynamic memory management.
• Apply fundamental software design principles and
commonly used techniques to solve basic computing
problems.
• Perform code debugging.
Contact Hours/Venue • Lectures: 2hr lecture, 3hr practical per week
GRADING • CAT 1 (Sit in CAT): 20%,
• CAT 2 (Programming practical): 10%,
• Exam: 70%,
Credits 3
Prerequisite None
• WEEK • TOPIC • SUB-TOPIC
• 1 • Introduction to C • Engineering problems as
computational problems
• Overview of computer
systems
• Software design
• Program Processing
• Flowcharts and
Algorithms
• 2 • C Fundamentals • Introduction to C
• Constants and Variables
• Arithmetic expressions
and Operations
• Special operators
• Overview of
Implementations
• Programming Examples
• 4 • Formatted Input and Output • Input and output
• Expressions functions
• File input and output
• Field width specification
• Input/output of
characters
• Sample Programs
• 5-6 • Control Structures • Conditional expressions;
(Selection,loops) relational operators;
• Basic Types logical operators;
precedence rules
• Selection structures; if-
else statements; while
statements; switch
statements
• Loops
• Repetition and loop
statements; for
statements; do-while
statements
• Increment/decrement
operators; nested loops;
loop tracing
• Types: Integer floating
• 7-10 • Arrays • Modular programming
• Functions
• Pointers and Arrays • User functions, library
functions, function
declaration and
definition, function calls,
pass by value, scope rules,
programs with multiple
functions.
• Pointers and addresses,
pass by reference, pointer
arithmetic,
• File input/output
• 11-12 • Structures • Syntax
• Manipulations
• Structures and Functions
REFERENCES
• King, K. N. (2008). C programming: a modern approach. WW
Norton & company.
• Deitel, H. M., & Deitel, P. J. (2022). C: how to program. Prentice-
Hall, Inc..
• https://www.youtube.com/watch?v=ssJY5MDLjlo (Video
Lectures