-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.py
18 lines (18 loc) · 1.43 KB
/
data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
question_data = [
{"text": "It is not possible to achieve inheritance of structures in c++?", "answer": "False"},
{"text": "Super classes are also called Parent classes/Base classes.", "answer": "True"},
{"text": "Friend functions have access only to public members of the class.", "answer": "False"},
{"text": "A function designed as public can be accessible by non-members of a class.", "answer": "True"},
{"text": "Friendship is commutative.", "answer": "False"},
{"text": "‘new’ operator be overloaded ?", "answer": "True"},
{"text": "We can implement generic classes using templates", "answer": "True"},
{"text": "Using operator overloading we can invent new operators.", "answer": "False"},
{"text": ". Inheritance helps in making a general class into a more specific class", "answer": "True"},
{"text": ". A base class is never used to create objects.", "answer": "False"},
{"text": "Classes can be inherited privately.", "answer": "True"},
{"text": "It Is legal to return local variables from a function which returns by reference.", "answer": "False"},
{"text": "Constructors can be virtual like virtual destructors ", "answer": "False"},
{"text": "In C++ one can define a function within another function.", "answer": "False"},
{"text": "“My Variable” is a valid identifier in C++.", "answer": "False"},
{"text": "There can be a null reference.", "answer": "False"}
]