Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Examen

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)

Note
-
Vendu
-
Pages
5
Grade
A+
Publié le
03-08-2024
Écrit en
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

Montrer plus Lire moins
Établissement
ABC - Accredited Business Communicator
Cours
ABC - Accredited Business Communicator

Aperçu du contenu

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

École, étude et sujet

Établissement
ABC - Accredited Business Communicator
Cours
ABC - Accredited Business Communicator

Infos sur le Document

Publié le
3 août 2024
Nombre de pages
5
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

€7,21
Accéder à l'intégralité du document:

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF


Document également disponible en groupe

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
Denyss Teachme2-tutor
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
24
Membre depuis
1 année
Nombre de followers
3
Documents
6300
Dernière vente
3 mois de cela
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 revues

5
2
4
0
3
0
2
0
1
0

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions