admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

What is a computer virus?

A computer virus is a program designed to damage other programs or causes irregular behaviour in a computer system.

Question Image

(a)Explain why programmers prefer to represent instruction in hexadecimal rather than in binary

  • A larger number of values can be represented using fewer characters.
  • the shorter length and more characters make the pattern easier to read and understand
  • recognisable character codes can be used for debugging

(b) Give two other uses of hexadecimal

  • HMTL color codes representing RGB spectrum in the web development
  • representation of MAC and IP addresses allowing a larger combination of unique addresses

(a)Explain why programmers prefer to represent instruction in hexadecimal rather than in binary

  • A larger number of values can be represented using fewer characters.
  • the shorter length and more characters make the pattern easier to read and understand
  • recognisable character codes can be used for debugging

(b) Give two other uses of hexadecimal

  • HMTL color codes representing RGB spectrum in the web development
  • representation of MAC and IP addresses allowing a larger combination of unique addresses
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 two computer-based careers  that have arisen as a result of  computer-based data processing in a factory    (2 marks)

System analyst

Web designers

Network administrators

Database administrators

Programmers

Computer technicians

Question Image
What are computer networks?
A set of connected computers and other devices which share resources such as software, internet connection,printers etc
Question Image

In reference to word processing, define the following terms

Word wrap

Justification

Drop cap

Word wrap - Is a word processing feature in which a word that does not fit in the current line is automatically moved at the start of the next line

Justification - refers to aligning text on both left and right margins

Drop cap - Make the first character of a paragraph occupy more than one line below it

Question Image

What is a primary key?

  • an attribute/combination of attributes chosen to ensure that the records in a table are unique
Question Image

Explain, using examples where appropriate, the meaning of these computer terms

(a) byte ..................................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(b) compiler ............................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(c) handshaking .....................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(d) technical documentation ..................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(e) simulation .........................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2

(a) byte

  • fixed number of bits, 8 bits
  • represents a character


(b) compiler  program

  • converts/changes/translates high-level language into machine code/machine language/low-level language/object code
  • changes each high-level language instruction into machine code instructions
  • produces an independent program capable of being executed by itself
  • all (syntax errors) listed
  • converts the whole program before execution/in one go
  • converts source code to object code

(c) handshaking

  • exchanging of signals to establish communication between two devices/computers e.g. printer and computer, modem and computer

(d) technical documentation

  • documentation to ensure that the system can be maintained/updated/altered/developed/upgraded
  • trouble shooting/correcting errors/correcting faults
  • explanation of what the program does/how the system works
  • contains file structures
  • algorithms/flow charts/pseudo code
  • program listings
  • hierarchical chart

(e) simulation

  • studying the behavior of a system by using a model/represents real-life/mathematical representation
    e.g. flight simulator (or others), hazardous applications results can be predicted
Question Image

 Identify the type of software used to compress files.

Utility Software

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

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

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

State what is meant by each of the following modes of data  processing

(i) Batch processing.
(ii) Real-time processing.
(iii) Online processing.
(iv) Off-line processing.

(i) Jobs collected together for processing at a later time
(ii) Output produced quickly enough to affect the next input
(iii) User has direct contact with the processor
(iv) User cannot communicate directly with the processor

Question Image

Suggest two advantages of using robots, instead of humans, to build cars in the factory.

  • more efficient than a human
  • more accurate than a human
  • can lift larger and heavier equipment than a human
  • can replace humans working in a dangerous environment
  • reduces running costs, such as wages and overheads
  • can produce consistent results/output
  • can work 24 hours a day // do not need to take breaks.

 

Question Image

Differentiate between modulation and demodulation as used in data communication

Modulation refers to the process of converting a digital signal to analog signal at the transmission end while demodulation is to converting analog signal to digital signal at the receiving end

Question Image

A school has 3000 students sitting final examinations.

Each student sits eight examinations.

Write an algorithm, using pseudocode or a flowchart, which:

inputs the marks for all 8 examinations for each student

outputs for each student the average mark for their 8 examinations

outputs the highest mark overall

highest = -1
for student = 1 to 3000
total = 0
for exam = 1 to 8
input mark
total = total + mark
if mark > highest then highest = mark
next
average = total/8
output average
next
output highest

Python code:

highest = -1
for student in range(1, 3001):
    total = 0
    for exam in range(1, 9):
        mark = int(input("Enter mark: "))
        total += mark
        if mark > highest:
            highest = mark
    average = total / 8
    print("Average:", average)
print("Highest mark:", highest)

VBA Code

Option Explicit

Sub CalculateAverageAndHighest()
    Dim highest As Integer
    Dim total As Integer
    Dim mark As Integer
    Dim average As Double
    
    highest = -1
    
    For student = 1 To 3000
        total = 0
        For exam = 1 To 8
            mark = InputBox("Enter mark:")
            total = total + mark
            If mark > highest Then
                highest = mark
            End If
        Next exam
        average = total / 8
        MsgBox "Average: " & average
    Next student
    
    MsgBox "Highest mark: " & highest
End Sub

 

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

Describe how the denial of service strategy works to compromise the security of networks.

  • A denial of service strategy usually works flooding the target host or network with traffic until the target can’t respond or crashes. The targeted systems operations are affected when users are unable to access information systems and or network services
Question Image

A large comprehensive school has over 500 computers connected to their Local Area Network (LAN) with a connection to the Internet. (a) Describe, in detail, four disadvantages for the school of having a network of computers compared to stand alone computers

 A network manager may need to be employed  which might be expensive

Could be infected with a virus that could spread to all other computers

Security problems receive traffic from other networks

Hackers may gain access as the network only as secure as weakest point of entry to data and steal/destroy

 The server/switch could go down (main cable break) so all workstations on the network are affected

 Can be expensive to set up as Initial cost of servers, communication devices, switches, network software etc. 

 Substantial Initial disruption: drilling holes, fitting trunking, running cables between buildings etc… 

 Can have a slow response time  due to heavy network traffic so users cannot work as effectively

 Detecting network problems can be more difficult on a network i.e difficult to isolate

 Can be slow to log in to a network  As it slow to download software/check password

 Only limited storage space available on network while one has access to all hard disc drive on standalone computer

 Time and effort to set up users o Can just start a standalone and use computer

Question Image

At which stage of the system development life cycle does the changeover to a new system take place?

  • Implementation
Question Image