Chapter 1 Flashcards

(85 cards)

1
Q

What are the 4 components of a computer system?

A

Hardware, CPU, Memory, I/O Devices

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

Define Operating System

A

Controls hardware, similar to government in that it performs no useful function by itself, provides a workable environment

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

what type of OS when user sits in front of PC?

A

Ease of Use

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

what type of OS when user sits at terminal connected to a mainframe or mini-computer?

A

Resource utilization; equal share of CPU time, memory, and I/O devices

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

what type of OS when user sits at work stations and servers?

A

Compromise between ease of use and resource utilization

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

what is resource allocator?

A

especially important where many users access the same mainframe of computer

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

what is control program?

A

control program manages the execution of user programs to prevent errors concerning I/O devices

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

Moore’s Law

A

computers gained in functionality, and shrink in size, and decrease in cost

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

Kernel

A

Os running at all times

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

What are two types of programs?

A

Systems programs and application programs

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

Define Middleware

A

set of software frameworks that provide additional services to application developers

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

what is the initial program of OS?

A

boostrap program

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

R.O.M.

A

Read-only memory; storage that permanently stores data

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

EEPROM

A

electrically erasable programmable read-only memory known as firmware

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

example of firmware

A

smartphones

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

steps of general OS program

A
  1. bootstrap program locates OS kernel + load it into memory
  2. kernel provides services to system and its users
  3. interrupt from hardware or software
  4. CPU is interrupted; stops what it’s doing, and immediately transfers execution to a fixed location (fixed location contains starting address where service routine for interrupt is located)
  5. interrupt service routine executes, then CPU resumes the interrupted computation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Describe interrupts

A
  • need to be handed quickly
  • table of pointers used for speed
  • interrupt vector holds addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

RAM

A

Random access memory (main memory); rewritable and commonly is implemented in a semiconductor technology called dynamic random access memory (DRAM)

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

DRAM

A

dynamic random access memory

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

2 instructions used in storage structure

A

store & load

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

what does load do?

A

load moves a byte or word from main memory to an internal register within CPU

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

what does store do?

A

stores moves the content of a register to main memory

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

2 important reasons that things don’t stay in main memory permanently.

A
  1. main memory is too small to store all data and programs permanently
  2. main memory is a volatile storage device that loses its content when power is switched off
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

what storage holds larger quantities of data permanently?

A

secondary storage such as disks, cache memory, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
which storage systems are volatile?
registers, cache, main memory
26
which storage systems use semi-conductor memory?
registers, cache, main memory, and solid-state disk
27
what storage systems are non-volatile?
solid-state disk, magnetic disk, optical disk, magnetic tapes
28
faster storage system?
registers
29
slower storage system?
magnetic tapes
30
what is an example of solid-state disk
flash memory, seen in cameras (slower than DRAM, but needs no power)
31
NVRAM
Non-volatile DRAM
32
describe a function of cache
caches can be installed to improve performance where a large disparity in access time or transfer rate exists between two components
33
SCSI controller
small computer systems interface; 7+ devices can be attached to it
34
define device controller
device controller maintains some local buffer storage + set of special purpose registers, moves data b/w peripheral devices that it controls + local buffer storage
35
steps of I/O operation
1. to start, device driver loads the appropriate registers within device controller 2. device controller examines the contents of these registers to determine what action to take 3. controller starts transfer of data from device to local buffer 4. once transfer is complete, device controller informs the device driver via and interrupt that it has finished its operation 5. device driver returns control to OS
36
DMA
Direct Memory Address
37
when is DMA more effective?
when some high-end systems use switch rather than bus
38
Other names associated to multiprocessor systems
parallel systems or multicore systems
39
3 main advantages of multiprocessor systems
1. increased throughput (increased number of process, increase work in less time) 2. economy scale (cheaper than multiple single processor systems 3. increased reliability (more processes does not make it shut down, just slows down a bit)
40
Define graceful degradation
ability to continue providing service proportional to level of surviving hardware
41
what are systems that go beyond graceful degradation
fault tolerant (continue operation with a failure of a single component)
42
What are two types of multiprocessing?
1. Asymmetric multiprocessing | 2. symmetric muliprocessing (smp)
43
Describe Asymmetric multiprocessing
each processor is assigned to a specific task, boss processor controls system, workers look to boss for instructions or have predefined tasks
44
Describe Symmetric Multiprocessing
all processes are peers, each processor has its own set of registers, many processes can run simultaneously
45
Define Multicore
multiple computing cores on a single chip , and it uses significantly less power than multiple singlecore
46
blade servers
multiple processor boards, I/O boards, and networking boards, are placed in the same chasis
47
what are clustered systems?
multiprocessor systems, gathers together multiple CPUs
48
define clustering
usually used to provide high availability service, done so by adding a level of redundancy, can be asymmetric or symmetric
49
define asymmetrical clustering
one machine is in hot-standby mode while the other is running applications (hot standby machine only monitors active server, if server fails, hot standby host becomes the active server)
50
define symmetrical clustering
2+ hosts are running applications, more efficient
51
define parallelization
divides a program into separate components that run in parallel on individual computers in the cluster
52
DLM
Distributed lock manager; function that locks to ensure no conflicting operations occur
53
how is multiprogramming beneficial?
increases CPU utilization by organizing jobs so CPU always has one to execute
54
why are jobs initially kept on the disk in job pool
main memory is too small
55
define time-sharing (or multi-tasking)
logical extension of multi-programming and requires an interactive computer system which provides direct communication between user and the system
56
define process
a program loaded into memory and executing
57
define swapping
processes are swapped in and out of main memory to the disk
58
define virtual memory
enables users to run programs that are larger than actual physical memory
59
define trap ( or exception)
software-generated interrupt caused by either an error or specific request from user program
60
what are 2 separate modes of operation?
1. user mode (1) | 2. kernel mode (0): supervisor/privileged/system mode)
61
steps of operation using modes:
1. mode bit is added to the hardware of the computer to indicate current mode 2. distinguish between a task that is executed on behalf of OS or user 2. 5. if user then user mode 2. 5. if OS then step 3 3. system must transmit from user to kernel mode to execute system call
62
purpose of dual mode?
protect OS from errant users, and errant users from each other
63
what are privileged instructions?
they can only be executed in kernel mode, if it attempts in user mode then it treats it as illegal and traps it to OS
64
define timer
timer is set to interrupt computer after a specific period of time in the event of an infinite loop, prevents a user program from running too long
65
define single-threaded process
has one program counter specifying the next instruction to execute
66
define file management
one fo the most visible components of OS
67
define caching
information is temporarily copied into a faster storage system - the cache. the management is an important design problem because of limited size
68
define cache coherency
update a value of 'A' in one cache is immediately reflected in all other caches where 'A' resides
69
how can protection improve reliability?
Detects latent errors at the interfaces b/w component systems
70
Define Bitmaps
string of n binary digits that can be used to represent the status of n items
71
Define disk blocks
medium-sized disk drive divided into several thousand individual units v
72
define accelerometer
detects tilting and shaking of device for augmented reality
73
TCP/IP
most common network protocol
74
LAN
local area network; within room, building
75
WAN
wide area network; cities, countries
76
MAN
Metropolitan-area network; metropolitan
77
PAN
personal-area network; phone to headset
78
define emulation
source CPU type is different from target CPU target
79
VMM
virtual machine manager
80
public cloud
cloud available to anyone willing to pay
81
private cloud
run by company
82
hybrid cloud
both private and public mix
83
SaaS
Software as a service: 1st applications via internet ex. gmail
84
Paas
Platform as a service: software stack ready for application ex. .net
85
Iaas
Infrastructure as a service: servers/storage over internet ex.Icloud