How JMS- Jakarta/Java EE Messaging Service is different from RPC/RMI (Remote Procedure Call/Remote Method Invocation)?

DaD Quiz

Quiz
•
Arts
•
1st Grade
•
Easy
Al Cr
Used 7+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
34 questions
The Night Diary Review

Quiz
•
1st Grade - University
40 questions
TLE Reviewer

Quiz
•
1st - 5th Grade
40 questions
Kpop fan

Quiz
•
1st - 10th Grade
40 questions
Karácsonyi filmek

Quiz
•
1st - 5th Grade
35 questions
Star Wars Trivia

Quiz
•
1st - 5th Grade
42 questions
TTTM- 288-291

Quiz
•
1st - 5th Grade
40 questions
Solfege Quiz 1.1-1.4

Quiz
•
KG - 8th Grade
34 questions
The Calendar

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Arts
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade