Extra Quiz
Which of the following is not a purpose of an operating system?
Allocating resources to the computer for solving problems
Providing an environment for executing programs
Deciding encoding standards for removable media
Supervising Program execution to check errors
CPUs can have ____.
Only one mode of operation
Two modes of operation
Exactly three modes of operation
Multiple modes of operation
Real-time Operating Systems _____.
Are not time sensitive
Need enforce serious time constraints
Have flexibility of time in system decisions
Have a dual called Unreal-time Operating Systems
Clustered systems are considered to provide high-availability service because _____.
The cluster has units in close proximity, typically within a room
They are available to just about anybody for use
They provide accessibility without authentication
Of a relatively fail-safe by design due to redundancy
The main memory is not suitable for permanent program storage or backup purposes because _____.
It should be reserved for running programs only
It is volatile and susceptible to data loss
The operating system has to be loaded in it
It is expensive
The bootstrap program is stored in _____.
Cache
RAM
ROM
Registers
In asymmetric clustering:
One machine is in hot-standby mode while the other is running the applications
Both the machines keep running in asynchronous communications mode
Both the machines run the applications, one monitoring the other
One machine is in hot-standby mode, running the applications while the other one is in the monitor mode
You can experience multiple operating systems within your own computer through _____.
Emulation
Virtualization
Interpretation
Parallelization
Which of the following might not be a difference between operating systems for mainframe computers and personal computers?
A PC operating system must switch rapidly between different jobs, whereas a batch system may not need to manage time sharing.
Batch Operating Systems have more stringent requirements than OS's for Personal Computers
Batch systems do not have to be concerned with interacting with a user as much as a personal computer
An operating system for a PC must be concerned with response time for an interactive user which is not so much of a consideration in batch systems
VoIP is an example of
Client-Server Network
Peer-to-Peer Network
Hybrid Network
Real-time Network
Operating System cannot be stored on _____.
The cache
A floppy disk
The firmware
A hard disk
Which of the following is not a major activity of an operating system with regard to memory management?
Deciding which processes are to be loaded into memory
Allocate and reallocate memory space as needed
Keeping track of which processes are using which parts of memory currently
Allowing the use of a part of memory as registers
Multiprogramming ______.
Is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks
Consists of those addresses that may be generated by a processor during execution of a computation
Is a method of allocating processor time
Allows multiple programs to reside in separate areas of core at the time
In which of the storage placement strategies a program is placed in the largest available hole in the main memory?
Best fit
First fit
Worst fit
Buddy system
Paging _____.
Is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks
Consists of those addresses that may be generated by a processor during execution of a computation
Is a method of allocating processor time
Allows multiple programs to reside in separate areas of core at the time
Allocating actual physical memory from logical memory requirements of a process is called _____.
Stalling
Address Binding
Thrashing
Virtualization
The following process cannot be swapped out of memory
One with a pending I/O
One making important calculations
One that was brought in just a clock cycle back
None of the above
Average wastage from internal fragmentation
Cannot be determined
Would be one page per running process
Would be half a page per running process
Would be half of the main memory
Which of the following statements is false?
The technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage
Compaction does not involve relocation of programs
Compaction is also known as garbage collection
The system must top everything while it performs the compaction
Fragmentation of the main memory ___.
Occurs only if the memory is used improperly
Can always be prevented
Can be temporarily removed by compaction
Means dividing the locations across various IC chips
Memory chunks of variable sizes can be allocated by _____.
Fragmentation
Paging
Relocation Register
Segementation
The page table is kept in
Page Table Registers
Hard Disk
Main Memory
File System
System calls ____.
Allow the operating system to request services from the users
Call the system up at start time and boot it up
Allow user-level processes to request services of the operating system
Call the I/O devices to a broadcast from the system
Which of the following is not a major activity of an operating system with regard to process management?
The provision of mechanisms for deadlock handling
The invocation of preprocessor directives
The provision of mechanisms for process sychronization
The suspension and resumption of processes
Layered approach to system design ____.
Makes it extremely difficult to debug or modify an operating system
Makes it simple to debug or modify an operating system
Does not affect the modifiablility or capability to debug
Is a concept yet to be realized
A boot manager ____.
Determines which operating system to load
Manages the loading of the operating system from the RAM to the ROM
Manages the loading of the operating system from the ROM to the RAM
Manages the loading of the operating system from the ROM to the hard disk
The main function of the command interpreter is to _______.
Provide easier access to the resources and information
Get and execute the next user-specified command
Make specifying command options and switches more efficient
The ____, selects from among the processes that are ready to execute and allocates the CPU to one of them.
Swapper
Short-term scheduler
Medium-term scheduler
Long-term scheduler
After a _____ system call, one of the two processes typically uses the ____ system call to replace the process's memory space with a new program.
Fork(), pipe()
Pipe(), fork()
Fork(),wait()
Fork(), exec()
A process exists in the 'new' state after a _____.
Newproc()call
Exec()call
Open()call
Fork()call
The first thing that happens in a computer on a cold start is ______.
Bootstrap process
Power on self test
Loading up OS from the hard disk
Loading up the BIOS routines
Which of the following is not one of the states that a process can be in?
Terminated
Contemplating
Ready
Waiting
In the memory of a Single-tasking OS, which of the following may NOT be found?
Performing faster computation
Temporary but fast access storage area
Storing configuration information
Use as an input buffer
A socket comprises of ____ and _____.
Producer, Consumer
TCP, UDP
Server, Client
IP address, port
{"name":"Extra Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which of the following is not a purpose of an operating system?, CPUs can have ____., Real-time Operating Systems _____.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}