Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

Dashboard / My courses / Operating Systems and Computer Architecture (062021-ABB) / Final Exam / Final Exam / Preview

You can preview this quiz, but if this were a real attempt, you would be blocked because:
This quiz is not currently available

Time left 1 29 34

Question 1
Not yet answered

Marked out of 2.00

What enables a connection between a processor and memory?

a. Cache

b. Busses

c. Ethernet Cable

d. NIC

Question 2
Not yet answered

Marked out of 2.00

Which statement best describes how Cache improves the performance of a computer system.

a. Cache uses a faster type of memory

b. Frequently used instructions are stored in cache

c. Cache is located closer to the processor and uses locality of reference to organize its contents

d. As cache is closer to the processor than RAM, fetches are completed in less time

Question 3
Not yet answered

Marked out of 2.00

Multiprocessing can be implemented in a computer system using the following technique: a. Dual

core configuration

b. Master-Slave and Symmetric configuration

c. Symmetric Configuration

d. Asymmetric Configuration

Need H elp?

4
Question

Not yet answered

Marked out of 2.00

When a process needs to wait for an event to occur, it will enter which state?

a. Waiting

b. Update

c. Blocked

d. Ready

Question 5
Not yet answered

Marked out of 2.00

Memory tables are used to manage:

a. Resources

b. I/O Devices

c. RAM

d. Real and Virtual Memory

Question 6
Not yet answered

Marked out of 2.00

What is the Kernel structure implemented in the Linux OS?

a. Monolithic

b. System32

c. Shell

d. UNIX

Question 7
Not yet answered

Marked out of 2.00

Main memory in a computer is known to be:

a. Reserved

b. Restricted

c. Volatile

d. Non-volatile
Question

Not yet answered

Marked out of 2.00

The controllers of a computer system transfers data from device to:

a. Cache

b. Registers

c. Buffers

d. RAM

Question 9
Not yet answered

Marked out of 2.00

In which of the following term the performance of cache memory is measured?

a. Hit ratio

b. Chance ratio

c. I/O ratio

d. Transmission ration

Question 10
Not yet answered

Marked out of 2.00

Which of the following allows simultaneous write and read operations?

a. Cache

b. ROM

c. RAM

d. EEPROM

Question 11
Not yet answered

Marked out of 2.00

Which of the following depicts storage devices in order of the slowest to the fastest?
Question

Not yet answered

Marked out of 2.00

Magnetic HDD SSD Magnetic Tape Optical CD Optical Blue Ray

12

Match the following:

Using passwords, one-time tokens, digital signatures. Choose...

Directs users to enter details at a fake website whose look and feel are almost identical to the legitimate one.
Choose...
Keeping track of network resource consumption.
Choose...
IP address filtering. Choose...

Question 13
Not yet answered

Marked out of 2.00

4K is approximately equivalent to a resolution of: 3840 x 2160. How many pixels would a 4K display have?

Select one:

a.
About 4 million Pixels

b.
About 3million Pixels

c.
About 8.2million pixels

d.
About 6 million Pixels
Question

Not yet answered

Marked out 2.00

14

of

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?

Select one:
a.
Binary

b.
Digital

c.
Finite

d.
Analog

Question 15
Not yet answered

Marked out of 2.00

A user interacts with the operating system via a User Interface whereas an Application Program interacts with the Operating system via:

Select one:

a.
Bus Line

b.
Interrupt Line

c.
Application Programming Interface

d.
System Software
Question

Not yet answered

Marked out 2.00

16

of

What is a Bit?

Select one:
a. 1024 bytes

b. 4 bytes

c. 8 bytes

d. Binary digit as a single 0 or 1

Question 17
Not yet answered

Marked out of 2.00

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?

Select one:
a.
Initial Program Load

b.
Loader program

c.
Jog-strap program
d.
Kernel

Question 18
Not yet answered

Marked out of 2.00

The following term describes the direction of transmission of a Bus where the signals travel in only one direction: a. Simplex

b. Half Duplex
Question

Not yet answered

Marked out 2.00

c. Full Duplex

d. One duplex
19

of

Define the Boolean Equation for the circuit design in the diagrams below:

Select one:

