admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

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.

State advantages and disadvantages of Solid State Drives and Hard Disk Drives

Advantages of  of Hard Disk Drive

  • Hard disk drives are cheaper per gigabyte than solid state drives.
  • Hard disks have a longer lifespan than solid state drives

Disadvantages of Hard Disk Drives

  • Consumes more power than SDD
  • They are noisy.
  • They are slower than solid state drives.
  • They are susceptible to wear and tear as they have movable parts.

Advantages of Solid State Drives

  • Are faster than HDDs
  • It is more durable as it does not have moving parts
  • Consumes less power
  • Are not noisy

Disadvantages of SDD

  • It costs more than a conventional hard disk
  • Have fewer write/erase cycles compared to a hard disk drive
  • Lost data cannot not be recovered

Define an end user license agreement (EULA).

  • An end user license agreement (EULA) describes a contract (agreement) between a software developer and a user of that software.
     

List three other types of software license.

  • Network
  • Commercial
  • Enterprise
  • Proprietary

State one ethical responsibility of software users

  • Users need to ensure that their software is licensed

State advantages of solid state storage media

  • Portable
  • Light
  • Faster access speed
  • No moving parts
  • Efficient power consumption
  • Durable
  • Small physical size
  • Large storage capacity

Distinguish between Incremental and Full backup


Incremental:

  • Only the changes need to be backed up
  • The software/OS/settings are unlikely to have changed between backups
  • Small number of files likely to be used/edited between backups
  • Take less time to backup
  • Each backup will take less memory space to store

Full:

  • Backup all the data/files and software
  • It might not take a significant time to back up entire system
  • He might only have a small number of files to be backed up each time
  • Safer as have more past versions to revert to
  • User may have changed settings on computer
  • Faster to restore the backup
  • Needs to do a full before he can do an incremental

Describe the purpose of two registers that are used by Von Neumann architecture.

MAR( memory address register)

  • Stores the address/location where data will be read/written/accessed/fetched
  • stores address/location of data/instruction being processed
  • stores address/location of data/instruction next to be processed

MDR or  memory data register

  • Stores the data/instruction that is fetched/read from memory
  • stores the data that is to be written to memory
  • stores the data/instruction from the address in the MAR
  • stores data/instruction next to be processed

 Program counter

  • Stores the address/location of the next instruction to be run
  • stores the address/location of the current instruction being run

Accumulator

  • Stores the result of manipulation/process/calculation

Explain why it is not always true that a computer which has  a quad-core processor runs twice as fast as a computer with a dual-core processor

 

  • Software may be designed to run on 1 core and not multiple cores
  • depends on the task(s)  i.e some tasks cannot be split across cores
  • Clock speed also affects speed i.e dual core may have a faster clock speed and quad-core may have slower clock speed so one task may be run faster/slower
  • RAM size also affects speed i.e Quad-core may have less RAM  amount of VM being used
  • Cache size also affects speed i.e Quad-core may have less cache

A company is developing a computer for use in schools.
(a) All computers have a CPU, memory and storage.
(i) Identify the type of physical storage that uses electronic circuits.

 

Solid state
 

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

(ii) State what ROM and RAM store.

 

ROM stores BIOS / bootstrap / start-up 

RAM stores currently executing programs and data

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

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

 Data

Instructions

Explain why it is beneficial to get more RAM instead of relying on virtual memory.

  • More RAM will improve the performance of the computer 
  • More RAM will speed up the access to data
  • Excessive use of VM can cause disk thrashing which decreases performance
  • VM is slower to access than RAM direct (because it has to go back to RAM first)
  • Moving data between RAM and VM takes processor time

(iv) Identify the part of the CPU that sends signals to the other components.

 

 Control unit

(a)State what is meant by the terms:

Parallel data transmission...................................................

Serial data transmission......................................................

(a)State what is meant by the terms:

Parallel data transmission

  • 8 bits/1 byte/multiple bits sent at a time  
  • 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

Serial

  • -more accurate/fewer errors over a longer distance
  • -less expensive wiring  
  • 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 a computer to a modem

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