Deck 25: Operating System and Memory Management
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/25
Play
Full screen (f)
Deck 25: Operating System and Memory Management
1
The backing store is generally a___________
A)fast disk
B)disk large enough to accommodate copies of all memory images for all users
C)disk to provide direct access to the memory images
D)all of the mentioned
A)fast disk
B)disk large enough to accommodate copies of all memory images for all users
C)disk to provide direct access to the memory images
D)all of the mentioned
all of the mentioned
2
Memory management technique in which system stores and retrieves data from secondary storage for use in main
A)fragmentation
B)paging
C)mapping
D)None of the mentioned
A)fragmentation
B)paging
C)mapping
D)None of the mentioned
paging
3
A Process Control Block(PCB) does not contain which of the following?
A)Code
B)Stack
C)Bootstrap Program
D)Data
A)Code
B)Stack
C)Bootstrap Program
D)Data
Bootstrap Program
4
Which of the following condition(s) is/are required for a deadlock to be possible?
A)mutual exclusion
B)a process may hold allocated resources while awaiting
C)no resource can be forcibly removed from a process
D)All of the mentioned
A)mutual exclusion
B)a process may hold allocated resources while awaiting
C)no resource can be forcibly removed from a process
D)All of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
To avoid deadlock___________
A)there must be a fixed number of resources to
B)resource allocation must be done only
C)all deadlocked processes must be
D)inversion technique can be used
A)there must be a fixed number of resources to
B)resource allocation must be done only
C)all deadlocked processes must be
D)inversion technique can be used
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
What is the mounting of file system?
A)creating of a filesystem
B)deleting a filesystem
C)attaching portion of the file system into a directory
D)removing the portion of the file system into a directory structure
A)creating of a filesystem
B)deleting a filesystem
C)attaching portion of the file system into a directory
D)removing the portion of the file system into a directory structure
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
Data cannot be written to secondary storage unless written within a___________
A)file
B)swap space
C)directory
D)text format
A)file
B)swap space
C)directory
D)text format
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
The larger the block size, the the internal fragmentation.
A)greater
B)lesser
C)same
D)none of the mentioned
A)greater
B)lesser
C)same
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
With a shared file___________
A)actual file exists
B)there are two copies of the file
C)the changes made by one person are not reflected to the
D)the changes made by one person are reflected to the other
A)actual file exists
B)there are two copies of the file
C)the changes made by one person are not reflected to the
D)the changes made by one person are reflected to the other
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
What is operating system?
A)collection of programs that manages hardware resources
B)system service provider to the application programs
C)link to interface the hardware and application programs
D)all of the mentioned
A)collection of programs that manages hardware resources
B)system service provider to the application programs
C)link to interface the hardware and application programs
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
To access the services of operating system, the interface is provided by the
A)System calls
B)API
C)Library
D)Assembly instructions
A)System calls
B)API
C)Library
D)Assembly instructions
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Which one of the following is not true?
A)Kernel is the program that constitutes the central core of the operating system
B)kernel is the first part of operating system to load into memory during booting
C)kernel is made of various modules which cannot be loaded in running operating system
D)kernel remains in the memory during the entire computer session
A)Kernel is the program that constitutes the central core of the operating system
B)kernel is the first part of operating system to load into memory during booting
C)kernel is made of various modules which cannot be loaded in running operating system
D)kernel remains in the memory during the entire computer session
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
Which one of the following error will be handle by the operating system?
A)Power failure
B)lack of paper in printer
C)connection failure in the network
D)all of the mentioned
A)Power failure
B)lack of paper in printer
C)connection failure in the network
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
The main function of the command interpreter is
A)to get and execute the next user-specified command
B)to provide the interface between the API and application program
C)to handle the files in operating system
D)none of the mentioned
A)to get and execute the next user-specified command
B)to provide the interface between the API and application program
C)to handle the files in operating system
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
By operating system, the resource management can be done via
A)time division multiplexing
B)space division multiplexing
C)both time and space division multiplexing
D)none of the mentioned
A)time division multiplexing
B)space division multiplexing
C)both time and space division multiplexing
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
If a process fails, most operating system write the error information to a ______
A)log file
B)another running process
C)new file
D)none of the mentioned
A)log file
B)another running process
C)new file
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Which one of the following is not a real time operating system?
A)VxWorks
B)Windows CE
C)RTLinux
D)Palm OS
A)VxWorks
B)Windows CE
C)RTLinux
D)Palm OS
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
The OS X has ____________
A)monolithic kernel
B)hybrid kernel
C)microkernel
D)monolithic kernel with modules
A)monolithic kernel
B)hybrid kernel
C)microkernel
D)monolithic kernel with modules
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
The systems which allows only one process execution at a time, are called
A)uniprogramming systems
B)uniprocessing systems
C)unitasking systems
D)none of the mentioned
A)uniprogramming systems
B)uniprocessing systems
C)unitasking systems
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
In operating system, each process has its own
A)address space and global variables
B)open files
C)pending alarms, signals and signal handlers
D)all of the mentioned
A)address space and global variables
B)open files
C)pending alarms, signals and signal handlers
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
In Unix, Which system call creates the new process?
A)fork
B)create
C)new
D)none of the mentioned
A)fork
B)create
C)new
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
A process can be terminated due to
A)normal exit
B)fatal error
C)killed by another process
D)all of the mentioned
A)normal exit
B)fatal error
C)killed by another process
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
What is the ready state of a process?
A)when process is scheduled to run after some execution
B)when process is unable to run until some task has been completed
C)when process is using the CPU
D)none of the mentioned
A)when process is scheduled to run after some execution
B)when process is unable to run until some task has been completed
C)when process is using the CPU
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
What is interprocess communication?
A)Communication within the process
B)communication between two process
C)communications between two threads of same process
D)none of the mentioned
A)Communication within the process
B)communication between two process
C)communications between two threads of same process
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
A set of processes is deadlock if
A)each process is blocked and will remain so forever
B)each process is terminated
C)all processes are trying to kill each other
D)none of the mentioned
A)each process is blocked and will remain so forever
B)each process is terminated
C)all processes are trying to kill each other
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck