Deck 3: Operating Systems

Full screen (f)
exit full mode
Question
Which of the following is not an attempt to provide security?

A) Passwords
B) Privilege levels
C) Multitasking
Use Space or
up arrow
down arrow
to flip the card.
Question
A section of a program that should be executed by at most one process at a time is called a

A) Utility
B) Critical region
C) Privileged instruction
Question
Which of the following components of an operating system maintains the directory system?

A) Device drivers
B) File manager
C) Memory manager
Question
Which of the following would be a concern of the file manager in a multi-user computer system that would not be a concern in a single-user system?

A) Maintain records regarding the location of files
B) Maintain records regarding the ownership of files
C) Maintain records regarding the size of files
D) None of the above
Question
Which of the following concepts is not associated with critical regions?

A) Semaphores
B) Mutual exclusion
C) Bootstrap
Question
Which of the following items of information would not be contained in an operating system's process table?

A) The location of the memory area assigned to the process
B) The priority of each process
C) Whether the process is ready or waiting
D) The machine language instructions being executed by the process
Question
Which of the following components of an operating system is not part of the kernel?

A) User Interface
B) File manager
C) Scheduler
Question
Multitasking in a computer with only one CPU is accomplished by a technique called

A) Bootstrapping
B) Batch processing
C) Multiprogramming
Question
Which of the following is not a role of a typical operating system?

A) Control the allocation of the machine's resources
B) Control access to the machine
C) Maintain records regarding files stored in mass storage
D) Assist the computer user in the task of processing digital photographs
Question
Which of the following statements is true?

A) Allowing several processes to share time in a multiprogramming system is less efficient than executing each of them to completion one after the other.
B) The use of passwords provides an impenetrable safeguard.
C) Both A and B
D) Neither A not B
Question
Which of the following is a technique for controlling access to a critical region?

A) Spooling
B) Time sharing
C) Semaphore
D) Booting
Question
Which of the following events is detrimental to an operating system's performance?

A) Deadlock
B) Interrupt
C) Booting
Question
Which of the following components of an operating system is executed as the result of an interrupt signal?

A) Dispatcher
B) Memory manager
C) File manager
Question
Which of the following components of an operating system handles the details associated with particular peripheral equipment?

A) Device drivers
B) File manager
C) Memory manager
Question
Which of the following is a task that is not performed by the kernel of an operating system?

A) Communicate with the user
B) Schedule processes
C) Allocate resources
D) Avoid deadlock
Question
Which of the following would not require real-time processing?

A) Typing a document with a word processor
B) Navigation of an aircraft
C) Forecasting world-wide trend for the next five year period
D) Maintaining a airline reservation system
Question
Execution of an operating system is initiated by a program called the

A) Window manager
B) Scheduler
C) Boot loader
Question
Which of the following is not involved in a context switch?

A) Interrupt
B) Process table
C) Dispatcher
D) User Interface
Question
Which of the following is not a means of performing multiple activities at the same time?

A) Pipeling
B) Multiprogramming
C) Virtual memory
D) Multiple processors
Question
The end of a time slice is indicted by the occurrence of a signal called

