admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

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 ways in which data validation is implemented on an input form of a database application

  • By setting the validation rule for the input controls on the property sheet in design view
  • By use of VBA to restrict user inputs for a given control on a form
  • By use of queries to restrict options available for the user in a combo box or listbox
  • Setting correct data types for the fields in table the design
  • Enforcing referential integrity in database relationships
  • Use of input mask for the controls on the property sheeet in design view
Question Image

State two benefits of using computerised traffic control systems

  • Detecting congestion.
  • Synchronizing activity between traffic lights.
  • Updating traffic light timing in real time.
  • Updating and informing drivers of ideal speeds.
  •  Prioritizing transportation flow.
  •  Reduce congestion and time spent on the road
  • By reducing congestion it will decrease pollution
  • Prioritize traffic based on changes in traffic conditions in real time.
  • This system is also helpful to reduce infrastructure damage. It is possible to identify overloaded vehicles and provide them with appropriate ways or roads, which will reduce road damage.

Differentiate between action query and select query

An action query is used to modify, add, or delete data in a database whereas a select query is used to retrieve data from a database based on specified criteria but does not make any changes to the data.

Question Image

Describe the principles of operation of  laser printers and describe how they are applied in real-life scenarios

  • A laser printer makes use of powdered ink and static electricity to print
  • Unlike inkjet printers which print line-by-line, laser printers print the whole page in one go

Steps

  • The data from the  file to be printed is sent to a printer driver
  • The printer driver checks that the data is in an understandable format
  • The printer driver checks if the printer is able to carry out the print job
  • The data is sent to the printer and is stored in a printer buffer
  • A printing drum in the printer is given a positve charge. A laser beam removes the positive charge in some areas. This leaves negatively charged areas which matches the characters/images to be printed
  •  
Question Image

What is a web browser?

  • A software which can display a webpage on a user's computer screen
Question Image

Describe each of the following types of a program errors, giving an example in each case.

(i) Syntax error.
(ii) Logic error.
(iii) Arithmetic error/runtime error

(i) Incorrect use of language, e.g. PLINT instead of PRINT
(ii) A mistake in the structure of the solution, e.g. a jump goes to the wrong line
(iii) Inappropriate arithmetic is used, e.g. division by 0 is attempted

Question Image

A school intends to install a computer network. Explain three challenges that the school may experience after the installation (KCSE 2021 Computer Studies Q19(b))

Network Failure - when the network becomes faulty or the network is down, users may not access network resources hence operations of an organization may be brought to a standstill

Security Issues:  A computer network can be accessed thus there is an increased chance of hacking

The rapid spread of viruses: Viruses can easily spread to terminals of a computer network which may be very expensive to clear

Cultural and moral effects: adult content may be shared in a networked environment which may be of negative impact on teenagers

 

Question Image

What is repetitive strain injury?

  • the pain felt in muscles, nerves and tendons caused by repetitive movement and overuse.
  • Injury as a result of repetitive use of parts of the body while performing work
  • Strains and injuries due to prolonged typing and use of the mouse
Question Image

State the function of a switch in a computer network

  • It transfers data signals from one node directly to another in the network without broadcasting
Question Image

What is a computer keyboard?

A computer keyboard is an input device used to enter text, characters, and various commands into a computer or other digital devices.

Question Image

State advantages of hardcopy output

  • They are accepted as exhibits in cases of litigation
  • Can be used without a computer
  • they are difficult to change without leaving any trace
Question Image

Compare and contrast CLI and GUI

CLI

  • Commands have to be typed in full with no mistakes
  • Requires memorization of commands
  • Uses less memory

GUI

  • Due to graphics, GUI uses a lot of memory
  • GUI is more user friendly
  • Cannot operate properly if memory is low

Comparison

  • Both carry out file management
  • Both are operating systems
  • Both control software and hardware
Question Image

Factors to consider when choosing DTP software. (4 marks)

  1. Availability in the market
  2. Initial and maintenance cost
  3. User friendliness
  4. Compatibility
  5. User needs

What is an information system ?  (KCSE 2012))

Is an arrangement of people, data, processes, communication and IT that interact to support problem solving

 

Components of an information system

  • Hardware
  • Software
  • Data - information manipulated by software
  • people- all people involved
  • Processes - steps to accomplish a goal
Question Image

List two types of network software

  • Network operating systems
  • Protocols
Question Image

Explain how virtual memory can compensate for the limited  RAM capacity in a computer.

  • VM is used when RAM is full  i.e part of the secondary storage used as (temporary) RAM/VM
  • Data from RAM is moved to the secondary storage/VM (to make space in RAM)
  • RAM can then be filled with new data
  • When data in VM is needed it is moved back to RAM
Question Image

When an image is inserted in a DTP document is selected, handles on its placeholders appear.  State three uses of these handles

  • Used to resize the image
  • Used to rotate the image
  • Used to move the image
Question Image

Students are using their wireless notebooks to complete their work in a classroom. They will need to connect wirelessly to a printer to print their answers at the end of the lesson.
Describe how CSMA/CA (Carrier-sense multiple access with collision avoidance) operates in the above scenario.

  • All nodes ‘listen’ for traffic to sense when the network is idle.
  • When a node wishes to transmit, it transmits a ‘request to send’ frame’ (RTS)
  • The intended receiving device will transmit a ‘clear to send’ (CTS) frame if it is available.
  • All other nodes ‘sense’ the network is busy and wait a random amount of time before trying to transmit
Question Image

Describe the following features of a graphical user interface:

(a) Pointer

(b) Desktop

(a) Pointer

  •  A graphical object on a computer screen that responds to move movement and allows the computer user to select and execute commands in graphical user interface operating systems

(b) Desktop

  • It Is a special folder in the file system that is displayed when no other windows are open
Question Image