
Operating Systems - Test 1 Practice
Authored by Syahril KKB
Fun
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid state of a process in an operating system?
New
Queued
Running
Terminated
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term context switch refer to in operating systems?
Changing file system structure
Switching user permissions
Saving and restoring the state of a CPU for process scheduling
Deleting unused background processes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the critical section in process synchronization?
The portion of code where interrupts are disabled
Code that accesses shared resources and must not be executed by more than one process at a time
A memory region used for garbage collection
A debugging module of the OS kernel
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a preemptive scheduling environment, the CPU can:
Only be taken away when a process completes
Be forcibly taken from a process if a higher priority one arrives
Not be shared between processes
Only schedule batch jobs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between paging and segmentation?
Paging is hardware-based; segmentation is software-based
Paging uses variable-sized memory blocks; segmentation uses fixed-size blocks
Paging divides memory into fixed-size pages; segmentation divides programs into logical units
They are two names for the same technique
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is virtual memory important for modern operating systems?
It speeds up the boot process
It enables processes to access the GPU directly
It allows more processes to run than the actual physical memory can accommodate
It acts as a firewall for the operating system
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about threads is true?
Threads have their own memory space separate from other threads
Threads are slower than processes
Threads share the same code and data segment
Threads can only run in single-core systems
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?