QUIZ 1 Flashcards

1
Q

What is an Operating System?

A

A program that acts as an intermediary between a computer user and the computer hardware.

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

What are the goals of an Operating System?

A
  • Execute user programs
  • Make the computer system easier and more convenient to use
  • Use the computer hardware in an efficient manner
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four (4) components of a computer system structure?

A
  • Hardware
  • Operating system
  • Application programs
  • Users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do application programs do?

A

Application programs define the ways in which the system resources are used to solve computing problems for users.

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

In what way is an OS is a resource allocator?

A
  • It manages all resources (CPU, memory, disk, peripherals, etc.)
  • It decides between conflicting requests for efficient and fair resource use.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the one program running at all times on the computer?

A

The kernel.

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

What is volatile memory?

A

Memory that is lost when power is cut.

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

What is a bootstrap program and what does it do?

A
  • A program that Initializes all aspects of the system.
  • It is typically stored in ROM or EPROM, generally known as firmware
  • It is loaded at power-up or reboot
  • It searches for a bootable OS kernel on hard disks, USB drives, and even over the network.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is RAM?

A
  • Random Access Memory
  • Random, as opposed to sequential (like tape)
  • It is the main memory: the only large storage media that the CPU can access directly
  • Typically volatile meaning it is lost as soon as computer is shut down
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does secondary storage do?

A
  • extends main memory & provides large nonvolatile storage capacity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a hard disk?

A
  • rigid metal or glass platters covered with magnetic recording material
  • includes a disk controller, which determines the logical interaction between the device and the computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do device drivers do?

A
  • Manages I/O for each device

- Provides uniform interface between controller and kernel

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

What is the relationship between main memory and caching?

A
  • Caching involves copying information into faster storage system; main memory can be viewed as a cache for secondary storage.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is caching?

A
  • Happens when information in use copied from slower to faster storage temporarily
  • faster storage (cache) checked first to determine if information is there
  • If it is, information used directly from the cache (fast)
  • If not, data copied to cache and used there
  • Cache is always smaller than the storage being cached
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the I/O subsystem responsible for?

A
  • Memory management of I/O including buffering, caching, spooling
  • General device-driver interface
  • Device drivers for specific hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is buffering?

A

Storing data temporarily while it is being transferred.

17
Q

What is spooling?

A
  • The overlapping of output of one job with input of other jobs.
  • Management of how devices receive data, to avoid overload (e.g. with print jobs).
18
Q

What is a thin client?

A
  • A network computer where all data is stored on and processes executed on central server, while I/O is redirected to user terminal.
19
Q

What is distributed computing?

A
  • Collection of separate, possibly heterogeneous, systems networked together.

from Wikipedia:

Distributed computing is a field of computer science that studies distributed systems. A distributed system is a system whose components are located on different networked computers, which communicate and coordinate their actions by passing messages to one another from any system. The components interact with one another in order to achieve a common goal.

20
Q

What is virtualization?

A
  • An OS natively compiled for CPU, running guest OSes that also natively compiled
  • Guests interact directly with CPU
21
Q

What is emulation?

A
  • When source CPU architecture different from target architecture (i.e. PowerPC to Intel x86)
  • Requires Interpretation (i.e. When computer language not compiled to native code)
  • Generally slowest method
22
Q

What services does an OS provide that are helpful to the user?

A
  • User interface
  • Program execution
  • I/O operations
  • File-system manipulation
  • Communications
  • Error detection
  • Resource allocation
23
Q

What OS functions exist to ensure the efficient operation of the system itself?

A
  • Resource allocation
  • Accounting
  • Protection and security
24
Q

What is the difference between a program and a process?

A
  • A program is passive entity stored on disk (executable file)
  • A process is active, a process is a program in execution
  • A program becomes process when executable file loaded into memory
25
Q

What are the essential parts of a Process?

A
  • The program code, also called text section
  • Current activity including program counter, processor registers
  • Stack containing temporary data (e.g. function parameters, return addresses, local variables)
  • Data section containing global variables
  • Heap containing memory dynamically allocated during run time
26
Q

What is Reentrant code?

A

A programming routine/process that multiple applications can share simultaneously.

27
Q

What it is a CPU?

A
  • Central Processing Unit
  • the electronic circuitry within a computer that performs arithmetic and logic instructions
  • where processes are executed
28
Q

What is symmetric multiprocessing?

A

In a multi-CPU, or multi-core system: each processor can perform all tasks.

29
Q

What is a register?

A

A memory location within the actual CPU that works at very fast speeds. It stores instructions which await to be decoded or executed.