Operating Systems Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Flashcards for Operating Systems lecture review.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

What is an Operating System (OS)?

A program that acts as an intermediary between users' programs and the computer hardware, managing the hardware.

2
New cards

What are the two modes of operation in modern computers?

User mode and kernel mode.

3
New cards

What is an interrupt?

A signal to the processor emitted by hardware or software indicating an event that needs immediate attention.

4
New cards

Where is the bootstrap program typically stored?

ROM or EEPROM, generally known as firmware / BIOS / UEFI

5
New cards

What does the cron daemon do?

Executes scheduled tasks automatically.

6
New cards

What software is between the OS and the hardware?

The device driver.

7
New cards

What hardware is between the CPU and the device?

The device controller.

8
New cards

What is DMA (Direct Memory Access)?

Allows hardware devices to transfer data directly to or from main memory without involving the CPU.

9
New cards

What is hyperthreading?

Two virtual processors per core that can dynamically schedule instructions from both based on which execution units are free and which instructions are ready.

10
New cards

What is caching?

Copying instructions or data into a faster storage area to reduce access time.

11
New cards

What is the locality principle?

If a word is read or written k times in a short interval, the computer will need 1 reference to the slow memory and k-1 references to the fast memory.

12
New cards

What three factors are storage systems organized into a hierarchy based on?

Access speed, cost, and volatility.

13
New cards

What are volatile, fast memory types?

Registers, cache, main memory.

14
New cards

What are nonvolatile, slower memory types?

SSD, hard disk, optical disk, magnetic tape, cloud storage.

15
New cards

What is the formula for multiprocessor speedup?

Time to execute the program on a single processor / Time to execute program on N parallel processors

16
New cards

What is cache coherency?

Hardware mechanisms that ensure all CPUs access the most recent value, even if it is stored in another core's cache.

17
New cards

What is the execution time of a program on a multiprocessor platform according to Amdahl's Law?

(1 − f(1 − 1N ))T

18
New cards

What is a cache miss?

When the required data is not found in the cache.