šŸŽ“ BookMCQ
← Back to 20. Influential Operating Systems

šŸ“ Shared computer systems (25 MCQs)

Multiple Users Accessing One Central Computer

Shared computer systems allow several users to obtain computing services from the same central machine. Instead of reserving an entire computer for one person, the operating system coordinates access to the processor, memory, files, and peripheral devices. Early shared systems evolved through multiprogramming and time-sharing, making expensive computing facilities accessible to more users while improving utilisation of central resources.

Reducing the Cost and Idle Time of Dedicated Computing

Dedicated operation left expensive processors unavailable to other users when a program waited for input or output. Sharing addressed this inefficiency by keeping multiple jobs or user sessions available. It also allowed organisations to centralise maintenance and equipment. The design required protection, controlled resource allocation, and mechanisms to prevent one user's activity from disrupting another's.

Multiprogramming and Time-Sliced Processor Access

In multiprogramming, several jobs reside in memory, and the operating system selects a ready job when another blocks. Time-sharing extends interactive access by switching rapidly among users, often using a timer interrupt to enforce a time slice. Memory protection and scheduling preserve separate execution contexts while the system manages shared devices and storage.

Two Users Sharing a Time-Sharing Computer

Suppose User A runs a calculation while User B edits a file through a terminal. When A waits for a disk operation, the scheduler can execute B's ready process. A timer can also interrupt a running process after its allocated time slice, allowing another ready user to receive CPU service without waiting for A to finish.

Higher Utilisation with Protection and Scheduling Costs

Sharing improves throughput and interactive responsiveness because the processor can serve other work during delays. It also reduces the cost per user compared with separate dedicated machines. However, context switching, memory management, security checks, and resource contention add overhead. Poor scheduling or excessive demand can increase response time, while weak protection risks cross-user interference.

Three Misconceptions About Shared Computing

'All users execute instructions simultaneously on one CPU' is incorrect; the scheduler interleaves their execution. 'Sharing removes the need for memory protection' is false; isolation is essential. 'Multiprogramming and time-sharing are identical' is misleading; multiprogramming improves utilisation, while time-sharing emphasises interactive service and short response times.

Exam Focus: Compare Multiprogramming with Time-Sharing

Explain how multiple jobs remain available and how the scheduler switches among ready processes. Compare throughput, response time, preemption, and user interaction. Trace a scenario in which one process blocks for I/O and another receives the CPU. Also identify why memory protection and controlled device access are necessary in multiuser environments.

Key Terms of Shared Computer Systems

  • Time-sharing - Interactive sharing through short CPU intervals.
  • Multiprogramming - Several jobs kept available in memory.
  • Time slice - Allocated processor interval.
  • Context switch - Change between execution contexts.
  • Isolation - Separation of users' resources.
5
Easy
13
Medium
7
Hard

šŸ“ All Shared computer systems MCQs

Q1. What year did the Manchester Mark 1 run successfully for the first time?

A.1947
B.1948
C.1949 āœ…
D.1950
šŸ’” Difficulty: easy | āœ… Correct: C

šŸ“– Explanation: The Manchester Mark 1 achieved its first successful run in 19491949. This date is a key milestone because it marks the debut of a working stored‑program computer, distinguishing it from earlier machines that could only perform fixed tasks. Choices A and B are earlier years before the prototype was completed, and D is after the commercial Ferranti Mark 1 appeared. Knowing the correct year helps students place the invention in the broader timeline of computing history.

Q2. Which computer is recognized as the first commercial computer sold to customers?

A.ENIAC
B.UNIVAC I
C.Ferranti Mark 1 āœ…
D.IBM 701
šŸ’” Difficulty: easy | āœ… Correct: C

šŸ“– Explanation: The Ferranti Mark 1, released in 19511951, was the first computer marketed commercially. ENIAC and UNIVAC I were earlier prototypes or limited‑run machines, while IBM 701 came later. Recognizing the Ferranti Mark 1 illustrates how the stored‑program concept moved from research labs to the marketplace, enabling businesses to purchase and operate their own general‑purpose computers.

Q3. Who are the two pioneers most closely associated with the development of the stored‑program concept?

A.Charles Babbage and Ada Lovelace
B.John von Neumann and Alan Turing āœ…
C.Grace Hopper and Konrad Zuse
D.Dennis Ritchie and Ken Thompson
šŸ’” Difficulty: easy | āœ… Correct: B

