THINK FIRST·CODE LATER

← Operating Systems
Chapter 1 · Week 1

Operating Systems Today: From the Laptop to the Edge–Cloud

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

Which statement describes the system view of an operating system?

Q2

A programmer writes open("notes.txt") without knowing which disk sectors hold the file. This illustrates the OS as…

Q3

What problem did multiprogramming solve?

Q4

What was the main contribution of time-sharing systems such as CTSS and UNIX?

Q5

Processes wait for I/O 80% of the time (p = 0.8). With 4 processes in memory, what is the approximate CPU utilization (1 − pⁿ)?

Q6

With p = 0.8, what is the smallest number of processes that gives at least 90% CPU utilization according to 1 − pⁿ?

Q7

If processes wait for I/O only 50% of the time (p = 0.5), how many processes give at least 90% utilization?

Q8

Which statement correctly distinguishes multiprocessing from multitasking?

Q9

A car's anti-lock braking controller must react within 5 ms every time; missing the deadline once could cause an accident. Which OS type fits?

Q10

Users of a network OS know which machine holds a file; users of a distributed OS see many machines as one system. This property of a distributed OS is called…

Q11

Which pair of OS goals most directly conflict?

Q12

Which part of the OS runs with full hardware privileges?

Q13

90% of a program can run in parallel (P = 0.9). By Amdahl's law, what is the speedup on 8 cores?

Q14

For the same program (P = 0.9), what is the maximum speedup with unlimited processors?

Q15

With P = 0.9 and 16 cores, the speedup is 6.4. What is the parallel efficiency?

Q16

Which layer of the device–edge–cloud continuum typically offers 1–10 ms latency to a student's phone on campus?

Q17

Why would CampusAR send a video frame to an edge server instead of processing it on the phone?

Q18

Which technology first made it common to rent virtual machines by the hour (the start of the public cloud)?

Q19

Kubernetes decides on which machine each container runs and restarts failed ones. In OS terms, it behaves most like…

Q20

Which OS type is the best description of Android?

Q21

In the 1 − pⁿ utilization model, what assumption makes it only an approximation?

Q22

In a batch system of the 1950s–60s, what did the resident monitor do?

Q23

Which component is responsible for deciding which ready process gets the CPU next?

Q24

Why is energy efficiency now an OS goal both on phones and in data centres?

Q25

A faculty workflow has 200 tasks with dependencies. Adding more cloud servers barely speeds it up. Which explanation is most consistent with Amdahl's law?

Q26 Short answer

Explain the two views of an operating system (user view and system view), with one example of each from EdgeCampus.

Q27 Short answer

Processes in an EdgeCampus video-analytics server wait for network/disk I/O 60% of the time. Using 1 − pⁿ, compute CPU utilization for n = 1, 2 and 5, and the smallest n that gives at least 95%.

Q28 Short answer

A research program is 95% parallelizable. Compute the Amdahl speedup and efficiency on 4, 16 and 64 cores, and the maximum speedup. What do you conclude for buying cloud servers?

Q29 Short answer

Trace one CampusAR request (a student points the phone at a building to see its name and today's events) through the device, edge and cloud. For each layer, name one resource-management decision an OS or platform must make.

Q30 Short answer

Give one problem that each of these steps in OS history solved: batch systems, multiprogramming, time-sharing, cloud computing, edge computing.