Class Activity 1 – (Learning Outcomes appraised – L01)
Understanding Computer Architecture.
Identify the key components of a computer and explain their roles.
• List the components of a computer architecture (CPU, Memory, Input/Output,
Storage).
• Explain the role of each component in the execution of a simple programA computer
has four main components: CPU, memory, input/output, and storage.
Answer :
The CPU processes instructions. Memory stores data while the program is running.
Input devices let users enter data, and output devices show the result. Storage keeps
programs and files for later use.
When a program runs, it is loaded into memory, the CPU processes it, and the result is
shown through an output device.
Class Activity 2 – (Learning Outcomes appraised – L02)
Variables and Instructions.
Declare and use variables in C programming.
• Write a C program that declares an integer, a float, and a character variable.
• Assign values to each variable and print the values.
Answer :