DaD Quiz

DaD Quiz

1st Grade

39 Qs

quiz-placeholder

Similar activities

QUALITAT

QUALITAT

1st - 8th Grade

40 Qs

The Lion the Witch and the Wardrobe (Chapters 7-11)

The Lion the Witch and the Wardrobe (Chapters 7-11)

KG - 8th Grade

39 Qs

KET3 HK2

KET3 HK2

1st Grade

37 Qs

LIRIKA

LIRIKA

1st - 4th Grade

35 Qs

titled Quiz

titled Quiz

1st Grade - University

40 Qs

1st Quarter

1st Quarter

1st - 4th Grade

41 Qs

LANG 1

LANG 1

1st Grade - University

35 Qs

UAS Jarkom 8-9-10-11 Malam

UAS Jarkom 8-9-10-11 Malam

1st - 5th Grade

40 Qs

DaD Quiz

DaD Quiz

Assessment

Quiz

Arts

1st Grade

Easy

Created by

Al Cr

Used 7+ times

FREE Resource

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?