Operating Systems

Which of the following operating systems is not open source?
Windows
Bsd unix
Pclinuxos
Linux
Bluetooth and 802.11 devices use wireless technology to communicate over several feet, in essence creating a (blank)
Personal-area network
Local-area network
Metropolitan-area network
Wide-area network
A (blank) is a custom build of the linux operating system
Installation
Vmware player
Distribution
Livecd
A clustered system (blank)
Gathers together multiple CPUs to accomplish computational work
Is an operating system that provides file sharing across a network
Can only operate one application at a time
Is used when rigid time requirements are present
The operating system kernel consists of all system and application programs in a computer
True
False
A system call is triggered by hardware
True
False
Embedded computers typically run on a (blank) operating system
Real-time
Network
Windows XP
Clustered
In what way is an operating system like a government?
It is always concerned primarily with the individual's needs.
It performs most useful functions by itself
It creates an environment withing which other programs can do useful work
It seldom functions correctly
Interrupts may be triggered by either hardware or software
True
False
Which of the following is a property of peer-to-peer systems?
Separate machines act as either the client of the server but not both
They suffer from the server acting as the bottleneck in performance
They do no offer any advantages over traditional client-server systems
Clients and servers are not distinguished from one another.
Policy (blank)
Is not likely to change over time
Determines how to do something
Determines what will be done
Is not likely to change across places
Microkernels use (blank) for communication
Message passing
Virtualization
System calls
Shared memory
The the SYSGEN program of an operating system, the least useful piece of information is (blank)
What application to install
Operating system options such as buffer sizes or CPU scheduling algorithms
Amount of memory available
The CPU being used
A microkernel is a kernel (blank)
That is compiled to produce the smallest size possible when stored to disk
That is stripped of all nonessential components
Containing many components that are optimized to reduce resident memory size
That is compressed before loading in order to reduce its resident memory size
Which of the following statements is incorrect?
Operating systems must provide both protection and security
An operating system manages system resources
Operating systems provide both command line as well as graphical user interfaces
An operating system provides an environment for the execution of programs
The major difficulty in designing a layered operating system approach is (blank)
Debugging a particular layer
Appropriately defining the various layers
Making sure each layer is easily converted to modules
Making sure that each layer hides certain data structures, hardware, and operations from higher-level layers
(blank) allow operating system services to be loaded dynamically
Modules
Virtual machines
File systems
Graphical user interfaces
The list of processes waiting for a particular I/O device is called a(n) (blank)
Standby queue
Device queue
Interrupt queue
Ready queue
For a single-processor system, there will never be more than one process in the Running state.
True
False
When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process?
The child process runs concurrently with the parent
The child is a duplicate of the parent
The child process has a new program loaded into it
All of these
The ____ of a process contains temporary data such as function parameters, return addresses, and local variables.
Data section
Stack
Text section
Program counter
A _________________ saves the state of the currently running process and restores the state of the next process to run.
Context switch
Save-and-restore
State switch
None of these
A process may transition to the Ready state by which of the following actions?
Newly-admitted process
All of these
Awaiting its turn on the CPU
Completion of an I/O event
The difference between a program and a process is that a program is an active entity while a process is a passive entity.
False
True
The _____________ refers to the number of processes in memory.
CPU scheduler
Long-term scheduler
Degree of multiprogramming
Process count
A process control block ____
Is an example of a process queue
Include information on the process's state
Stores the address of the next instruction to be processed by a different process
Determines which process is to be executed next
When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process?
The child process has a new program loaded into it.
The child process runs concurrently with the parent.
All of these
The child is a duplicate of the parent.
The exec() system call creates a new process.
False
True
The Mach operating system treats system calls with message passing.
True
False
When communicating with sockets, a client process initiates a request for a connection and is assigned a port by the host computer. Which of the following would be a valid port assignment for the host computer?
1625
21
80
23
A(n) ______________ allows several unrelated processes to use the pipe for communication.
LIFO
Anonymous pipe
Named pipe
Ordinary pipe
Which of the following statements is true?
Message passing is most useful for exchanging large amounts of data.
Message passing is typically faster than shared memory.
Shared memory is far more common in operating systems than message passing.
Shared memory is typically faster than message passing.
Imagine that a host with IP address 150.55.66.77 wishes to download a file from the web server at IP address 202.28.15.123. Select a valid socket pair for a connection between this pair of hosts.
150.55.66.77:80 and 202.28.15.123:3500
150.55.66.77:80 and 202.28.15.123:80
150.55.66.77:2000 and 202.28.15.123:80
150.55.66.77:150 and 202.28.15.123:80
The ________ application is the application appearing on the display screen of a mobile device.
Main
Display
Background
Foreground
A process that has terminated, but whose parent has not yet called wait(), is known as a ________ process.
Zombie
Terminated
Init
Orphan
The _______ process is assigned as the parent to orphan processes.
Main
Init
Zombie
Renderer
Thread-specific data is data that
Is not associated with any process
Is generated by the thread independent of the thread's process
Has been modified by the thread, but not yet updated to the parent process
Is copied and not shared with the parent process
In Pthreads, a parent uses the pthread_join() function to wait for its child thread to complete. What is the equivalent function in Win32?
WaitForSingleObject()
Win32_join()
Join()
Wait()
The most common technique for writing multithreaded Java programs is _____.
Extending the Thread class and overriding the run() method
Using the CreateThread() function
Implementing the Runnable interface and defining its run() method
Designing your own Thread class
Which of the following statements regarding threads is false?
Both Pthreads and Win32 threads share global data.
The Java method join() provides similar functionality as the WaitForSingleObject in Win32.
The start() method actually creates a thread in the Java virtual machine.
Sharing is automatically provided in Java threads.
Windows uses the ___
Many-to-one model
one-to-one model
many-to-many model
One-to many-model
The _____ model maps many user-level threads to one kernel thread.
two-level
One-to-one
many-to-one
Many-to-many
Pthreads refers to ____.
A specification for thread behavior.
An API for process creation and synchronization.
an implementation for thread behavior.
the POSTFIX standard.
Each thread has its own register set and stack.
True
False
{"name":"Operating Systems", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which of the following operating systems is not open source?, Bluetooth and 802.11 devices use wireless technology to communicate over several feet, in essence creating a (blank), A (blank) is a custom build of the linux operating system","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker