Daniel Marshall
Quiz by , created more than 1 year ago

Quiz on GIOS 6200 Spring 2021 Midterm Review, created by Daniel Marshall on 05/02/2021.

450
0
0
No tags specified
Daniel Marshall
Created by Daniel Marshall almost 4 years ago
Close

GIOS 6200 Spring 2021 Midterm Review

Question 1 of 20

1

What roles and functionality does an operating system provide?

Select one or more of the following:

  • Hide hardware complexity from applications and developers

  • Manages the underlying software

  • Provides isolation and protection

  • Guarantees applications can never access each others memory

Explanation

Question 2 of 20

1

Threads can only exist on the kernel level

Select one of the following:

  • True
  • False

Explanation

Question 3 of 20

1

Which of the following are components of an operating system?

Select one or more of the following:

  • Microsoft Word

  • Device Driver

  • Web Browser

  • Kernel

  • File System

Explanation

Question 4 of 20

1

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

Select one of the following:

  • True
  • False

Explanation

Question 5 of 20

1

Distributing memory between multiple processors is an example of abstraction.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 20

1

Supporting different types of speakers is an example of abstraction.

Select one of the following:

  • True
  • False

Explanation

Question 7 of 20

1

What is an embedded operating system?

Select one of the following:

  • 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.

Explanation

Question 8 of 20

1

Check all UNIX based operating systems below.

Select one or more of the following:

  • Windows

  • Mac OS X (BSD)

  • Linux

  • Android

Explanation

Question 9 of 20

1

Which of the following is an abstraction?

Select one of the following:

  • Socket

  • Create

  • Schedule

  • Write

Explanation

Question 10 of 20

1

Which of the following is a mechanism?

Select one of the following:

  • Schedule

  • Process

  • File

  • Thread

Explanation

Question 11 of 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.

Select one of the following:

  • True
  • False

Explanation

Question 12 of 20

1

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

Select one of the following:

  • True
  • False

Explanation

Question 13 of 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

Select one of the following:

  • Swapping

  • Switching

  • Transferring

  • Upkeep

Explanation

Question 14 of 20

1

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

Select one or more of the following:

  • Separation of mechanisms and policy

  • Tight coupling of mechanisms and policy

  • Optimize for edge cases

  • Optimize for the common case

Explanation

Question 15 of 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

Select one of the following:

  • Kernal and User

  • Kernal and Admin

  • Admin and Master

  • Privileged and Kernel

Explanation

Question 16 of 20

1

The operating system must operate in privileged kernel mode.

Select one of the following:

  • True
  • False

Explanation

Question 17 of 20

1

User - Kernel switch is supported by which hardware?

Select one of the following:

  • The CPU

  • Motherboard

  • RAM

  • GPU

Explanation

Question 18 of 20

1

What is a trap instruction?

Select one of the following:

  • 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.

Explanation

Question 19 of 20

1

What happens when a trap instruction occurs?

Select one or more of the following:

  • 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

Explanation

Question 20 of 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).

Select one of the following:

  • True
  • False

Explanation