Learning Module: Introduction to Computer
Programming
Overview
This module provides an Introduction to Computer Programming, explaining what programming is, why
it is important, and the basic concepts involved in writing computer programs. It is designed for beginners
and IT students with little or no prior programming experience.
Learning Objectives
By the end of this module, learners should be able to: - Define computer programming - Explain the
importance of programming - Identify basic programming concepts - Understand the program
development process
Lesson 1: What is Computer Programming?
Definition
Computer Programming is the process of writing instructions that a computer can understand and
execute to perform specific tasks or solve problems.
Purpose of Programming
• Automates tasks
• Solves real-world problems
• Creates software applications
• Controls hardware and systems
Lesson 2: Importance of Computer Programming
• Helps develop problem-solving skills
• Enables creation of applications and systems
• Used in many fields such as education, business, healthcare, and entertainment
• Forms the foundation of software development and IT careers
1
Lesson 3: Basic Programming Concepts
1. Algorithms
• Step-by-step procedures to solve a problem
2. Variables and Data Types
• Variables store data
• Data types define the kind of data stored
3. Input and Output
• Input: Data entered into the program
• Output: Result produced by the program
4. Control Structures
• Sequence – Instructions executed in order
• Selection – Decision making (if-else)
• Iteration – Repetition (loops)
Lesson 4: Programming Languages
High-Level Languages
• Easy to read and write
• Examples: Python, Java, C++, JavaScript
Low-Level Languages
• Close to machine language
• Examples: Assembly language
Lesson 5: Program Development Process
1. Problem Definition
2. Algorithm Design
3. Coding
4. Testing and Debugging
5. Documentation and Maintenance
2
Learning Activities
Activity 1: Write a simple algorithm for making a cup of coffee.
Activity 2: Identify examples of programming in daily life (e.g., mobile apps, ATMs).
Assessment (Short Quiz)
1. What is computer programming?
2. Name two basic programming concepts.
3. Why is programming important?
Summary
• Computer programming involves writing instructions for computers
• It is important for automation and problem-solving
• Basic concepts include algorithms, variables, input/output, and control structures
• Programming languages and processes guide software development
References
• Introduction to Programming textbooks
• Computer Science fundamentals resources