admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

A company has a website that is stored on a web server.
(a) The website data is broken down into packets to be transmitted to a user.
Describe the structure of a data packet.

  • it has a header that contains the destination address, the packet number, and the originator’s address
  • it has a payload
  • it has a trailer.

 

Question Image

What is a computer system ?

A computer system refers to computer components that collectively function as a single unit to achieve the desired goal. It can also be defined as a collection of hardware, software, and liveware that work together to receive, process, and manage data

Distinguish between firmware and device drivers as used in computers.                  (2mrks)

  • Firmware is a software program permanently etched into a hardware device such as a keyboards, hard drive, BIOS, or video cards.
  • Device drivers are operating system-specific and hardware-dependent. A device driver acts as a translator between the hardware device and the programs or operating systems that use it. 
  • Firmware is a software that controls a system, and firmware's functionality ranges from performing basic tasks like minimal I/O controls to full-fledged software system running with simple or no OS, with scheduler, memory management, etc. 
  • A driver, on the other hand, is usually part of the operating system that performs the specific task of controlling a hardware component like a display or USB controller, etc., and gives an interface to use the hardware by Operating system and applications.
Question Image

Explain, with examples where appropriate, the following five computer terms.

(a) Buffer

(b)batch processing

(c) e-commerce

(d) simulation

(a) Buffer

  • temporary storage or memory which compensates for the difference speed of peripherals and the CPU

(b)batch processing

  • processing doesn’t start until all data is collected
  • JCL (any reference to Job Control Language)
  • no need for user interaction
  • processed all in one go
  • done at “quiet” times
  • e.g. billing, payroll, cheque processing

(c) e-commerce

  • electronic commerce
  • buying and selling products/services using the internet/computer networks

(d) simulation

  • studying the behaviour of a system by using a model/mathematical representation
  • results can be predicted
  • e.g. flight (or other) simulator, modelling hazardous chemical process

(e) Email

  • sending messages from one device to another using computer networks/Internet
Question Image

KCSE 2021 Prediction Computer Studies Paper 1

b) Study the following pseudocode and answer the questions that follow.

1. Start

2. Get Value1 and Value2

3. If Value1> Value2 Then

4. Maximum = Value1

5. Else If Value1< Value2 Then

6. Maximum = Value2

7. Else Go to 9

8. Display Maximum

9. Stop

i) State the purpose of the pseudocode                                                                                  [1]

To compare two values and output the greater of the two

ii) Draw a flowchart equivalent to the pseudocode.                                                                     [8]

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

A virus is a specific category of malware. Describe three other different categories of malware.

Trojan (horse); a program which misleads the user into thinking it is another
piece of software which, when run, executes another program;
Spyware; a program which records data such as usernames and passwords on
a host system and forwards the information to a third party;
Adware; code embedded or attached to program files which will persistently
show adverts (that attempt to generate revenue);
Worm; code which will run autonomously and replicates itself on a host system;
Ransomware; a program that encrypts a user’s data to make it unreadable until
they pay for the key;
Remote Access Tool (RAT); allows access to control and monitor a computer
from a remote network location;
Rootkit; malware that has managed to gain ‘root’ admin privileges;
Bots/Zombies; a program installed on a computer that performs a job for the
remote owner of the bot/zombie such as sending spam or sending web requests
to perform a DOS or attack a computer system;
Scareware; malware that tells you something is wrong with your system in an
attempt to get you to make a purchase;
Keylogger; a program that monitors/records a user’s keystrokes in order to steal
passwords/confidential details

Question Image

Describe the purpose of the control unit (CU) within this computer.

  • It sends control signals that manage the transfer of data and instructions within the CPU
  • It decodes an instruction using an instruction set
Question Image

Differentiate between a function parameter and a function argument

A parameter represents additional information that  a function requires to perform its task. Each parameter required by a function is specified in the function header

An argument the value supplied in the function call. When the function is called, the argument value is passed into the function parameter so that the function can perform its task

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

There are security concerns associated with cloud storage.
(a) State one way in which providers of cloud storage could prevent security breaches by their own employees

 (b) Explain why data on networks is encrypted

(a) One from:

  • Background checks
  • Access control
  • Physical security
  • User policies

(b) To prevent unauthorised access (1) so that data remains confidential (1) by making it unintelligible (1) because it is scrambled (1)

Question Image

State Advantages of online booking

  • It prevents double-booking which could happen in paper-based booking system
  • The customer gets immediate feedback on the availability of seats
  • The customer can make  booking at any time of the day
  • Emails provided by customers during booking can be used by companies for advertisement
Question Image

Describe the role of the one-dimensional array in programming

  • holds an indexed sequence of variables of the same data type
  • Arrays can be used to store values of the same data type and the array is then used as a singular variable to increase efficiency
Question Image

b) Give one benefit of each type of data transmission

Serial

  • -more accurate/fewer errors over a longer distance
  • -less expensive wiring  
  • less chance of data being skewed/out of synchronization/order
Question Image

Distinguish between a client-server and a peer-to-peer network

  • In a client-server network, every device is either a client or a server whereas in a peer-to-peer network each computer has equal responsibility and each has the ability to work as both a server and a client
Question Image

Describe what is meant by a MAC address.

  • used to identify a device
  • it is a unique (address)
  • it is a static address // it does not change
  • it is set by the manufacturer
  • the first part is the manufacturer ID/number / identifies the manufacturer
  • the second part is the serial number / ID.

 

Question Image

Your friend wishes to install a wireless network in his office. Explain to him the difference between guided and unguided media

  • Guided media uses cables to connect to computers whereas unguided media uses waves.
Question Image

What is a defragmentation software

  • It is a utility software that places file data in adjacent sectors to free up space for more data and reduce access time for files stored
Question Image

a) What is an operating system? (1 mark)

b) Briefly explain any four functions of an operating system. (8 marks)

c) Describe each of the following data processing methods: [6 marks]

a) What is an operating system? (1 mark)

  • It is a system software that manages the computer hardware. It provides a platform for installation & execution of application software.

b) Briefly explain any four functions of an operating system. (8 marks)
Interrupt handling - When an interrupt occurs, the current state of the CPU is saved & the OS handles the request, after which the OS restores the previous state of the CPU & resumes the interrupted process.
Process scheduling - OS decides which process runs next & for how long.
Memory management - Ensures that each process has enough memory allocated to execute without interfering with other processes.
Error handling - OS provides a mechanism to detect & respond to errors such as segmentation faults, hardware failures, or invalid instructions.

 

Define what is meant by a ‘network protocol

  • An agreement / set of rules / standard for how computers should communicate or how data is sent/received/transmitted on a network
  • Example of what could be agreed in the protocol (e.g. speed / error checking / etc.)
Question Image