Chapter 3 Multiple Choice

Ace your homework & exams now with Quizwiz!

A blocking send() and blocking receive() is known as a(n) _________________ A) synchronized message B) rendezvous C) blocked message D) asynchronous message

B

A(n) ______________ allows several unrelated processes to use the pipe for communication. A) named pipe B) anonymous pipe C) LIFO D) ordinary pipe

B

The _______ process is assigned as the parent to orphan processes. A) zombie B) init C) main D) renderer

B

A process control block ____. A) includes information on the process's state B) stores the address of the next instruction to be processed by a different process C) determines which process is to be executed next D) is an example of a process queue

A

A process that has terminated, but whose parent has not yet called wait(), is known as a ________ process. A) zombie B) orphan C) terminated D) init

A

In a(n) ____ temporary queue, the sender must always block until the recipient receives the message. A) zero capacity B) variable capacity C) bounded capacity D) unbounded capacity

A

Which of the following is true in a Mach operating system? A) All messages have the same priority. B) Multiple messages from the same sender are guaranteed an absolute ordering. C) The sending thread must return immediately if a mailbox is full. D) It is not designed for distributed systems.

A

Which of the following statements is true? A) Shared memory is typically faster than message passing. B) Message passing is typically faster than shared memory. C) Message passing is most useful for exchanging large amounts of data. D) Shared memory is far more common in operating systems than message passing.

A

Child processes inherit UNIX ordinary pipes from their parent process because: A) The pipe is part of the code and children inherit code from their parents. B) A pipe is treated as a file descriptor and child processes inherit open file descriptors from their parents. C) The STARTUPINFO structure establishes this sharing. D) All IPC facilities are shared between the parent and child processes.

B

The list of processes waiting for a particular I/O device is called a(n) ____. A) standby queue B) device queue C) ready queue D) interrupt queue

B

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. A) 150.55.66.77:80 and 202.28.15.123:80 B) 150.55.66.77:150 and 202.28.15.123:80 C) 150.55.66.77:2000 and 202.28.15.123:80 D) 150.55.66.77:80 and 202.28.15.123:3500

C

The _____________ refers to the number of processes in memory. A) process count B) long-term scheduler C) degree of multiprogramming D) CPU scheduler

C

Which of the following is not a process type in the Chrome browser? A) Plug-in B) Renderer C) Sandbox D) Browser

C

Which of the following statements is true? A) Named pipes do not allow bi-directional communication. B) Only the parent and child processes can use named pipes for communication. C) Reading and writing to ordinary pipes on both UNIX and Windows systems can be performed like ordinary file I/O. D) Named pipes can only be used by communicating processes on the same machine.

C

A process may transition to the Ready state by which of the following actions? A) Completion of an I/O event B) Awaiting its turn on the CPU C) Newly-admitted process D) All of the above

D

The ________ application is the application appearing on the display screen of a mobile device. A) main B) background C) display D) foreground

D

When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process? A) The child process runs concurrently with the parent. B) The child process has a new program loaded into it. C) The child is a duplicate of the parent. D) All of the above

D

When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process? A) The child process runs concurrently with the parent. B) The child process has a new program loaded into it. C) The child is a duplicate of the parent. D) All of the aboveD

D

When communicating with sockets, a client process initiates a request for a connection and is assigned a port by the host computer. Which of the following would be a valid port assignment for the host computer? A) 21 B) 23 C) 80 D) 1625

D

The ____ of a process contains temporary data such as function parameters, return addresses, and local variables. A) text section B) data section C) programcounter D) stack

D Stacl


Related study sets

PrepU Delirium/Dementia Chapter 11 Questions

View Set

C++ Early Objects, Ninth Edition - Chapter 1

View Set

Psychology chapter 1 + 2 homework questions

View Set

Understanding Cyber Crime and Security

View Set

APHY 201 Module 13 Digestive System Part 2 Ivy Tech

View Set

Econlowdown It's Your Paycheck! Lesson 3: Cash the Check and Track the Dough

View Set