JOMO KENYATTA UNIVERSITY
AGRICULTURE AND TECHNOLOGY
ICS 2102 Introduction to Computer Programming ~ Course Outline Course Objective
The students will understand the concepts of structured programming and learn how to write programs for problem solving using structured programming language (C).
By the end of the unit, the student should be able to:
To understand principles of good program design
To understand the concept of a variable holding a value, how a variable is declared and how it can change
To be able to use a conditional statement to select a choice from two or more alternatives To understand the concept of a loop – that is, a series of statements which is written once but executed repeatedly- and how to use it in a programming language To be able to break a large problem into smaller parts, writing each part as a module or function To be able to use an array to store multiple pieces of homogeneous data, and use a structure to store multiple pieces of heterogeneous data
Structured programming: problem solving techniques, algorithms, pseudo code, syntax, semantics, data types, expressions, statements, input/output and control structures. Basic sequencing, alternation, and looping control constructs. Subprograms: functional and procedural abstractions and data abstraction. Course Content and Plan
Definitions: Program and Programming languages, C programming environment, History of C
Program Design: Qualities of good program, Program development cycle Week 3
Structured programming Techniques: Top down design, Modular design, Structured theorem
Structure of C program: - Libraries and Includes, Variables, main functions and other functions
Lexical elements of C: Character Set, Keywords, Constants and Variables, Data types, Declaration of variables
Statements: Simple I/O Statements, Comments, Assignments and...
Please join StudyMode to read the full document