admin@kcseforecast.com

Q&A-KCSE Computer Studies Paper 1

451/1

COMPUTER STUDIES

PAPER 1

THEORY

DECEMBER 2021

TIME: 2 HOURS

 

FORM TWO END OF TERM TWO 2O21 EXAM

451/1

COMPUTER STUDIES

PAPER 1

THEORY

TIME: 2½ HOURS

 

INSTRUCTIONS TO CANDIDATES:

  • Write your name and ADMISSION number in the spaces provided above.
  • Write the date of examination and sign in the spaces provided.
  • This paper consists of two sections.
  • Answer all the questions in section A.
  • Choose one topic to answer in section B
  • All answers must be written in the spaces provided in this question paper.
  1. SECTION A
  2.  Answer all questions in this section
  3. What is a computer?                                                                                                            1mks
  4. State three physical components that make up a computer                                                 3mks
  5. State the hardware technological differences between the second generation and third generation computers                                                                                                          2mks
  6. State and explain three characteristics of a computer                                                         3mks
  7. State the functions of the following special memories in a computer                                3mks
  8. Buffers
  9.  
  10. Registers
  11. Cache
  12.  
  13. Define the following as used in data representation in a computer                                  (5mks)
  14. Bit
  15.  
  16.  
  17. Byte
  18.  
  19.  
  20. Nibble
  21.  
  22.  
  23.  
  24. Word
  25.  
  26.  
  27.  
  28. Word-length
  29.  
  30.  
  31. State two reasons why a DVD is superior to a typical compact disk                               (2mks)
  32. State three advantages of flat panel monitors over cathode ray tube monitors                   3mks
  33. Explain the following terms as used in word processing                                                  3mks
  34. Section breaks
  35. Thesaurus
  36. Superscript
  37. State two advantages of  impact printers                                                                             2mks
  38. State the function of the following keys on the computer keyboard                                  3mks
  39. Enter key
  40. Insert key
  41. Delete key
  42. State the technology used by the following secondary devices to store data                      3mks
  43. Magnetic storage devices
  44. Solid state storage devices
  45. Optical storage devices
  46. State three reasons why an operating system is important in a computer                         3mks
  47. A typical computer’s main memory consists of both volatile and non-volatile memory.
  48. i)  Explain what is meant by the term volatile memory                                          (1mark)
  49. ii) What is normally stored in the non-volatile part of a computer’s main memory (1mark)
  50. Explain why having cache memory can improve the performance of the CPU         (2mks)
  51. What is a computer system?                                                                                           (1mk
  52. Give two differences between a solid state drive (SSD) and a hard disk drive (HDD)   2mks
  53. State three categories of software classified according User license agreement              (3mks)
  54. State two disadvantages of Random Access Memory                                                       (1mk)
  55.  
  56.  
  57. a) Explain the functions performed by the following components of a processor   (2 marks)
  58. Control unit
Question Image

Distinguish between a client-server and a peer-to-peer network

  • In a client-server network, every device is either a client or a server whereas in a peer-to-peer network each computer has equal responsibility and each has the ability to work as both a server and a client
Question Image

Briefly describe three types of database models

  • Hierarchical model  - Records in the database can be related to one parent only but can have more children records
  • Network database model - a child record can be linked to  multiple parent records
  • Relational database model - organizes data into tables that can be linked or related based on data common to each.
Question Image

Describe a typical situation that requires the use of:

(i) a high-level language

(ii) a low-level language.


High level languages are used in situations when:

  1. Speed of execution is not a critical factor, such as in office applications.
  2. a programmer needs to use complex commands that perform complex tasks.
  3. A programmer wants to make use of standardised library / sub routines.

Low level languages are used in situations when:

  1. a program must execute quickly such as real time applications
  2. a programmer needs to write code that interacts directly with the hardware, such as device drivers
  3. a programmer needs to perform a specific command not available in a HL language.
Question Image

Define the following terms as used in the internet

HTTPS/HTTP: this is a protocol that is used to send data to web pages across the Internet

Uniform Resource Locator (URL):   a text-based version of a web address

Internet Service provider /ISP  - his is the company that provides a user with a connection to the Internet

browser - Software/application that allows users to view web pages / render HTML -

cookie - a text file (stored by a web browser) that contains data about a user’s browsing habits/details/preferences

Question Image

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
Question Image

State and briefly describe three program control structures

Sequence: Sequential execution of a program one line after another

Selection:  Involve the a decision between two or more options e.g  if...then...else

Loops/Repetitions: Used for looping i.e a line of code can be made to execute a given number times before terminating.