A) An interrupt
B) A semaphore
C) A login
Question
Which necessary condition for deadlock is removed by each of the following.
A. Require processes to request all required resources at once.
________________________________________________________________
B. Allow only one process at a time in the process table.
________________________________________________________________
C. Take all resources from processes when deadlock occurs and restart the processes.
________________________________________________________________
Question
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Executes each time a time slice terminates
B. _______________ Removes entries from the process table
C. _______________ Maintains a record of available mass storage space
D. _______________ Displays icons on the computer screen
Question
What problem could occur if,to allow more processes to share time in a multiprogramming environment,an operating system is designed to use very short time slices?
________________________________________________________________________
Question
Suppose an operating system allocates time slices in 10 millisecond units and the time required for a context switch is negligible.
A. How many processes can obtain a time slice in one second?
____________
B. How many processes can obtain a time slice in one second if half of them use only half of their
slice?
____________
Question
A ______________ is a set of instructions.In contrast,a ________________ is the activity of executing those instructions.
Question
Explain the difference between application software and system software.
Question
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Places new entries in the process table
B. _______________ Performs the actual communication with I/O units
C. _______________ Maintains a record of memory allocations
D. _______________ Protects files from unauthorized access
Question
What conditions are necessary for deadlock to occur?
Question
Describe a scenario that leads to deadlock in a computer system.
Question
List three popular operating systems.
A. ___________________
B. ___________________
C. ___________________
Question
What is meant by the term load balancing in the context of multiprocessor computers?
________________________________________________________________________
Question
List three popular smartphone operating systems.
A. ___________________
B. ___________________
C. ___________________
Question
What action is performed as a result of executing each of the following types of instructions?
A. Test-and-set ________________________________________
B. Interrupt disable __________________________________________
C. Interrupt enable _______________________________
Question
List three features provided by modern CPUs that are used by operating systems to implement multitasking environments.
A. ___________________
B. ___________________
C. ___________________
Question
If it takes one microsecond to perform a context switch and processes use only half of their allotted 10 millisecond time slices,what percent of a CPUs time is spent performing context switches rather than executing processes?
____________
Question
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Maintains a record of what is displayed on the computer's screen
B. _______________ Performs the switching from one process to another
C. _______________ Maintains the directory system
D. _______________ Creates virtual memory
Question
In each blank below write a term that might be considered the opposite of the term next to the blank.
A. _______________ Interactive processing
B. _______________ System software
C. _______________ Waiting process
Question
What are privileged instructions?
Question
List four resources whose access an operating system should coordinate.
A. ___________________________
B. _____________________________
C. ___________________________
D. _____________________________
Question
In contrast to early batch processing techniques,____________________ allows the user to communicate with the computer while the user's application is being executed.In turn,this type of processing requires that the computer's responses to its environment be performed in a timely manner,a requirement known as _______________________ .
Question
Why is a "test-and-set" instruction included in most machine languages for CPUs designed for multitasking environments?
Question
Describe concerns that occur when designing a time-sharing/multitasking operating system that do not occur in the case of a single tasking system.
Question
Explain why the average length of a time slice would be reduced if the processes in an operating system's process table perform lots of I/O operations.
Question
What is the difference between a process that is waiting as opposed to a process that is ready?
Question
Describe how the widespread availability of multi-core processors effects operating systems.
Question
In the sense of the term virtual memory,give an argument that multiprogramming creates virtual CPUs.
Question
Describe the bootstrap process.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/47
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 3: Operating Systems
1
Which of the following is not an attempt to provide security?

A) Passwords
B) Privilege levels
C) Multitasking
C
2
A section of a program that should be executed by at most one process at a time is called a

A) Utility
B) Critical region
C) Privileged instruction
B
3
Which of the following components of an operating system maintains the directory system?

A) Device drivers
B) File manager
C) Memory manager
B
4
Which of the following would be a concern of the file manager in a multi-user computer system that would not be a concern in a single-user system?

A) Maintain records regarding the location of files
B) Maintain records regarding the ownership of files
C) Maintain records regarding the size of files
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following concepts is not associated with critical regions?

A) Semaphores
B) Mutual exclusion
C) Bootstrap
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following items of information would not be contained in an operating system's process table?

A) The location of the memory area assigned to the process
B) The priority of each process
C) Whether the process is ready or waiting
D) The machine language instructions being executed by the process
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following components of an operating system is not part of the kernel?

A) User Interface
B) File manager
C) Scheduler
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
8
Multitasking in a computer with only one CPU is accomplished by a technique called

A) Bootstrapping
B) Batch processing
C) Multiprogramming
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is not a role of a typical operating system?

A) Control the allocation of the machine's resources
B) Control access to the machine
C) Maintain records regarding files stored in mass storage
D) Assist the computer user in the task of processing digital photographs
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following statements is true?

A) Allowing several processes to share time in a multiprogramming system is less efficient than executing each of them to completion one after the other.
B) The use of passwords provides an impenetrable safeguard.
C) Both A and B
D) Neither A not B
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is a technique for controlling access to a critical region?

A) Spooling
B) Time sharing
C) Semaphore
D) Booting
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following events is detrimental to an operating system's performance?

A) Deadlock
B) Interrupt
C) Booting
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following components of an operating system is executed as the result of an interrupt signal?

A) Dispatcher
B) Memory manager
C) File manager
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following components of an operating system handles the details associated with particular peripheral equipment?

A) Device drivers
B) File manager
C) Memory manager
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following is a task that is not performed by the kernel of an operating system?

