Shared Flashcard Set

Details

Operating Systems Quiz1
dfsdf
26
Computer Science
Undergraduate 2
06/07/2009

Additional Computer Science Flashcards

 


 

Cards

Term
From the user's point of view, which of the following is the OS mostly designed?
Definition
Ease of use
Term
From the computer's point of view, which of the following is the OS designed?
Definition
Hardware
Term
In the single processor system there is only one general purpose, what are the other processors used for?
Definition
other processors must be special purpose
(keyboard, mouse)
Term
Which of the follow is an advantage of a multi-processor system?
Definition
Increased throughput
economy of scale
increased reliability
Term
Which of the following are types of multi-processor system?
Definition
Asymmetric multiprocessing
Symmetric multiprocessing
Term
What is the goal of multiprogramming?
Definition
to keep the CPU working by organizing code and data so the CPU always has something to execute
Term
Why does the CPU switch between multiple jobs in a Time Sharing OS?
Definition
the CPU switches frequently between multiple jobs so that users can interact with each program while it is running
Term
Why does a Time Sharing OS use CPU scheduling and multiprogramming?
Definition
to provide each user a small portion of the system simultaneously.
Term
What is a process?
Definition
A program loaded into memory and executing
Term
If several jobs are ready to be brought into memory and there is not enough memory for all of them, what is used?
Definition
job-scheduling code
Term
What does Virtual memory allow?
Definition
a job to run while not completely in memory and to run programs that are larger than physical memory.
Term
Modern OS's are ________ driven?
Definition
interrupt
Term
Which two operating modes are, at the very least, required to ensure proper executing of the OS?
Definition
user mode
kernel mode
(supervisor, system, privileged)
mode bit indicates which mode it is in.
kernel(0) user (1)
Term
When a process executes a system call, what mode is the system in?
Definition
Kernel mode
Term
What can we use to prevent a user program from returning control to the OS?
Definition
When stuck in an infinite loop, or failing to call system services. We can fix this by using a timer – set to interrupt the computer after a specified period
Term
Which of the following does a process need?
Definition
CPU time, memory, files, and I/O devices
Term
Which of the following activities is the OS NOT responsible for in connection to memory management?
Definition
Keeping track of which parts of memory are currently being used and by whom

Deciding which processes (or parts thereof) and data to move into and out of memory

Allocating and de-allocating memory space as needed

Term
Which of the following operating system services is helpful for ensuring efficient operation of the system?
Definition
Resource allocation
Accounting
Protection and security
Term
Which of the following operating system services is helpful for the user?
Definition
User Interface
Program execution
I/O operations
File-system manipulation
Communications
Error Detection
Term
What fundamental approaches to user interfaces are used with OS’s?
Definition
Command-line interface (MS_DOS)

GUI (graphical user interface)

Term
Which of these is one of the major categories of system calls?
Definition
Process Control
File Manipulation
Device Manipulation
Information Maintenance
Communications
Protection
Term
Which of these is process control related?
Definition
end, abort
load, execute
create process, terminate process
get process attributes, set process atrributes
wait for time
wait event, signal event
allocate and free memory
Term
Which of these is file management related?
Definition
create/delete file
open, close
read, write, reposition
get/set file attributes
Term
Which of these is device management related?
Definition
request/release device
read, write, reposition
get/set device attributes
attach/detach devices
Term
Which of these is information maintenance related?
Definition
get/set time or date
get/set system data
get/set process, file, or device attributes
Term
Which of these is communication related?
Definition
Create/delete connection
send/recieve messages
transfer info
attach/detach remote devices
Supporting users have an ad free experience!