COSC3360 EXAM1

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/123

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:11 AM on 9/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

124 Terms

1
New cards

basic elements of OS

processor, I/O, main memory, system bus

2
New cards

what does processor do

this 1) controls the operation of the computer and 2) performs data processing functions

3
New cards

processor aka

CPU aka

4
New cards

what does main mem do

this stores data and programs

5
New cards

what is the one thing about main mem when a comp is shut down

when comp is shut down, contents of mem is lost

6
New cards

main mem aka

real mem/ primary mem aka

7
New cards

what do I/O modules do

they move data btwn comp and its external environment

8
New cards

what does system bus do

this provides for comms among processors, main mem and I/O modules

9
New cards

what is microprocessor

it is a processor on a single chipwh

10
New cards

what is GPU

this is graphical processing unit

11
New cards

what does GPU do

this provides efficient computation on data using SIMD techniques

12
New cards

GPU usage is found in (something really common these days)

AI uses this kind of unit

13
New cards

what is DSP

this is digital signal processor

14
New cards

what does DSP do

this deals w streaming signals like audio or vid, encoding/ decoding speech and vid, provide support for encryption and security

15
New cards

DSP is now (found in handheld devices)

this is now first-class computational device

16
New cards

where is set of instructions stored

a set of instructions stored in mem

17
New cards

two steps to executing instruction

the steps to instr execution are 1) processor fetches instr from mem and 2) processor executes

18
New cards

what is function of program counter

the func of this is to hold address of the next instr to be fetched

19
New cards

what happens to pc after each fetch

after each fetch, this is incremented

20
New cards

where does fetched instr go

this goes or gets loaded into instruction register IR

21
New cards

what are interrupts

they affect the normal sequencing of processor

22
New cards

goal of interrupt

the goal of this is to improve processor utilization

23
New cards

reasons for using interrupts

reasons for using this: most I/O devices slower than processor and therefore processor must wait, resulting in wasteful use of processor

24
New cards

classes of interrupts:

the classes of this are program, timer, I/O, and hardware failure

25
New cards

program interrupt is

this type of interrupt is when an error w instr execution like calculation, illegal instr, or data overflow

26
New cards

time interrupt is

this type of interrupt is generated by a timer within the processor

27
New cards

I/O interrupt is

this type of interrupt is generated by I/O controller/ devices like completion of operation or to signal error

28
New cards

hardware failure interrupt is

this type of interrupt is generated by a failure like power failure or mem error

29
New cards

what happens when hardware interrupts

processor finishes executing current instr, acknowledges interrupt, pushes PSW and PC onto control stack, and loads new PC value

30
New cards

what happens when software interrupts

remainder of process state info is stored, then process interrupt, restore process state info, and restore PSW and PC

31
New cards

two approaches to when an interrupt occurs while another interrupt is being processed

1) disabled interrupts when one is being processed or 2) priority scheme

32
New cards

faster access time in mem means

faster access time in this means greater cost

33
New cards

greater mem capacity

large capacity of this means smaller cost and slower access speed

34
New cards

going down the mem hierarchy

decreasing cost, increasing capacity, increasing access time, decreasing frequency of access to mem by processor

35
New cards

principle of locality is

this principle is how close processor is to mem

36
New cards

what is secondary mem

this aka auxillary mem or external mem

37
New cards

what does secondary mem store

this type of mem stores program and data files

38
New cards

characteristics of cache mem

this type of mem is invisible to OS

interacts w other mem management hardware

exploits principle of locality with a small and fast mem

39
New cards

cache mem regarding processor

this type of mem, processor must access it at least once per instr cycle and processor execution is limited by mem cycle time

40
New cards

smaller caches have … impact on performance

this type of mem has significant impact on performance

41
New cards

what is block size

this is unit of data exchanged btwn cach and main mem

42
New cards

characteristics of cache mem

cache size, block size, number of cache levels, write polity, mapping function and replacement algorithm

43
New cards

what is mapping function in cache mem

this func in cache mem determines which cache location the block will occupy

44
New cards

how does cache replacement algorithm work

this algorithm works by choosing which block to replace when a new block is to be loaded into cache using LRU (least recently used) technique

45
New cards

