Toggle navigation
Terms & Conditions
Contact
Home
GK
Computer
TRB
TNPSC
Aptitude
English
Reasoning
Technical
Bank Exams
SSC
Engineering
Puzzles
Interview
GD Topics
Blogs
Online Test
Free computer quiz Online Test - MeritNotes
Home
Online Exam
No. of Questions :10
Remaining Time :
1. In C++, a structure brings together a group of
(a)
Items of the same data type
(b)
Integers with user-defined names
(c)
Related data items, variables
(d)
All of these
2. A static function
(a)
Should be called when an object is destroyed
(b)
Can be called using the class name and function
(c)
Is closely connected with an individual object of a class
(d)
Is used when a dummy object must be created
3. The dot operator connects which of the following two entities?
(a)
Class object and member of that class
(b)
Class and member of that class
(c)
Class object and a class
(d)
Class member and class object
4. The library function exit( ) causes an exit from
(a)
The program in which it occurs
(b)
The function in which it occurs
(c)
The block in which it occurs
(d)
The loop in which it occurs
5. The break statement causes an exit
(a)
From the innermost loop or switch
(b)
Only from the innermost switch
(c)
Only from the innermost loop
(d)
From all loops and switches
6. Element double array [7] is which element of the array?
(a)
Sixth
(b)
Seventh
(c)
Eighth
(d)
Impossible
7. A function argument is a
(a)
Value sent to function by the calling program
(b)
Value returned by the function to the calling program
(c)
Variable in the function that receives a value from the calling program
(d)
Way that functions resist accepting the calling program’s values
8. In a linked list
(a)
Each link contains data or a pointer to data
(b)
Links are stored in an array
(c)
A array of pointers point to the link
(d)
Each link contains a pointer to the next link
9. In C++, a function contained within a class is called
(a)
A method
(b)
A class function
(c)
Member function
(d)
None of these
10. In C++, which of the following can legitimately be passed to a function?
(a)
A constant
(b)
A variable
(c)
A structure
(d)
All of these