0% found this document useful (0 votes)
117 views

5IT Rev 1

This document contains 5 sections that provide examples and test knowledge of computer terminology and concepts. Section 1 defines peripheral devices and provides examples of keyboard and mouse. Section 2 distinguishes between primary and secondary storage, identifies RAM as primary and hard disk as secondary storage. Section 3 provides examples of system software like Windows and Linux and explains their necessity. Section 4 identifies two user interfaces as GUI and command line and states another is menu driven. Section 5 provides examples to distinguish between computer language and hardware/software concepts.

Uploaded by

Demario Prince
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views

5IT Rev 1

This document contains 5 sections that provide examples and test knowledge of computer terminology and concepts. Section 1 defines peripheral devices and provides examples of keyboard and mouse. Section 2 distinguishes between primary and secondary storage, identifies RAM as primary and hard disk as secondary storage. Section 3 provides examples of system software like Windows and Linux and explains their necessity. Section 4 identifies two user interfaces as GUI and command line and states another is menu driven. Section 5 provides examples to distinguish between computer language and hardware/software concepts.

Uploaded by

Demario Prince
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

a. Explain the term 'peripheral device' . ( 1 mark )


A peripheral device is generally defined as any device such that connects to and works
with the computer in some way
b. Give TWO examples of a peripheral device in a computer system. ( 2 marks)
Keyboard and mouse
Total 3 marks

2. You are told that your new computer system will consist of 256 megabytes of RAM, a
high-resolution 19-inch monitor, a 100-gigabyte hard disk drive and an optical mouse.

a. Explain the difference between primary and secondary storage. ( 1 mark)


Primary storage holds temporary programs being used by CPU and
secondary storage holds programs for future use.
b. Identify which of the above computer components are suited for
i. primary storage
256 gigabytes of ram
ii. secondary storage. ( 2 marks)
100gb hard disk drive
iii. Explain which of the above would store the most data. ( 1 mark )
The 100 gigabyte hard disk would store more

c. Explain how you would know if the monitor has high resolution. ( 2 marks)
Check display settings and click to see monitor’s resolution
Total 6 marks

3. Your teacher has given you notes on Windows NT, Windows 2000, UNIX and Linux.
a. State the type of system software illustrated in the above examples. ( 1 mark)
System software

b. Explain why this software is necessary for a computer system. ( 1 mark)


It manages the computer's memory and processes, as well as all of its software and
hardware

c. For EACH of the following types of application software, state whether it can be
described as general purpose, custom-written, integrated or specialized.
i. A program that includes all the major types of applications and brings
them together into a single software package
integrated
ii. Software written solely for a specific task, and its users are trained in a
particular field
Custom-written
iii. Software which can be modified by writing or adding programming
modules to perform specific tasks
Specialized
iv. Software which is not specific to any organization or business and can be
used by anyone. ( 4 marks)

General-purpose
Total 6 marks

4. Name the TWO types of user interface which are represented in the figures below:

C> dir

Figure 1 Figure 2
GUI Command-line ( 2
marks)
B. Discuss which user interface would be better for someone who is not familiar with a
computer.
The graphical user interface would be better because it is simpler and easy to
understand (2 marks)
C. State the name of another user interface not mentioned in (b). ( 1 mark)
Menu Driven (MDI) Total 5 marks

1. Explain the difference between EACH of the following pairs of terms:


a. Machine language and high level language
Machine language consists of binary code and is the only language that is directly
understood by the computer. A high-level language is a programming language that uses
English and mathematical symbols in its instructions
b. Second generation and fourth generation languages
The second-generation languages, or 2GL are also low-level languages that consist of
assembly language. ... The fourth-generation languages, or 4GL are languages that also
consist of English-type statements
c. Pseudocode and trace table
A pseudocode is a written algorithm for a specific task and a trace table tests the
algorithm for correctness.
d. Input and output
Input is data entered into the computer by the user and output is the result after the input
is processed.
(8 marks)
2. Consider the following segment of code:

Read X, Y
While (X <> Y) DO
PrintY
Y=Y+1
PrintY
a. Explain what is meant by:
i. <>
Not equal to
ii. Y = Y+1
Whatever is stored in y you add 1 to it. It is basically a counter ( 3 marks)

b. Write an example of a variable from the above segment of code. ( 1 mark)


“Y” is a variable
c. Use a trace table to determine the output of the code ifX=4 and Y= 2. Use the
headings X Y PrintY. ( 3 marks)

X Y Output
4 2 3

3. Explain what is produced by EACH of the following:


a. Object code
Object code is a sequence of statements or instructions in a computer language, usually
a machine code language or an intermediate language such as register transfer language
b. Executing
When you execute a program, the program is loaded to the main memory,
c. Test data

d. Syntax error
Syntax errors are mistakes in using the language. Syntax errors are missing a
comma or a quotation mark, or misspelling a word

e. Dry run
A dry run is a testing process where the effects of a possible failure
f. Debugging
Debugging is the process of removing potential or existing errors that may cause
the program to crash.
( 6 marks)
Total 6 marks

4. Write an algorithm to perform the following sequence of tasks:


a. Read a number NUM, and a letter LET
b. Add 5 to the number NUM and place the result in ANS
c. If LET is equal to 'A' , then subtract 4 from the number NUM and place the result in ANS
d. Print the results of NUM and LET. ( 5 marks)
Start
Write “Please enter number and let’’
Read NUM,LET
ANS←NUM+5
If LET=A then
ANS←NUM-4
Print ANS
Print LET
stop

5 Copy the labels EX1, EX2, EX3 and EX4 on separate lines on your answer sheet. Then, write
the corresponding example, Name 1 to Name 4, which matches the appropriate label.
EX1: IF weather= 'SUNNY' Then SMILE
EX2: While (ANSWER='Y') Do
Print 'Yes'
EX3: hours> 12
EX4: Grade = Grade + 5

Namel: a logical operationEX3


Name2: an arithmetic operation=EX4
Name3: conditional statement=EX1
Name4: a loop=EX2 ( 4 marks)
Total 4 marks

You might also like