Deck 10: Operating Systems
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/49
Play
Full screen (f)
Deck 10: Operating Systems
1
Which of the following is a technique for keeping more than one process in memory at the same time?
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
C
2
Which of the following best describes a partitioning approach that uses the base register to store the beginning address of the current partition?
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
C
3
Which of the following best describes a partitioning approach that uses the bounds register to store the last address of the current position?
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
D
4
Which of the following describes the act of storing register values for the currently executing process and loading the register values for the process taking over the CPU?
A) Swapping
B) Context switch
C) Demand paging
D) Thrashing
E) Virtual memory
A) Swapping
B) Context switch
C) Demand paging
D) Thrashing
E) Virtual memory
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
5
To which state does a process move when the CPU scheduling algorithm determines it may next use the CPU?
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following is a CPU scheduling algorithm that allocates processes to the CPU in the order in which they arrive?
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
7
Application software interacts directly with the computer hardware.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
8
A computer could have two or more operating systems, but only one operating system controls the computer at any given time.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
9
A program may often make references to a variable's physical address in memory.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
10
Physical addresses must be converted to logical addresses in order to carry out the reference being made.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
11
A process in the ready state may be terminated because needed resources are not available.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
12
The shortest-job-next CPU scheduling algorithm is provably optimal, but requires knowledge of the future.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) _______________ is a program in execution, which the operating system must manage carefully.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
14
The _______________ register holds the address of the beginning of a partition.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
15
_______________ occurs when pages are moved in and out of secondary memory excessively, degrading system performance.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
16
A process in the _______________ state has no barriers to its execution and is merely waiting for its turn to use the CPU.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
17
A CPU scheduling decision made when a process moves from the waiting state to the ready state is an example of _____________ scheduling.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
18
What is a physical address?
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
19
Name the five process states.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following tracks the progress of a program during execution?
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following describes a reference made by a program relative to itself?
A) Single contiguous
B) Logical address
C) Physical address
D) Partition
E) Paged
A) Single contiguous
B) Logical address
C) Physical address
D) Partition
E) Paged
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
22
To which state does the currently executing process return when it is interrupted by the operating system?
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following describes a CPU scheduling algorithm in which each process is given a small amount of time to use the CPU before being forced to wait until its turn comes around again?
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
24
If a program is loaded into memory beginning at address 555555, what is the physical address of relative address 333333?
A) 222222
B) 888888
C) 555555
D) 333333
E) 888888011
A) 222222
B) 888888
C) 555555
D) 333333
E) 888888011
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following is the technique for keeping multiple programs in main memory at the same time, competing for their chance at the CPU?
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
26
In which state is a process that is currently being executed by the CPU?
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following is the amount of time given to each process in a round-robin CPU scheduling algorithm?
A) Arrival time
B) Time limit
C) Time slice
D) Service time value
E) Turnaround time
A) Arrival time
B) Time limit
C) Time slice
D) Service time value
E) Turnaround time
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
28
Application software is written to solve problems in the real world.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
29
The operating system has a dedicated CPU and therefore does not compete with other application programs for CPU time.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
30
In single contiguous memory management, an entire application program is loaded into one chunk of memory.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
31
The process life cycle describes the conceptual states through which a process moves as it is managed by the operating system.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
32
In preemptive CPU scheduling, a process may be forced to wait even though all its necessary resources are available.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
33
A relative address is an actual location in main memory.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
34
An operating system uses nonpreemptive CPU scheduling when a process moves from the waiting state to the ready state.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following keeps track of where in memory a process is stored?
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
A) Process management
B) Memory management
C) Multiprogramming
D) Timesharing
E) CPU scheduling
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
36
Which of the following describes a memory management technique in which only one application program was loaded into memory?
A) Single contiguous
B) Logical address
C) Physical address
D) Partition
E) Paged
A) Single contiguous
B) Logical address
C) Physical address
D) Partition
E) Paged
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following best describes a partitioning approach in which all partitions are the same size?
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
A) Dynamic partitions
B) Fixed partitions
C) Both dynamic and fixed partitions
D) Neither dynamic nor fixed partitions
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
38
In which state does a process reside if it does not have a needed resource, such as a page from secondary memory?
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
A) Ready
B) New
C) Waiting
D) Terminated
E) Running
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
39
Which of the following is a CPU scheduling algorithm that gives priority to the process with the smallest estimated remaining run time?
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
40
Which of the following is a CPU scheduling metric used to evaluate scheduling algorithms?
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
A) Shortest-job-next
B) First-come, first-served
C) Time slice
D) Round robin
E) Turnaround time
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
41
An operating system is the core part of the system software of a computer.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
42
The operating system is itself just a program that takes its turn being executed by the CPU.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
43
In partitioned memory management, an application program is separated into pieces and loaded into multiple partitions.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
44
A context switch occurs each time a process moves to the running state.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
45
The first-come, first-served (FCFS) CPU scheduling algorithm is a preemptive approach.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
46
The _______________ is the core of a computer's system software.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
47
A(n) _______________ address is used by a program to reference a generic memory location.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
48
When interrupted by the CPU scheduler, the currently executing process returns to the _______________ state.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
49
In _______________ CPU scheduling, processes are moved to the CPU in the order in which they arrive.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck