admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

Mention at least two trends in the technological revolution of computers.

  • Continual decrease in computer size
  • Improved speed and power of processing
  • Decrease in computer physical size and its related facilities cost
Question Image

What is audit trail?

A record showing who has accessed a computer system and what operations he or she has performed during a given period of time

Question Image

Explain what happens in the computer during the booting process

The booting process is the sequence of events that occur when a computer is turned on or restarted. It involves a series of steps that allow the computer's operating system to initialize and become functional. Here's a simplified explanation of what happens during the booting process:

  1. Power-On Self-Test (POST): When the computer is powered on, the first thing it does is perform a Power-On Self-Test. During this step, the computer's hardware components, such as the CPU, memory, and storage devices, are checked for proper functioning. The POST verifies that all essential hardware components are present and operational.

  2. Bootloader: Once the POST is completed, the computer looks for the bootloader. The bootloader is a small program stored in the computer's firmware or on the bootable device (such as the hard drive or a USB drive). It is responsible for loading the operating system.

  3. Loading the Operating System: The bootloader locates the operating system's files and initiates the loading process. It may display a boot menu allowing the user to choose the operating system if multiple options are available. The selected operating system's core files are loaded into the computer's memory.

  4. Kernel Initialization: The operating system's kernel, which is the central component responsible for managing system resources, is initialized. The kernel sets up essential components such as device drivers, memory management, and process management.

  5. System Initialization: After the kernel is initialized, the operating system proceeds with system initialization. During this stage, various system services and processes are started, and hardware devices are initialized and configured. The operating system loads essential system files and prepares the environment for user interaction.

  6. Login/Graphical Interface: Once the system initialization is complete, the user is presented with a login prompt or a graphical user interface (GUI). The user can then log in with their credentials or interact with the GUI to access the computer's functionalities.

Question Image

Why are CD-Rs and CD_ROMs referred to as WORM?

  • Because data is recorded to the disks once but can be accessed many times without changing the content
  • once data is written to the disk, it becomes read-only and cannot be altered or erased.
Question Image

A workshop has a lot of heavy machinery operating throughout the day and requires a cable to connect a workstation to a switch. Which of the following, unshielded twisted pair (UTP) or shielded twisted pair (STP) cable, would be the more suitable? Justify your response.

Shielded twisted pair cable:
A twisted pair cable is made up of four pairs of twisted copper wires, a shielded twisted pair cable applies a shield to each one of the pairs on a cable or to all of the pairs together. This shield can reduce EMI (electromagnetic interference), which would be emitted from heavy machinery. This increased data transmission quality in the workshop. STP can also reduce crosstalk.

Question Image

State the characteristics of each of the following network topologies (KCSE COMPUTER STUDIES 2021 )

i) Mesh Topology  (2mks)

  • a host/node is connected to one or multiple hosts
  • a   host/node in point to point connection with every other host or a few hosts
  • hosts/nodes in mesh topology also work as relays for other hosts which do not have point-to-point links

(ii) Ring Topology (2mks)

  • each host/node connects exactly to two other hosts
  • data travels around the ring in one direction through all intermediate hosts
  • failure of any host results in the failure of the whole ring

State the characteristics of each of the following network topologies (KCSE COMPUTER STUDIES 2021 )

i) Mesh Topology  (2mks)

  • a host/node is connected to one or multiple hosts
  • a   host/node in point to point connection with every other host or a few hosts
  • hosts/nodes in mesh topology also work as relays for other hosts which do not have point-to-point links

(ii) Ring Topology (2mks)

  • each host/node connects exactly to two other hosts
  • data travels around the ring in one direction through all intermediate hosts
  • failure of any host results in the failure of the whole ring
Question Image

Differentiate between bus topology and star topology of networks. What are the advantages and disadvantages of star topology over bus topology

  • Bus topology is characterised by common transmission media shared by all the connected nodes
  • Star topology is characterised by a central switching node connected directly to each of the multiple nodes in the network

Advantages of Star topology over Bus topology

  • Faster communication as compared to bus topology
  • Independent line of connection allows freedom of removing or adding nodes

Disadvantages of Star topology over Bus topology

  • Expensive as compared to the bus topology
  • Long cable length
Question Image

Describe a typical situation that requires the use of:

(i) a high-level language

(ii) a low-level language.


