Chapter 1 Flashcards

1
Q

An ________ _____ is a program that manages a computer’s hardware. It
also provides a basis for application programs and acts as an intermediary
between the computer user and the computer hardware. An amazing aspect of
operating systems is how they vary in accomplishing these tasks. Mainframe
operating systems are designed primarily to optimize utilization of hardware.
Personal computer (PC) operating systems support complex games, business
applications, and everything in between. Operating systems for mobile computers provide an environment in which a user can easily interface with the
computer to execute programs. Thus, some operating systems are designed to
be convenient, others to be efficient, and others to be some combination of the
two.

A

An operating system is a program that manages a computer’s hardware. It
also provides a basis for application programs and acts as an intermediary
between the computer user and the computer hardware. An amazing aspect of
operating systems is how they vary in accomplishing these tasks. Mainframe
operating systems are designed primarily to optimize utilization of hardware.
Personal computer (PC) operating systems support complex games, business
applications, and everything in between. Operating systems for mobile computers provide an environment in which a user can easily interface with the
computer to execute programs. Thus, some operating systems are designed to
be convenient, others to be efficient, and others to be some combination of the
two.

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

The _______—the _______ _______ ___(___), the ______, and the
____/___(/) _____—provides the basic computing resources for the
system.

A

The hardware—the central processing unit (CPU), the memory, and the
input/output (I/O) devices—provides the basic computing resources for the
system.

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

The ______ _____—such as word processors, spreadsheets,
compilers, and Web browsers—define the ways in which these resources are
used to solve users’ computing problems.

A

The application programs—such as word processors, spreadsheets,
compilers, and Web browsers—define the ways in which these resources are
used to solve users’ computing problems.

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

In this case, the operating system is designed mostly
for ____ __ ____, with some attention paid to performance and none paid
to ______ ______—how various hardware and software resources are
shared.

A

In this case, the operating system is designed mostly
for ease of use, with some attention paid to performance and none paid
to resource utilization—how various hardware and software resources are
shared.

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

In other cases, a user sits at a terminal connected to a _______ or a
________.

A

In other cases, a user sits at a terminal connected to a mainframe or a
minicomputer.

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

In still other cases, users sit at ________ connected to networks of
other ______ and ______.

A

In still other cases, users sit at workstations connected to networks of
other workstations and servers.

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

From the computer’s point of view, the operating system is the program
most intimately involved with the hardware. In this context, we can view
an operating system as a _______ _______.

A

From the computer’s point of view, the operating system is the program
most intimately involved with the hardware. In this context, we can view
an operating system as a resource allocator.

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

A ______ _______ manages the execution of user programs

to prevent errors and improper use of the computer.

A

A control program manages the execution of user programs

to prevent errors and improper use of the computer.

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

Those early
computers evolved into general-purpose, multifunction mainframes, and
that’s when operating systems were born. In the 1960s, _____ ___ predicted
that the number of transistors on an integrated circuit would double every
eighteen months, and that prediction has held true. Computers gained in
functionality and shrunk in size, leading to a vast number of uses and a vast
number and variety of operating systems.

A

Those early
computers evolved into general-purpose, multifunction mainframes, and
that’s when operating systems were born. In the 1960s, Moore’s Law predicted
that the number of transistors on an integrated circuit would double every
eighteen months, and that prediction has held true. Computers gained in
functionality and shrunk in size, leading to a vast number of uses and a vast
number and variety of operating systems.

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

. A more common
definition, and the one that we usually follow, is that the operating system
is the one program running at all times on the computer—usually called the _____

A

. A more common
definition, and the one that we usually follow, is that the operating system
is the one program running at all times on the computer—usually called
the kernel

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

