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

CCS 121 Introduction To Programming-Outline

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

CCS 121 Introduction To Programming-Outline

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

VERSION A, REVISION 0 MSU-F-QA-011

MASENO UNIVERSITY

COURSE OUTLINE

COURSE CODE: CCS 121 ACADEMIC YEAR: 2024/2025

COURSE TITLE: INTRODUCTION TO PROGRAMMING

PROGRAMME: BSC. COMPUTER SCIENCE

DEPARTMENT: COMPUTER SCIENCE

FACULTY / SCHOOL: COMPUTING AND ONFORMATICS

Lecturer’s Name: Michael Ondeja Adongo

Lecturer’s Contacts:

Telephone No. 0716194067

Email Address: [email protected]

No. of Units / Contact Hours: 42 Hours

Signed by Course Lecturer: …………………………………………………..

Confirmed by Head of Department: …………………………………………

1
VERSION A, REVISION 0 MSU-F-QA-011

COURSE CODE: CCS 121 COURSE TITLE: INTRODUCTION TO PROGRAMMING


Pre-requisite: Contact Hours: 42
Year of Study: 2024/2025 Semester: 1
Purpose of the course: The course introduces the basic principles and concepts of programming which the students will use as the
foundation for further programming. It enables the students to develop self confidence in programming in preparation to solving
more complex programming problems in future.
Expected Learning Outcomes: At the end of the course, the student should be able to:
 Understand the concepts and historical developments of programming languages.
 Understand the classification of programming languages.
 Develop simple algorithms for simple problem solving in an abstract manner
 Translate the developed algorithms in a Pascal language
 Compile, debug and execute a Pascal program to generate the desired output
Week Topics: Sub-Topics
1 Introduction to computer  Hardware – Input devices, System unit and Output devices
system:  Software – Operating System and Application software
2 Elements of programs  Algorithms and data structures.
Categories of programming  Machine code. Assembly languages. High-level programming languages
languages (HLPLs).
 Basic types of HLPLs: compiled HLPLs; interpreted HLPLs; Just-in-time
(JIT) compiled HLPLs.
3 Structured programming  problem solving techniques, algorithms, flowcharts, pseudo code
 Basic syntax and semantics of a higher-level language,
 Problem solving techniques: Top-down, bottom-up and data-centered
approaches to algorithmic problem solving.
4 Programming utilities  Text-editors. Assemblers. Compilers. Interpreters. Libraries. Linkers.
Loaders, Debuggers.
 Project management tools. The concept of an integrated development
environment (IDE).
 Examples: Illumination of programming concepts using examples based on
features of contemporary programming languages, tools and computing
platforms.
5 Introduction to Programming in  Structure of Pascal Program: Reserved words – Definition and examples
Pascal language
CAT 1
6 Data types  Machine-supported data types.
 Simple data structuring concepts --- arrays, lists and structures.
 Variables and constants – Definition and declaration, Types of variables
7 Operators  Arithmetic, comparison, logical, assignment
 Expressions, statements, input/output
8 Control-flow structuring  Sequencing, forward branching, iterative and block constructs.
constructs  Sequencing and alternation constructs - If …Then, If…Then…Else, Nested
If, Case-of
9 Control structures  Looping control constructs- While…Do, Repeat…Until, For…Do
10 Data structures  Arrays: Definition, Types of arrays, Array declaration, storing data in arrays,
retrieving data from arrays
11 Records  Definition, Declaration, storing data in a record, retrieving data from a
record.
CAT 2
12 Subprograms  Functional and procedural abstractions and data abstraction
13 Files  Definition, Declaring a file variable, Opening files for reading

2
 Linking a file variable with a physical file, Reading from a file.
 Opening a file for writing (rewriting or appending), Writing to a file, passing
file variables as parameters.
14 FINAL EXAMINATION
15 FINAL EXAMINATION
16 FINAL EXAMINATION
Mode of Delivery:
Lectures, lecture notes, class discussions and group discussions, Lab demonstrations and assignments
Instructional Materials and Equipment:
Audio visual equipments, white board and white board markers, Computers with Turbo Pascal 7.0
Course Assessment:
Continuous Assessment Tests – 30%
End of Semester Examination – 70%
Core References:
 Elliot B. Koffman, Problem Solving and Structured Programming, Second Edition

Recommended Reference Materials:


 James F. Peters, Pascal with program design, Sauders College publishing
 B.J.Holmes, Pascal programming, Second Edition, DP publication
 Byron S.Gottfried, Programming with Pascal, second Edition, McGraw-Hil

3
2.0 LECTURE SCHEDULE (HRS)

WEEK ONE TOPIC: Introduction to computer system:

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Hardware – 3 Elliot B. Koffman Chapter 1
Input devices, (Problem solving and pages 2 - 5
System unit and Structured Programming in
Output devices Pascal, Second Edition)
 Software –
Operating
System and
Application
software

WEEK TWO TOPIC: Elements of programs Categories of programming languages

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Algorithms and 3 Elliot B. Koffman Chapter 1
data structures. (Problem solving and pages 6 - 10
 Machine code. Structured Programming
Assembly in Pascal, Second Edition)
languages.
High-level
programming
languages
(HLPLs).
 Basic types of
