Software & OS Flashcards

(66 cards)

1
Q

What code is directly executable by a processor?

A

Machine Code

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

What code is directly convertible to machine code?

A

Assembly Code

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

What code has minimal abstraction from the processor?

A

Low-Level Code

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

What is high level code?

A

Complete abstraction of the processor.

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

What is firmware?

A

Software embedded in non-volatile memory, such as ROM.

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

What level of code is firmware typically?

A

Machine Code

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

What is an example of software for an information worker?

A

Excel, Access, Word, email

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

What kind of application software are games?

A

Entertainment

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

What is an example of Educational software?

A

Rosetta Stone

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

This type of software is used for experiencing flight

A

Simulation

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

Game development tools are an example of what type of application software?

A

Media Development

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

What does CAD stand for?

A

Computer-Aided Development

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

What is an example of product engineering software?

A

AutoCAD

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

What does IDE stand for?

A

Integrated Development Environment

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

What are some examples of Programming Tools?

A

Compilers, debuggers, interpreters, linkers

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

What is a program or piece of software that is so necessary or desirable that it proves to be the core of some larger technology?

A

Killer App

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

What was the first Killer App?

A

VisiCalc

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

What program is needed to convert Assembly Code to Machine Code?

A

Assembler

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

What are the 3 main OS duties?

A

1) Hardware interface
2) File management
3) Multitasking

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

What program became the kernel?

A

The Monitor

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

Which program is always running on the computer?

A

The Kernel

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

What does the kernel do?

A

Connects the application software to the hardware of a computer.

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

What is the first program to run when a computer is turned on?

A

Bootstrap program

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

What signals an event?

A

Interrupt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are the two most common USES of interrupts?
1) I/O | 2) Time-sharing/ countdown timer
26
What are the two TYPES of interrupts?
1) Polling | 2) Vectored
27
What type of interrupt requires the OS to figure out which I/O device is ready to be read?
Polling
28
What does an interrupt transfer control to?
The Kernel
29
What is an Interrupt Vector
A table of pointers holding addresses for interrupt service routines
30
How does the OS preserve the state of the CPU during an interrupt?
In the registers.
31
What kind of interrupt is triggered by a currently executing instruction?
A Trap
32
Dividing by zero is an example of:
A Trap Interrupt
33
Time-Sharing is the evolution of:
Multiprogramming
34
The OS keeping several programs in memory and switching execution between them is called:
Multiprogramming
35
What are the 2 modes of operation with the OS?
1) User Mode | 2) Kernel Mode
36
What are 3 other ways to say kernel mode?
1) Supervisor Mode 2) System Mode 3) Privileged Mode
37
How is the current OS mode (user, kernel) indicated?
A bit called the mode. User mode = 1, Kernel mode = 0
38
What mode does the computer start in?
Kernel mode
39
When a system call occurs, what happens to the OS mode?
Switches from user to kernel
40
In what mode are privileged instructions executed?
Kernel mode
41
What kind of instruction is I/O control?
Privileged
42
What kind of instruction is Timer Management?
Privileged
43
What kind of instruction is Interrupt Management?
Privileged
44
What kind of instruction is Reading Processor Status?
Non-privileged
45
What kind of instruction is Reading System Time?
Non-privileged
46
What kind of instruction is Context Switching?
Privileged
47
What kind of instruction is Generating a Trap?
Non-privileged
48
What kind of instruction is Sending a Final Printout?
Non-privileged
49
What are the 8 services provided by the OS?
1) Program Execution 2) I/O Operations 3) File System 4) Communications 5) Resource Allocation 6) Accounting 7) Error detection 8) Security
50
What is a system call?
Provides API to services by the OS
51
What are the 6 categories of system calls?
1) Process Control 2) File Management 3) Device Management 4) Information Maintenance 5) Communications 6) Protection
52
What is a process?
Any instance of a program in execution.
53
What specifies the next instruction to execute in a process?
Program Counter
54
Text Section (MEMORY)
The executable code
55
Data Section (MEMORY)
Global variables
56
Heap Section (MEMORY)
Memory that is dynamically allocated during program runtime
57
Stack Section (MEMORY)
Local Variables and temporary storage when invoking functions.
58
What is the highest level of memory?
Stack
59
What is the lowest level of memory?
Text
60
The data section of memory is split up into:
Uninitialized and Initialized data
61
What are the three process states?
1) Running 2) Ready 3) Blocked
62
What can cause a process to enter a blocked state?
An interrupt from an I/O device.
63
What are the 4 sections of memory?
1) Text 2) Data 3) Heap 4) Stack
64
What is a thread?
A unit of work inside a process
65
What does the OS use to stay organized?
Process Control Block (PCB)
66
What is a Process Control Block?
A data structure that holds process information such as instruction address, execution stack, resources, etc