A) Communicate with the user
B) Schedule processes
C) Allocate resources
D) Avoid deadlock
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following would not require real-time processing?

A) Typing a document with a word processor
B) Navigation of an aircraft
C) Forecasting world-wide trend for the next five year period
D) Maintaining a airline reservation system
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
17
Execution of an operating system is initiated by a program called the

A) Window manager
B) Scheduler
C) Boot loader
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is not involved in a context switch?

A) Interrupt
B) Process table
C) Dispatcher
D) User Interface
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is not a means of performing multiple activities at the same time?

A) Pipeling
B) Multiprogramming
C) Virtual memory
D) Multiple processors
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
20
The end of a time slice is indicted by the occurrence of a signal called

A) An interrupt
B) A semaphore
C) A login
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
21
Which necessary condition for deadlock is removed by each of the following.
A. Require processes to request all required resources at once.
________________________________________________________________
B. Allow only one process at a time in the process table.
________________________________________________________________
C. Take all resources from processes when deadlock occurs and restart the processes.
________________________________________________________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
22
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Executes each time a time slice terminates
B. _______________ Removes entries from the process table
C. _______________ Maintains a record of available mass storage space
D. _______________ Displays icons on the computer screen
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
23
What problem could occur if,to allow more processes to share time in a multiprogramming environment,an operating system is designed to use very short time slices?
________________________________________________________________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
24
Suppose an operating system allocates time slices in 10 millisecond units and the time required for a context switch is negligible.
A. How many processes can obtain a time slice in one second?
____________
B. How many processes can obtain a time slice in one second if half of them use only half of their
slice?
____________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
25
A ______________ is a set of instructions.In contrast,a ________________ is the activity of executing those instructions.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
26
Explain the difference between application software and system software.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
27
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Places new entries in the process table
B. _______________ Performs the actual communication with I/O units
C. _______________ Maintains a record of memory allocations
D. _______________ Protects files from unauthorized access
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
28
What conditions are necessary for deadlock to occur?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
29
Describe a scenario that leads to deadlock in a computer system.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
30
List three popular operating systems.
A. ___________________
B. ___________________
C. ___________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
31
What is meant by the term load balancing in the context of multiprocessor computers?
________________________________________________________________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
32
List three popular smartphone operating systems.
A. ___________________
B. ___________________
C. ___________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
33
What action is performed as a result of executing each of the following types of instructions?
A. Test-and-set ________________________________________
B. Interrupt disable __________________________________________
C. Interrupt enable _______________________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
34
List three features provided by modern CPUs that are used by operating systems to implement multitasking environments.
A. ___________________
B. ___________________
C. ___________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
35
If it takes one microsecond to perform a context switch and processes use only half of their allotted 10 millisecond time slices,what percent of a CPUs time is spent performing context switches rather than executing processes?
____________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
36
Fill in the blanks below with the part on the operating system (file manager,memory manager,device drivers,window manager,scheduler,dispatcher)that performs the activity described.
A. _______________ Maintains a record of what is displayed on the computer's screen
B. _______________ Performs the switching from one process to another
C. _______________ Maintains the directory system
D. _______________ Creates virtual memory
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
37
In each blank below write a term that might be considered the opposite of the term next to the blank.
A. _______________ Interactive processing
B. _______________ System software
C. _______________ Waiting process
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
38
What are privileged instructions?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
39
List four resources whose access an operating system should coordinate.
A. ___________________________
B. _____________________________
C. ___________________________
D. _____________________________
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
40
In contrast to early batch processing techniques,____________________ allows the user to communicate with the computer while the user's application is being executed.In turn,this type of processing requires that the computer's responses to its environment be performed in a timely manner,a requirement known as _______________________ .
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
41
Why is a "test-and-set" instruction included in most machine languages for CPUs designed for multitasking environments?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
42
Describe concerns that occur when designing a time-sharing/multitasking operating system that do not occur in the case of a single tasking system.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
43
Explain why the average length of a time slice would be reduced if the processes in an operating system's process table perform lots of I/O operations.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
44
What is the difference between a process that is waiting as opposed to a process that is ready?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
45
Describe how the widespread availability of multi-core processors effects operating systems.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
46
In the sense of the term virtual memory,give an argument that multiprogramming creates virtual CPUs.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
47
Describe the bootstrap process.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 47 flashcards in this deck.