Online Computer Science Test - Object Oriented Programming Test 3
Instruction:
- This is a FREE online test. Beware of scammers who ask for money to attend this test.
- Total number of questions: 20.
- Time allotted: 30 minutes.
- Each question carries 1 mark; there are no negative marks.
- DO NOT refresh the page.
- All the best!
Marks : 2/20
Total number of questions
20
Number of answered questions
0
Number of unanswered questions
20
Test Review : View answers and explanation for this test.
1.
Evaluate the following expression: 3 >6&&7>4
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
2.
A normal C++ operator that acts in special ways on newly defined data types is said to be
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
3.
Functions that returns information about an object's state can be classified as ________
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
4.
If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
5.
Using new may result in less _____ memory than using an array
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
6.
Which of the following is a C++ class?
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
7.
Which of the following, if any, are invalid names for a variable?
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
8.
To create a template class, you begin with _________
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
9.
An exception specification begins with the keyword _____
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
10.
In C++, the address operator is the following symbol _____
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
11.
Which of the following is true?
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
12.
In the C language, the character type of constant is delimited by using
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
13.
One of the logical operators in the C language is represented by the symbol
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
14.
Which is true?
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
15.
A pointer is
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
16.
Programmers prefer to declare almost all variables _____
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
17.
A function's single most important role is to
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
18.
The main difference in operation between an 'if statement and a 'while' statement is
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
19.
The 'break' statement is used to exist from
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
20.
Which of the following creates a String named constant called partNo, whose value is AB45?
Your Answer: Option
(Not Answered)
Correct Answer: Option
Discuss about this problem : Discuss in Forum
Learn more problems on : Object Oriented Programming Using C++
*** END OF THE TEST ***
Time Left: 00:29:56
Post your test result / feedback here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers