Your session has expired

Your progress and purchases are safe. Log in again to continue.

Log in again
Aspirant Academy

Sample questions

1

A disk has cylinders numbered 0 to 199. The current head position is 50 and the pending queue is 82, 170, 43, 140, 24, 16, and 190. If SCAN scheduling is used and the head is initially moving toward higher-numbered cylinders, what is the total head movement after all requests are served?

A 332 cylinders
B 341 cylinders
C 391 cylinders
D 299 cylinders
2

In a preemptive uniprocessor RTOS, three periodic tasks have (execution time, period) as T1 = (1 ms, 4 ms), T2 = (2 ms, 5 ms), and T3 = (2 ms, 20 ms). If deadlines are equal to periods, which schedulability conclusion is most appropriate under Earliest Deadline First (EDF)?

A The task set is schedulable because total utilization is 0.75, which is not above the EDF bound of 1.
B The task set is not schedulable because utilization must be below 0.693 for all real-time algorithms.
C The task set is schedulable only if all three tasks have the same static priority.
D The task set is not schedulable because one task has a period much larger than the others.
3

Match the following –

List –I

A: Disk Scheduling

B. Batch Processing

C. Time Sharing

D. Interrupt Processing

List – II

1. Round Robin

2. Scan

3. LIFO

4. FIFO

Code -

A A-3, B-4, C-2, D-1
B A-4, B-3, C-2, D-1
C A-2, B-4, C-1, D-3
D A-3, B-4, C-1, D-2
4

For the register-transfer statement R2 <- R1 in a synchronous CPU, which interpretation is correct?

A The value in R1 is cleared automatically after it is placed on the internal bus
B The contents of R1 are copied into R2 on the active clock edge, while R1 itself is not destroyed
C The physical register R1 is renamed as R2 without any data movement
D The contents of R1 and R2 are exchanged in a single implicit swap operation
5

When a process is in a “Blocked” state it waits for some I/O service. When the service is completed it goes to the -

A Terminated State
B Suspended state
C Running state.
D Ready state

Explore more subjects