100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS 3721 Chapter 3 Terms in this set (36) 1. The of a process contains temporary data such as function parameters, return addresses, and local variables. A) text section B) data section C) program counter D) stack D 2. A process control block ____. A)

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
03-08-2024
Written in
2024/2025

COS 3721 Chapter 3 Terms in this set (36) 1. The of a process contains temporary data such as function parameters, return addresses, and local variables. A) text section B) data section C) program counter D) stack D 2. 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 3. 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 4. The refers to the number of processes in memory. A) process count B) long-term scheduler C) degree of multiprogramming D) CPU scheduler C 5. 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 6. A saves the state of the 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 C 7. 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 8. 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 9. A blocking send() and blocking receive() is known as a(n) _________________ A) synchronized message B) rendezvous C) blocked message D) asynchronous message B 10 . 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 A 11. 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 12. A(n) allows several unrelated processes to use the pipe for communication. A) named pipe B) anonymous pipe C) LIFO D) ordinary pipe B 13. 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 14. 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 15. 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 16. 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 17. Which of the following is not a process type in the Chrome browser? A) Plug-in B) Renderer C) Sandbox D) Browser C 18. The application is the application appearing on the display screen of a mobile device. A) main B) background C) display D) foreground D 19. 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 20. The process is assigned as the parent to orphan processes. A) zombie B) init C) main D) renderer B 35. All processes in UNIX first translate to a zombie process upon termination. A 36. The difference between a program and a process is that a program is an active entity while a process is a passive entity. B 37. The exec() system call creates a new process. B 38. All access to POSIX shared memory requires a system call. B 39. Local Procedure Calls in Windows XP are similar to Remote Procedure Calls. A 40. For a single-processor system, there will never be more than one process in the Running state. A COS 3721 Chapter 3 41. Shared memory is a more appropriate IPC mechanism than message passing for distributed systems. B 42. Ordinary pipes in UNIX require a parent- child relationship between the communicating processes. A 43. Ordinary pipes in Windows require a parent-child relationship between the communicating processes. A 44. Using a section object to pass messages over a connection port avoids data copying. A 45. A socket is identified by an IP address concatenated with a port number. A 46. Sockets are considered a high-level communications scheme. B 47. The Mach operating system treats system calls with message passing. A 48. Named pipes continue to exist in the system after the creating process has terminated. A 49. A new browser process is create by the Chrome browser for every new website that is visited. B 50. The iOS mobile operating system only supports a limited form of multitasking. A

Show more Read less
Institution
ABC - Accredited Business Communicator
Course
ABC - Accredited Business Communicator









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
ABC - Accredited Business Communicator
Course
ABC - Accredited Business Communicator

Document information

Uploaded on
August 3, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

8/3/24, 2:25 AM

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Denyss Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
1 year
Number of followers
3
Documents
6307
Last sold
3 days ago
Classic Writers

I am a professional writer/tutor. I help students with online class management, exams, essays, assignments and dissertations. Improve your grades by buying my study guides, notes and exams or test banks that are 100% graded

5.0

2 reviews

5
2
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions