quiz 1 Ch.1 & Ch.2 operating systems

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following will trigger an interrupt? CPU execution software execution kernel function I/O completion

I/O completion

The ________ provides a portion of the system call interface for UNIX and Linux. Question options: POSIX Standard C library Standard API Java

Standard C library

VMware is a virtual machine manager when it manages guest operating systems. Question options: True False

True

Virtually all modern operating systems provide support for SMP Question options: True False

True

Which of the following contains the addresses of all the service routines? Question options: interrupt vector page table file descriptor table system call table

interrupt vector

Which of the following programs runs all the time on the computer?

kernel

Which of the following principles is used for adding and removing items from a stack? Question options: first in first out (FIFO) random order round robin last in first out (LIFO)

last in first out (LIFO)

Which of the following is tertiary storage medium? Question options: register magnetic tapes hard-disk drive main memory

magnetic tapes

One important principle is the separation of policy from mechanism. Question options: True False

True

Which of the following are used by Linux kernel as data structures? Lists, Stacks, and Queues Trees Hash Functions and Maps Bitmaps All of the above

All of the above

Which of the following technology reduces the overhead for bulk data movement? Question options: Storage Area Network (SAN) Direct Memory Access (DMA) Symmetric Multiprocessing (SMP) Non-uniform Memory Access (NUMA)

Direct Memory Access (DMA)

A system call is triggered by hardware. Question options: True False

False

Applications compiled on one operating system can be directly executable on other operating systems due to common structure. Question options: True False

False

Solid state disks are considered volatile storage Question options: True False

False

Which of the following is not a type of command interpreter? Question options: KDE or GNOME Korn shell Bourne shell C shell

KDE or GNOME

Which of the following statements is incorrect? Question options: Operating systems must provide both protection and security. An operating system manages system resources. An operating system provides an environment for the execution of programs. Operating systems provide both command line as well as graphical user interfaces.

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

Which of the following storage medium is the slowest regarding access speed?

Solid State Drive

_____ provide(s) an interface to the services provided by an operating system. Question options: Simulators Communication System calls Shared memory

System calls

Application programmers typically use an API rather than directory invoking system calls. Question options: True False

True

Mac OS X is a hybrid system consisting of both the Mach microkernel and BSD UNIX. Question options: True False

True

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

True

MapReduce is a system which allows for parallel processing of data across nodes in the cluster. Question options: True False

True

Which of the following is the definition of processor? Question options: the hardware that executes instructions a physical chip that contains one or more CPUs including multiple computing cores on the same CPU the basic computation unit of the CPU

a physical chip that contains one or more CPUs

Which of the following defines the view of the operating system seen by most users? Question options: library calls system calls device drivers application and system programs

application and system programs

Which of the following components of a computer system defines the ways to use system resources to solve computing problems? Question options: application programs computer hardware computer logo operating system

application programs

Which of the following is the correct program type for GRUB in Linux and Unix systems? Question options: binder program system utility compiler program bootstrap program

bootstrap program

Which of the following is loosely coupled? Question options: multi-core processor multiprocessor systems single-processor system clustered system

clustered system

When a process fails, the operating system takes a ________ which can then be probed by a debugger for failure analysis? Question options: core dump crash dump capture of network statistic information capture of CPU usage information

core dump

The CPU catches the interrupt and ____ it to the interrupt handler

dispatches

A message-passing model is ____. Question options: a network protocol, and does not apply to operating systems easier to implement than a shared memory model for intercomputer communication faster than the shared memory model only useful for small simple operating systems

easier to implement than a shared memory model for intercomputer communication

The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX? Question options: fork() NTCreateProcess() getpid() process()

fork()

Which of the following is not an operating system service? Question options: program execution protection and security graphical user interface I/O operation

graphical user interface

Which of the following is nonvolatile? Question options: hard-disk drive cache main memory register

hard-disk drive

Android runs Java programs _____________ Question options: Android does not run Java programs. in the Android RunTime (ART) virtual machine. natively. in the Java virtual machine.

in the Android RunTime (ART) virtual

Where is the location of L1 cache? Question options: inside CPU core inside registers inside processor but outside CPU core inside main memory

inside CPU core

Which of the following clears the interrupt by servicing the device? Question options: interrupt vector interrupt request line interrupt-controller hardware interrupt service routine

interrupt service routine

Which of the following stage triggers the CPU switch from user program to interrupt processing?

interrupt signaled

Microkernels use _____ for communication. Question options: virtualization system calls message passing shared memory

message passing

Which of the following is an inter-process communication that requires two processes share memory? Question options: message passing shared memory socket communication all of the above

message passing

Which of the following operating system structure is the one for Mach OS? Question options: monolithic structure modular approach microkernel layered structure

microkernel

Which of the following operating system structure involves using loadable kernel module in design? Question options: microkernel monolithic structure layered structure modular approach

modular approach

Which of the following operating system structure is the one for MS-DOS? Question options: microkernel modular approach layered structure monolithic structure

monolithic structure

What is the relationship between library call open() and open() system call? Question options: open() is a predecessor version of open() system call open() system call in an alternate version of open() open() invokes open() system call to get service from operating system open() system call is part of open()

open() invokes open() system call to get service from operating system

What category of system call includes the ones for process creation of and termination? Question options: process control file management protection device management

process control

The device controller _____ an interrupt by asserting a signal on the interrupt request line. Question options: raises clears catches dispatches

raises

Which of the following is NOT secondary storage device? Question options: solid state disks random access memory magnetic tape optical disk

random access memory

Which of the following computing environments place rigid time requirements on the operation of a processor or the flow of data? Question options: traditional computing peer-to-peer computing client-server computing real-time embedded system

real-time embedded system

Which of the following is the only gateway between user space and kernel space? Question options: operating system user interface hardware drivers system call

system call

Which of the following is a user interface where human fingers slide across the screen or press buttons to select choices? Question options: command line graphical user interface voice control touch screen

touch screen

The two separate modes of operating in a system are Question options: user mode and kernel mode supervisor mode and system mode physical mode and logical mode kernel mode and privileged mode

user mode and kernel mode


Kaugnay na mga set ng pag-aaral

BIOLOGY - UNIT 3: CELLS CELL DESIGN

View Set

CHAPTER 8 - SOCIOEMOTIONAL DEVELOPMENT IN EARLY CHILDHOOD

View Set

Statistics-Chapter 4 Study Questions

View Set

Data Quality Characteristics & stats

View Set

Midterm: chapters 1-7 Society the basics

View Set

Chemistry Chapter 12 Study Guide

View Set