Scheduled maintenance: August 3, 2024 from 01:00 PM to 02:00 PM
COS 3721 Chapter 3
Jeremiah
Terms in this set (36)
1. The ___ of a process contains temporary D
data such as function parameters, return
addresses, and local variables.
A) text section B) data section
C) program counter D) stack
2. A process control block ____. A
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
3. The list of processes waiting for a B
particular I/O device is called a(n) ____.
A) standby queue
B) device queue
C) ready queue
D) interrupt queue
4. The ________ refers to the number of C
processes in memory.
A) process count
B) long-term scheduler
C) degree of multiprogramming
D) CPU scheduler
5. When a child process is created, which of D
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
6. A ___________ saves the state of the C
currently running process and restores the
state of the next process to run.
A) save-and-restore
B) state switch
C) context switch
D) none of the above
1/5
, 8/3/24, 2:25 AM
7. A process may transition to the Ready D
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
8. In a(n) ___ temporary queue, the sender A
must always block until the recipient receives
the message.
A) zero capacity B) variable capacity
C) bounded capacity D) unbounded
capacity
9. A blocking send() and blocking receive() is B
known as a(n) _________________
A) synchronized message
B) rendezvous
C) blocked message
D) asynchronous message
10 . Which of the following is true in a Mach A
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
11. When communicating with sockets, a D
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
12. A(n) _________ allows several unrelated B
processes to use the pipe for
communication.
A) named pipe
B) anonymous pipe
C) LIFO
D) ordinary pipe
2/5