Chapter 1 - Introduction Flashcards

1
Q

What is an operating system?

A

An operating system is software that manages the computer hardware, as well as providing an environment for application programs to run.

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

What are interrupts?

A

Interrupts are a key way in which hardware interacts with the operating system. A hardware device triggers an interrupt by sending a signal to the CPU to alert the CPU that some event requires attention. The interrupt is managed by the interrupt handler.

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

Where should programs be in order for a computer to do its job?

A

For a computer to do its job of executing programs, the programs must be in main memory, which is the only large storage area that the processor can access directly.

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

What is the main memory?

A

The main memory is usually a volatile storage device that loses its contents when power is turned off or lost.

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

What is a nonvolatile storage?

A

Nonvolatile storage is an extension of main memory and is capable of holding large quantities of data permanently.

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

What is the most common nonvolatile storage device?

A

The most common nonvolatile storage device is a hard disk, which can provide storage of both programs and data.

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

What processor system do modern computers have?

A

Modern computer architectures are multiprocessor systems in which each CPU contains several computing cores.

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

What system do modern operating systems employ to best utilize the CPU?

A

To best utilize the CPU, modern operating systems employ multiprogramming, which allows several jobs to be in memory at the same time, thus ensuring that the CPU always has a job to execute.

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

What is multitasking?

A

Multitasking is an extension of multiprogramming wherein CPU scheduling algorithms rapidly switch between processes, providing users with a fast response time.

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

What are the two modes?

A

To prevent user programs from interfering with the proper operation of the system, the system hardware has two modes: user mode and kernel mode.

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

List some examples of privileged instructions.

A

Various instructions are privileged and can be executed only in kernel mode. Examples include the instruction to switch to kernel mode, I/O control, timer management, and interrupt management.

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

What is a process?

A

A process is the fundamental unit of work in an operating system. Process management includes creating and deleting processes and providing mechanisms for processes to communicate and synchronize with each other.

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

How does an operating system manage memory?

A

An operating system manages memory by keeping track of what parts of memory are being used and by whom. It is also responsible for dynamically allocating and freeing memory space.

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

What is storage space managed by?

A

Storage space is managed by the operating system; this includes providing file systems for representing files and directories and managing space on mass-storage devices.

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

What is virtualization?

A

Virtualization involves abstracting a computer’s hardware into several different execution environments.

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

List some data structures that are used in an operating system.

A

Data structures that are used in an operating system include lists, stacks, queues, trees, and maps.

17
Q

Define open-source operating systems and list some of them.

A

Free and open-source operating systems are available in source-code format. Free software is licensed to allow no-cost use, redistribution, and modification. GNU/Linux, FreeBSD, and Solaris are examples of popular open-source systems.