PAPER NO. 9 STRUCTURED PROGRAMMING
GENERAL OBJECTIVE
This paper is intended to equip the candidate with the knowledge, skills and attitudes that will enable him/her to apply structured programming to develop programs.
LEARNING OUTCOMES
A candidate who passes this paper should be able to:
- Analyse a problem and design an appropriate programming solution
- Write programs using C programming language
- Test and debug structured programs
- Produce documentation, both user and technical, to support
CONTENT
Introduction to structured programming
- Overview of programming
- Types of programming languages
- Generations of programming languages
- Programming approaches
- Program translators
- Basic concepts of structured programming
- Problem definition, structure and design
- Integrated development environment (IDE)
Programming basics
- Variables and data types
- Input/output statements
- Identifiers
- Namespaces
- Comments
- Program formatting
- Pre-processor directives
- Expressions and operators
- Control structures
- Writing simple programs
- Testing and debugging
Functions/sub-programs
- Functions versus procedures
- Function declaration
- Function definition
- Recursion
- Function calls
- Arguments and parameters
- Parameter passing
- Writing and running a program using functions
Data structures
- Overview of data structures
- Arrays
- Structures
- Pointers
- Linked lists
- Writing programs using data structures
File handling (input/output)
- Overview of files
- Opening files
- Writing to files
- Reading from files
- Closing files
Application development
- Overview of mobile application development
- Collaborative application development
Documentation
- Developing user manuals
- Developing technical manuals
Emerging issues and trends