
DaD Quiz
Authored by Al Cr
Arts
1st Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How JMS- Jakarta/Java EE Messaging Service is different from RPC/RMI (Remote Procedure Call/Remote Method Invocation)?
In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. Thus it is completely asynchronous in nature. While in JMS the message sender just sends the message to the destination and continues its own processing. The sender does not wait for the receiver to respond. This is also synchronous behaviour.
In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. Thus it is completely asynchronous in nature. While in JMS the message sender just sends the message to the destination and continues its own processing. The sender does not wait for the receiver to respond. This is also asynchronous behaviour too.
In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. Thus is completely synchronous in nature. While in JMS the message sender just sends the message to the destination and continues its own processing. The sender does not wait for the receiver to respond. This is asynchronous behaviour.
None of the existing answers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements/conclusions is NOT true in light of Amdahl's law used to measure parallel processing performance?
Parallelizing 95% of the solution and using a number of 1000 processors/cores simultaneously, the execution time is theoretically a maximum of 20 times shorter than the duration of the sequential solution.
The performance of parallel processing is dependent on the parallelizable portion of the code and the number of processors/cores.
Increasing the number of processors does not automatically mean a significant decrease in processing time for non 100% parallel solutions.
All problems could be parallelizable and the performance is directly proportional to the number of processors/cores used.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In OpenMPI, what is printed by the process 0?
me : 0, them : 1
me : 0, them : 1 OR me : 0, them : 8
me : 1 them : 0 OR me : 0, them : 8
me : 1 them : 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we consider 2 vectors with values, X and Y, and the next sequence (pseudocode) that we want to execute in parallel : **S = 0; for (i = 1; i < 1000; i++) S = S + X[i] + Y[i];** What is the type of problem you will face in implementing the parallel solution?
The sequence cannot be executed in parallel because each iteration depends recursively on the previous interactions
Parallel thread synchronization issues
Loop dependencies
Race condition issues
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In OpenMPI, what is the purpose of a message tag?
To indicate the type of message
To count the number of characters in a message
To provide a mechanism to differentiate between message-passing routines written by different programmers
To provide a matching mechanism differentiating between message sent from one process to another process
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is NOT a parallel form/type of processing?
Bit level parallelism
RAM memory parallelism
Instruction level parallelism
Task-level parallelism
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about OpenMP Is NOT correct?
The main components of OpenMP are the compiler directives, the run-time library and the environment variables
OpenMP is an API that allows the implementation of explicit parallel solutions with multiple threads
OpenMP is designed for parallel systems with distributed memory and guarantees efficient memory usage
OpenMP supports UMA and NUMA architectures
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?