Daniel Marshall
Test por , creado hace más de 1 año

Test sobre GIOS 6200 Spring 2021 Midterm Review, creado por Daniel Marshall el 05/02/2021.

421
0
0
Sin etiquetas
Daniel Marshall
Creado por Daniel Marshall hace más de 3 años
Cerrar

GIOS 6200 Spring 2021 Midterm Review

Pregunta 1 de 20

1

What roles and functionality does an operating system provide?

Selecciona una o más de las siguientes respuestas posibles:

  • Hide hardware complexity from applications and developers

  • Manages the underlying software

  • Provides isolation and protection

  • Guarantees applications can never access each others memory

Explicación

Pregunta 2 de 20

1

Threads can only exist on the kernel level

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 20

1

Which of the following are components of an operating system?

Selecciona una o más de las siguientes respuestas posibles:

  • Microsoft Word

  • Device Driver

  • Web Browser

  • Kernel

  • File System

Explicación

Pregunta 4 de 20

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 5 de 20

1

Distributing memory between multiple processors is an example of abstraction.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 20

1

Supporting different types of speakers is an example of abstraction.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 7 de 20

1

What is an embedded operating system?

Selecciona una de las siguientes respuestas posibles:

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

Explicación

Pregunta 8 de 20

1

Check all UNIX based operating systems below.

Selecciona una o más de las siguientes respuestas posibles:

  • Windows

  • Mac OS X (BSD)

  • Linux

  • Android

Explicación

Pregunta 9 de 20

1

Which of the following is an abstraction?

Selecciona una de las siguientes respuestas posibles:

  • Socket

  • Create

  • Schedule

  • Write

Explicación

Pregunta 10 de 20

1

Which of the following is a mechanism?

Selecciona una de las siguientes respuestas posibles:

  • Schedule

  • Process

  • File

  • Thread

Explicación

Pregunta 11 de 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.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 12 de 20

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 13 de 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

Selecciona una de las siguientes respuestas posibles:

  • Swapping

  • Switching

  • Transferring

  • Upkeep

Explicación

Pregunta 14 de 20

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Separation of mechanisms and policy

  • Tight coupling of mechanisms and policy

  • Optimize for edge cases

  • Optimize for the common case

Explicación

Pregunta 15 de 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

Selecciona una de las siguientes respuestas posibles:

  • Kernal and User

  • Kernal and Admin

  • Admin and Master

  • Privileged and Kernel

Explicación

Pregunta 16 de 20

1

The operating system must operate in privileged kernel mode.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 17 de 20

1

User - Kernel switch is supported by which hardware?

Selecciona una de las siguientes respuestas posibles:

  • The CPU

  • Motherboard

  • RAM

  • GPU

Explicación

Pregunta 18 de 20

1

What is a trap instruction?

Selecciona una de las siguientes respuestas posibles:

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

Explicación

Pregunta 19 de 20

1

What happens when a trap instruction occurs?

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 20 de 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).

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación