OS - Exam 1

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

150.55.66.77:2000 and 202.28.15.123:80

Imagine that a host with IP address 150.55.66.77 wishes to download a file from the web server at IP address 202.28.15.123. Select a valid socket pair for a connection between this pair of hosts.

its own memory

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

Only the user mode

In which mode does API run?

Only the kernel mode

In which mode does System calls run?

Yes

Welcome to OS class. Do you want to receive "Welcome Bonus Points"?

ALL OF THESE A. Register B. Block C. Stack

Which of the following methods are used to pass parameters to the OS?

Register

Which of the following methods limit the number or length of parameters being passed to the OS?

ALL OF THESE A. Parent and children share all resources B. Children share a part of parent's resources C. Parent and child share no resources D. A and B E. B and C

Which of the following relationship on resource sharing is possible?

Context switch time is overhead

Which of the following statements about context switch is true?

Cooperating processes need interprocess communication

Which of the following statements about context switch is true?

Independent processes cannot affect the execution of another process

Which of the following statements about context switch is true?

ALL OF THESE A. An operating system provides an environment for the execution of programs B. An operating system manages system resources C. Operating systems must provide both protection and security

Which of the following statements is correct?

Shared memory is typically faster than message passing.

Which of the following statements is true?

Manage data transmission over internet

Which one of the followings is not the goals of OS?

System calls

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

is asynchronous.

Non-blocking Send

that is stripped of all nonessential components

A microkernel is a kernel ____.

API

Application programmers typically use ____ to access the services provided by OS?

is synchronous

Blocking Receive

True

Local Procedure Calls in Windows are similar to Remote Procedure Calls,

Hybrid structure

Mac OS X adopts _______

Microkernel structure

Mach OS adopts _______

message passing

Microkernels use _____ for communication

Modular structure

Most modern Operating Systems adopt ____

False

Named pipes are unidirectional .

True

Ordinary pipes in Windows require a parent-child relationship between the communicating processes.

Only the kernel mode

Privileged instructions may be executed by____

Long-term scheduler

Selecting which job should be brought into memory is ___

Short-term scheduler

Selecting which process should obtain CPU and execute next is ___

False

Shared memory is a more appropriate IPC mechanism than message passing for distributed systems.

Medium-term scheduler

Swapping out or swapping in partially executed processes is ___

False

The exec() system call creates a new process.

Change the layout of a document

The hardware/user gap is bridged by the OS or by other system software. Which of the following task does not require OS support?

Socket Communication.

The information or messages exchanged in ______ is pure data packet


Ensembles d'études connexes

((Chapter 6)) GDP: Measuring Total Production and Income

View Set

Chapter 27: Community Mental Health Nursing

View Set

Econ 101 Ch. 2-3 Demand & Supply

View Set