šŸ“– Explanation: John von Neumann and Alan Turing independently explored the idea of a machine that stores both instructions and data, laying the groundwork for modern computers. Babbage and Lovelace pre‑dated electronic computers, while Hopper and Zuse contributed later innovations, and Ritchie and Thompson created later software tools. Understanding these pioneers clarifies the intellectual origins of the stored‑program architecture.

Q4. Why was the stored‑program concept considered revolutionary compared to earlier fixed‑task computers?

A.It allowed programs to be written in binary only
B.It separated hardware from software, enabling any task to be performed by changing the program āœ…
C.It required larger physical space for memory
D.It eliminated the need for human operators
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: The stored‑program idea separated hardware from software, so the same machine could execute different tasks simply by loading new instructions. Earlier computers were hard‑wired for a single purpose, making any change labor‑intensive. Options A and C describe technical details that are not the core novelty, and D is false because early systems still needed operators. This revolution underpins the flexibility of modern computers.

Q5. How did the use of front‑panel switches influence the programming workflow on early computers?

A.It automated program loading
B.It required programmers to input each instruction manually, slowing development āœ…
C.It provided a graphical user interface
D.It enabled remote debugging over networks
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: Front‑panel switches forced programmers to set each instruction bit by bit, turning programming into a slow, error‑prone manual process. Automation came later with paper tape and punched cards. The switches did not offer a GUI or networking capabilities. Recognizing this limitation helps students appreciate why later input media dramatically increased productivity.

Q6. What advantage did having separate program and data stores provide to early computers?

A.It doubled the total memory capacity
B.It allowed the CPU to fetch instructions and data simultaneously, improving speed āœ…
C.It prevented programs from overwriting their own code unintentionally
D.It required fewer electrical components
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: Separate storage meant that instructions and data occupied distinct memory regions, reducing the risk that a program would accidentally modify its own code—a common bug in early machines. While simultaneous fetching (option B) became possible later with cache designs, the primary safety benefit was code‑data separation. Options A and D misstate hardware effects. This principle is still used in modern architectures to protect executable code.

Q7. How did the secrecy surrounding World War II affect the diffusion of early computer technology?

A.It accelerated international collaboration
B.It delayed public knowledge and slowed commercial adoption āœ…
C.It caused immediate worldwide patents
D.It led to open‑source distribution of designs
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: During the war, many advances were classified, preventing engineers in other countries from learning about stored‑program ideas until after the conflict. This secrecy delayed broader commercial exploitation and limited early collaboration. The other options describe opposite outcomes that did not occur at the time. Understanding this context explains why the first commercial computers appeared only a few years after the war ended.

Q8. Why did early computers require the programmer to also act as the operator?

A.Because the machines had built‑in AI assistants āœ…
B.Because there were no separate operating systems to manage resources
C.Because the hardware could only run one program at a time
D.Because the computers were networked globally
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Early machines lacked operating systems; the programmer had to load code, set start addresses, and monitor execution manually. The presence of AI assistants (A) or global networking (D) was nonexistent, and while single‑program execution (C) was true, the key reason was the absence of system software to automate those tasks. This dual role highlights the evolution toward distinct programming and system‑administration roles.

Q9. How did the ability to load programs from punched cards improve operational efficiency?

A.It eliminated the need for any human oversight
B.It allowed batch processing of multiple programs without manual switch entry
C.It increased the physical size of the computer āœ…
D.It required programmers to write in machine language only
šŸ’” Difficulty: medium | āœ… Correct: C

šŸ“– Explanation: Punched cards enabled operators to feed a series of instructions automatically, supporting batch processing and reducing the time spent on individual switch toggling. Human oversight was still needed for setup and error checking, so A is incorrect. The cards did not enlarge the hardware (C) and did not force machine‑language coding (D). This efficiency gain paved the way for larger software projects.

Q10. What impact did the Manchester Mark 1 have on later commercial computers?

A.It introduced vacuum‑tube technology to the market
B.It demonstrated the feasibility of stored‑program architecture, influencing designs like the Ferranti Mark 1 āœ…
C.It was the first computer to use magnetic tape
D.It proved that computers could not be miniaturized
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: The Manchester Mark 1 proved that a stored‑program machine could operate reliably, directly inspiring the commercial Ferranti Mark 1. While vacuum tubes were already used, and magnetic tape came later, the key legacy was the architectural concept, not size constraints. Recognizing this influence helps students trace how research prototypes evolve into marketable products.

