Name:     ID: 
 
Email: 

COSC 2308 Chap 6 Quiz

True/False
Indicate whether the statement is true or false.
 

 1. 

Parallel processing is a situation in which two or more processors operate in unison.
 

 2. 

In multiprocessing systems, the Processor Manager has to coordinate the activity of each processor, as well as synchronize cooperative interaction among the CPUs.
 

 3. 

The only reason for multiprocessing is to increase computer power.
 

 4. 

When multiprocessing takes place at the thread level, a high degree of synchronization is required to disassemble each process.
 

 5. 

The master/slave configuration is a symmetric multiprocessing system.
 

 6. 

In a master/slave system, the master processor is responsible for managing the entire system—all files, devices, memory, and processors.
 

 7. 

The loosely coupled configuration features several complete computer systems, each with its own memory, I/O devices, CPU, and operating system.
 

 8. 

In a loosely coupled system, a job may move from one processor to another during execution.
 

 9. 

The symmetric configuration is best implemented if the processors are all of the same type.
 

 10. 

In a symmetric configuration, processor scheduling is centralized.
 

 11. 

The common element in all synchronization schemes is to allow a process to finish work on a critical region of the program before other processes have access to it.
 

 12. 

A semaphore is a negative integer variable that is used as a binary signal.
 

 13. 

The problem of masters and slaves arises when two types of processes need to access a shared resource such as a file or database.
 

 14. 

Multiprocessing can refer to one job using several processors to execute sets of instructions in parallel.
 

 15. 

For many computational purposes, serial processing is sufficient; it’s easy to implement and fast enough for most users.
 

 16. 

Threads share the same resources as the process that created them.
 

 17. 

Java was developed by Sun Microsystems, Inc., and released in 1995 as the first software platform that promised to allow programmers to code an application with the capability to run on any computer.
 

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 18. 

Parallel processing is also called ____.
a.
uniprocessing
c.
shared processing
b.
multiprocessing
d.
divided processing
 

 19. 

One single-core CPU chip in 2003 placed about ____transistors into one square mullimeter, roughly the size of the tip of a ball point pen.
a.
100,00
c.
10,000,000
b.
1,000,000
d.
100,000,000
 

 20. 

The ____ configuration is an asymmetric multiprocessing system.
a.
loosely coupled
c.
start/end
b.
master processors
d.
master/slave
 

 21. 

In a loosely coupled multiporocessing configuration each processor has its own ____.
a.
dedicated resources
c.
threads
b.
master processor
d.
slave
 

 22. 

The ____ configuration is the most difficult to implement.
a.
master/slave
c.
symmetric
b.
loosely coupled
d.
shared load
 

 23. 

In a symmetric configuration, processor scheduling is ____.
a.
centralized
c.
multifaceted
b.
decentralized
d.
balanced
 

 24. 

The need for algorithms to resolve conflicts between processors is called process ____.
a.
communication
c.
reduction
b.
synchronization
d.
transformation
 

 25. 

A ____ of processing must be handled as a unit.
a.
line
c.
critical region
b.
segment
d.
semaphore
 

 26. 

Lock and key synchronization must take place within a single ____.
a.
instruction
c.
processor
b.
computer
d.
machine cycle
 

 27. 

When a computer evaluates the expression A = 3 * B * C + 4 / (D + E) ** (F – G), in a sequential manner, ____ is evaluated as a first step.
a.
F – G
c.
C + 4
b.
3 * B
d.
B * C
 

 28. 

Automatic detection by the compiler of instructions that can be performed in parallel is called ____.
a.
automatic parallelism
c.
explicit parallelism
b.
array parallelism
d.
implicit parallelism
 

 29. 

Most current operating systems support the implementation of threads, or ____, which have become part of numerous application packages.
a.
parallel processes
c.
heavyweight processes
b.
lightweight processes
d.
semaphores
 

 30. 

The source code of a Java program is first compiled into an intermediate language called Java ____, which are platform-independent.
a.
beans
c.
bits
b.
nibs
d.
bytecodes
 



 
         Start Over