admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

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

Give two reasons why some microprocessor controlled devices do not require an operating system

  • They run only one program/task
  • OS would increase development and manufacturing cost as more storage will be needed
Question Image

List four input devices used to capture data by way of scanning                 

Optical Mark Recognition; Optical Character Recognition; Magnetic Ink Character Recognition ; Optical Bar Recognition

Giving answers as readers is also acceptable, that is, Optical Character Readers, Magnetic Ink Character Readers; Optical Mark Readers

 

Outline three ways through which ICT can used in marketing

ICT is used to create e-commerce platforms that have made business transactions easier and convenient by allowing customers make purchases and payments from anywhere at any time

ICT is used by marketing agents to create exciting multimedia presentations concerning products or services and present them to the target customers using presentation software such MS PowerPoint

Using multimedia, presentation and animation software, it is possible to design attractive advert materials and video clips to display on billboards, broadcast over a television or uploaded on the internet


 

Question Image

State advantages of star network topology

  • Easy to add nodes
  • Managed centrally
  • Fewer data collisions
  • A single node failure does not affect the rest of the network
Question Image

Define the following

(a) Cookies

(b) Spyware

(c) Phishing

(d)Spam

(e) Pharming

 

 

(a) Cookies

  • Information that a website stores about a user on their hard disk; this enables
    the website to remember details about the user when they next visit the website.

(b) Spyware

  • Program installed on a PC to gather information about the user. It monitors
    every key press and relays the information back to the home base

(c) Phishing

  • Sending an email that claims to be from a legitimate company; the recipient is then directed to a bogus website where their personal details will be collected

(d)Spam

  • Junk/ (unsolicited) electronic mail advertising products and services sent to a general mailing list.

(e) Pharming

  • Malicious code installed on a PC or on a server. This code directs users to a
    a fraudulent website without their knowledge.
Question Image

Explain how the operating system performs job/process scheduling/management

  • The OS allocates CPU time to each process, and prioritises them in the order of importance
Question Image

State a circumstance under which dry-run testing is performed when developing a program (2mks)

  • To detect and remove errors
  • To confirm if the program produces the expected output
Question Image

Computer Studies Paper 1 2021  KCSE Prediction Section B Qs. 17,18 and 19

17. a) i) Explain the term search as used in the Internet.                                            [2]

A web based application that locates items or information from the World Wide Web

ii) Peter intends to download a movie from the Internet. State the three factors that may determine the total time taken to complete the download.                                           [3]

  • Size of the video/format
  • The bandwidth of the media/speed of network/network traffic
  • Type of browser software
  • Background activities running in the computer
  • Restrictions enforced in the computer/firewall/antivirus
  • Speed of the computer/CPU speed
  • Size of RAM

b) Wakulima online is an organization that runs a web based system for assisting farmers to obtain market for their produce. State four technological reasons that may cause a farmer not to access the organization’s system.                                                                                  [4]

  • Poor network/lack of connection
  • Software failure in the system
  • Hardware failure
  • Lack of access rights
  • System overload/hanging
  • Lack of skills/disability/illiteracy
  • Lack of power supply

c) Explain a situation when each of the following Desktop Publishing program features may be used when creating a publication:

i. Cropping                                                                                                               [2]

Applies to graphics – used to trim/remove/hide some portions in the graphics

ii. Transparency                                                                                                         [2]

Used to make background of a graphic to be clear/visible

d. List two areas where infrared waves are used in data communication.                             [2]

18. a) List four activities of the planning stage of systems development.                             Ignore this question, marks redistributed elsewhere

b) Explain a circumstance when each of the following feasibility studies are carried out during systems development.

i. Technical                                                                                                               [3]

Done to determine whether technology exists to support the proposed solution

 

ii. Economic                                                                                                              [3]

Done to determine whether the proposed solution is economically viable

 

iii. Schedule                                                                                                               [3]

Done to determine whether the proposed system can be done within an acceptable time.

c) Table 1 and Table 2 are related tables in a database. Use them to answer the questions that follow.

Table 1

Dept Code

Dept Name

001

Computer

002

Aviation

003

Engineering

 

Table 2

DeptID

Student Registration No.

Student’s Name

002

St01

Alex Too

003

St02

Naomi Komi

002

St03

Peter Kengo

 

i. Identify the appropriate primary key for each table.                    [2]

