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.