admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

Differentiate between distributed data processing and time-sharing.

  • Distributed data processing is where computers located in physically separate location transmit data after processing to a server computer that updates the master file. Time-sharing on the other hand is where various terminals transmit data to be processed by a central computer's CPU. Each terminal's tasks are allocated a time slice of the CPU

What is the difference between a logical file and a physical file?

  • A physical file contains the original data whereas a logical file does not contain any data
  • A physical file contains one record format while a logical file can contain up to 32 record formats
  • A physical file can exist without a logical file while a logical file cannot exist without a physical file

State two reasons why the data in fields such SEX field in a database should be coded.

  • less errors on input
  • requires less storage space
  • validation
  • quicker to input
  • quicker to find

Distinguish between real-time and distributed operating systems (KCSE 2018)

  • Real-time OS reads information from input devices and must respond within a short duration of time to ensure correct performance
  • Distributed OS distributes computation among several physical processors which do not share memory or clock

 Lucy wrote: “I should validate the input into my database by typing in the same data twice”.Why was her statement incorrect?

  • she had actually described verification
  • data could be incorrect, therefore same incorrect data typed in twice
  • accept description of validation process e.g. range check

Distinguish between transcription and transposition types of errors and give an example of each  (4mks)

Transcription Errors: Transcription errors involve the incorrect entry of data due to mistakes made during the copying or typing process. These errors can occur when transferring information from one source to another.

Transposition Errors: Transposition errors specifically refer to errors where the order of characters or digits is accidentally reversed or swapped. This can happen during manual data entry or when processing information.

Distinguish between real time processing and interactive processing

  • Real-time processing is where data is processed as it is received and the output is made available immediately to influence the ongoing activity
  • Interactive processing is computer processing in which the user can modify the operations appropriately while observing results at critical steps

Describe the difference between distributed and sequential processing on how they process instructions

  • Sequential processing occurs in the order that the tasks are received while distributed processing where more than one computer or CPU is used to run specific programs.

During data entry, Anne typed the letter S instead of 5. What type of error is this?                                                                                                                                            (1mark)

        Misreading error

List Three file organisation methods in a computer

  • Sequential
  • Random
  • Serial
  • Indexed-sequential

State advantages of batch processing

  • once instructions are given, the processing runs automatically hence requiring little supervision
  • tasks are processed as a group hence reducing the cost
  • It is faster since the since runs automatically
  • there is increased output since the processor works without any interruption

State four threats that compromise data integrity and state ways that can be used to minimise these threats

State four threats that compromise data integrity

  • Human error
  • natural disaster
  • data transmission errors
  • software bugs

How threats to data integrity can be minimised:

  • Backup data preferably on an external storage media
  • control access to data by enforcing security measures
  • design user interfaces that minimise chances of invalid data entry
  • using error detection and correction software when transmitting data over the network
  • using devices that directly capture data from the source such as bar code readers, digtal cameras, and optical character readers

 

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

Give two reasons why hexadecimal is often used instead of binary in computer
science.

  • hexadecimal is easier (for humans) to read (than binary);
  • numbers are displayed in a more compact way (in hexadecimal than in binary);
  • it is quicker to type in (hexadecimal numbers than binary numbers);
  • it reduces the risk of typing errors (in hexadecimal numbers than binary numbers);

A computer operates as a binary digital device. Explain why binary is used to represent computer data.

  • Binary can represent two states because computer circuits use transistors, which can either be on or off

A car park uses a number plate recognition system. Identify the reason why unsigned integers should be used to record the number of cars entering and leaving the car park, rather than signed integers

  • Unsigned integers store more positive values

A sound engineer is recording a singer. Describe why the sound must be converted to a digital format before it can be stored on a computer system

  • Computer systems use binary/ones and zeros/voltage on or off;
  • Sound is analogue/continuous;
  • Computers use digital data/discrete values

Elucidate the fact that zero can only be represented in one way in twos complement and in two ways in ones complement

Taking a four-digit 0  binary number i.e (0000)2

In ones complement this is  1111

In twos complement this becomes 1111+1= 0000

So, It is clear that 0 and negative zero is the same in twos complement while in ones complement they are two different values

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

  • two's complement has only one value for zero

(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