07 Flashcards

(67 cards)

1
Q

What ring doe the kernel/user run in?

A

ring 0, ring 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ allows continued access to the kernel without the need for repeated verification

A

handle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

_____ user mode programs providing OS interface and functionality

A

Applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

______ documented interface for requesting protected OS services, library of functions used to invoke system calls

A

API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

______ Program consisting of core OS functions designed specifically for interacting with various hardware components

A

Kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

_______ Architecture dependent code

A

Hardware abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_______ An application’s compiled and executable code

A

Executable (image file)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

________ allocated memory requirements for an application, specific data

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

______ identifies the user or system account executing a process

A

account identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

______ component of a process scheduled to run on the cpu

A

thread

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The illusion of performing multiple jobs simultaneously is created by a component of the kernel called _________

A

schedule dispatcher

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The dispatcher uses _____ to effectively schedule between threads until al their work is done

A

context switching

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

on ______ systems are able to perform different jobs simultaneously

A

multi-processor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What ais the information contained by the PCB? (Prcocess control block)
Process _____
Process ____
Process ____
Process ____
CPU ______
Memory _____
Accounting _____
I/O _________
Access ______

A

Process Name
Process ID
Process state
CPU Register
Memory management
accounting information
I/O status information
Access rights

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

_______ creation of a process (Process state)

A

New

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

__________ Process waiting in line to run (Process state)

A

Ready

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

_______ Process instruction being executed (process state)

A

Run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

_______ Process waiting for an event to continue (Process State)

A

Wait

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

________ Terminate [process (process state)

A

end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

__________ gainfully employing the processor

A

CPU utilization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

_______ Number of processes terminated in a set amount of time

A

throughput

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

________ amount of time a process takes before being terminated

A

Turnaround time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

_________ amount of time in the ready queue

A

waiting time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

________ amount of time the process takes to react to the user

A

Response time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
A ______ scheduling algorithm schedules a process to run for a set quantum
Preemptive (P'Qs)
26
_______ each process runs for a quantum and then the next process gets a turn, no thread left behind
round robin
27
_______ The ready queue is divided into sub-queues, each with it's own quantum length. Processes are permanently assigned to one queue based on priority
Multi-level Queue
28
________ The ready queue is divided into sub-queues, each with it's own quantum length, but processes may move between levels with a change to there priority
Multi-level feedback Queue
29
A _____ scheduling algorithm schedules a process to run until the process voluntarily releases the CPU
non-preemptive
30
______ first process run on the cpu until terminated and then, moves on to the following process
First come, first served
31
______ processes are assigned a rough order of magnitude and run on the processor in order of least amount of time to most amount of time and run until terminated
shortest job first
32
A _____ is assigned to each process
Priority
33
_________ occurs due to a process depending on the timely output sequence of another process. If the depended process receives the output out of sequence or in an untimely manner, unanticipated behavior results
Race Conditon
34
_______ occurs when a thread enters a wait state because a requested system resource is held by another waiting thread, which in turn is waiting for another resource held by another thread
Deadlock Condition
35
________ and ________ divert the processor to code outside the current flow of control
interrupts, erxceptions
36
_______ are primarily generated by I/O devices and are (asynchronus)
interrupt
37
______ allow the OS Kernel to control interaction between each interrupts and scheduling with the processor
Interrupt service routines
38
________ sometimes referred to as software intterupts (synchronous)
Execption
39
The OS kernel uses a _______ to take control of interrupts and execptions when they occur.
trap handler
40
The kernel traps the currently executing process/thread and changes its state to wait. This process is referred to as a _____
Trap
41
___________ management uses a concpet known as ________ to divide each process into small chunks
virtual memory, paging
42
Paging also requires ram to be partitioned into equally sized chunks called ________
page frames
43
_________ these virtual addresses are usable by the process's resources in user mode
virtual addresses
44
Every process has a ________
page directory
45
_______ contain page table entries (PTE) Each PTE contains a specific address, known as a page.
Page Tables
46
_______ uses physical disk space to store memory data that is not actively being used in RAM
Swap/Page File
47
excessive swapping is known as ________
thrashing
48
_______ Translates I/O related function calls into specific hardware device requests
Device driver
49
Accepts file oriented I/O requests and translates them into i/O operations destined for the disk
file system driver
50
accepts network I/O requests and translates them into into I/O communications destined for other network devices
Network Driver
51
the ____ is the API for windows device drivers
HAL
52
________ is used to register the rest of the drivers routines with the OS
Initialization Routine
53
_______ Drivers that support Plug n Play implement an add-device routine
add-device routine
54
_______ used to initiate a data transfer to or from a device
Start I/O routine
55
_______ called upon to perform I/O operations; the main function of a device driver
Dispatch Routines
56
_______ interrupt to transfer control
interrupt service routine
57
_______ DPC ends the interrupts and returns to normal scheduling
Deferred Procedure call
58
_______ Device files are located in /dev, drivers use contextual names that applications are not required to use
device naming routine
59
______ Devices are treated as files and use standard system calls to communicate
File Operations
60
______ uses system calls, and transfers data one block at a time
block device files
61
______ uses an interface for interpretation of data when written to or read from a device
character device file
62
_________ is the act of creating a virtual version of something such as a hardware platform
system virtualization
63
virtualization is controlled by a ________ often referred to as a ______
virtual machine monitor, hypervisor
64
________ sits above the hardware and virtualizaes the complete hardware, bare metal, embedded
Type 1 VMM
65
______ runs within an OS, and relies on OS services to manage a hardware
Type 2 VMM
66
breaking out of a vm environment onto host machine is known as a ________
virtual machine escape
67
What commands are used to see if your on a VM or not on windows/linuix?
systeminfo, dmidecode