Search Header Logo

OODP - AM1 - FT1 - 04.02.2025

Authored by Kiruthika M

Computers

University

Used 2+ times

OODP - AM1 - FT1 - 04.02.2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

3.000000

3

1.500000

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

20 sec • 1 pt

How do you correctly initialize an integer pointer?

int ptr = 0;

int *ptr = NULL;

ptr *int = 0;

int &ptr = 0;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Value of 'x' in this code is:

10

30

20

40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

printf will print

10

20

30

40

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the following code is:

True

False

Undefined Output

Error

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?