Chapters 1-3 Flashcards

1
Q

The CPU, memory devices, input/output
(I/O) devices, and any other physical
components that are part of a computer

A

What is hardware ?

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

A computer system within some other,
larger system (such as a car) that
performs specific, limited functions and
has little or no user interface.

A

What is an embedded computer?

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

A law predicting that the number of
transistors on an integrated circuit would
double every eighteen months.

A

What is Moore’s Law?

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

The piece of the operating system that
runs at all times after the system is
booted.

A

What is the kernel ?

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

Software frameworks that provide
services to application developers.

A

What is middleware ?

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

An OS component that provides uniform
access to various devices and manages
I/O to those devices.

A

What is a device driver ?

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

A mechanism that enables a device to
notify the CPU that it needs attention.

A

What is an interrupt ?

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

The structure of most computers,
whereby both process instructions and
data are stored in the same main
memory.

A

What is von Neumann Architecture

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

A performance-improving operation for
device controllers allowing devices to
transfer large amounts of data directly to
and from main memory.

A

What is Direct Memory Access?

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

250 or 10245 bytes

A

What is a petabyte or pebibyte?

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

The part of the CPU that executes
instructions.

A

What is a core ?

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

A system with more than one chip, each
containing one or more CPU cores in
close communication, sharing computer
bus, clock, memory, and peripheral
devices.

A

What is a multiprocessor system?

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

A system with more than one chip, each
containing one or more CPU cores in
close communication, sharing computer
bus, clock, memory, and peripheral
devices.

A

What is a multiprocessor system?

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

A system in which each processor
performs all tasks, including operating
system tasks and user processes.

A

What is symmetric multiprocessing
(SMP)?

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

The process of dividing a program into
components that run on individual cores
simultaneously in a computer.

A

What is parallelization?

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

An architecture in which the time to
access memory varies based on which
core a thread is running on.

A

What is non-uniform memory access
(NUMA)?

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

The concurrent performance of multiple
jobs.

A

What is multitasking ?

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

A technique that allows the execution of
a process that is not completely in
memory.

A

What is virtual memory ?

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

The transfer of data from slower memory
to faster memory.

A

What is caching ?

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

Coordinating the data content such that
an update in one cache is immediately
reflected in all other caches holding the
same data.

A

What is cache coherency?

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

The process by which the system
chooses which job to run next.

A

What is CPU scheduling ?

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

A type of computing in which one or
more applications are made available
over the Internet.

A

What is
(IaaS)?
Infrastructure

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

A type of environment in which
hardware, software, and other resources
are made available along with APIs for
management.

A

What is Cloud Computing ?

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

An appliance that sits between trusted
and untrusted devices or systems.

A

What is a firewall ?

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

Systems used with hard or very rigid
constraints on time requirements for the
operation of a processor or data flow.

A

What is
(RTOS)?
Real Time Operating Systems

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

A data structure in which items are
linked to one another.

A

Linked List

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

It’s the result of having a hash function
return the same output value for different
input values.

A

What is a hash collision ?

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

An application running guest operating
systems manages resource use and
protects each guest from the other. It can
also be the host OS.

A

What is the
(VMM) or ?
virtual machine manager
hyperviso

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

He formed the Free Software
Foundation, published the GNU
manifesto, and invented “Copyleft.”

A

Who is Richard Stallman?

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

A data structure that has at most lg(n)
levels given n items and is used by Linux
in CPU-scheduling.

A

What is a Red-Black tree?

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

An interface to the services provided by
an operating system.

A

What are system calls?

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

The set of functions available to an
application developer, including the
parameters passed to each function, and
the return values the programmer can
expect.

A

What is an Application Programming
Interface (API)?

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

A common API used in most Unix,
Linux, as well as macOS .

A

What is the POSIX API?

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

A service that is provided outside of the
kernel by system programs that are
loaded into memory at boot time and run
continuously.

A

What is a daemon?

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

Is responsible for loading a sketch in the
Arduino platform.

A

What is a boot loader?

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

Converts c source files into object files.

A

What is a compiler?

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

It combines relocatable object files into
an executable file.

A

What is a linker?

38
Q

Windows uses PE, Linux uses ELF, and
MacOS uses Mach-O.

A

What are executable formats?

39
Q

A file, set of files, or service used to
store and retrieve configuration
information.

A

What is a registry?

40
Q

Relocatable objects on Linux have this
extension?

A

What is .so?

41
Q

A rule that defines what must be done.

A

What is a policy?

42
Q

An operation that specifies how
something will be done.

A

What is mechanism

43
Q

Windows and MacOS enforce these in
their system to force the look and feel of
all their applications.

A

What is policy and mechanism?

44
Q

Improvements in OS performance will
most likely be due to this.

A

What is data structures and algorithms?

45
Q

Using it for implementing an OS will
help make it more portable to other
hardware.

A

What is a high-level language?

46
Q

The process of starting a computer by
loading a kernel.

A

What is booting?

47
Q

The program that allows the computer
initialize the hardware and load up the
kernel.

A

What is the bootstrap program?

48
Q

A common open-source bootstrap loader
that allows the selection of boot
partitions and options to be passed to the
selected kernel.

A

What is GRUB?

49
Q

BIOS and UEFI are examples of this.

A

What is firmware code?

50
Q

A block of code stored in a specific
location on disk with the instructions to
boot the kernel stored on that disk.

A

What is a boot block?

51
Q

https://factiledynamic.
s3.amazonaws.com/64bd316a7ed84f00189f82f5/img-
1695830970833pf84408.jpeg
This is ….

A

What is a layered approach?

52
Q

Describes a kernel without structure
(such as layers or modules).

A

What is monolithic?

53
Q

An operating-system structure that
removes all nonessential components
from the kernel and implements them as
system and user-level programs.

A

What is microkernel?

54
Q

The glibc equivalent for Android that
was developed by Google, which has a
smaller memory footprint than glibc.

A

What is Bionic?

55
Q

It’s the windows subsystem that allows
ELF binaries to run on Windows 10.

A

What is Windows Subsystem for Linux?

56
Q

The activity of finding and removing
errors.

A

What is debugging?

57
Q

A performance-limiting aspect of
computing (e.g., poorly written code).

A

What is a bottleneck?

58
Q

A copy of the state of a process written
to disk when a process crashes.

A

What is a core dump?

59
Q

A rich toolkit for tracing system activity
on Linux for debugging and
performance-tuning purposes.

A

What is BPF compiler collection
(BCC)?

60
Q

Services in a Microkernel structure
communicate using this method.

A

What is message passing?

61
Q

A program in execution.

A

What is a process or job?

62
Q

Section of process that contains dynamically allocated memory.

A

What is the heap?

63
Q

Contains function parameters, local variables, and the return address
pushed onto the stack.

A

What is an activation record?

64
Q

New, Running, Waiting, Ready, or Terminated.

A

What is a process state?

65
Q

A representation of a process in an OS that contains many pieces of
information, including the program counter, registers, memory
management, accounting, etc…

A

What is a process control block (PCB) or task control block?

66
Q

A process that spends more of its time doing I/O.

A

What is I/O bound?

67
Q

A process waiting on I/O is placed in this queue.

A

What is a wait queue?

68
Q

A process whose time slice expires is placed in this queue.

A

What is the ready queue?

69
Q

Is responsible for selecting from among the processes that are in the
ready queue and allocating a CPU core to one of them.

A

What is the CPU scheduler or scheduler?

70
Q

Saving the state of an executing process and loading the saved state
of a dispatched process.

A

What is a context switch?

71
Q

A data structure that is the result of processes creating other
processes.

A

What is a tree?

72
Q

A POSIX system call that results in a child process being created.

A

what is fork()?

73
Q

A POSIX system call that loads a binary file into memory (destroying
the memory image of the original program) and starts its execution.

A

What is exec()?

74
Q

A process that has been terminated but whose parent has not yet
called wait().

A

What is a zombie?

75
Q

A technique in which, when a process is ended, all of its children are
ended as well.

A

What is cascading termination ?

76
Q

A process that can affect or be affected by another process executing
in the system is said to be this.

A

What is a cooperating process?

77
Q

A mechanism used to exchange data by cooperating processes.

A

What is Interprocess Communication (IPC)?

78
Q

A solution to the producer-consumer problem that uses this type of
shared memory.

A

What is a buffer?

79
Q

A solution to the producer-consumer problem that uses this type of
shared memory.

A

What is a buffer?

80
Q

A message-passing facility provides at least these two operations.

A

What are send and receive?

81
Q

With , messages are sent and received
through this.
indirect communication

A

What are mailboxes or ports?

82
Q

Most communication in Mach—including all inter-task
communication—are carried out by this.

A

What are messages?

83
Q

The message-passing facility in Windows.

A

What is an Advanced Local Procedure Call (APLC)?

84
Q

POSIX shared memory is organized using these types of files.

A

What are memory-mapped files?

85
Q

A conduit used for communicating where one end is for writing, and
the other is for reading.

A

What is an Ordinary Pipe ?

86
Q

In Windows OS, a communications port used to maintain connection
between two processes, published by a server process.

A

What is a connection port?

87
Q

An endpoint for communication.

A

What is socket?

88
Q

Systems store the most significant byte first are known as this.

A

What is big-endian ?

89
Q

A remote service used to abstract procedure or function calls
between systems with network connections.

A

What is a Remote Procedure Call (RPC)?

90
Q

A function that matches a caller to a service being called (e.g., a
remote procedure call attempting to find a server daemon).

A

What is a matchmaker or rendezvous daemon?

91
Q

An RPC system hides the details that allow communication to take
place by providing this on the client and server side.

A

What is a stub?

92
Q

RPCs can fail or be duplicated and executed more than once due to
common network errors. One way to address this problem is for the
operating system to ensure that messages are acted on rather
than this.

A

What is at most once ?