Professional Documents
Culture Documents
SECTION A
For each question, you are required to shade ONLY ONE correct answer on the MCQ sheet.
Each correct answer carries TWO marks. A zero mark will be given for every wrong answer as
well as for questions with NO or MORE than one answer marked.
Answer ALL questions. This section carries 70 Marks.
3. In developing Scheduling Algorithms, computer scientists have several aims, one of which is
ensuring high throughput. How can throughput be defined?
a) The process of ensuring all processes have b) The reduction of the amount of time
the resources they require required to perform an instruction
c) The process of increasing efficiency d) The number of processes completed
per unit time
4. An operating system can be defined as
a) A resource allocator b) A resource manager
c) A control program d) All the above
5. What is Virtualization?
a) The act of creating, simulating a thing by b) The act of creating Computer Games
means of a computer or computer
network
c) The act of creating Virtual Reality d) Running a JAVA Virtual Machine
8. A signal is a form of energy which can be used to encode a message. In real-life, Sound,
Light and Electricity are all examples of what type of signal?
a) Digital b) Analog
c) Binary d) Finite
13. Transistors can control the flow of electricity in a circuit. What are transistors made of?
a) Semi-conductors. b) Insulators.
c) Conductors. d) None of the above.
a) Exclusive OR c) OR
16. Define the Boolean Equation for the circuit design in the diagrams below:
17. Which of the following information is required to initiate a Direct Memory Access (DMA)
transfer?
a) The size of the data block b) The format of the data
c) The name of the I/O device d) The technology used in the I/O
device
18. As computers become more powerful and affordable, more people are able to access them.
Along with the reach of the Internet, people are now more connected than ever, via
networks run by large organizations like Amazon, Google, Microsoft and Facebook. These
ongoing developments have raised serious concerns in the area of “Personal Privacy” and
“Security”. Which of the following statements best captures the risks of Privacy and
Security?
19. Registers are little store houses for information, asides from simply storing data, some
registers can perform computations. Which of the following functions cannot be handled by
a register.
21. Which of the following is a memory device best used to store an embedded system
(Firmware)?
a) DRAM b) ROM
c) Flash d) EEPROM
23. What is the name of the mechanism by which a computer is made aware of external events?
a) Programmed I/O b) DMA
c) Interrupts d) Device driver
24. What is the main difference between Flash and ROM technology?
a) ROM is faster than Flash. b) Flash has greater storage capacity.
c) Flash can be rewritten. d) ROM is cheaper
25. Which of the following depicts storage devices in order of the slowest to the fastest?
a) Magnetic HDD, SSD, Optical CD b) Magnetic Tape, Optical Blue Ray,
SSD
c) Optical DVD, Magnetic HDD, d) ROM, SSD, EEPROM
Magnetic Tape
26. 4K is approximately equivalent to a resolution of: 3840 x 2160. How many pixels would a
4K display have?
a) About 8.2million pixels b) About 4 million Pixels
c) About 3million Pixels d) About 6 million Pixels
27. When handling interrupts, the CPU must find and load the interrupt handler program.
Another name for the interrupt handler is:
a) Device manager b) Device controller
c) Device handler d) Interrupt routine
28. The main function of an operating system is to manage all hardware and software of a
computer. A user interacts with the operating system via a User Interface whereas an
Application Program interacts with the Operating system via __________.
a) Interrupt Line b) Bus Line
c) Application Programming Interface d) System Software
29. Whenever a computer is started, the Operating System needs to be loaded from storage.
What is the name given to the part of the Operating System responsible for its loading?
a) Jog-strap program b) Initial Program Load
c) Loader program d) Kernel
30. What is the maximum amount of RAM a 32-bit computer can reliably use?
a) About 4GB b) Up to 16GB
c) About 2GB d) Up to 8GB
32. Which register stores the address of a piece of data/instruction which the CPU requests to
be fetched?
a) Instruction Register b) Program Counter Register
c) General Purpose Register d) Memory Address Register
of the CPU
c) Arithmetic operations d) Execute CU instructions
35. The interrupt handling technique, in which the interrupt signal contains the identity of the
interrupting device, is called:
a) Polling approach b) Multi-data approach
c) Vectored approach d) Duplex approach
SECTION B
Answer ALL questions. Each question carries 10 Marks.
This section carries 30 Marks
QUESTION B1
A chemical process gives out a warning signal (W = 1) when the process operates incorrectly. A
logic circuit (network) is used to monitor the process and to determine whether W = 1.
QUESTION B2
Consider the following set of processes, with the length of CPU-burst times given in
milliseconds:
The processes have arrived in the order P1, P2, P3, P4 and P5 at a time 0.
a) Draw a Gantt chart illustrating the execution of the processes using Round Robin.
(2 marks)
b) Calculate the overall average wait time and turnaround time for the algorithm.
(4 marks)
c) Operating systems make use of constructs known as Process Control Blocks (PCB) to manage
the processes of computer software. Explain the function of any TWO (2) data elements
contained in the Process Control Block
(4 marks)
Total: 10 Marks
QUESTION B3
a) Illustrate the behaviour of the Best Fit memory allocation algorithm for the following set
of processes and their respective requirements on a memory block of size 128KB:
Process Size of Process in KB
ID
P1 20 kb
P2 15 kb
P3 10 kb
P4 25 kb
Deallocat P1
e
Deallocat P3
e
P5 8 kB
P6 30 kb
Deallocat P2
e
P7 15 kb
(5 marls)
b) The memory management process employs virtual memory to make up for a lack of
memory space; this process sometimes results in a page fault. Consider the following
sequence of page references:
1 2 3 4 4 2 1 4 1 3 4
Determine how many page faults will occur for the Optimal algorithm, assuming there are
only TWO (2) physical page frames, and both are initially invalid.
(5 marks)
Total: 10 Marks