Exam 1 assignment questions Flashcards
In what way is an operating system like a government?
- It seldom functions correctly.
- It creates an environment within which other programs can do useful work.
- It performs most useful functions by itself.
- It is always concerned primarily with the individual’s needs.
It creates an environment within which other programs can do useful work.
\_\_\_\_ operating systems are designed primarily to maximize resource utilization. PC Handheld computer Mainframe Network
Mainframe
The most common secondary storage devices are ____ (choose two).
- magnetic disk
- random access memory
- solid state disks
- tape drives
- magnetic disk
solid state disks, magnetic disk
Which of the following would lead you to believe that a given system is an SMP-type system?
Each processor is assigned a specific task.
There is a boss–worker relationship between the processors.
Each processor performs all tasks within the operating system.
None of the above
Each processor performs all tasks within the operating system.
A ____ can be used to prevent a user program from never returning control to the operating system.
- portal
- program counter
- firewall
- timer
timer
Embedded computers typically run on a ____ operating system.
- real-time
- Windows XP
- network
- clustered
real-time
Bluetooth and 802.11 devices use wireless technology to communicate over several feet, in essence creating a ____.
- local-area network
- wide-area network
- person-area network
- metropolitan-area network
person-area network
A clustered system ____.
- gathers together multiple CPUs to accomplish computational work
- is an operating system that provides file sharing across a network
- is used when rigid time requirements are present
- can only operate one application at a time
gathers together multiple CPUs to accomplish computational work
Which of the following is a property of peer-to-peer systems?
- Clients and servers are not distinguished from one another.
- Separate machines act as either the client or the server but not both.
- They do not offer any advantages over traditional client-server systems.
- They suffer from the server acting as the bottleneck in performance.
Clients and servers are not distinguished from one another.
Two important design issues for cache memory are \_\_\_\_. speed and volatility -size and replacement policy -power consumption and --reusability -size and access privileges
size and replacement policy
What are some other terms for kernel mode?
- supervisor mode
- system mode
- privileged mode
- All of the above
All of the above
Which of the following statements concerning open source operating systems is true?
- Solaris is open source.
- Source code is freely available.
- They are always more secure than commercial, closed systems.
- All open source operating systems share the same set of goals.
Source code is freely available.
Which of the following operating systems is not open source?
- Windows
- BSD UNIX
- Linux
- PCLinuxOS
Windows
A _____ provides a file-system interface that allows clients to create and modify files.
- compute-server system
- file-server system
- wireless network
- network computer
file-server system
A(n) ____ is a custom build of the Linux operating system.
- LiveCD
- installation
- distribution
- VMWare Player
distribution
__________ is a set of software frameworks that provide additional services to application developers.
- System programs
- Virtualization
- Cloud computing
- Middleware
Middleware
Which statement concerning privileged instructions is considered false?
- They may cause harm to the system.
- They can only be executed in kernel mode.
- They cannot be attempted from user mode.
- They are used to manage interrupts.
They cannot be attempted from user mode.
Which of the following statements is false?
- Mobile devices must be concerned with power consumption.
- Mobile devices can provide features that are unavailable on desktop or laptop computers.
- The difference in storage capacity between a mobile device and laptop is shrinking.
- Mobile devices usually have fewer processing cores than a standard desktop computer.
The difference in storage capacity between a mobile device and laptop is shrinking.
A(n) ________ is the unit of work in a system.
- process
- operating system
- timer
- mode bit
process
The two separate modes of operating in a system are
- supervisor mode and system mode
- kernel mode and privileged mode
- physical mode and logical mode
- user mode and kernel mode
user mode and kernel mode
(true/false)The operating system kernel consists of all system and application programs in a computer.
False
(true/false)Flash memory is slower than DRAM but needs no power to retain its contents.
True
(true/false)A system call is triggered by hardware.
False
(true/false)UNIX does not allow users to escalate privileges to gain extra permissions for a restricted activity.
False
(true/false)Processors for most mobile devices run at a slower speed than a processor in a desktop PC.
True
(true/false)Interrupts may be triggered by either hardware of software.
True
(true/false)A dual-core system requires that each core has its own cache memory.
False
(true/false)Virtually all modern operating systems provide support for SMP.
True
(true/false)All computer systems have some sort of user interaction.
False
(true/false)Solid state disks are generally faster than magnetic disks.
True
(true/false)Solid state disks are considered volatile storage.
False
(true/false)There is no universally accepted definition of an operating system.
True
A \_\_\_\_\_ is an example of a systems program. command interpreter web browser text formatter database system
command interpreter
If a program terminates abnormally, a dump of memory may be examined by a ____ to determine the cause of the problem.
- module
- debugger
- shell
- control card
debugger
A message-passing model is ____.
- easier to implement than a shared memory model for intercomputer communication
- faster than the shared memory model
- a network protocol, and does not apply to operating systems
- only useful for small, simple operating systems
easier to implement than a shared memory model for intercomputer communication
Policy ____.
- determines how to do something
- determines what will be done
- is not likely to change across places
- is not likely to change over time
determines how to do something
The major difficulty in designing a layered operating system approach is ____.
- appropriately defining the various layers
- making sure that each layer hides certain data structures, hardware, and operations from higher-level layers
- debugging a particular layer
- making sure each layer is easily converted to modules
appropriately defining the various layers
A microkernel is a kernel ____.
- containing many components that are optimized to reduce resident memory size
- that is compressed before loading in order to reduce its resident memory size
- that is compiled to produce the smallest size possible when stored to disk
- that is stripped of all nonessential components
that is stripped of all nonessential components
To the SYSGEN program of an operating system, the least useful piece of information is _____.
- the CPU being used
- the amount of memory available
- which applications to install
- operating-system options such as buffer sizes or CPU scheduling algorithms
which applications to install
A boot block ____.
- typically only knows the location and length of the rest of the bootstrap program
- typically is sophisticated enough to load the operating system and begin its execution
- is composed of multiple disk blocks
- is composed of multiple disk cylinders
typically only knows the location and length of the rest of the bootstrap program
_____ provide(s) an interface to the services provided by an operating system.
- Shared memory
- System calls
- Simulators
- Communication
System calls