Q11. How does the stored‑program concept influence modern operating systems?

A.It allows the OS to be hard‑wired into the CPU āœ…
B.It enables the OS to load, schedule, and manage multiple programs dynamically
C.It forces the OS to run on separate hardware from applications
D.It eliminates the need for memory management
šŸ’” Difficulty: hard | āœ… Correct: A

šŸ“– Explanation: Modern operating systems rely on the ability to store both code and data in memory, allowing them to load, schedule, and switch between many programs. The OS is not hard‑wired (A), does not require separate hardware (C), and memory management remains essential (D). This continuity shows how early ideas still shape today’s complex software environments.

Q12. Why was monitoring execution via console lights important for debugging early programs?

A.It provided a visual cue of the machine’s internal state, allowing programmers to spot anomalies
B.It automatically corrected errors in the code āœ…
C.It displayed high‑resolution graphics of program flow
D.It sent error reports to remote servers
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: Console lights illuminated register contents and memory addresses, giving programmers a real‑time view of what the computer was doing. This manual observation helped locate faults. The lights did not fix code (B), could not render graphics (C), nor transmit data over networks (D). Understanding this technique illustrates early human‑in‑the‑loop debugging.

Q13. How did the transition from manual loading to automatic loading affect error rates in early computers?

A.It increased errors because machines became more complex
B.It reduced errors by minimizing human entry mistakes āœ…
C.It had no effect on error frequency
D.It caused errors to be invisible to operators
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: Automatic loading (e.g., from paper tape) removed the need for operators to toggle each switch, dramatically cutting transcription errors. While system complexity grew, the primary source of mistakes shifted away from manual entry. Options C and D ignore the clear improvement, and A misattributes complexity as the dominant factor. This shift underscores the value of automation in reliability.

Q14. A company in 1950 wants to upgrade from manual switch loading to punched‑card input. Which benefit is most direct?

A.Higher processing speed
B.Reduced operator fatigue āœ…
C.Ability to run graphical user interfaces
D.Support for networked computing
šŸ’” Difficulty: easy | āœ… Correct: B

šŸ“– Explanation: Switching to punched cards mainly reduces the physical effort required from operators, lessening fatigue and the chance of manual mistakes. While speed may improve indirectly, the primary advantage is ergonomic. Graphical interfaces and networking were far beyond the technology of the era, making those options irrelevant.

Q15. If a modern embedded system mimics early console‑light monitoring, what limitation would it most likely face?

A.Inability to display high‑resolution graphics āœ…
B.Limited to binary status indicators, providing coarse feedback
C.Excessive power consumption
D.Incompatibility with any programming language
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Recreating console lights would give only simple on/off or binary indications, which lack the detailed diagnostics modern developers expect. High‑resolution graphics (A) require different hardware, power (C) and language compatibility (D) are unrelated to the monitoring method. Recognizing this limitation highlights why modern debugging tools are far more sophisticated.

Q16. Given a hypothetical early computer with a program store of 10241024 words and a data store of 20482048 words, what is the maximum total memory available?

A.10241024 words āœ…
B.20482048 words
C.30723072 words
D.40964096 words
šŸ’” Difficulty: easy | āœ… Correct: A

šŸ“– Explanation: The total memory is the sum of program and data stores: 1024+2048=30721024 + 2048 = 3072 words. Option A reflects only the program store, B only the data store, and D exceeds the combined capacity. This simple addition demonstrates how early designs allocated separate regions for code and data.

Q17. A student designs a simple stored‑program simulation. Which component must be implemented to reflect the concept accurately?

A.A fixed instruction decoder only āœ…
B.Separate memory areas for instructions and data
C.A single unified memory for both without distinction
D.An automatic printer for output
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: To mimic a stored‑program machine, the simulation needs distinct regions for code and data, allowing the CPU to fetch instructions from one area while reading/writing data elsewhere. A fixed decoder (A) lacks flexibility, a unified memory without distinction (C) misses the separation principle, and a printer (D) is unrelated to the core concept.

Q18. If a programmer forgets to set the starting address correctly before execution, what is the most likely outcome?