High level languages are used in situations when:

  1. Speed of execution is not a critical factor, such as in office applications.
  2. a programmer needs to use complex commands that perform complex tasks.
  3. A programmer wants to make use of standardised library / sub routines.

Low level languages are used in situations when:

  1. a program must execute quickly such as real time applications
  2. a programmer needs to write code that interacts directly with the hardware, such as device drivers
  3. a programmer needs to perform a specific command not available in a HL language.
Question Image

(iv) Identify the part of the CPU that sends signals to the other components.

 

 Control unit

Question Image

What are the functions of the system clock in the CPU?

  • It dictates the speed at which data is transferred between these components and enables the sequential execution of instructions in the correct order.
  • generates a timing signal that is used to synchronize communication between CPU components and the rest  of the computer system
Question Image

Explain how the techniques of

(i) verification,
(ii) validation
are used to ensure that the stored data is as accurate as possible.

Dual input of data

  • Two inputs are compared by the system and any discrepancies are reported (and not stored.)
  • Data input once, either printed out or checked on the screen and  errors corrected

 Rules are given to the processor

  • Only accept A, B, C, D, E, F, G i.e Any other input rejected.

Drop-down list/radio buttons

  • Provides only valid inputs, so no other validation is required
Question Image

State any four applications of electronic spreadsheets

  • Financial accounting
  • Prediction and forecasting
  • Inventory keeping
  • Budgeting
  • Keeping records
Question Image
Differentiate between a switch and a hub
A switch forwards data packets directly to the address of the node using point to point transmission method. A hub broadcast the data packets to all computers on the network
Question Image

What is data encryption?

  • Refers to the scrambling of data into unreadable form before transmission over a telecommunication media  OR
  • transformation of data from plaintext to ciphertext
Question Image

List any two components of an expert system                                (2marks)

  • Knowledge base – is the systems’ database of knowledge about a particular subject. It contains relevant facts, beliefs, assumptions and procedures for solving a particular problem
  • Inference engine – this is the software that controls the search for knowledge in the knowledge base and produces conclusions. It takes the problem posed by the user and seeks to analyze it in order to arrive at a conclusion.
  • User interface- this is the display screen that enables the user interact with the system.

Name three of the stages in the system life cycle

fact finding
feasibility study
analysis
design
testing
documentation
implementation/changeover/installation
evaluation
maintenance

Question Image

State the function of a router in a network

  • connects different networks
  • transfer data packets from source to destination
  • allow hosts on different networks to communicate
Question Image

Explain two ways in which an interpreter and a compiler are different.

  • They execute code differently – a compiler reads a complete program at once, an interpreter reads a program line-by-line
  • they identify errors in different ways – a compiler does not allow a program to run until error-free, an interpreter runs the program until the first error.
Question Image

State the primary function of the Dynamic Host Configuration Protocol (DHCP) protocol.

  • it generates and/or allocates an IP address
Question Image

State the factors that affect the performance of the CPU

Number of cores
The number of cores a processor has directly affects the performance of the processor. Each core can perform its own fetch-execute cycle independently of others, so different applications can be allocated to different cores. Quad-core (four-core) and even octa-core (eight-core) processors are becoming common

Cache memory
A processor’s cache is a small portion of incredibly fast memory. It has read and write speeds far higher than hard disk drives and even SSDs. The cache is used to store frequently used information and reduces time wasted in fetching the same information from main memory time and time again

Clock speed
A processor’s clock speed relates to the frequency of the pulses generated by the system clock. The higher the frequency, the more cycles of the fetch-execute cycle can be completed in the same period of time.

Word length
A word is a group of bits that is treated as a single unit by a processor. Words can be used for representing both instructions and data. The length of a word is the number of bits that are assigned to it, with higher word lengths allowing for more bits to be transferred and manipulated as a single unit.

Address bus width
The width of a bus relates to the number wires that make up the bus. Increasing the width of the address bus increases the range of addresses that it can specify, hence increasing the computer’s amount of addressable memory. Adding a single wire doubles the number of addressable memory locations

Data bus width
Increasing the width of the data bus increases the volume of data that can be transferred over the bus at any one time. A wider data bus allows the processor to fetch more data from the main memory in one cycle of the fetch-execute cycle, reducing the number of cycles required to fetch large volumes of data.

Question Image