GoConqr has a new look! Let us know what you think.

Quiz

CS 372 Quiz 2 Practice

Amanda Hatch 54 questions Updated 16 Jan 2017

Take the quiz

Questions in this quiz (54)

  1. 1The ____ of a process contains temporary data such as function parameters, return addresses, and local variables.
    1. Aprogram counter
    2. Bdata section
    3. Ctext section
    4. Dstack
  2. 2Which of the following is true in a Mach operating system?
    1. AAll messages have the same priority.
    2. BMultiple messages from the same sender are guaranteed an absolute ordering.
    3. CThe sending thread must return immediately if a mailbox is full.
    4. DIt is not designed for distributed systems.
  3. 3When 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?
    1. A21
    2. B1625
    3. C23
    4. D80
  4. 4 The ____________ class must be extended when implementing a remote object.
    1. Ajava.rmi.Remote
    2. BNaming.lookup
    3. C None. java allows any class to be a remote object
    4. Djava.rmi.server.UnicastRemoteObject
  5. 5Which of the following statements is true?
    1. AMessage passing is typically faster than shared memory.
    2. BMessage passing is most useful for exchanging large amounts of data.
    3. CShared memory is far more common in operating systems than message passing.
    4. DShared memory is typically faster than message passing
  6. 6 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.
    1. A150.55.66.77:80 and 202.28.15.123:3500
    2. B150.55.66.77:80 and 202.28.15.123:80
    3. C150.55.66.77:2000 and 202.28.15.123:80
    4. D150.55.66.77:150 and 202.28.15.123:80
  7. 7A process control block ____.
    1. Aincludes information on the process's state
    2. Bdetermines which process is to be executed next
    3. C is an example of a process queue
    4. Dstores the address of the next instruction to be processed by a different process
  8. 8The difference between a program and a process is that a program is an active entity while a process is a passive entity.
    1. ATrue
    2. BFalse
  9. 9 The exec() system call creates a new process.
    1. ATrue
    2. BFalse
  10. 10The list of processes waiting for a particular I/O device is called a(n) ____.
    1. Adevice queue
    2. Bready queue
    3. Cstandby queue
    4. D interrupt queue

Information

Description
This is the second quiz questions for practice. This is also a partial review for Midterm 1.
Language
English
Views
591
History
Created on 5 May 2014 · updated on 16 Jan 2017
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?