Daniel Marshall
Quiz von , erstellt am more than 1 year ago

Quiz am GIOS 6200 Spring 2021 Midterm Review, erstellt von Daniel Marshall am 05/02/2021.

414
0
0
Keine Merkmale angegeben
Daniel Marshall
Erstellt von Daniel Marshall vor mehr als 3 Jahre
Schließen

GIOS 6200 Spring 2021 Midterm Review

Frage 1 von 20

1

What roles and functionality does an operating system provide?

Wähle eine oder mehr der folgenden:

  • Hide hardware complexity from applications and developers

  • Manages the underlying software

  • Provides isolation and protection

  • Guarantees applications can never access each others memory

Erklärung

Frage 2 von 20

1

Threads can only exist on the kernel level

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 3 von 20

1

Which of the following are components of an operating system?

Wähle eine oder mehr der folgenden:

  • Microsoft Word

  • Device Driver

  • Web Browser

  • Kernel

  • File System

Erklärung

Frage 4 von 20

1

An operating system abstracts and arbitrates the use of the computer system.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 5 von 20

1

Distributing memory between multiple processors is an example of abstraction.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 6 von 20

1

Supporting different types of speakers is an example of abstraction.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 7 von 20

1

What is an embedded operating system?

Wähle eine der folgenden:

  • A type of operating system that targets servers.

  • A type of operating system that targets desktops.

  • A type of operating system designed to be compact, efficient at resource usage, and reliable (such as for a smart phone/tablet).

  • A type of operating system that targets mainframes.

Erklärung

Frage 8 von 20

1

Check all UNIX based operating systems below.

Wähle eine oder mehr der folgenden:

  • Windows

  • Mac OS X (BSD)

  • Linux

  • Android

Erklärung

Frage 9 von 20

1

Which of the following is an abstraction?

Wähle eine der folgenden:

  • Socket

  • Create

  • Schedule

  • Write

Erklärung

Frage 10 von 20

1

Which of the following is a mechanism?

Wähle eine der folgenden:

  • Schedule

  • Process

  • File

  • Thread

Erklärung

Frage 11 von 20

1

To achieve it's goals an operating system supports a number of higher level abstractions and then a key number of mechanisms that operate on top of these abstractions.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 12 von 20

1

Operating systems do not implement policies to determine how mechanisms will be used to manage the underlying hardware.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 13 von 20

1

The policy Least Recently Used (LRU) decides that the pages that have been least recently used over a period of time are the ones that are no longer used in physical memory but instead to be used on disk. This is also known as

Wähle eine der folgenden:

  • Swapping

  • Switching

  • Transferring

  • Upkeep

Erklärung

Frage 14 von 20

1

What are some good guiding policies when designing an OS? Check all that apply

Wähle eine oder mehr der folgenden:

  • Separation of mechanisms and policy

  • Tight coupling of mechanisms and policy

  • Optimize for edge cases

  • Optimize for the common case

Erklärung

Frage 15 von 20

1

To achieve it's role of controlling and managing hardware resources on behalf of applications, the application must have special privileges. This is achieved by distinguishing between at least two modes of

Wähle eine der folgenden:

  • Kernal and User

  • Kernal and Admin

  • Admin and Master

  • Privileged and Kernel

Erklärung

Frage 16 von 20

1

The operating system must operate in privileged kernel mode.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 17 von 20

1

User - Kernel switch is supported by which hardware?

Wähle eine der folgenden:

  • The CPU

  • Motherboard

  • RAM

  • GPU

Erklärung

Frage 18 von 20

1

What is a trap instruction?

Wähle eine der folgenden:

  • When an application attempts to perform privileged operations in user mode

  • An instruction that leads to buffer overflow

  • Any instruction sent to the CPU when close to using max RAM

  • Any instruction performed by incompatible hardware.

Erklärung

Frage 19 von 20

1

What happens when a trap instruction occurs?

Wähle eine oder mehr der folgenden:

  • Control is switched to the OS at a specific location

  • The OS checks to see what caused the trap to occur

  • Grant access or perform terminate the process if the instruction was illegal.

  • A system call

Erklärung

Frage 20 von 20

1

A system call is when the operating system gives privileged access to an application. Examples of this are open(file), send(socket), and malloc(memory).

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung