Filters
Question type

Study Flashcards

Which of the following cases could force a process removed from the CPU?


A) I/O request
B) fork a child
C) interrupt or time slice expired
D) all of the above

E) B) and C)
F) B) and D)

Correct Answer

verifed

verified

Name the three types of sockets used in Java and the classes that implement them.

Correct Answer

verifed

verified

Connection-oriented (TCP) sockets are im...

View Answer

Which of the following contains memory allocated by malloc() ?


A) text section
B) data section
C) heap section
D) stack section

E) C) and D)
F) A) and C)

Correct Answer

verifed

verified

C

Describe how UNIX and Linux manage orphan processes.

Correct Answer

verifed

verified

If a parent terminates without first cal...

View Answer

Ordinary pipes in Windows require a parent-child relationship between the communicating processes.

A) True
B) False

Correct Answer

verifed

verified

True

All processes in UNIX first translate to a zombie process upon termination.

A) True
B) False

Correct Answer

verifed

verified

Local Procedure Calls in Windows XP are similar to Remote Procedure Calls.

A) True
B) False

Correct Answer

verifed

verified

Which of the following process state will be switched from "ready" state?


A) ready
B) terminated
C) waiting
D) running

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

D

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.

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Which of the following memory space dynamically grows from high memory to low memory?


A) text section
B) data section
C) heap section
D) stack section

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Sockets are considered a high-level communications scheme.

A) True
B) False

Correct Answer

verifed

verified

Ordinary pipes are unidirectional, allowing only one-way communication.

A) True
B) False

Correct Answer

verifed

verified

Assume the shared buffer is implemented as a circular array with two logical pointers: in and out. The variable in points to the next free position in the buffer; out points to the first full position in the buffer. Which of the following is true?


A) The buffer is empty when in == out; the buffer is full when ((in + 1) % BUFFER SIZE) == out;
B) The buffer is full when in == out; the buffer is empty when ((in + 1) % BUFFER SIZE) == out;
C) All the elements of the buffer can be used;
D) Both A and C

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

The Mach operating system treats system calls with message passing.

A) True
B) False

Correct Answer

verifed

verified

Which of the following IPC mechanism is easier to implement in a distributed system?


A) shared memory
B) message passing
C) socket communication
D) ordinary pipe

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Which of the following is not a process type in the Chrome browser?


A) Plug-in
B) Renderer
C) Sandbox
D) Browser

E) All of the above
F) None of the above

Correct Answer

verifed

verified

Which of the following contains global data?


A) text section
B) data section
C) heap section
D) stack section

E) B) and D)
F) C) and D)

Correct Answer

verifed

verified

Which of the following system calls is used to let the parent process create a child process?


A) abort() ;
B) wait() ;
C) fork() ;
D) exec() .

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

Ordinary pipes in UNIX require a parent-child relationship between the communicating processes.

A) True
B) False

Correct Answer

verifed

verified

The iOS mobile operating system only supports a limited form of multitasking.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 55

Related Exams

Show Answer