Final Exam Flashcards
(123 cards)
True or False: As a concept, virtual machines can exist outside and inside the operating system.
False
True or False: We do not need hardware and software to be able to store data persistently
False
Each process accesses its own private: Select one: a. Virtual machine b. Virtual source code c. Virtual address space d. Virtual client
Virtual address space
Why did Linus Torvalds borrow UNIX concept, but not the code? Select one: a. Too complex b. Non-existent c. Too insecure d. Legal reasons
Legal reasons
True or False: When a program runs, the primary goal is to make the system easy to use.
True
Memory is just an array of bytes; to read memory, one must specify \_\_\_\_\_\_\_ to be able to access the data stored there. Select one: a. Location b. Address c. Structure d. The Byte
Address
True or False: Programs are always accessing memory.
True
A running program does the following: Select one: a. Executes code b. Executes instructions c. Executes commands d. Executes source code
Executes instructions
To write (or update) memory, one must also specify \_\_\_\_\_\_ to be written to the given address? Select one: a. Library b. Address c. The data d. Thread
The data
What other name is an OS sometimes called: Select one: a. Resource manager b. Administrator c. Executor d. Master Control Program
Resource manager
True or False: PIDS are used to name processes in the UNIX O/S.
True
True or False: The process list is a data structure.
True
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX: Select one: a. NTCreateProcess() b. process() c. fork() d. getpid()
fork()
The process states include all of the following except: Select one: a. Blocked b. Stopped c. Ready d. Running
stopped
What technique uses the OS to create an illusion by virtualizing the CPU and running one process, then stopping it and running another? Select one: a. Virtualization b. Context switch c. Scheduling d. Time sharing
Time sharing
What system call is used to send signals to a process, including directives to go to sleep, or die: Select one: a. API b. fork() c. kill () d. wait ()
kill()
A parent can be made to wait for a child process to finish what it has been doing by which command? Select one: a. PID b. Hello World c. Prompt > d. wait() system call
wait() system call
In early (or simple) operating systems, the loading process is done: Select one: a. One at a time b. Eagerly c. In groups d. At compile time
Eagerly
True or False: The natural counterpart of time sharing is space sharing, where a resource is divided (in space) among those who wish to use it.
True
Which of the following statements is incorrect?
Select one:
a. An operating system provides an environment for the execution of programs.
b. An operating system manages system resources.
c. Operating systems provide both command line as well as graphical user interfaces.
d. Operating systems must provide both protection and security.
Operating systems provide both command line as well as graphical user interfaces.
True or False: The shell is just a user program.
True
A process may transition to the Ready state by which of the following actions? Select one: a. Completion of an I/O event b. Awaiting its turn on the CPU c. Newly-admitted process d. All of the above
All of the above
All of the following are Machine States except: Select one: a. Address space b. Registers c. Memory d. API
API
This system call is useful when you want to run a program that is different from the calling program: Select one: a. API b. fork() c. exec() System Call d. wait ()
exec() System Call