Day7_Quiz_NBKR

Day7_Quiz_NBKR

Professional Development

10 Qs

quiz-placeholder

Similar activities

day4

day4

Professional Development

15 Qs

Python Basics - First step of Baby python

Python Basics - First step of Baby python

Professional Development

10 Qs

Python Test 5A

Python Test 5A

Professional Development

10 Qs

C Basic

C Basic

Professional Development

10 Qs

Control Systems

Control Systems

Professional Development

10 Qs

Quiz for Module2

Quiz for Module2

Professional Development

10 Qs

C Structures

C Structures

Professional Development

10 Qs

Python Functions

Python Functions

Professional Development

10 Qs

Day7_Quiz_NBKR

Day7_Quiz_NBKR

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Revathi M

Used 1+ times

FREE Resource

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

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?