YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS
Object Oriented Programming using C++
Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of the following explains Polymorphism?
int func(int, int);float func1(float, float); | |
int func(float);int func(int, int, char); | |
int func();int new...func(); | |
int func(int);int func(int); |
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which concept of Java is a way of converting real world objects in terms of class?
Polymorphism | |
Encapsulation | |
Abstraction | |
Inheritance |
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
An advantage of programming in High Level is
Easier for us to understand | |
Useful for device drivers | |
Programs execute faster than other generations |
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Not all classes have a main() method.
True | |
False |
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
During the 1960s and the late 1970s, programmers were eager to build languages that could be interpreted and used widely. Which of the following was one of the early systems programming language developed by Dennis Ritchie and Ken Thompson?
C++ | |
C# | |
JavaScript | |
C |
Question 6 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What is the additional feature in classes that was not in structures?
Data members | |
Member functions | |
Static data allowed | |
Public access specifier |
Question 7 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of the following acts/laws protects the data held about people?
Freedom of Information Act | |
Data Protection Act | |
Computer Misuse Act | |
Copyright, Design and Patents Act |
Question 8 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What is the output for the following statement:
System.out.print("1"+"1");
11 | |
2 | |
Error Message |
Question 9 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which control structure will execute an instruction only after the computer evaluates conditions to determine if a certain condition exists?
Selection | |
Loop | |
Functional | |
Sequence |
Question 10 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of these is not a correct variable data type?
int | |
float | |
real | |
char |
There are 10 questions to complete.