c++ test-3

c++ test-3

University

10 Qs

quiz-placeholder

Similar activities

Java Bootcamp Day 4

Java Bootcamp Day 4

University

15 Qs

Java1

Java1

University

10 Qs

Basic C Knowledge Exercise

Basic C Knowledge Exercise

University

10 Qs

C programming

C programming

University

15 Qs

AFP Midtvejsevaluering

AFP Midtvejsevaluering

University

10 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

CMP128 Java Ch. 05 Methods

CMP128 Java Ch. 05 Methods

University

10 Qs

C_Basic.c

C_Basic.c

University

13 Qs

c++ test-3

c++ test-3

Assessment

Quiz

Computers

University

Hard

Created by

Lova Pyla

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

c++ is a

oop

pop

both

none

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

__________ 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

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?