2023 Mid-Term Test Grade 10 (25 Copies) - Computers

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

MCM NKANA SECONDARY SCHOOL

2023 Computer Studies Mid-Term Examination

Name ………………………………………………………………. Class 10

1. (a) Explain the meaning of the term primary memory and give an example

………………………………………………………………………………………

………………………………………………………………………………….. [2]

Example ………………………………………………………………………. [1]

(b) Give one input device that captures data automatically and give a

reason why such a device is preferred

………………………………………………………………………………….. [1]

Reason …………………………………………………………………………….

………………………………………………………………………………….. [1]

2. (a) (i) To process an instruction, a CPU goes through a cycle that has four

stages. Name each of the four stages.

Stage 1 ……………………………………………………………………….. [1]

Stage 2 ……………………………………………………………………….. [1]

Stage 3 ……………………………………………………………………….. [1]

Stage 4 ……………………………………………………………………….. [1]

(ii) State the name given to this cycle

…………………………………………………………………………………. [1]
(b) Explain the purpose of a data bus in this cycle

………………………………………………………………………………………

………………………………………………………………………………………

………………………………………………………………………………….. [2]

(c) Name a register that stores the address of the instruction that is being

executed currently. …………………………………………………………… [1]

3. (a) High-level languages require either an interpreter or a compiler to

translate the program. The table below lists a number of statements about

language translators. Tick to show which statements refer to interpreters

and which refer to compilers.

Statements Interpreter Compiler

Translates the source code into machine

language all at once

Produces an executable file in machine code

Once translated, the translator does not need to

be present for the program to run

[4]

(b) Give the benefit of writing programs in low-level language.

………………………………………………………………………………………

…………………………………………………………………………………. [1]
4. (a) Draw the symbol for a AND gate

[2]

(b) Complete the truth table for the NAND gate

A B X

0 0

0 1

1 0

1 1

[2]

5. Complete the table below

Hexadecimal Binary value Denary value

1A

[4]

Working space
6. Study the table below and answer the questions that follows

Catno Title Genre Streaming Downloadable

18m01 Power Rangers Drama Yes N

18m02 Bay watch Drama No N

18m12 Wonder Woman Fantasy Yes N

18m17 Fast & Furious Action Yes Y

(a) State the number of

(i) Records …………………………………………………………… [1]

(ii) Fields ……………………………………………………………… [1]

(b) Name a field is suitable as a primary key

………………………………………………………………………………. [1]

(c) Give a reason for choosing the field in (b) as a primary key

…………………………………………………………………………………

………………………………………………………………………………. [1]

(d) Give the appropriate data type for the streaming field

………………………………………………………………………………. [1]

(e) Explain why the entries in downloadable field were coded

…………………………………………………………………………………

………………………………………………………………………………. [1]
(f) Give two examples of numeric data types

1. ………………………………………………………………………….. [1]

2. ………………………………………………………………………….. [1]

7. (a) Explain the difference between a hypertext transfer protocol (HTTP)

and hyper markup language (HTML)

………………………………………………………………………………………

………………………………………………………………………………………

………………………………………………………………………………………

……………………………………………………………………………………[2]

(b) Describe the basic structure of an html document

………………………………………………………………………………………

………………………………………………………………………………………

………………………………………………………………………………………

……………………………………………………………………………………[2]

(c) Write HTML code to produce the following controls

Textbox ………………………………………………………………………… [2]

Radio button …………………………………………………………………... [2]

Submit button …………………………………………………………………. [2]

Checkbox ……………………………………………………………………… [2]


8. (a) Give two differences between a LAN and WAN

1. …………………………………………………………………………………..

………………………………………………………………………………. [1]

2. …………………………………………………………………………………

…………………………………………………………………………….… [1]

(b) State one network device used to link computers on a LAN and one

network device used connect LANs to form a WAN

LAN device ……………………………………………………………………. [1]

WAN device …………………………………………………………………... [1]

(c) (i) Draw a bus topology

[3]

(ii) Give one advantage and one disadvantage of the bus topology

Advantage …………………………………………………………………………

………………………………………………………………………………….. [1]

Disadvantage …………………………………………………………………….

………………………………………………………………………………….. [1]

You might also like