• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/45

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

45 Cards in this Set

  • Front
  • Back
The operating system determines when and how long a process runs.
True
Microsoft’s first operating system MS-DOS was a reworked and expanded version of this OS purchased from Seattle Computer Products.
Q-DOS
The process control block maintains "open file" status that is always current.
True
On a multicore CPU system, threads can run concurrently and in parallel. However, on a single core CPU system threads can only run in parallel.
False
A Thread Control Block (TCB) stores:

-Open file descriptors
-Memory map
-User (owner) ID
-The machine states (registers, program counter)
-None of the others
The machine states (registers, program counter)
Which process state transition is not valid?

-Running -> Ready
-Blocked -> Running
-Ready -> Running
-Running -> Blocked
Blocked -> Running
Local variables are stored in what area of the process control block memory?
The stack memory area.
Which variables are separate for each process thread?
Local variables
Every thread in your process is started by code in your process.
False
Which event does not take a process to a ready state?
Process creation
Within the process control block, a threads CPU register data is updated when then thread is removed from the running state.
True
Every Process has at least one thread.
True
Which of the following is not part of a process control block?

-Process Text/Code
-Process Scheduler
-Process Data
-Process Heap
-Process Stack
Process Text/Code
What process state must a thread be in for the operating system scheduler to place it into the running state?

-New State
-Running State
-Ready State
-I/O Wait State
-None of the others
Ready State
The PS3 from Sony is a member of which Operating System Family?
Unix
The protection and security system API calls are identical across all operating systems.
False
Process code loaded into memory can be executed by multiple threads.
True
What are the two primary user input methods of an OS?

-CLI and Batch methods
-GUI and specialized controller input devices
-CLI and GUI methods
-None of the above
CLI and GUI methods
There are four benefits to multithreaded programming. Which of these is incorrect?

-Responsiveness
-Scalability
-Economy
-Resource Sharing
-Eliminates Concurrency
Eliminates Concurrency
Which of these is NOT information maintenance related?

-Get/Set process, file, device attributes
-Get/Set date or time
-Create/Terminate Process
-Get/Set System Data
-None of the others
Create/Terminate Process
From a resource management point of view, which one of the following is the OS primarily designed for?

-Conceal complexity from user
-Ease of use
-Support plug-n-play peripherals
-Allocation, management and protection of system resources
-None of the others
Allocation, management and protection of system resources
A process enters a "suspended" state when it attempts to access data or code that is not currently loaded in system (RAM) memory.
True
From the user point of view, which of the following is the OS primarily designed?

-Application responsiveness
-Hide system complexities
-Support required peripherals
-All of the above
All of the above
When a parent process spawns a child thread, what execution possibility does the parent process have?

-Retrieve the detachable thread return value upon thread exit.
-None of the others
-Wait for operating system to preempt running of the child thread
-Join and wait for the detachable thread to exit.
-Wait for the child thread to finish or continue parent execution
Wait for the child thread to finish or continue parent execution
Servers are tuned to increase user responsiveness, at the cost of batch processing efficiency.
False
Which of these is not one of the major categories of system calls?

-Device Manipulation
-File Manipulation
-Process execution execution control
-Protection and security
-None of the above
None of the Above
A process must have all of its code and data loaded in memory in order to begin execute.
False
There are multiple functional categories of operating system calls. Which of the following is not one of those categories?

-Resource Allocation
-Hardware Redundancy
-I/O Operations
-Protection and Security
-None of the others
Hardware Redundancy
What processes are in the ready queue?
Process loaded and ready to execute.
Which of the following is not a reason for a child process to terminate?
The child process has enter the I/O wait state.
Once a deadlock has occurred one method to solve it is to ?

-Choose a victim thread and force them to release -their resource
-Use the bankers algorithm
-Invoke the medium schedular
Choose a victim thread and force them to release their resource
Signal Processing is best done with this threading model?

-Boss / Worker
-Peer
-Pipe Line
-None of the above
Pipe Line
Which action will not recover a process from deadlock?

-Wait for resource to be released by other threads
-Terminate user process and restart
-Terminate threads holding onto resources
-Restart Machine
-None of the others
Wait for resource to be released by other threads.
The run-time mapping from virtual to physical address is done by a hardware device called the memory-management unit (MMU).
True
Virtual memory allows a job to run while NOT completely in memory and to run programs that are larger than physical memory.
True
With ____________ virtual memory, pages are only loaded when they are needed during program execution; pages that are never accessed are never loaded into physical memory.

-Selection Paging
-Demand Paging
-Segment Paging
-Request Paging
-None of the above
Demand Paging
Segments are allocated using a fit algorithm, which of these is considered the least efficient?

-Best Fit
-Worst Fit
-First Fit
Worst Fit
Which of the following is not one of the four conditions need to have dead lock?

-System Preemption
-Non Preemption
-Circular Wait
-Mutual Exclusion
-Hold and wait for resources
System Preemption
What does no preemption mean?
If a process holds a resource and is preempted by the CPU all resources held stay held until the process runs again.
Task level parallelism breaks the process into threads based on _________

-Data
-Functional Code
-Process Type
-None of the others
Functional Code
Paging is a memory-management scheme that permits the physical address space of a process to be noncontiguous.
True
The bankers algorithm is used to control multiple instances of _______ to control deadlocks.
A Resource
Worker threads can only be spawned in a Pool
False
This threading model is best of data that is well defined data set
Peer
Which one of the following conditions is not required for deadlock to occur?

-Not Circular Wait
-Hold and Wait
-No Preemption
-Mutual Exclusion
-None of the above.
None of the Above.