Search Header Logo

c++ test-3

Authored by Lova Pyla

Computers

University

Used 1+ times

c++ test-3
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

10 sec • 1 pt

c++ is a

oop

pop

both

none

2.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

(a)   can be used as a bridge to have data flow from one function to another.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Pick up the behaviours.

Car

Tiled Background

Sprite

Turret

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

class student { private: int a; public: int b; protected: int c; }; Which datamember of the class cannot be accessed outside the class?

int a
int b
int c
all the datamembers cannot be accessed outside the class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C ++ has inheritance concept but c has not inheritance concept

True

False

Trulse

I don't know

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which syntax for class definition is wrong?

class student{ };
student class{ };
class student{ public: student(int a){ } };
class student{ student(int a){} };

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

(from Greek meaning “many forms”) is the quality that allows one interface to access a general class of actions.

Polymorphism

Inheritance

Encapsulation

Object-Oriented Programming

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?