A.The program will run twice as fast
B.The computer will execute random memory locations, likely causing a crash
C.The system will automatically correct the address āœ…
D.The program will pause and wait for user input
šŸ’” Difficulty: medium | āœ… Correct: C

šŸ“– Explanation: An incorrect start address means the CPU begins fetching instructions from an unintended location, leading to unpredictable behavior and almost certainly a crash. The hardware does not auto‑correct (C), nor does it alter speed (A) or pause for input (D). This scenario reinforces the importance of precise address handling.

Q19. In a museum exhibit, visitors can toggle front‑panel switches to input instructions. Which educational objective does this activity satisfy?

A.Understanding modern cloud computing āœ…
B.Learning about low‑level machine instruction entry and the effort required in early programming
C.Experiencing high‑level language compilation
D.Observing quantum computing principles
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Manipulating switches gives visitors direct experience of how early programmers manually entered binary instructions, highlighting the labor involved. It does not relate to cloud services (A), high‑level compilation (C), or quantum effects (D). Such hands‑on learning connects historical practices to contemporary appreciation of abstraction.

Q20. Suppose a team wants to emulate early computer error handling using console lights. Which strategy would be most authentic?

A.Display a detailed stack trace on a monitor
B.Flash lights corresponding to the faulty register or memory address āœ…
C.Send an email alert to the programmer
D.Log the error to a file system
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: Early machines used illuminated panels to indicate which register or address caused a fault, so flashing the relevant light replicates that authentic feedback. Modern methods like stack traces, email alerts, or file logging belong to later generations and would not convey the same historical feel.

Q21. An organization wants to preserve historical code written on punched cards. Which preservation method is most appropriate?

A.Scanning each card into a PDF archive āœ…
B.Translating the code into a modern programming language
C.Storing the cards in a climate‑controlled vault without digitization
D.Printing the code on modern paper
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Physical preservation in a controlled environment protects the original artifact from humidity, temperature, and light damage, maintaining authenticity. Scanning (A) creates a digital copy but does not safeguard the original; translation (B) loses the original format; re‑printing (D) creates a new artifact, not the historic one.

Q22. If a modern cloud service adopted a stored‑program architecture, which feature would it most directly emulate?

A.Automatic scaling of virtual machines
B.Separate storage of executable code and user data in memory āœ…
C.Real‑time video streaming
D.Blockchain consensus mechanisms
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: A stored‑program design keeps program instructions and user data in distinct memory regions, mirroring the classic separation. Automatic scaling, streaming, and blockchain are unrelated architectural concepts. Recognizing this link shows how foundational ideas persist even in large‑scale cloud platforms.

Q23. A researcher compares execution speed of manual loading versus automatic loading. Which metric would most clearly demonstrate the difference?

A.Number of CPU cycles per instruction āœ…
B.Total time from program start to first output
C.Amount of memory used during execution
D.Power consumption of the console lights
šŸ’” Difficulty: hard | āœ… Correct: A

šŸ“– Explanation: The elapsed time from initiating a program to its first observable result captures the overhead of manual entry versus automatic loading. CPU cycles per instruction (A) reflect processing speed, not loading overhead. Memory usage (C) and power consumption (D) are unrelated to the specific loading method.

Q24. A new curriculum includes a module on early computers. Which activity best demonstrates the concept of program vs data separation?

A.Having students write high‑level code in Python āœ…
B.Having students physically separate two stacks of cards, one for instructions and one for data
C.Having students assemble a modern laptop
D.Having students debug network latency issues
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Physically sorting instruction cards apart from data cards makes the abstract idea concrete, showing how early machines kept code and data in different areas. Writing Python (A) hides the separation, assembling a laptop (C) is unrelated, and debugging latency (D) deals with networking, not memory architecture.

Q25. A startup plans to build a hobbyist computer using the stored‑program principle. Which design decision aligns with that principle?

A.Implementing a single memory space where code overwrites data āœ…
B.Using separate ROM for firmware and RAM for user data
C.Hard‑wiring each program into the circuitry
D.Removing any form of memory and using only switches
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Allocating a read‑only memory (ROM) for the fixed firmware and a separate random‑access memory (RAM) for mutable user data preserves the classic program‑data separation. Single memory that allows overwriting (A) defeats the purpose, hard‑wiring (C) returns to fixed‑task designs, and eliminating memory (D) removes the stored‑program capability entirely.

šŸ”— Related Topics (MCQs)