CS 372 Quiz 1 Review

Beschreibung

This is to help practice for the CS 372 midterm at WOU
Amanda Hatch
Quiz von Amanda Hatch, aktualisiert more than 1 year ago
Amanda Hatch
Erstellt von Amanda Hatch vor mehr als 10 Jahre
530
0

Zusammenfassung der Ressource

Frage 1

Frage
A _____ is an example of a systems program.
Antworten
  • text formatter
  • Web browser
  • database system
  • command interpreter

Frage 2

Frage
____ is a popular commercial application that abstracts Intel 80XXx86 hardware into isolated virtual machines.
Antworten
  • .NET
  • VMware
  • JVM
  • JIT

Frage 3

Frage
Java technology is
Antworten
  • A programming language specification
  • A specification of a virtual machine
  • A virtual machine
  • Both (A) and (C)

Frage 4

Frage
_____ is not an example of a benefit of virtual machines.
Antworten
  • 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

Frage 5

Frage
_____ provide(s) an interface to the services provided by an operating system.
Antworten
  • Shared memory
  • System calls
  • Communication
  • Simulators

Frage 6

Frage
_____ is not one of the major categories of system calls.
Antworten
  • Process control
  • Security
  • Communications
  • Protection

Frage 7

Frage
______ tricks an application by having it think it is the only process on the system.
Antworten
  • Simulation
  • The Java virtual machine
  • The .NET framework
  • Paravirtualization

Frage 8

Frage
_____ allow operating system services to be loaded dynamically.
Antworten
  • Graphical user interfaces
  • Virtual machines
  • File systems
  • Modules

Frage 9

Frage
Microkernels use _____ for communication.
Antworten
  • virtualization
  • system calls
  • message passing
  • shared memory

Frage 10

Frage
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX:
Antworten
  • process()
  • fork()
  • getpid()
  • NTCreateProcess()

Frage 11

Frage
The close() system call in UNIX is used to close a file. What is the equivalent system call in Windows:
Antworten
  • CloseFile()
  • Exit()
  • close()
  • CloseHandle()

Frage 12

Frage
If a program terminates abnormally, a dump of memory may be examined by a ____ to determine the cause of the problem.
Antworten
  • debugger
  • module
  • control card
  • shell

Frage 13

Frage
Which of the following statements is incorrect?
Antworten
  • 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.

Frage 14

Frage
_____ is/are not a technique for passing parameters from an application to a system call
Antworten
  • Stack
  • Registers
  • Special block in memory
  • Cache memory

Frage 15

Frage
A message-passing model is ____.
Antworten
  • 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

Frage 16

Frage
KDE and GNOME desktops are available under open-source licenses.
Antworten
  • True
  • False

Frage 17

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

Frage 18

Frage
The virtual-machine concept does not offer complete protection of the various system resources.
Antworten
  • True
  • False

Frage 19

Frage
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.
Antworten
  • True
  • False

Frage 20

Frage
An initial bootstrap program is in the form of random-access memory (RAM)
Antworten
  • True
  • False

Frage 21

Frage
System calls can be run in either user mode or kernel mode.
Antworten
  • True
  • False

Frage 22

Frage
Policy ____
Antworten
  • is not likely to change over time
  • determines what will be done
  • is not likely to change across places
  • determines how to do something

Frage 23

Frage
Application programmers typically use an API rather than directory invoking system calls.
Antworten
  • True
  • False

Frage 24

Frage
In general, Windows system calls have longer, more descriptive names and UNIX system calls use shorter, less descriptive names.
Antworten
  • True
  • False

Frage 25

Frage
Some level of hardware support is required to provide virtualization.
Antworten
  • True
  • False

Frage 26

Frage
The JVM may only be implemented in software.
Antworten
  • True
  • False

Frage 27

Frage
The JVM provides the ability to run architecture-neutral programs.
Antworten
  • True
  • False

Frage 28

Frage
The major difficulty in designing a layered operating system approach is ____.
Antworten
  • 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

Frage 29

Frage
A microkernel is a kernel ____.
Antworten
  • 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

Frage 30

Frage
To the SYSGEN program of an operating system, the least useful piece of information is _____.
Antworten
  • amount of memory available
  • what applications to install
  • operating-system options such as buffer sizes or CPU scheduling algorithms
  • the CPU being used

Frage 31

Frage
A boot block ____.
Antworten
  • 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

Frage 32

Frage
In a virtual machine, each program believes that it has ____.
Antworten
  • another "virtual" computer to assist in its operations
  • more memory than is physically available on the machine
  • its own memory
  • multiple processors
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Zeiten Englisch
Janine Egli
PuKW Step 2
Mona Les
Chemische Grundlagen-Auffrischung
anna garcias
Industrielle Revolution und soziale Frage
bibi97
PAED
M T
Vetie - Tierzucht & Genetik - T IV
Fioras Hu
PAED
Anna Huber
Vetie: Virofragen 2016
Johanna Tr
Vetie Radiologie 2017
Péroline de Gail
AVO 2015 Vetie
Anne Käfer