what is write policy in cache mem

this in cache mem determines when mem write operation takes place

46
New cards

when can mem write operation occur

this operation can happen every time block is updated or replaced

47
New cards

when the processor sees an instr relating to I/O

when this happens, the processor executes accordingly to the appropriate I/O module

48
New cards

types of techniques to execute instr relating to I/O

programmed, interrupt driven or DMA (direct mem access)

49
New cards

programmed I/O works by

this type of I/O performs the requested action and periodically checks status of I/O module until instr is complete; severely degrades performance level of entire system

50
New cards

interrupt-driven I/O works by

this type of I/O works by processor issuing an I/O command, go on to do other work and when I/O is ready to exchange data w processor, it interrupts the prog, processor then executes that I/O and resumes its former processing

51
New cards

drawback of interrupt-driven I/O

the drawback of this is that transfer rate is limited by speed of which processor can test and service a device

52
New cards

DMA I/O works by

this type of I/O works by processor issuing a command to DMA module when processor wants to read or write data

53
New cards

what does a command to DMA from processor need to have regarding I/O

this command from this to this needs: read/ write request, address of I/O device involved, starting location in mem to read/write and number of works to read/write (this whole process is done by a separate module on system bus or incorporated into I/O module)

54
New cards

one thing ab DMA I/O is

entire block of data is directly transferred to and from mem without going thru processor; processor only involved at beginning and end of transfer

55
New cards

DMA is most efficient compared to interrupt-driven and programmed I/O

DMA is most efficient compared to interrupt-driven and programmed I/O

56
New cards

characteristics of symmetric multiprocessors (SMP)

this kind has two or more similar processors, processors share same main mem and connected by a bus, processors share access to I/O devices, and all processors can perform same functions

57
New cards

pros of SMP

pros of this are: greater perf, at different price point is its according perf, failure of a single processor does not halt machine, additional processor can enhance perf

58
New cards

multicore computer aka

aka chip multiprocessor

59
New cards

what is it about multicore computer

this kind of computer has two or more processors (cores) on a die

60
New cards

each core in multicore comp has

this in multicore comp has all the components of an independent processor

61
New cards

what is operating system

this system controls execution of application progs

62
New cards

ISA stands for

this stands for Instruction set arch

63
New cards

ABI stands for

this stands for app binary interface

64
New cards

API stands for

this stands for app programming interface

65
New cards

the OS is repsonsible for (as a resource manager)

it is responsible for controlling the use of a computer’s resources (as a resource manager)

66
New cards

what are the desirable hardware features

the desirable ___ware features are memory protection, timer, privileged instructions, and interrupts

67
New cards

what are the two modes of operation

the two modes of this are user mode and kernel mode

68
New cards

what happens in user mode of operation

in this mode of operation, certain areas of memory are protected and certain instructions may not be executed

69
New cards

what happens in kernel mode of operation

in this mode of operation, privileged instr may be executed and protected areas of memory may be accessed

70
New cards

what is simple batch system

in this kind of system, processor time alternates between execution of user progs and execution of monitor

71
New cards

what is multiprogrammed batch systems

in this kind of system, processor is often idle

72
New cards

what does uniprogamming wait for

this kind of programming waits for an I/O instr to complete before proceeding

73
New cards

what does multiprogramming mean for processor

this type of prog allows processor to switch btwn jobs that are not waiting for I/O

74
New cards

what is time sharing systems

in this kind of system, processor time is shared among multiple users and multiple users can simultaneously access the system thru terminals w OS interleaving the execution of each user prog

75
New cards

difference between multiprogamming and time sharing

the difference between these two systems are multiprog max processor use and time sharing min response time, multuprog has job control lang provided w the job and time sharing does commands at terminal

76
New cards

what is a fundamental aspect to the structure of OS

process is ____ to the structure of OS

77
New cards
78
New cards
79
New cards
80
New cards
81
New cards
82
New cards
83
New cards
84
New cards
85
New cards
86
New cards
87
New cards
88
New cards
89
New cards
90
New cards
91
New cards
92
New cards
93
New cards
94
New cards
95
New cards
96
New cards
97
New cards
98
New cards
99
New cards
100
New cards