Search Header Logo

CS6801- Multi­core Architectures and Programming

Authored by SURESH KUMAR S

Computers

University

Used 132+ times

CS6801- Multi­core Architectures and Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is OpenMP ?

OpenMP = Open Multi-threading

OpenMP = Open Multi-tasking

Multi tasking

OpenMP = Open Multi-processing

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Compiling and running OpenMP code

hellosmp

g++ fopenmp hellosmp.c -o hellosmp

gcc -fopenmp hellosmp.c -o hellosmp

gcc -fopenmp hellosmp.c -o hellosmp

./hellosmp

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Specifying the parallel region (creating threads)

pragma omp parallel

{}

omp parallel

{}

#pragma omp parallel

{}

pragma omp

{}

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Display "Hello, world." using multiple threads.

main(void)

{

#pragma omp parallel

{

printf("Hello, world.\n");

}


return 0;

}

#include < stdio.h >


int main(void)

{

#pragma omp parallel

{

printf("Hello, world.\n");

}


return 0;

}

#include < stdio.h >


int main(void)

{

pragma omp parallel

{

printf("Hello, world.\n");

}


return 0;

}

#include < stdio.h >


int main(void)

{

#pragma

{

printf("Hello, world.\n");

}


return 0;

}

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What Is Shared-memory Architecture?

A space is visible to all execution threads.

A multi address space is visible to all execution threads.

A address space is visible to all execution threads.

A single address space is visible to all execution threads.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What Is Task-throughput?

The number of multi tasks completed in a given time

The number of singel tasks completed in a given time

The number of tasks completed in a given time

The number of thread completed in a given time

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Efficiency is

E= S

E= S/P

E= P

E= P/S

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?