Os 1
Os 1
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
OPERATING SYSTEMS
RLMahaguay
LONG EXAMINATION 1ST SEM SY2020-2021
Name Block Score
ABNE, KRIZALIEH BALMERA BSCPE 3-5
GENERAL INSTRUCTIONS:
1. Follow all instructions carefully. Failure to do so will warrant a substantial deduction from your final score.
2. Write everything in non-red ink. No borrowing of pens, etc.
3. You are not allowed to leave your seat unless you are through with the exam. If you have any questions, just raise your hand and the
instructor or proctor will attend to you.
4. Talking to or looking at your seatmate (and his/her paper) is automatically considered as cheating which is subject to very serious sanctions as
stipulated in the student handbook.
GOOD LUCK ! ! !
I. MULTIPLE CHOICE [50 points]. Choose the LETTER of the correct answer. Write your answer on the space provided. Use
CAPITAL letters only. Write RM if the answer is not found among the choices. Use the back pages as your scratch.
A
______1. It is the most universally accepted method of classifying computers.
A. Flynn’s Classification of Computers C. Von Neumann Architecture
B. Flynn’s Computer Architecture D. Von Neumann Classification of Computers
D
______2. It is a part of a computer where data are fetched.
A. Control Unit B. Instruction Unit C. Processor Unit D. Memory Unit
C
______3. It is a part of a computer where instructions are being executed.
A. Control Unit B. Instruction Unit C. Processor Unit D. Memory Unit
C
______4. Which register contains the data to be written or read out of the address location?
A. IR B. MAR C. MDR D. PC
A
______5. In order to fetch data from memory, the first thing the processor does is:
A. send the memory address. C. Both (A) and (B)
B. send the memory read signal. D. Either (A) or (B)
B
______6. In order to fetch data from memory, the second thing the processor does is:
A. send the memory address. C. Both (A) and (B)
B. send the memory read signal. D. Either (A) or (B)
A
______7. The number of bits in the MDR is equal to the word size of a computer. This statement is:
A. obviously true.
B. false, it depends on how memory is organized.
C. false, it depends on the maximum amount of memory that can be connected to the processor.
D. false, it depends on whether the machine is a personal computer, workstation, mainframe, or supercomputer.
II. PROBLEM SOLVING [30 points]. Solve the following problem. Write your answers on the space provided.
1. A set of processes with their respective arrival times at the ready queue and the length of their next CPU burst are given below.
a. Draw the Gantt charts illustrating the execution of these processes using FCFS, SJF, SRTF, Preemptive Priority.
b. What is the average waiting time of each process for each of the following scheduling algorithm?
c. What is the turn around time of each of the following scheduling algorithm?
FCFS [5 points]
SJF/SPF [5 points]
End – of – Exam