Table 1 – Dept code, Student Registration No

ii. Explain two benefits of enforcing referential integrity in the database. [4]

  • No record can be added in Table 2 if its corresponding record in Table 1 does not exist
  • No record in Table 1 can be deleted without first deleting the corresponding record in Table 2
  • Reduces data redundancies/ensures integrity
  • Prevents deletion of related table

19. a) Describe each of the following validation checks as used in data processing.

i. Preserve check                                                                                                      [2]

Ignore this question, marks redistributed elsewhere

ii. Data type check                                                                                                    [2]

Ensure correct type of data is entered for the field

iii. Check digit                                                                                                           [2]

This is a number added/calculated by the computer to a binary number. The check digit ensures correct transmission of the binary number.

b. Write each of the following abbreviations in full:

i) BCD                                                                                                                                    [1½]

Binary Coded Decimal

ii) EBCD                                                                                                                                 [

This question was thrown out and marks redistributed elsewhere

iii) ASCII                                                                                                                    [1½]

American Standard Code for Information Interchange

c) Using 10-bits binary number system, perform the following decimal operation using two’s complement.                                                                                                                                   [6]

12910 - 12810

+129 = 00 1000 0001

128 = 00 1000 0000

-128 = 11 0111 1111 (ones complement)

                            +1

          11 1000 0000 (Twos complement)

129- 128

     00 1000 0001

+ 11 1000 0000

 100 0000 0001

Hence = 00 0000 00012 or 12 (the overflow bit is ignored)

Question Image

Explain the difference between main memory and secondary storage.

  • Main memory is transitory/temporary/volatile, secondary storage is (semi-)permanent
  • The processor can only use data/instructions that are in the main memory
  • Main memory is directly accessible to the processor, secondary storage is not directly accessible to the processor 
Question Image

State two advantages and one disadvantage of having a network of computers, rather than a series of stand-alone machines, in a school classroom.

Advantages

  • Sharing of software and data files
  • Sharing of hardware, e.g. printers
  • Communication

Disadvantages

  • Security of files is more of a problem
Question Image

Describe the difference between a barcode and A quick Response code (QR code)

  • A barcode is one-dimensional while a QR code is two dimensional
  • Barcodes are a set of vertical lines and QR code contains squares
  • QR codes can be read from any angle . Barcode is only above or below and lined up horizontally
Question Image

Define disk formatting and state three reasons for formatting a disk

Definition

  • Disk formatting is the process of preparing a data storage media for initial use

Reasons:

  • To make a disk blank for reuse
  • To make it compatible with another operating system
  • to create tracks and sectors for first time use
Question Image

State and briefly describe three program control structures

Sequence: Sequential execution of a program one line after another

Selection:  Involve the a decision between two or more options e.g  if...then...else

Loops/Repetitions: Used for looping i.e a line of code can be made to execute a given number times before terminating.

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

Explain the difference between the sequential and parallel computational models.

Any four of:
Sequential:
Individual instructions are executed one after another
Flow control is accomplished by jump/branch/goto instructions
Results are usually achieved less quickly than parallel processing (do
not award twice)
Parallel:
Individual instructions can be routed to different processors for
simultaneous execution
Results are usually achieved quicker than sequential instruction (do not
award twice)
Requires multi-core processors or multiple microprocessors
Tasks may be split into different parts with each part executed on a
different processor
Results need to be merged back together after completion

Question Image

Distinguish between one to one and one to many relationships as used in relational databases

One to one  - Each record in the parent table has exactly one related record in the child table, and vice versa.

One to Many -  Each record in the parent table can have multiple related records in the child table, but each record in the child table is related to only one record in the parent table

Question Image

State four operations that may be performed on a file by an operating system

  • file deletion
  • file copying
  • file renaming
  • file retrieval
  • file closing
  • file reading
Question Image

A computer laboratory experiences power supply problems. Describe three power related problems that should be addressed

Blackout: This is unexpected discontinuation of power supply in the laboratory.

Power sag: Sudden drop of voltage levels that lasts less than a second.

Transients/ surge: High voltage flowing.

Brownout: Partial blackout where there's low voltage flow.

Question Image

State three categories Operating Systems grouped according to user interface

  • Commandline/ Character interface Operating systems
  •  Menu Driven Operating Systems
  •  Graphical User Interface Operating Systems
Question Image