Amanda Hatch
Quiz por , criado more than 1 year ago

This is to help practice for the CS 372 midterm at WOU

529
0
0
Sem etiquetas
Amanda Hatch
Criado por Amanda Hatch aproximadamente 10 anos atrás
Fechar

CS 372 Quiz 1 Review

Questão 1 de 32

1

A _____ is an example of a systems program.

Selecione uma das seguintes:

  • text formatter

  • Web browser

  • database system

  • command interpreter

Explicação

Questão 2 de 32

1

____ is a popular commercial application that abstracts Intel 80XXx86 hardware into isolated virtual machines.

Selecione uma das seguintes:

  • .NET

  • VMware

  • JVM

  • JIT

Explicação

Questão 3 de 32

1

Java technology is

Selecione uma das seguintes:

  • A programming language specification

  • A specification of a virtual machine

  • A virtual machine

  • Both (A) and (C)

Explicação

Questão 4 de 32

1

_____ is not an example of a benefit of virtual machines.

Selecione uma das seguintes:

  • Protects the host system from guest operating systems

  • The ability to run several different operating systems that all share the same hardware

  • Uses less physical memory than an actual operating system

  • The ability to concurrently run several different operating systems

Explicação

Questão 5 de 32

1

_____ provide(s) an interface to the services provided by an operating system.

Selecione uma das seguintes:

  • Shared memory

  • System calls

  • Communication

  • Simulators

Explicação

Questão 6 de 32

1

_____ is not one of the major categories of system calls.

Selecione uma das seguintes:

  • Process control

  • Security

  • Communications

  • Protection

Explicação

Questão 7 de 32

1

______ tricks an application by having it think it is the only process on the system.

Selecione uma das seguintes:

  • Simulation

  • The Java virtual machine

  • The .NET framework

  • Paravirtualization

Explicação

Questão 8 de 32

1

_____ allow operating system services to be loaded dynamically.

Selecione uma das seguintes:

  • Graphical user interfaces

  • Virtual machines

  • File systems

  • Modules

Explicação

Questão 9 de 32

1

Microkernels use _____ for communication.

Selecione uma das seguintes:

  • virtualization

  • system calls

  • message passing

  • shared memory

Explicação

Questão 10 de 32

1

The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX:

Selecione uma das seguintes:

  • process()

  • fork()

  • getpid()

  • NTCreateProcess()

Explicação

Questão 11 de 32

1

The close() system call in UNIX is used to close a file. What is the equivalent system call in Windows:

Selecione uma das seguintes:

  • CloseFile()

  • Exit()

  • close()

  • CloseHandle()

Explicação

Questão 12 de 32

1

If a program terminates abnormally, a dump of memory may be examined by a ____ to determine the cause of the problem.

Selecione uma das seguintes:

  • debugger

  • module

  • control card

  • shell

Explicação

Questão 13 de 32

1

Which of the following statements is incorrect?

Selecione uma das seguintes:

  • An operating system provides an environment for the execution of programs.

  • Operating systems must provide both protection and security.

  • Operating systems provide both command line as well as graphical user interfaces.

  • An operating system manages system resources.

Explicação

Questão 14 de 32

1

_____ is/are not a technique for passing parameters from an application to a system call

Selecione uma das seguintes:

  • Stack

  • Registers

  • Special block in memory

  • Cache memory

Explicação

Questão 15 de 32

1

A message-passing model is ____.

Selecione uma das seguintes:

  • only useful for small simple operating systems

  • easier to implement than a shared memory model for intercomputer communication

  • a network protocol, and does not apply to operating systems

  • faster than the shared memory model

Explicação

Questão 16 de 32

1

KDE and GNOME desktops are available under open-source licenses.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 17 de 32

1

Many operating system merge I/O devices and files into a combined file because of the similarity of system calls for each.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 18 de 32

1

The virtual-machine concept does not offer complete protection of the various system resources.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 19 de 32

1

A program written for the .NET Framework need not worry about the specifics of the hardware or the operating system on which it will run.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 20 de 32

1

An initial bootstrap program is in the form of random-access memory (RAM)

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 21 de 32

1

System calls can be run in either user mode or kernel mode.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 22 de 32

1

Policy ____

Selecione uma das seguintes:

  • is not likely to change over time

  • determines what will be done

  • is not likely to change across places

  • determines how to do something

Explicação

Questão 23 de 32

1

Application programmers typically use an API rather than directory invoking system calls.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 24 de 32

1

In general, Windows system calls have longer, more descriptive names and UNIX system calls use shorter, less descriptive names.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 25 de 32

1

Some level of hardware support is required to provide virtualization.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 26 de 32

1

The JVM may only be implemented in software.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 27 de 32

1

The JVM provides the ability to run architecture-neutral programs.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 28 de 32

1

The major difficulty in designing a layered operating system approach is ____.

Selecione uma das seguintes:

  • making sure that each layer hides certain data structures, hardware, and operations from higher-level layers

  • making sure each layer is easily converted to modules

  • debugging a particular layer

  • appropriately defining the various layers

Explicação

Questão 29 de 32

1

A microkernel is a kernel ____.

Selecione uma das seguintes:

  • that is stripped of all nonessential components

  • that is compiled to produce the smallest size possible when stored to disk

  • containing many components that are optimized to reduce resident memory size

  • that is compressed before loading in order to reduce its resident memory size

Explicação

Questão 30 de 32

1

To the SYSGEN program of an operating system, the least useful piece of information is _____.

Selecione uma das seguintes:

  • amount of memory available

  • what applications to install

  • operating-system options such as buffer sizes or CPU scheduling algorithms

  • the CPU being used

Explicação

Questão 31 de 32

1

A boot block ____.

Selecione uma das seguintes:

  • typically only knows the location and length of the rest of the bootstrap program

  • typically is sophisticated enough to load the operating system and begin its execution

  • is composed of multiple disk blocks

  • is composed of multiple disk cylinders

Explicação

Questão 32 de 32

1

In a virtual machine, each program believes that it has ____.

Selecione uma das seguintes:

  • another "virtual" computer to assist in its operations

  • more memory than is physically available on the machine

  • its own memory

  • multiple processors

Explicação