A user opens a document stored on an SSD. Which sequence best describes the operating system's role?
09 — How Computers and Systems Work Online Quiz Questions
Use this free practice quiz with 20 questions to review 09 — How Computers and Systems Work, test your knowledge, and prepare for your next test or exam.
A program requests data, and the data is already present in the processor cache. What has occurred?
- A
The requested information is found in the cache.
- B
The requested information is found only on persistent storage.
- C
The processor has lost power and must reboot.
- D
The operating system has moved every page to storage.
Which statement correctly distinguishes a router from a switch?
- A
A router provides wireless access, while an access point forwards packets between networks.
- B
A switch translates application requests into machine instructions.
- C
A router forwards packets between different networks, whereas a switch forwards frames among devices on a local network.
- D
A port number identifies the physical cable used by a router.
Which two statements correctly describe threads within the same process? Select all that apply.
- A
They share the process's address space.
- B
They must each belong to a different process.
- C
They have their own execution state, registers, and stack.
- D
They cannot be scheduled independently.
Which two statements accurately compare TCP and UDP? Select all that apply.
- A
TCP is connectionless and never uses sequence numbers.
- B
TCP provides reliable, in-order delivery using acknowledgments and retransmission.
- C
UDP always retransmits lost packets before delivering later packets.
- D
UDP can have less built-in overhead and may be useful when an application handles loss itself.
True or false: A process is a running instance of a program together with resources such as a virtual address space and open files.
- A
True
- B
False
True or false: Because virtual memory can move inactive pages to storage, a computer can use it as a complete replacement for physical RAM without a performance cost.
- A
True
- B
False
A processor uses 5 address bits. How many distinct addresses can it theoretically represent? Enter the number as a whole number.
What is the processor-cycle stage in which the processor obtains the next instruction from memory? Enter the single stage name.
Complete the comparison: retains programs and data when power is removed, whereas holds programs and data currently in use.
Complete the sentence: When a referenced virtual-memory page is not currently available in the required physical-memory location, a occurs.
Explain what happens inside a computer when a user edits a photograph in an image editor and then saves it. Distinguish the roles of main memory, the operating system, the file system, and persistent storage.
Which statement best explains how a processor runs a program written in a high-level language such as C or Python?
- A
The processor executes Python source text directly as its native instruction format.
- B
The processor executes machine instructions produced from or used to run high-level-language programs.
- C
The processor can execute only data stored on a hard-disk drive.
- D
The operating system converts every instruction into a network packet before execution.
True or false: On a single-core processor, two threads can execute truly concurrently merely because the operating system switches between them rapidly.
- A
True
- B
False
A user shuts down a computer and later finds that a saved document is still available. Which component retained the document while the computer was powered off?
- A
Main memory (RAM)
- B
Persistent storage
- C
Processor cache
- D
Registers
A processor is ready to begin its next instruction cycle. Which step obtains the next instruction from memory?
- A
Fetch
- B
Decode
- C
Execute
- D
Retire or write back
An application needs to open a file and asks the operating system to perform the operation. What mechanism normally provides this controlled request?
- A
A context switch
- B
A cache hit
- C
A system call
- D
A page fault
A packet must travel from a computer on one network to a host on a different network. Which device normally forwards the packet toward the other network?
- A
Network interface
- B
Switch
- C
Access point
- D
Router
A processor uses 12 address bits. Assuming every bit pattern represents a distinct address, how many distinct addresses can it theoretically represent? Enter the exact whole-number value.
Enter the standard name of the networking layer that uses IP addresses to move packets between networks.
Related study packs and tools
2 Digital Logic
A 14-question medium-difficulty quiz on Boolean algebra, logic gates, truth tables, and combinational circuits.
6 Computer Memory
Learn how computer memory stores and addresses information, how RAM and ROM differ, and how caches and the memory hierarchy balance speed, capacity, and cost.
6 Trees and Binary Search Trees
A 14-question quiz on trees, binary trees, traversals, recursive algorithms, and binary search trees. The questions progress from foundational concepts to applied reasoning about structure, complexity, and BST operations.
07 Trees and Binary Search Trees
A progressive guide to tree structure, binary-tree traversals, binary search tree operations, deletion, balancing, and the way tree height determines time and space costs.
8 Software Documentation
Learn how to choose, structure, document, and maintain software documentation for users, developers, integrators, and operators.
9 Sorting Algorithms
A structured guide to comparison-based sorting algorithms, their complexity, stability, memory use, and practical selection criteria.
Interrupts
Reviews how interrupts support event handling and multitasking, and how Linux system calls use the RISC-V `ecall` instruction and register conventions.
OS Processes
This quiz covers process management, context switching and scheduling, multitasking, traps and interrupts, and RISC-V privilege transitions.
Systemcalls
A quiz on operating-system system calls, including privileged-operation requests, process creation and execution with fork, exec, and waitpid, and signal handling.