(Along with the kernel, there are two other types of programs:
_______ _____, which are associated with the operating system but are not
necessarily part of the kernel, and application programs, which include all
programs not associated with the operation of the system

A

(Along with the kernel, there are two other types of programs:
system programs, which are associated with the operating system but are not
necessarily part of the kernel, and application programs, which include all
programs not associated with the operation of the system

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

Mobile operating systems often include not only a core kernel
but also ______—a set of software frameworks that provide additional
services to application developers

A

Mobile operating systems often include not only a core kernel
but also middleware—a set of software frameworks that provide additional
services to application developers

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

For a computer to start running—for instance, when it is powered up or
rebooted—it needs to have an initial program to run. This initial program,
or _______ _______, tends to be simple.

A

For a computer to start running—for instance, when it is powered up or
rebooted—it needs to have an initial program to run. This initial program,
or bootstrap program, tends to be simple.

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

Typically, it is stored within
the computer hardware in read-only memory (ROM) or electrically erasable
programmable read-only memory (EEPROM), known by the general term
_____

A

Typically, it is stored within
the computer hardware in read-only memory (ROM) or electrically erasable
programmable read-only memory (EEPROM), known by the general term
firmware

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

Once the kernel is loaded and executing, it can start providing services to
the system and its users. Some services are provided outside of the kernel, by
system programs that are loaded into memory at boot time to become ______ ______, or ______ ______ that run the entire time the kernel is running.
On UNIX, the first system process is “init,” and it starts many other daemons.
Once this phase is complete, the system is fully booted, and the system waits
for some event to occur.

A

Once the kernel is loaded and executing, it can start providing services to
the system and its users. Some services are provided outside of the kernel, by
system programs that are loaded into memory at boot time to become system
processes, or system daemons that run the entire time the kernel is running.
On UNIX, the first system process is “init,” and it starts many other daemons.
Once this phase is complete, the system is fully booted, and the system waits
for some event to occur.

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

The occurrence of an event is usually signaled by an _______ from either
the hardware or the software.

A

The occurrence of an event is usually signaled by an interrupt from either
the hardware or the software.

17
Q

Software
may trigger an interrupt by executing a special operation called a _____ ___
(also called a _____ ____)

A

Software
may trigger an interrupt by executing a special operation called a system call
(also called a monitor call)

18
Q

This array, or ______ _____, of addresses is then indexed by a unique device number, given with
the interrupt request, to provide the address of the interrupt service routine for the interrupting device.

A

This array, or interrupt
vector, of addresses is then indexed by a unique device number, given with
the interrupt request, to provide the address of the interrupt service routine for the interrupting device.

19
Q

General-purpose computers run most of their programs from
rewritable memory, called main memory (also called _____-______ _____,
or ___).

A

General-purpose computers run most of their programs from
rewritable memory, called main memory (also called random-access memory,
or RAM).

20
Q

Main memory commonly is implemented in a semiconductor

technology called _____ _____-_____ _____(____).

A

Main memory commonly is implemented in a semiconductor

technology called dynamic random-access memory (DRAM).

21
Q

A typical instruction–execution cycle, as executed on a system with a ___ ________ ________, first fetches an instruction from memory and stores
that instruction in the ______ ______.

A

A typical instruction–execution cycle, as executed on a system with a von
Neumann architecture, first fetches an instruction from memory and stores
that instruction in the instruction register

22
Q

Main memory is a _____ storage device that loses its contents when
power is turned off or otherwise lost.

A

Main memory is a volatile storage device that loses its contents when
power is turned off or otherwise lost.

23
Q

Thus, most computer systems provide _______ _______ as an extension of
main memory.

A

Thus, most computer systems provide secondary storage as an extension of
main memory.

24
Q

The most common secondary-storage device is a ______ ____, which
provides storage for both programs and data.

A

The most common secondary-storage device is a magnetic disk, which
provides storage for both programs and data.

25
Q

In fact, many early storage devices, including paper tape and core memories, are relegated to museums now that magnetic tape and
_________ _______have become faster and cheaper.

A

In fact, many early storage devices, including paper tape and core memories, are relegated to museums now that magnetic tape and
semiconductor memory have become faster and cheaper.

26
Q

As mentioned earlier, _____ ______ loses its

contents when the power to the device is removed

A

As mentioned earlier, volatile storage loses its

contents when the power to the device is removed

27
Q

In the absence of expensive

battery and generator backup systems, data must be written to _____ _____ for safekeeping

A

In the absence of expensive
battery and generator backup systems, data must be written to nonvolatile
storage for safekeeping

28
Q

___-____ ____ have several variants but in general are faster than
magnetic disks and are nonvolatile.

A

Solid-state disks have several variants but in general are faster than
magnetic disks and are nonvolatile.

29
Q

Another form of nonvolatile storage is _____,

which is DRAM with battery backup power.

A

Another form of nonvolatile storage is NVRAM,

which is DRAM with battery backup power.

30
Q

For instance, seven or more devices can be

attached to the ____ ______-_____ _______(____) controller

A

For instance, seven or more devices can be

attached to the small computer-systems interface (SCSI) controller

31
Q

Typically,

operating systems have a _____ ____ for each device controller

A

Typically,

operating systems have a device driver for each device controller

32
Q

This form of interrupt-driven I/O is fine for moving small amounts of data
but can produce high overhead when used for bulk data movement such as disk
I/O. To solve this problem, _____ _____ _____ (___) is used.

A

This form of interrupt-driven I/O is fine for moving small amounts of data
but can produce high overhead when used for bulk data movement such as disk
I/O. To solve this problem, direct memory access (DMA) is used.