Search Header Logo

Day7_Quiz_NBKR

Authored by Revathi M

Professional Development

Professional Development

Used 1+ times

Day7_Quiz_NBKR
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

1 min • 1 pt

1. What will be the final value of the c in the following c statement.(initial value c = 2;) c<<=1;

c = 4;

c = 2;

c = 1;

c = 0;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

2. What will be the output of the following c code?

undefined

no

yes

run time error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

3. what will be the output of the c code?

loop loop loop

loop

loop loop

run time error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

4.What will be the output of the following C code (without linking the source file in which ary1 is defined)?

Skill-lync

Linking error due to undefined reference

Compile time error because size of array is not provided

Compile time error because datatype of array is not provided

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

5.What will be the output of the following C code?

8 3

3 8

8 5

5 3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Objects can be used _____________________

To access only public members of a class

To access only protected members of a class

To access only private members of a class

To access any member of a class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data members can be inherited but are private to a class?

Private

Protected and Static

Protected

Privately inherited

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?

Discover more resources for Professional Development