placement g2 quiz-1

placement g2 quiz-1

University

15 Qs

quiz-placeholder

Similar activities

Computer Programming I Finals

Computer Programming I Finals

University

11 Qs

Web Application - PHP Repetition

Web Application - PHP Repetition

University

15 Qs

Operasi Input & Output C++

Operasi Input & Output C++

University

10 Qs

Итоговый тест по С

Итоговый тест по С

University

20 Qs

CMDP2063 Unix and C Programming (Revision)

CMDP2063 Unix and C Programming (Revision)

University

15 Qs

Codean - Java Loop

Codean - Java Loop

University

17 Qs

CMDP2063 Unix and C Programming

CMDP2063 Unix and C Programming

University

15 Qs

Python Challenge

Python Challenge

University

15 Qs

placement g2 quiz-1

placement g2 quiz-1

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Budde Teja

Used 1+ times

FREE Resource

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

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?