Search Header Logo

placement g2 quiz-1

Authored by Budde Teja

Information Technology (IT)

University

Used 1+ times

placement g2 quiz-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the size of float data type in C (on a 64-bit system)

2

4

8

16

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the result of 5 % 2

2

0

1

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the result of 18910/ 2 in C

0

1

9455

Infinite

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is NOT a valid relational operator in C

==

!=

<>

>

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output of the following code?

int a = 10;

if (a = 5)

printf("True");

else

printf("False");

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How many cases can be used in a switch statement?

1

Depend upon problem

5

atleast 10

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output of the following for loop?

for (int i = 1; i <= 3; i++) {

printf("%d ", i);

}

1 2 3

1 2 3 4

0 1 2

3 2 1

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?