OODP_Batch 1_Quiz

OODP_Batch 1_Quiz

University

30 Qs

quiz-placeholder

Similar activities

C/C++ Programming Quiz

C/C++ Programming Quiz

University

25 Qs

Types and IO in C++

Types and IO in C++

University - Professional Development

26 Qs

Compro. Final 1/64 part1

Compro. Final 1/64 part1

University

25 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

C Language Quiz

C Language Quiz

University

30 Qs

C- Geniusia

C- Geniusia

University

25 Qs

Final Exam Revision (Trial)

Final Exam Revision (Trial)

University

25 Qs

TARANG C-COLLEGIUM ROUND-2

TARANG C-COLLEGIUM ROUND-2

University

30 Qs

OODP_Batch 1_Quiz

OODP_Batch 1_Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Arunsundar Balasubramanian

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Guess the output of the following code:

2.500000

2.000000

2

Compilation Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the loop execute?

4

5

6

Infinite times

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare an integer pointer is

int ptr;

int *ptr;

ptr *int;

int &ptr;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Find the value of x in this code:

10

15

20

40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This function returns ---------

Fibonacci sequence

Factorial of n

Sum of first n numbers

Power of n

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the following code is:

True

False

Error

Undefined behaviour

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output?

3.14

3.140000

3.1

Error

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?