HLPLs:
compiled
HLPLs;
interpreted
HLPLs; Just-in-
time (JIT)
compiled
HLPLs.

4
WEEK THREE TOPIC: Structured programming

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 problem solving 3 Elliot B. Koffman Chapter 2 Assignment 1:
techniques, (Problem solving and pages 46 - 88 Draw a
algorithms, Structured Programming flowchart then
flowcharts, in Pascal, Second Edition) write a
pseudo code pseudocode of a
 Basic syntax program that
and semantics can be used
of a higher- determine the
level language, age of a preson
 Problem and print the
solving result on the
techniques: screen.
Top-down,
bottom-up and
data-centered
approaches to
algorithmic
problem
solving.

WEEK FOUR TOPIC: Programming utilities

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Text-editors. 3 Elliot B. Koffman Chapter 1 LAB 1A Assignment 2:
Assemblers. (Problem solving and pages 9 - 10 Read pages 13
Compilers. Structured Programming – 41 Then
Interpreters. in Pascal, Second Edition) answer Self –
Libraries. Linkers. Check exercises
Loaders, for section 1.6
Debuggers. Questions 1 and
 Project 2
management
tools. The concept
of an integrated
development
environment
(IDE).
 Examples:
Illumination of
programming
concepts using
examples based
on features of
contemporary
programming
languages, tools
and computing
platforms.

5
WEEK FIVE TOPIC: Introduction to Programming in Pascal language

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Structure 3 Elliot B. Koffman (Problem Chapter 1 LAB 1B CAT 1
of Pascal solving and Structured pages 11 -
Program: Programming in Pascal, 33
 Reserved Second Edition)
words –
Definition
and
examples

WEEK SIX TOPIC: Data types

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Machine- 3 Elliot B. Koffman (Problem Chapter 1 LAB 2 and LAB 3
supported solving and Structured pages 34 – 38
data types. Programming in Pascal, Chapter 4
 Simple data Second Edition) pages 160 -
structuring 192
concepts ---
arrays, lists
and
structures.
 Variables and
constants –
Definition
and
declaration,
Types of
variables

6
WEEK SEVEN TOPIC: Operators

Sub Topic Hrs Course Text Readings Practicum / Assignment(s) Comments


Lab Practicals (By Lecturer)
 Arithmetic, 3 Elliot B. Koffman (Problem Chapter 4 LAB 4
comparison, solving and Structured pages 175 -
logical, Programming in Pascal, 179
assignment Second Edition)
 Expressions,
statements,
input/output

WEEK EIGHT TOPIC: Control-flow structuring constructs

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Sequencing, 3 Elliot B. Koffman Chapter 3 LAB 5 Assignment 3:
forward (Problem solving and pages 96 – Do Self –
branching, Structured Programming 135, Chapter Check exercises
iterative and in Pascal, Second Edition) 5 Pages 218 - for section 2.5
block 220 Question 1
constructs.
 Sequencing and
alternation
constructs - If
…Then,
If…Then…Else
, Nested If,
Case-of

WEEK NINE TOPIC: Control structures

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Looping 3 Elliot B. Koffman (Problem Chapter 5 LAB 6 and LAB 7
control solving and Structured Pages 223 -
constructs- Programming in Pascal, 233
While…Do, Second Edition)
Repeat…Un
til, For…Do

7
WEEK TEN TOPIC: Data structures

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Arrays: 3 Elliot B. Koffman (Problem Chapter 6 LAB 13 and Assignment 4:
Definition, solving and Structured pages 264 - LAB 14 Write a Pascal
Types of Programming in Pascal, 301 program that
arrays, Array Second Edition) receives the
declaration, names of 200
storing data in employees and
arrays, stores them in a
retrieving data two-
from arrays dimensional
array

WEEK ELEVEN TOPIC: Records

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Record: 3 Elliot B. Koffman (Problem Chapter 7 LAB 15 and CAT 2
Definition, solving and Structured pages 326 - LAB 16
Declaration, storing Programming in Pascal, 333
data in a record, Second Edition)
retrieving data from a
record.

WEEK TWELVE TOPIC: Subprograms

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Functional 3 Elliot B. Koffman Chapter 3 LAB 8, LAB 9,
and (Problem solving and Pages 111 – LAB 10,11, 12
procedural Structured Programming 135
abstractions in Pascal, Second Edition) Chapter 5
and data pages 234 -
abstraction 239

8
WEEK THIRTEEN TOPIC: Files

Sub Topic Hrs Course Text Readings Practicum / Lab Assignment(s) Comments
Practicals (By Lecturer)
 Definition, 3 Elliot B. Koffman Chapter 8 LAB 17, LAB 18,
Declaring a (Problem solving and pages 379 - and LAB 19
file variable, Structured Programming 396
Opening files in Pascal, Second
for reading Edition)
 Linking a file
variable with
a physical
file, Reading
from a file.
 Opening a
file for
writing
(rewriting or
appending)
 Writing to a
file,
 passing file
variables as
parameters.

End of Course Remarks / Signatures:

Course Lecturer: …………………………………………………………………………………………….

………………………………………………………………………………………………………………...

………………………………………………………………………………………………………………...

Head of Department: ……………………………………………………………………………………….

………………………………………………………………………………………………………………...

………………………………………………………………………………………………………………...

You might also like