Quiz 1 Flashcards

1
Q

An operating system is a _______.

A
  • control program
  • resource allocator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

T/F : I/O devices and then CPU can execute concurrently

A

True

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

What are the stages of a CPU’s instructions cycle

A

Fetch, Decode, Execute

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

In Linux, System Call Parameters are stored in a block, or table, in memory, and ______ of block is passed as parameter in a register.

A

address

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

Which type of system call is responsible for providing a ‘core dump’ in case of an error

A

process control

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

Changing the mode bit of the CPU ______ can only be done by a privileged instruction.

A

From user mode to kernel mode.

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

____ calls provide the interface between the OS kernel and the higher-level software

A

System

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

T/F: In a Microkernel system structure, communication between user-modules is achieved using message passing

A

True

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

T/F: Microkernel system structure is more efficient than a Modular Structure

A

False

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

Operating system failure can generate ____ file containing kernel memory

A

Crash dump

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

T/F: Debugging refers to the process of finding and fixing errors or bugs.

A

True

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

______ collects data for a specific event like steps involved in a system call invocation.

A

Tracing

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

All program to be debugged in gdb must be compiled by gcc with the option “__” turned on

A

-g

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

T/F: As part of system boot, on powered, the instruction register is loaded with a predefined memory location - typically, the address of the program counter in RAM

A

False

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

The ___ command helps run a program on behalf of the superuser

A

su

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

T/F: Interrupts are provided primarily as a way to improve processor utilization.

A

True

17
Q

T/F: virtualization technology enables an single PC or server to a simultaneously run multiple operating systems or multiple sessions of a single OS

A

True