Professional Documents
Culture Documents
Com 111practical
Com 111practical
INTRODUCTION TO COMPUTER
COMPUTER
TOTAL MARKS
Language used
Examples
Information flows between you and your computer through input and output devices. An input device is used
to enter the data and instructions into the computer. Output devices relay the response from the computer in the
form of a visual response (monitor), sound (speakers) or media devices (CD or DVD drives). The central
processing unit (CPU) is the brain of any computer. It carries out all the processing in the computer.
CPU has to implement four basic functions during instruction cycle: fetch, decode, execute, store.
QUESTIONS
1. Define Computer Hardware. _______________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
2. What is the difference between an input device and an output device? ______________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
3. List 5 examples of Input devices
i. ____________________________________________
ii. ____________________________________________
3
iii. ____________________________________________
iv. ____________________________________________
v. ____________________________________________
4. List 4 examples of output devices.
i. ____________________________________________
ii. ____________________________________________
iii. ____________________________________________
iv. ____________________________________________
2.
A network server has an available or free disk space of 5.35TB and a used disk space of 3.1TB. What is
Storage capacity of the network server.____________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
For each of the questions below, show your workings clearly
5
3.
Convert the following to nibbles (a) 32bytes (b) 8 bytes (c) 64 bytes (d) 16 bytes
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
4.
Convert the following to bytes (a) 128 bits (b) 32 bits (c) 16 bits (d) 1024 bits
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
5.
6.
Convert the following to bytes (a) 128KB (b) 8KB (c) 4KB
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
6
2. __________________ Software is responsible for controlling, integrating, and managing the individual
hardware components of a computer system.
The keyboard, monitor, and printer are outside the computer and must be connected by cables.
QUESTIONS
Identify the following component, their uses and state whether they are input, output or storage device.
.
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
____________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
__________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
________________________________________________________
10
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_______________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
_________________________________________________________
11
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________
12
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
_
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
13
LAB #6 TRANSLATORS
INTRODUCTION
Translator translates program written in one programming language into (equivalent) program written in
another language. For example, Java to C# translator would translate Java program into (equivalent) C#
program. This is similar to as if you would translate some text in English into Spanish or vice versa.
A translator is a computer program that translates a program written in a given programming language into a
functionally equivalent program into a different language.
There are three different types of translator.
QUESTIONS
1. What is the function of a language translator?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
2. What is the role of a compiler in program translation?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
3. List three (3) advantages of an interpreter
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
14
16
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
4. A HP Pavillion DV6 has the following hard disk allocation;
Local Disk (C:) 115GB
New Volume (D:) 104GB
New Volume (F:) 85GB
Recovery (E:) 13GB.
What is the storage capacity of the hard disk?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Local Disk (C:), New Volume (D:), New Volume (F:), Recovery (E:) are referred to as:
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
19