State the types of storage devices used in a computer

  1. Primary Storage (Memory):

    • Random Access Memory (RAM): This is a volatile memory used to store data and instructions that the CPU (Central Processing Unit) can access quickly. RAM is essential for running applications and the operating system. However, its contents are lost when the computer is powered off.
    • Read-Only Memory (ROM): ROM is a non-volatile memory that stores essential firmware and instructions necessary for the computer's boot-up process. It retains its contents even when the power is turned off.
    • Cache Memory: Cache is a small and fast memory located closer to the CPU. It stores frequently accessed data to speed up the processing.
  2. Secondary Storage (Mass Storage):

    • Hard Disk Drive (HDD): HDDs use magnetic storage to store data on rotating platters. They provide relatively large storage capacities and are commonly used in computers and laptops for long-term data storage.
    • Solid-State Drive (SSD): SSDs use NAND flash memory to store data, offering faster read and write speeds than HDDs. They are more durable and consume less power, making them increasingly popular in modern computers.
    • Optical Discs: CDs, DVDs, and Blu-ray discs are examples of optical storage media. They are mainly used for distribution of software, music, movies, and archival purposes.
    • USB Flash Drives: Also known as thumb drives or pen drives, these portable storage devices use flash memory to store data and can be easily connected to a computer's USB port.
    • Memory Cards: Memory cards, such as SD cards and microSD cards, are used in various devices like cameras, smartphones, and tablets to store data, photos, videos, etc.
    • External Hard Drives: These are HDDs or SSDs contained within an external enclosure, allowing users to expand their computer's storage capacity or create backups.
Question Image

State the seven layers of the OSI model

  1. Application
  2. Presentation
  3. Session
  4. Transport
  5. Network
  6. Data link
  7. Physical

State three features of the fifth generation computers (3mks)    [2017 paper 1]

  • Artificial intelligence
  • Parallel processing
  • Natural language processing
  • quantum computing
Question Image

Internet and E-mail Questions

Define the term internet      1mk

  • The global interconnection of computer networks for purpose of communication and resource sharing

Explain the term web page    1mk

  • A hypertext  page prepared to display the content on the web

Explain the following internet address http://www.google.co.us in reference to the structure of a URL    3mks

  • HTTP- hypertext transfer protocol or simply protocol
  • WWW – subdomain
  • google – the name of the computer with the web content/domain name
  • .co – top level domain for commercial organization
  • .us- a TLD extension for the country US

 

What is the world wide web                                       1mk

  •  A virtual space on the internet that allows web pages and sites to be accessed

Define the term browser                                    1mk

  •  A software that used viewing of web content

Explain the meaning of the word hyperlink     1mk

  • A text or picture that is a link to another webpage on the internet

What is a search engine?     1mk

  • Is a special program that collects and stores links to information websites allowing users to search its database for them
  • A specialized web-based application that help the user to search for specific information on the internet.

Explain the meaning of the term internet service provider            1mk

  • A company that offers internet services to end-users

Identify three elements apart from a computer that is required for one to be connected to the internet    3mk

  • Modem
  • Internet software
  • Internet service provider
  • Telecommunication lines
  • TCP/IP protocols

 

Define the term modem 1mk

  • Stands for modulator-demodulator
  • A device that enables telecommunication to use telephone lines

What is a protocol? Write the following in full: TCP/IP, HTML, HTTP and FTP           5mks

  • Protocols – are special communication rules that govern sending and receiving of messages by computers on a network
  • Html – hypertext markup language
  • Hypertext transfer protocol
  • Transmission Control Protocol
  • Internet Protocol
  • File Transfer Protocol

What would you do if a website refused to load on the browser within the first attempt?   1mk

  • Click the refresh button on the toolbar

 State three internet services                         3mks

  • Instant messaging
  • E-mails
  • E-commerce
  • Social media and networks
  • E-learning

 

Define the term internet telephony      1mk

  • Transmission of voice data over the internet

State three benefits of the internet in our society

  • Provides a platform for conducting business and marketing
  • Provides many platforms such as social media through which people can contact each other
  • Cost saving
  • Efficient communication

State the function of a router in a network

  • connects different networks
  • transfer data packets from source to destination
  • allow hosts on different networks to communicate
Question Image

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

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

State two effects of a computer virus

  • memory used up/slows down computer/alters setting/systems failure
  • erases files/erases data/corrupts data/data needs restoring
  • infects other computers on the network
  • production loss/financial loss
Question Image

Describe what is meant by a MAC address.

  • used to identify a device
  • it is a unique (address)
  • it is a static address // it does not change
  • it is set by the manufacturer
  • the first part is the manufacturer ID/number / identifies the manufacturer
  • the second part is the serial number / ID.

 

Question Image

List two types of network software

  • Network operating systems
  • Protocols
Question Image

Give two different scenarios when a fast broadband connection is essential.

– when transferring large files/attachments with emails
– when streaming music/video files/bit streaming
– when using VoIP/video conferencing
– software updates
– online transactions
– Using VLE (Virtual Learning Environment)

Question Image

Describe what is meant by shareware.

 the trial version of software for a limited time/number of uses with limited features  free of charge

If a full version is required need to pay a fee/sign up

When the trial is over user is asked to pay/sign up

Protected by copyright

Type of software licence
 

Question Image

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
 

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