a.
{(AxB)` + (AxB)` + (BxC)`}`

b.
{(AxB)` + (AxB)` + (B+C)`}

c.
{(AxB)` + (AxB)` + (AxC)`}`

d.
{(AxB) + (AxB) + (BxC)}`

Question 20
Not yet answered

Marked out of 2.00

What is the purpose of using “Compaction Technique” in Memory Management?

Select one:
a.
To find a free hole
Question

Not yet answered

Marked out 2.00

b.
To collect all free-hole blocks (areas) to form a merged free-hole area

c.
To find space for a new incoming process

d.
To search for the smallest set of free blocks
21

of

Which one of the following is the address generated by a CPU?

Select one:
a.
Physical Address

b.
Logical Address

c.
Absolute Address

d.
None of the above

Question 22
Not yet answered

Marked out of 2.00

In developing Scheduling Algorithms, computer scientists have several aims, one of which is ensuring high throughput. How can throughput be
defined?

Select one:

a.
The reduction of the amount of time required to perform an instruction b.
Question

Not yet answered

Marked out 2.00

The process of increasing efficiency

c.
The number of processes completed per unit time d.

The process of ensuring all processes have the resources they require

23

of

What is Virtualisation?

Select one:
a.
The act of creating Virtual Reality

b.
The act of creating Computer Games

c.
Running a JAVA Virtual Machine

d.
The act of creating, simulating a thing by means of a computer or computer network

Question 24
Not yet answered

Marked out of 2.00

When handling interrupts, the CPU must find and load the interrupt handler program. Another name for the interrupt handler is:

Select one:

a.
Device controller
Question

Not yet answered

Marked out 2.00

b.
Interrupt routine

c.
Device handler

d.
Device manager
25

of

Which of the following is a memory device best used to store an embedded system (Firm-ware), which will not be requiring any updates in the future?

Select one:
a.
EEPROM

b. ROM

c.
DRAM

d.
Flash

Question 26
Not yet answered

Marked out of 2.00

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.

Select one:

a.
Shift
Question

Not yet answered

Marked out 2.00

b.
Rotate

c.
Check zero condition

d.
None of the above.
27

of

Which of the following information is required to initiate a Direct Memory Access (DMA) transfer?

Select one:

a.
The name of the I/O device

b.
The format of the data

c.
The technology used in the I/O device

d.
The size of the data block

Question 28
Not yet answered

Marked out of 2.00

The device which is used to physically connect a peripheral to a bus is called:

a. Control Register

b. Communication Protocol

c. Interface

d. None of the Above


29

of
Question

Not yet answered

Marked out 2.00

What is the name of the mechanism by which a computer is made aware of external events?

Select one:
a.
Programmed I/O

b.
Interrupts

c.
Device driver

d.
DMA

Question 30
Not yet answered

Marked out of 2.00

Transistors can control the flow of electricity in a circuit. What are transistors made of?

Select one:

a.
Semi-conductors

b.
Conductors

c.
Insulators

d.
None of the above

31

of
Question

Not yet answered

Marked out 2.00

Which register stores the address of a piece of DATA/INSTRUCTION which the CPU requests to be fetched?

Select one:
a.
Program Counter Register

b.
Instruction Register

c.
General Purpose Register

d.
Memory Address Register

Question 32
Not yet answered

Marked out of 2.00

On a basic disk, the first sector of the hard drive is called:

a. The First Partition

b. Master Boot Sector

c. Cylinder 0

d. Partition Table
33

of

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 organisations 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?

Select one:
a.
Privacy helps individuals maintain their autonomy and individuality b.

Security is important as it helps protect users from identity theft


Question

Not yet answered

Marked out 2.00

c. d.
Personal information privacy is important to prevent manipulation of an individualʼs feelings

All the above

Question 34
Not yet answered

Marked out of 2.00

In servicing an interrupt, where is the context of the running program stored?

Select one:
a. Cache

b. RAM

c. Stack area

d. Memory buffer
Question 35
Not yet answered

Marked out of 2.00

The interrupt handling technique, in which the interrupt signal contains the identity of the interrupting device, is called:

Select one:

a.
Vectored approach

b.
Multi-data approach

c.
Polling approach

d.
Duplex approach
Question 36
Not yet answered

Marked out of 10.00

A copy machine generates a signal (S = 1) whenever the machine encounters an error. The copy machine has 3 switches which monitor its status: P, Q and
R.

P = Indicates the presence of paper in the feeding tray (0 = False, 1 = True).


Q = Indicates the presence of paper at the entry point of the copy mechanism (0 = False, 1 = True).

R = Indicates the presence of paper inside the copy mechanism (0 = False, 1 = True).
Design a logic circuit network diagram that sets the value of S (error indicator) for the following conditions: · There is

no paper in the paper tray

OR
· There is a paper jam

   

Note: If P and Q are set at the same time, it indicates there is a paper jam in the copy mechanism. a) Define

the Truth Table

(3 M
arks). b) Use a Karnaugh Map to show the simplification of the circuit design Tip: show all working
(4 M
arks). c) Draw the Logic Circuit as it would be implemented in LabView Tip: draw only the Logic Circuit

(3 marks).

                 

Fill out the Table below:

Truth Table
P Q R S

0 0 0

0 0 1

0 1 0

0 1 1
1 0 0

1 0 1
Maximum size for new files: 20MB

Question 37
Not yet answered

Marked out of 10.00

Memory management is one of the responsibilities of an operating system; it is concerned with allocating memory space for running processes.

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:
Proce Size of
ss ID Process in
KB
P1 20 kb

P2 15 kb

P3 10 kb

P4 25 kb

Deall P1
ocate
Deall P3
ocate
P5 8 kB

P6 30 kb

Deall P2
ocate
P7 15 kb

               

Upload the image of your


"Memory Map" here:

-Also attach image as a file


using the "File Picker" below

(Tip: You may use MS Word's


"Table" function to draw your
memory map)
Question 38
Not yet answered

Marked out of 10.00

Consider the following set of processes, with the length of CPU-burst times given in milliseconds:
Time Slice: 2ms

Process Burst Time

P1 10

P2 1

P3 2

P4 1

P5 5
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 and Shortest Job First.

(4 marks)
b) Calculate the overall average wait time and turnaround time for the algorithm for Round Robin and Shortest Job First.

(6 marks)
Tip: You MUST show your working.

                 

Insert Gantt Chart Images here:

-Also attach image as a file using the "File Picker" below

Insert "average wait time and turnaround time" Calculation Images here:

-Also attach image as a file using the "File Picker" below


◀ Mid-semester & End-semester

Jump to...

You might also like