10.1.4.
STRUCTURED PROGRAMMING (200 HOURS)
[Link]: INTRODUCTION
This module unit is intended to equip the trainee with knowledge and skills to
write programs using structured programming languages.
[Link]: General Objectives
47 By the end of this module unit the trainee should be able to:-
a) understand the program development cycle
b) apply development skills in pascal and c programming languages
c) understand the various data types, control and data structures used in
structured computer programs
d) develop a program in a structured programming language
[Link]: COURSE SUMMARY AND TIME ALLOCATION
PASCAL - 100 HOURS
C - 100 HOURS
CODE TOPIC SUB-TOPIC TIME
TOTAL
T P
[Link] INTRODUCTION • structured programming 8 8
TO STRUCTURED • types of structured
PROGRAMMING programming languages
• history of programming
languages
• programming paradigms
• hardware and software
considerations for struc-
tured programming
[Link] PROGRAM DE- • program development 24 24
VELOPMENT AND and design
DESIGN • program development
cycle
• structured programming
concepts
• program design tools
[Link] PROGRAM • program structure 8 8
STRUCTURE • format of a structured
programming language
• operators
• data types
40
CODE TOPIC SUB-TOPIC TIME
TOTAL
T P
[Link] • writing a program in a 4 28 32
PROGRAM WRIT- structured language
ING • handling errors
[Link] CONTROL STRUC- • control structures 8 24 32
TURES • importance of control
structures
• types of control struc-
tures
[Link] DATA STRUC- • data structures 8 32 40
TURES • types of data structures
• sort techniques
• search techniques
[Link] SUB-PROGRAMS • sub-programs 8 24 32
• types of sub-programs
• scope of variables
• parameters
[Link] FILE HANDLING • importance of file han- 4 8 12
dling
• types of files
• file organization tech-
niques
• file design
• file handling operations
[Link] PROGRAM DOCU- • program documentation 4 4 8
MENTATION • importance of program
documentation
• types of program docu-
mentation
• write program documen-
tation
[Link] EMERGING • emerging trends in 4 4
TRENDS IN PRO- programming
GRAMMING • challenges of emerging
trends in programming
10.1.4.1T INTRODUCTION TO STRUCTURED PROGRAMMING
41
THEORY
[Link].T0 Specific Objectives
48 By the end of this topic, the trainee should be able to:
a) explain meaning of structured programming
b) identify different types of structured programming languages
c) explain the historical development of programming languages
d) describe programming paradigms
e) explain computer hardware and software consideration
CONTENT
[Link].T1 Explaining the meaning of structured programming
meaning of computer hardware and software
classification of computer software
[Link].T2 Identifying different types of structured programming languages
Pascal
C
Fortran
Cobol
others
[Link].T3 History of programming language
machine language
low level languages
high level languages
fourth generation languages
fifth generation languages
[Link].T4 Programming Paradigms
unstructured programming
structured programming
object – oriented programming
visual programming
internet based programming
[Link].T5 Computer hardware and software consideration
hardware requirements
appropriate Operating System
10.1.4.2T PROGRAM DEVELOPMENT AND DESIGN
42
THEORY
[Link].T0 Specific Objectives
49 By the end of this topic, the trainee should be able to:-
explain the meaning of program development
explain the meaning of program design
describe programming development cycle
describe structured programming design concepts
describe program design tools
CONTENT
[Link].T1 Explain the meaning of program development
[Link].T2 Explain the meaning of program design
[Link].T3 Describe programming development cycle
[Link].T4 Describe structured programming design concepts
top-down design
bottom-up design
modular design
control flow structure
monolithic design
[Link].T5 Describing program design tools
algorithms
flowchart
pseudocode
structured charts
decision tables
10.1.4.3T PROGRAM STRUCTURE
THEORY
[Link].T0 Specific Objectives
50 By the end of this topic, the trainee should be able to:-
a) explain the meaning of program structure
b) describe the format of a structured programming language
c) describe common operators
d) describe data types
e) describe identifiers, expressions and I/O instructions
43
CONTENT
[Link].T1 Explain the meaning of program structure
[Link].T2 Describe the format of a structured programming language
[Link].T3 Describe common operators
operators and order of precedence
operations
[Link].T4 Describe data types
simple
structured
user defined
[Link].T5 Describe identifiers, expressions and I/O instructions
10.1.4.4T PROGRAM WRITING
THEORY
[Link].T0 Specific Objectives
51 By the end of this topic, the trainee should be able to:-
a) describe the content of a structured program
b) describe the error handling
CONTENT
[Link].T1 Describing the content of structured programming
[Link].T2 Describing error handling
PRACTICE
[Link].P0 Specific Objectives
52 By the end of this topic, the trainee should be able to:
a) write a program in a structured language
b) handle errors
CONTENT
[Link].T3 Write a program in a structured language
coding
compiling
debugging
testing
execution and program deployment
44
[Link].T4 Errors handling
10.1.4.5T CONTROL STRUCTURES
THEORY
[Link].T0 Specific Objectives
53 By the end of the topic, the trainee should be able to:-
a) explain the meaning of control structures
b) describe the importance of control structures
CONTENT
[Link].T1 Explain the meaning of control structures
[Link].T2 Importance of control structures
[Link].T3 Types of control structures
Sequence
Selection
Looping / Iteration
PRACTICE
[Link].P0 Specific Objectives
54 By the end of this topic, the trainee should be able to:
a) Implement control structures
CONTENT
[Link].T4 Implementing control structures
10.1.4.6T DATA STRUCTURES
THEORY
[Link].T0 Specific Objectives
55 By the end of this topic, the trainee should be able to:-
a) explain the meaning of data structures
b) identify the different types of data structures
c) explain different types of sort techniques
d) explain different types of search techniques
45
CONTENT
[Link].T1 Meaning of data structures
[Link].T2 Types of data structures
strings
lists
arrays
records
pointers
linked lists
queues
stack
trees
[Link].T3 Sort techniques
bubble sort
selection sort
quick sort
insertion sort
merge sort
[Link].T4 Search techniques
sequential
binary
merge
PRACTICE
[Link].P0 Specific Objectives
56 By the end of this topic, the trainee should be able to:
a) implement the following
strings
lists
arrays
records
pointers
bubble sort
sequential search
CONTENT
[Link].P1 Implement the following
strings
lists
46
arrays
records
pointers
bubble sort
sequential search
10.1.4.7T SUB PROGRAMS
THEORY
[Link].T0 Specific Objectives
57 By the end of this topic, the trainee should be able:-
a) define sub-programs
b) identify the different types of sub-programs
c) describe the scope of variables
d) identify and implement Parameters
CONTENT
[Link].T1 Definition of sub-programs
[Link].T2 Types of sub-programs
[Link].T3 Scope of variables
local
global
[Link].T4 Parameters
meaning of parameters
parameter passing
PRACTICE
[Link].P0 Specific Objectives
58 By the end of this topic, the trainee should be able to:-
a) write sub-programs
b) implement parameter passing
CONTENT
[Link].T5 Writing sub-programs
[Link].T6 Implementing parameter passing
47
10.1.4.8T FILE HANDLING
THEORY
[Link].T0 Specific Objectives
59 By the end of this topic, the trainee should be able to:-
a) describe of file handling
b) identify the types of files
c) describe file organization techniques
d) explain file design
e) explain file handling operations
CONTENT
[Link].T1 Importance of file handling
[Link].T2 Types of files
[Link].T3 File organization techniques
sequential
random
indexed
[Link].T4 File design
[Link].T5 File handling operations
PRACTICE
[Link].P0 Specific Objectives
60 By the end of this topic, the trainee should be able to:
a) design organizational file
CONTENT
[Link].P1 Designing organizational file
10.1.4.9T PROGRAM DOCUMENTATION
THEORY
[Link].T0 Specific Objectives
61 By the end of this topic, the trainee should be able to:-
a) explain the meaning of program documentation
b) explain the importance of program documentation
c) describe the types of program documentation
d) write program documentation
48
CONTENT
[Link].T1 Define program documentation
[Link].T2 Importance of programming documentation
[Link].T3 Types of program documentation
[Link].T4 Writing program documentation
10.1.4.10T EMERGING TRENDS OF STRUCTURED PROGRAMMING
THEORY
[Link].T0 Specific Objectives
62 By the end of this topic, the trainee should be able to:-
a) identify emerging trends in structured programming
b) explain the challenges of emerging trends in structured programming
CONTENT
[Link].T1 Identifying emerging trends in structured programming
[Link].T2 Explaining the challenges of emerging trends in structured programming
TEACHING/LEARNING RESOURCES
Relevant text books and free e-books
Sample codes from www
Programming language online help
White board
ASSESSMENT MODE
Written Tests
Practical Tests
Programming Projects
49