wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

INTRODUCTION TO C++

Total questions: 18

Worksheet time: 13mins

Name
Class
Date
1.
C++ is a _____________ programming lanuage
a)
Structured
b)
Procedure oriented
c)
Object oriented
d)
Object based
2.
C++ language has been developed in the year of _________.
a)
1980
b)
1970
c)
1960
d)
1975
3.
In procedure oriented program large programs are divided into smaller programs known as _______.
a)
Functions
b)
objects
c)
class
d)
blocks
4.
Who is the developer of C++?
a)
Bjarne Stroustrup
b)
Dennis Ritchie
c)
Ken Thompson
d)
Martin Richards
5.
The original name of C++ language was
a)
C with classes
b)
classes
c)
C
d)
C with oops
6.
C++ support with
a)
POP
b)
OOPs
c)
Database
d)
None
7.
Procedure oriented program follows __________ approach
a)
Top down
b)
Bottom up
c)
Procedure
d)
object
8.
Object oriented program follows __________ approach
a)
Top down
b)
Bottom up
c)
Procedure
d)
object
9.
In 1982, “C with Classes” was renamed as C++. Who names it?
a)
Dennis Ritche
b)
Rick Mascitti
c)
Brain Kernighan
d)
Bjarne Stroustrup
10.
Stroustup barrowed the class concept to his language “C with Classes” from
a)
Smalltalk
b)
Simula67 and C
c)
Ada
d)
Effiel
11.
The most important facilities that C++ adds on to C are
a)
Classes
b)
Inheritance
c)
function overloading
d)
objects
12.
In object oriented program large programs are divided into _______.
a)
Functions
b)
objects
c)
class
d)
blocks
13.
The _______ is the collection of similar objects
a)
class
b)
object
c)
Inheritance
d)
Dynamic Binding
14.
The insulation of data from direct access by the program is called as __________.
a)
Data encapsulation
b)
Data hiding
c)
Private
d)
Data abstraction
15.
The _______ is the collection of interacting objects.
a)
Procedure oriented programming
b)
Object oriented programming
c)
Structured Oriented programming
d)
Object based programming
16.
The concept of inheritance provides the idea of
a)
Reliability
b)
Reusability
c)
Portability
d)
Extensibility
17.
The code associated with a given procedure is not known until the time of the call at run time is called________.
a)
Dynamic binding
b)
Static binding
c)
Information hiding
d)
Abstraction
18.
When the code to be linked with the call is known at compile time that situation is called as _____
a)
Dynamic binding
b)
Static binding
c)
Information hiding
d)
Abstraction