Daniel Marshall
Quiz por , criado more than 1 year ago

Quiz sobre GIOS 6200 Spring 2021 Midterm Review, criado por Daniel Marshall em 05-02-2021.

421
0
0
Sem etiquetas
Daniel Marshall
Criado por Daniel Marshall mais de 3 anos atrás
Fechar

GIOS 6200 Spring 2021 Midterm Review

Questão 1 de 20

1

What roles and functionality does an operating system provide?

Selecione uma ou mais das seguintes:

  • Hide hardware complexity from applications and developers

  • Manages the underlying software

  • Provides isolation and protection

  • Guarantees applications can never access each others memory

Explicação

Questão 2 de 20

1

Threads can only exist on the kernel level

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 3 de 20

1

Which of the following are components of an operating system?

Selecione uma ou mais das seguintes:

  • Microsoft Word

  • Device Driver

  • Web Browser

  • Kernel

  • File System

Explicação

Questão 4 de 20

1

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

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 5 de 20

1

Distributing memory between multiple processors is an example of abstraction.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 6 de 20

1

Supporting different types of speakers is an example of abstraction.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 7 de 20

1

What is an embedded operating system?

Selecione uma das seguintes:

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

Explicação

Questão 8 de 20

1

Check all UNIX based operating systems below.

Selecione uma ou mais das seguintes:

  • Windows

  • Mac OS X (BSD)

  • Linux

  • Android

Explicação

Questão 9 de 20

1

Which of the following is an abstraction?

Selecione uma das seguintes:

  • Socket

  • Create

  • Schedule

  • Write

Explicação

Questão 10 de 20

1

Which of the following is a mechanism?

Selecione uma das seguintes:

  • Schedule

  • Process

  • File

  • Thread

Explicação

Questão 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.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 12 de 20

1

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

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 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

Selecione uma das seguintes:

  • Swapping

  • Switching

  • Transferring

  • Upkeep

Explicação

Questão 14 de 20

1

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

Selecione uma ou mais das seguintes:

  • Separation of mechanisms and policy

  • Tight coupling of mechanisms and policy

  • Optimize for edge cases

  • Optimize for the common case

Explicação

Questão 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

Selecione uma das seguintes:

  • Kernal and User

  • Kernal and Admin

  • Admin and Master

  • Privileged and Kernel

Explicação

Questão 16 de 20

1

The operating system must operate in privileged kernel mode.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 17 de 20

1

User - Kernel switch is supported by which hardware?

Selecione uma das seguintes:

  • The CPU

  • Motherboard

  • RAM

  • GPU

Explicação

Questão 18 de 20

1

What is a trap instruction?

Selecione uma das seguintes:

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

Explicação

Questão 19 de 20

1

What happens when a trap instruction occurs?

Selecione uma ou mais das seguintes:

  • 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

Explicação

Questão 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).

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação