admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

State the functions of the following protocols

POP -Stands for post office protocol

  • used to download emails from email servers

SMTP- Simple Mail Transfer Protocol

  • used to send emails to email servers and transfer emails between servers

FTP - Stands for the file transfer protocol

  • handles file uploads and downloads
  • transfers data and programs and not viewable content

 

State the functions of the following protocols

POP -Stands for post office protocol

  • used to download emails from email servers

SMTP- Simple Mail Transfer Protocol

  • used to send emails to email servers and transfer emails between servers

FTP - Stands for the file transfer protoc

Question Image

Explain the following terms

(a) Disk mirroring

(b) Encryption

(c) Backup

(a) Disk mirroring- Data is written on two or more disks simultaneously.

(b) Encryption - Contents are scrambled so they cannot be understood without a decryption key

(c) Backup - A copy of the data is taken and stored in another location

Question Image

Give one benefit and one disadvantage of the use of wireless technology.

Advantages

  • no wires
  • fast/high-speed wireless Internet access
  • WLAN is faster than a modem or mobile
  • WLAN for working at home one day a week/teleworkers
  • see internet content away on the move
  • create and send multimedia messages to mobiles or e-mail
  • picture messaging - send photos/pictures text/sound/recorded
  • greetings from mobiles to mobiles/PCs
  • instant transmission - no busy signals/no searching for phone jacks
  • download e-mail and file attachments on mobile
  • watch live webcast on mobile/hotspot
  • listen to streaming video on mobile/hotspot
  • news/weather/sport/games while on the move
  • access information from mobile anytime
  • send/receive/delete e-mail while on the move
  • wireless Inbox on mobile - to contacts and calendar
  • view business appointments while out of the office on mobile
  • send corporate e-mail while out of the office - even behind a firewall on mobile
  • wireless internet connection from chat rooms for discussions with colleagues while on the move
  • give visual demonstrations from mobile and colleagues watch back at the office

 disadvantages e.g.

  • WLAN speeds are slower than Net access at work/narrow band width
  • any one within the WLAN nodes range with an appropriate device can use your WLAN and broad band link
  • any one who walks past your house or WLAN linked into a corporate system can access sensitive information or credit card details
  • 3G phones not compatible with 2G phones
  • Blue tooth - has limited range
  • blocked signal/distorted signal/weak signal/lag
  • health problems from microwaves
Question Image

Define the term variable as used in programming

A variable is a memory location used to store a value

Question Image

Differentiate between object code and source code

  • Object code refers to a program in machine language while source code to a program in a high level language that must be translated to object code for it to be machine readable
Question Image

Describe what is meant by a clock speed of 3.8 GHz.

  • The number of FDE cycles run per given time/second
  • the frequency that the clock ‘ticks’
  • 3.8 billion cycles/instructions per second
Question Image

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

Give three features of a data protection act.

  • data shall only be used for the specific purpose for which it was collected
  • data shall be adequate/relevant/not excessive
  • data shall be accurate/up to date
  • data shall not be kept any longer than necessary
  • individuals have the right to see data about them (and have it changed if inaccurate)
  • sufficient means taken for security/integrity of data
  • data shall not be transferred to a country with lower protection laws
  • data users must be registered
Question Image

Identify and describe four roles of the operating system when managing the resources of a personal computer.

Manages memory (RAM) 

  • Allocates memory to programs currently executing •

Ensures programs/data do not corrupt each other: Ensures all programs and data including itself is stored in correct memory locations

Manages processes: Ensures different processes can utilise the CPU and do not interfere with each other or crash •

Allows a user to run programs : On a multi-tasking O/S ensure that all tasks appear to run simultaneously

  • Allocates time slices 
  • Scheduling of programs
  • Handles interrupt
  • Allows a user to configure hardware
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

Describe each of the following types of program errors, using an example.

Syntax error

Logical error

Run-time error

Syntax error

  • An error in the source code of a program like pront("Hello, " + name) instead of print
  • These are errors that emanate from improper use of language rules such as spelling mistakes,improper use of variables and misuse of reserved words

Logical error

  • A mistake in a program's source code that results in incorrect or unexpected behaviour like if age == 65: print("Eligible for a discount.") instead of using if age >= 65: print("Eligible for a discount.")
  • These are errors that occur due to imperfect comparisons

Run-time error

  • An error which occurs when a program is asked to do something that it cannot, resulting in a ' crash'9. For example, asking a number to be divided by 0 such as 72/0.
  • An error that results in a sudden halt of an executing program

 

Question Image

Why is 2's complement preferred over 1's complement?

  • two's complement has only one value for zero
Question Image

Describe the input, processing and output from a computerised traffic-control system.

input

  • from sensors
  • from camera images [Max 2]

processing

  • analyse data from sensors
  • calculate average traffic flow/speed
  • send signals to adjust change lights/timing

output

  • change lights at the junction
  • change timing plan
Question Image

Describe how the database can be recovered from a system failure

  • mirrored hard disk/hot standby/second computer
  • re-run the old master file with the transaction file
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

802.3 is the standard for ethernet wired networks and 802.11x is the standard for ethernet
wireless networks.
Outline why standards such as these are important in the development of network devices and
software.

  • Standards specify a set of rules for hardware and/or software used in network communications. Because all manufacturers must adhere to the standards when manufacturing network hardware or software, it means that all devices should be able to communicate, regardless of manufacturer.
Question Image

What is online streaming?

  • Refers to the delivery of multimedia content, such video or audio over the internet in real-time. It allows users to access and consume content without downloading it to their device beforehand.
Question Image

(iii) John von Neumann proposed the concept of a stored program.
   State the two items he proposed to store in main memory.

 Data

Instructions

Question Image

Explain why a developer, who is good at both low-level and high-level programming, would normally use high-level languages when writing programs.

  • High-level languages have built-in functions;
  • High-level languages have built-in libraries;
  • High-level languages have more support/help;
  • High-level languages have structures (such as selection and iteration);
  • High-level languages can be less machine-dependent/more portable;
  • It (usually) requires fewer lines of code to be written;
  • It is (usually) quicker to develop code in high-level languages;
  • It is easier to find mistakes in code;
  • The code is easier to maintain//understand;
  • It is easier to structure code in high-level languages;
Question Image

Explain why a developer, who is good at both low-level and high-level programming, would normally use high-level languages when writing programs                                                                                    [4 marks]

  • High-level languages have built-in functions;
  • High-level languages have built-in libraries;
  •  High-level languages have more support/help;
  • High-level languages have structures (such as selection and iteration);
  • High-level languages can be less machine-dependent/more portable;
  • It (usually) requires fewer lines of code to be written;
  • It is (usually) quicker to develop code in high-level languages;
  • It is easier to find mistakes in code;
  • The code is easier to maintain//understand;
  • • It is easier to structure code in high-level languages;
Question Image