Online Computer Science Test - Object Oriented Programming Test 2
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.
A function that changes the state of the cout object is called a(n) _____
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 fundamental type such as int or double is a _____
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.
In a simple 'if' statement with no 'else'. What happens if the condition following the 'if is false?
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.
Code that has already been tested 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++
5.
One way pointers are useful is to refer to a memory address that has no _____
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.
The while loop is referred to as a(n) _____ loop because the loop condition is tested at the beginning of the loop
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.
A group of related fields that contain all of the data about a specific person, place, or thing is called a
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.
Simple routines that programmers use as place holders while a system is being tested are called _____
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.
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++
10.
One of the relational operators in the C language 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++
11.
In C++, class definitions are most often
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.
A function argument 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++
13.
Which of the following are valid characters for a numeric literal constant?
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.
3 is a _____ constant
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.
Two access specifers in C++ are
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.
A measure of the strength of the connection between two functions 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++
17.
Hiding individual components of an entry 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++
18.
Which of the following statements opens a file named temp.dat for output?
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 delete operator returns ______ to the operating system
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.
The standard output stream, which refers to the computer screen, is called
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