admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

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

What is an Operating System?

  • It refers to a system software that provides a platform for installation and execution of an application software and also manages the computer hardware
Question Image

Computer System Questions

  1. (a)State what is meant by the terms:

Parallel data transmission

 

  • 8 bits/1 byte/multiple bits sent at a time  
  1. using many/multiple/8 wires/lines

 

Serial data transmission

  • one bit sent at a time  
  • over a single wire

b) Give one benefit of each type of data transmission.

  • Parallel - faster rate of data transmission

Serial

  1. -more accurate/fewer errors over a longer distance
  2. -less expensive wiring  
  3. less chance of data being skewed/out of synchronization/order

Give one application of each type of data transmission. Each application must be different

Parallel

  • sending data from a computer to a printer
  •  internal data transfer (buses)

Serial

  • connect computer to a modem

State what is meant by the term USB

  • universal serial bus

Describe two benefits of using USB connections between a computer and a device.

  • -devices are automatically detected and configured when initially attached
    • Impossible to connect device incorrectly/connector only fits one way
    • has become the industry standard
    • supports multiple data transmission speeds
    • lots of support base for USB software developers
    • supported by many operating systems
    • backward compatible
    • faster transmission compared to wireless

 

 

 

DVD - optical media which use one spiral track; red lasers are used to read and write data on the media surface; makes use of dual-layering technology to increase the storage capacity

ROM - non-volatile memory chip; contents of the chip cannot be altered; it is often used to store the start-up routines in a computer (e.g. the BIOS)

SSD/ Solid State Drive/memory (SSD): a non-volatile memory device that uses NAND flash memories (which consist of millions of transistors wired in series on single circuit boards)

Blue Ray -  optical media that uses blue laser technology to read and write data on the media surface; it uses a single 1.1 mm polycarbonate disc

 

Viruses, pharming and phishing are all examples of potential Internet security issues.
Explain what is meant by each of these three terms
.

 

 

Virus

  • - program/software that replicates/copies itself
  • – can delete or alter files/data stored on a computer
  •  – can make the computer “crash”/run slow

Pharming - malicious code/software installed on a user’s hard drive/actual webserver

 – this code redirects users to a fake website (without their knowledge)

 – to obtain personal/financial information/data

Phishing - legitimate-looking emails sent to a user – as soon as the recipient opens/clicks on the link in the email/attachment,  the user is directed to a fake website (without their knowledge) – To obtain personal/financial information/data

 

control bus- this bus carries signals used to coordinate the computer’s activities

address bus - this uni-directional bus carries signals relating to memory addresses between processor and memory

data bus - this bi-directional bus is used to exchange data between processor, memory and input/output devices

 

The seven stages in a von Neumann fetch-execute cycle

  • the PC (program counter) contains the address of the next instruction to be fetched
  • the address contained in the PC (program counter) is copied to the MAR (memory address register) via the address bus
  • the instruction is then copied from the memory location contained in the MAR (memory address register) and is placed in the MDR (memory data register)
  • the entire instruction is then copied from the MDR (memory data register) and placed in the CIR (current instruction register)
  • the value in the PC (program counter) is then incremented so that it points to the next instruction to be fetched
  • the address part of the instruction is placed in the MAR (memory address register)
  • the instruction is finally decoded and is then executed

 

Modern LCD monitors and televisions use LED-backlit technology.
Give two advantages of using this new technology compared to the older cold cathode fluorescent lamp (CCFL) method

  • no need to warm up
  • – whiter tint/more vivid colours/brighter image
  • – higher resolution
  • – much thinner monitors possible/lighter weight
  • – more reliable technology/longer lasting
  • – uses much less power/more efficient

 

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

State three functions of  a network  operating system

  • Allows creation and management of user accounts
  • Helps in troubleshooting of the network
  • controls access to network resources
  • Provides communication services
  • configures network resources
  •  

 

Question Image

What is secondary storage?

  • A non-volatile store of data
Question Image

Describe how ICT is used in marketing

  • ICT provides graphic design tools that allow marketers to create visual content for ads , websites and even social media
  • computers enable marketers to produce video content crucial for modern digital marketing using video editing tools 
  • Computers are used to distribute and analyze online survey polls  that help in understanding customer preferences
  • Social media platforms offer ad placement based on user demographics and interest
  • Online marketing
  • Social media marketing
  • Target marketing
  • Email marketing
  • Blogging
Question Image

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

Give a reason why HMTL is not regarded as a programming language

  •  It does not have declaration part
  • It does not  have control structures
Question Image

State two places where robots are used.

  • car factories/factories
  • chemical/nuclear factories
  • production lines
  • warehouses
  • deep in the ocean/down mines
  • on other planets/in space
  • road junctions

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 the user to run programs 

  • On a multitasking operating system, it ensures that all tasks appear to run simultaneously 

Other roles

  • Allocates time slices
  • Scheduling of programs
  • Handles interrupts
  • Allows the user to configure hardware
Question Image

Describe overtype and insert modes as used in word processors

  • Overtype mode: deletes the current text at the cursor position and replaces the existing characters with new text
  • Insert Mode: pushes the existing text away as new text is inserted between the existing text
Question Image

List Three file organisation methods in a computer

  • Sequential
  • Random
  • Serial
  • Indexed-sequential
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

Define social engineering

  • Is where People are manipulated to divulge confidential information
Question Image

List two areas where infrared waves are used in data communication.

TV remote, wireless mouse , wireless keyboard, used by robots to gauge distance and avoid obstacles,

Question Image

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

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

Explain the term website as used in the internet

  • A collection of related webpages under the same domain name
Question Image

Explain the Fetch – Execute cycle and provide an example of a Central Processing Unit (CPU) component for each stage of the cycle

The Fetch – Execute cycle is a sequence of actions, performed by the processor as it fetches
a program instruction from its memory, determines what the instruction wants to do and
carries out those actions. The stages of the cycle are provided below.

  • Fetch the instruction – the processor fetches the instruction from a memory address stored in a program counter and transfers the instruction, via a data bus, to an instruction register. At the end of the fetch operation, the counter points to the next instruction that will be read in the next cycle.
  • Decode the instruction – the processor decodes the instruction stored in the instruction register, including getting any operands required to complete the instruction.
  • Execute the instruction – the decoded instruction is executed.
  • Store the result – the result generated by the execute phase is stored in the main memory, and/or sent to an output device. The program counter is updated with feedback from the arithmetic logic unit (ALU), to a different address from which the next instruction will be fetched.
Question Image

Describe the function of a web browser

Convert the HTML into a webpage which is rendered on the screen

Question Image