Computer Systems and Low Level Programming (Language - C) Midterm

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

flashcard set

Earn XP

Description and Tags

Questions are copied right from the powerpoint given. Don't come at me, I didn't make them.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

What is a process?

A program loaded into memory and executing.

2
New cards

What is a thread?

A process control structure that is an execution location

A process with a single thread executes only one task at a time, while a multithreaded process can execute a task per thread

3
New cards

What are the differences between a process and a thread?

Process is a program under execution whereas a thread is part of process

Threads allows a program to perform multiple tasks simultaneously

4
New cards

What is an Operating System?

Acts as an intermediary between the user of a computer and the computer hardware.

5
New cards

What is a “system program”?

6
New cards

What is “kernel” of an Operating System?

7
New cards

What is “middleware”?

8
New cards

What is Moore’s Law?

9
New cards

What is an embedded computer?

10
New cards

What is a “resource allocator”?

11
New cards

What is a “device driver”?

12
New cards

What is “interrupt” and why?

13
New cards

Describe how interrupt is implemented. Hint = (zyBooks 1.2)

14
New cards

What is "interrupt-controller hardware”?

15
New cards

What is a “nonmastable interrupt”?

16
New cards

What is a “maskable interrupt”?

17
New cards

What is an “Interrupt chain”?

18
New cards

What is RAM?

19
New cards

What is the basic unit of computer storage?

20
New cards

How many bits are in a byte?

21
New cards

What is a von Neumann architecture?

22
New cards

What is a secondary storage?

23
New cards

What is a tertiary storage?

24
New cards

What is NVS?

25
New cards

What are the two types of NVS?

26
New cards

What are the minimal PCB contents?

27
New cards

What is a process “state”?

28
New cards

What are saved for the process state?

29
New cards

What can cause a process to change state?

30
New cards

Why Processes?

Provides independence from the type of CPU (virtual or physical)

Process as an abstraction allows independent development of concurrent tasks

31
New cards

What does having more processes do?

Allows for more efficient scheduling

32
New cards

(T/F) Having more CPUs than the number of processes helps with more performance.

False