Computer Science  ·  Level 6
Computer Organisation And Architecture
Chapter 2: Central processing unit functions
📚 7 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • confidently select peripheral devices that match the needs of users.
  • choose the right Central Processing Unit (CPU) based on specific processing requirements.
  • analyze the architecture of a CPU to understand how it works.
  • explain the function and role of CPU registers clearly.
  • understand how instructions are represented and executed inside the CPU.
  • identify and select CPU specifications that fit user demands.
  • accurately verify CPU specifications on any given computer system.

These skills will help you make smart, informed decisions when working with computer systems, ensuring they perform exactly as needed in real-world situations.

Central processing unit functions are fundamental to understanding how computers operate and execute instructions. In Kenya's growing technology sector, professionals in computer science must grasp how peripheral devices interact with the CPU and how the CPU orchestrates all computing processes. This knowledge underpins software development, hardware maintenance, and systems optimization in various settings such as universities, financial institutions, and government ICT departments. This chapter explores the core components and functions of the CPU alongside the role of peripheral devices in a computer system.

2.1 Peripheral devices

Peripheral devices are external or internal hardware components that connect to a computer system to expand its capabilities. In the Kenyan ICT industry, peripherals enable diverse operations ranging from data input, output display, storage, and communication, essential for institutions like banks and county government offices that rely heavily on efficient data handling. Understanding the types and functions of peripherals helps computer science professionals design systems that enhance user interaction and system performance.

2.1.1 Types of Peripheral Devices

Peripheral devices are broadly categorized based on their interaction with the computer system. These categories include input devices, output devices, storage devices, and communication devices, each serving unique functions in computer operations.

Input Devices

Input devices allow users to enter data and commands into the computer. Common examples include keyboards, mice, scanners, and microphones. In Kenyan hospitals, for instance, barcode scanners are used to input patient data efficiently into electronic health records, enhancing accuracy and speed.

Output Devices

Output devices present data from the computer in a usable form. Monitors, printers, and speakers fall into this category. Universities often use projectors and monitors in computer labs to display instructional material, facilitating interactive learning.

Storage Devices

Storage peripherals provide additional data storage beyond the computer’s internal memory. External hard drives, USB flash drives, and optical drives are typical examples. SACCOs frequently use external storage devices to back up financial records securely, ensuring data preservation during system failures.

Communication Devices

Communication peripherals enable data exchange between computers and networks. Network interface cards (NICs), modems, and wireless adapters are key examples. County government offices utilize communication devices to connect to national databases, facilitating data sharing and service delivery.

2.1.2 Roles and Importance of Peripheral Devices

Peripheral devices enhance a computer system’s functionality by enabling data entry, output, storage, and communication, critical in professional settings. Their roles ensure that computers can interact with users and other systems effectively.

Key Roles of Peripheral Devices

  • Facilitating User Interaction: Input devices such as keyboards and touchscreens allow users to communicate commands and data to the computer, crucial in customer service centers.
  • Displaying Information: Output devices like monitors and printers convert digital data into human-readable formats used extensively in educational institutions for report generation.
  • Data Storage Expansion: Storage devices provide scalable options for saving large datasets, vital for banks handling extensive transactional records.
  • Network Connectivity: Communication peripherals ensure computers connect to networks and the internet, enabling cloud computing and online services in government offices.
  • Improving System Flexibility: Peripherals allow customization of computer systems to meet specific operational needs across different sectors.

2.1.3 Connection Interfaces for Peripheral Devices

Peripheral devices connect to the CPU and motherboard through various interfaces that determine data transfer speed and compatibility. Understanding these interfaces is essential for system assembly and troubleshooting.

Common Peripheral Interfaces

  • USB (Universal Serial Bus): The most widespread interface supporting plug-and-play connectivity and power supply to devices like flash drives and printers.
  • HDMI (High-Definition Multimedia Interface): Used mainly for transmitting high-definition video and audio to monitors and projectors.
  • Ethernet: Facilitates wired network connections, essential for stable internet access in offices and data centers.
  • Bluetooth: Supports wireless communication between peripherals such as wireless keyboards and speakers.
  • PCIe (Peripheral Component Interconnect Express): A high-speed interface used primarily for internal expansion cards like graphic cards and SSDs.

2.1.4 Maintenance and Troubleshooting of Peripheral Devices

Peripheral devices require regular maintenance to ensure reliability and performance, especially in high-demand environments such as banks and hospitals where downtime can be costly.

