Filters
Question type

Study Flashcards

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


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

Correct Answer

verifed

verified

D

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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

True

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

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

Correct Answer

verifed

verified

The Mach operating system treats system calls with message passing.

Correct Answer

verifed

verified

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

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() .

Correct Answer

verifed

verified

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


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

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

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 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

Correct Answer

verifed

verified

Sockets are considered a high-level communications scheme.

Correct Answer

verifed

verified

Which of the following contains global data?


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

Correct Answer

verifed

verified

Showing 1 - 20 of 55

Related Exams

Show Answer