Question: ____________________ abstracts main memory into a large, uniform array of storage, separating logical memory as viewed by the user from physical memory, which enables users
____________________ abstracts main memory into a large, uniform array of storage, separating logical memory as viewed by the user from physical memory, which enables users to run programs that are larger than actual physical memory.
Question 20 options:
|
|
Virtual memory
|
|
|
Hard disk
|
|
|
Main memory
|
|
|
Cache
|
|
|
None of the above
|
Question 21 (1 point)
In order to ensure the proper execution of the operating system, we must be able to distinguish between the execution of operating-system code and user-defined code. So we need two separate modes of operation into: _____________________ .
Question 21 options:
|
|
virtual memory mode and physical memory mode
|
|
|
single-user mode and multi-user mode
|
|
|
time-shared mode and multi-programmed mode
|
|
|
user mode and kernel mode
|
|
|
None of the above
|
Question 22 (1 point)
A ____________ is a passive entity, such as a file containing a list of instructions stored on disk (often called an executable file). In contrast, a ___________ is an active entity, with a program counter specifying the next instruction to execute and a set of associated resources. A program becomes a process when an executable file is loaded into memory.
Question 22 options:
|
|
program, process
|
|
|
process, program
|
|
|
memory, hard disk
|
|
|
virtual memory, physical memory
|
|
|
None of the above
|
Question 23 (1 point)
Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process. This task is known as a ________________.
Question 23 options:
|
|
process scheduling
|
|
|
context switch
|
|
|
memory allocation
|
|
|
long-term scheduler
|
|
|
None of the above
|
Question 24 (1 point)
What are the two fundamental models of inter-process communication?
Question 24 options:
|
|
shared memory and message passing
|
|
|
cooperating and independent
|
|
|
parent and child
|
|
|
virtual and physical
|
|
|
None of the above
|
Question 25 (1 point)
Process priority could be changed by using ____________ command.
Question 25 options:
|
|
fg
|
|
|
bg
|
|
|
ps
|
|
|
nice
|
|
|
None of the above
|
Question 26 (1 point)
Identify the command used to quit vim without saving, if changes have been made to the file.
Question 26 options:
|
|
wq
|
|
|
:q!
|
|
|
:w
|
|
|
:q
|
|
|
None of the above
|
Question 27 (1 point)
The command used in vim to copy the entire line the cursor is located on, into the paste buffer is ________________.
Question 27 options:
|
|
dd
|
|
|
yy
|
|
|
d$
|
|
|
y$
|
|
|
None of the above
|
Question 28 (1 point)
To search a string "final" in the FORWARD direction in vim, you would type: ___________.
Question 28 options:
|
|
/final
|
|
|
?final
|
|
|
%final
|
|
|
s/final
|
|
|
None of the above
|
Question 29 (1 point)
To execute an external command in vim, you should ______________?
Question 29 options:
|
|
type :! followed by the command in command mode
|
|
|
type :! followed by the command in insert mode
|
|
|
type :! followed by the command in visual mode
|
|
|
you cannot execute an external command in VIM
|
|
|
None of the above
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