Maintenance Practices

  • Regular Cleaning: Dust and debris can cause device malfunction; cleaning keyboards, mouse sensors, and ports prevents hardware failures.
  • Firmware Updates: Updating device firmware improves compatibility and fixes security vulnerabilities, critical for network devices in county offices.
  • Proper Handling: Avoiding physical shocks and using protective covers prolong device lifespan.
  • Cable Management: Organized and undamaged cables prevent connection issues and electrical hazards.
  • Routine Testing: Periodic device tests detect faults early, ensuring uninterrupted service delivery in retail businesses.
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒2.2 The Central Processing Unit

The Central Processing Unit (CPU) is the computer's brain, executing instructions and managing data flow within the system. In Kenya’s technology-driven sectors such as universities and financial institutions, understanding CPU functions is vital for optimizin…

🔒2.3 CPU Architecture

The architecture of the Central Processing Unit (CPU) is fundamental to understanding how computers process instructions and data. In Kenya’s growing tech industry, from software development firms in Nairobi to data processing centers in Mombasa, the design of…

🔒2.4 Registers

Registers are the fastest storage units within the CPU, crucial for holding data temporarily during instruction execution. In Kenya’s software development environments, efficient register use can significantly enhance application responsiveness and system thro…

🔒2.5 Instruction Representation and Execution

In the field of Computer Science, understanding how instructions are represented and executed by the CPU is fundamental to grasping how software interacts with hardware. In Kenya’s growing technology sector, software developers, system architects, and hardware…

🔒2.6 CPU Specifications

CPU specifications define the capabilities and performance characteristics of a processor. Kenyan computer science professionals must understand these specifications to select appropriate hardware for software applications, from educational platforms to data a…

🔒2.7 CPU specifications are verification of computer system

In Kenya's evolving digital landscape, understanding CPU specifications is crucial for computer science professionals tasked with selecting, verifying, and optimizing computer systems. CPU specifications serve as a benchmark for verifying that a computer syste…

Chapter Summary

This chapter explored peripheral devices and their role in expanding a computer system's input and output capabilities. It then examined the Central Processing Unit as the core component responsible for executing instructions and managing data flow. The architecture of the CPU was detailed, highlighting its structural design and functional units. Registers were discussed as essential temporary storage locations that facilitate instruction execution. The chapter also covered how instructions are represented in binary form and the process by which the CPU decodes and executes them. CPU specifications were analyzed to understand performance metrics and capabilities. Furthermore, the verification of computer systems through CPU specifications was explained, including methods of input/output control such as programmed I/O, interrupt-initiated I/O, and direct memory access, each contributing to efficient data handling and system responsiveness.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Which of the following is NOT a peripheral device?
    a) Keyboard
    b) Monitor
    c) CPU
    d) Printer
    (2 marks)

  2. Explain the primary function of the Central Processing Unit (CPU) in a computer system. (3 marks)

🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain how peripheral devices improve computer system functionality in a typical Kenyan university computer lab. (4 marks)
  2. Describe the main functions of the Central Processing Unit (CPU) in a computer system. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Identify and Connect Peripheral Devices to a Desktop Computer

Computer Science · Level 6
Computer Organisation And Architecture
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Identify, connect and configure keyboard, mouse, monitor (21.5 inch Full HD), audio headset and Ethernet cable to the desktop computer as per standard workstation setup.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Screwdriver (Philips head)Desktop computer tower
Anti-static wrist strapUSB Keyboard
USB Optical Mouse
LCD Monitor 21.5 inch Full HD
3.5mm Audio Headset
Ethernet Cable CAT5e 2 meters
Power Cable
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Desktop computer tower1 Pc per Candidate
2USB Keyboard1 Pc per Candidate
3USB Optical Mouse1 Pc per Candidate
4LCD Monitor 21.5 inch Full HD1 Pc per Candidate
53.5mm Audio Headset1 Pc per Candidate
6Ethernet Cable CAT5e 2 meters1 Pc per Candidate
7Power Cable1 Pc per Candidate
8Screwdriver (Philips head)1 Pc per Candidate
9Anti-static wrist strap1 Pc per Candidate
10Plain paper A43 Sheets per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Preparation and Safety
Wore anti-static wrist strap correctly
(Award 2 marks if wrist strap worn correctly, else 0)
2
Ensured desktop computer is powered off and unplugged from power source
(Award 2 marks if system safely powered down and unplugged, else 0)
2
Sub-Total4
TASK 2: Peripheral Identification and Connection
Identified USB keyboard and connected it to appropriate USB port
(Award 3 marks if identified and connected correctly, else 0)
3
Identified USB optical mouse and connected it to appropriate USB port
(Award 3 marks if identified and connected correctly, else 0)
3
Identified LCD monitor and connected VGA or HDMI cable correctly
(Award 3 marks if identified and connected correctly, else 0)
3
Connected power cable to desktop and monitor correctly
(Award 2 marks if connected correctly, else 0)
2
Identified and connected 3.5mm audio headset to audio jack
(Award 3 marks if identified and connected correctly, else 0)
3
Connected Ethernet cable to network port
(Award 3 marks if connected correctly, else 0)
3
Sub-Total17
TASK 3: Configuration and Testing
Powered on the computer and verified that keyboard is functional
(Award 3 marks if keyboard input recognized, else 0)
3
Verified mouse pointer movement and clicking
(Award 3 marks if mouse works correctly, else 0)
3
Verified monitor displays correct output at 1920x1080 resolution
(Award 4 marks if monitor displays correctly at Full HD, else 0)
4
Verified audio headset output by playing a test sound
(Award 3 marks if audio works correctly, else 0)
3
Verified Ethernet connection by checking network connectivity
(Award 4 marks if network connected successfully, else 0)
4
Sub-Total17
TASK 4: Documentation
Created a table listing each peripheral device and its function
(Award 5 marks if table is complete and clearly formatted, else 0)
5
Listed interface type used by each peripheral device (e.g., USB, HDMI, Audio Jack, Ethernet)
(Award 5 marks if interface types are correctly identified, else 0)
5
Sub-Total10
PRODUCT CHECKLIST
All peripherals connected properly; system powers on without error; devices function as expected
(Award up to 12 marks based on correct functioning and connections)
12
Sub-Total12
GRAND TOTAL60
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Assemble and Explain CPU Architecture Components

Computer Science · Level 6
Computer Organisation And Architecture
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Assemble a CPU architecture model 300mm x 200mm x 100mm and prepare a labeled diagram explaining the function of at least five key registers.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
CPU architecture model kitPlain A4 paper
Screwdriver set
Anti-static wrist strap
Pen or pencil
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1CPU architecture model kit1 Kit per Candidate
2Screwdriver set1 Set per Candidate
3Anti-static wrist strap1 per Candidate
4Plain A4 paper6 Sheets per Candidate
5Pen or pencil1 per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Assemble CPU Architecture Model
Wore anti-static wrist strap before handling components
(Award 2 marks for correct PPE use or zero)
2
Identified and assembled the CPU components correctly
(Award 1 mark for each correctly assembled component or zero)
5
Secured components properly using screwdriver
(Award 3 marks for proper securing or zero)
3
Completed assembly within the allocated time
(Award 2 marks for timely completion or zero)
2
Sub-Total12
TASK 2: Create and Explain Register Functions Diagram
Drew a clear labeled diagram of CPU architecture including registers
(Award 5 marks for clarity and labeling or zero)
5
Explained the function of at least five key registers (e.g., Program Counter, Instruction Register, Accumulator, Memory Address Register, Memory Buffer Register)
(Award 2 marks per correct explanation or zero)
8
Sub-Total13
PRODUCT CHECKLIST
Assembled CPU model dimensions match 300mm x 200mm x 100mm with neat and secure fitting
(Award 5 marks for correct dimensions and neat assembly or zero)
5
Diagram includes all five registers labeled with correct functions
(Award 5 marks for complete and accurate diagram or zero)
5
Sub-Total10
GRAND TOTAL35
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Simulate and Execute the Fetch-Decode-Execute Cycle for Given InstructionsPractical 3
🔒Analyze and Verify CPU Specifications for System CompatibilityPractical 4
🔒Implement Programmed Input/Output Operations Using Assembly LanguagePractical 5
🔒Configure and Demonstrate Interrupt Initiated I/OPractical 6
🔒Set up and explain Direct Memory Access (DMA) transferPractical 7
🔒Draw and label a CPU block diagram with major componentsPractical 8
🔒Compare and contrast Von Neumann and Harvard CPU architectures by assembly and illustrationPractical 9
🔒Test and Troubleshoot CPU and I/O OperationsPractical 10
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 18 questions Start quiz ▾
0%
0 / 2
🔒

16 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • confidently select peripheral devices that match the needs of users.
  • choose the right Central Processing Unit (CPU) based on specific processing requirements.
  • analyze the architecture of a CPU to understand how it works.
  • explain the function and role of CPU registers clearly.
  • understand how instructions are represented and executed inside the CPU.
  • identify and select CPU specifications that fit user demands.
  • accurately verify CPU specifications on any given computer system.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.