Object Oriented Programming using C++

YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS

CLICK HERE TO DOWNLOAD

Object Oriented Programming using C++

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following explains Polymorphism?

A
int func(int, int);float func1(float, float);
B
int func(float);int func(int, int, char);
C
int func();int new...func();
D
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?

A
Polymorphism
B
Encapsulation
C
Abstraction
D
Inheritance
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An advantage of programming in High Level is
A
Easier for us to understand
B
Useful for device drivers
C
Programs execute faster than other generations
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Not all classes have a main() method.

A
True
B
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?
A
C++
B
C#
C
JavaScript
D
C
Question 6 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the additional feature in classes that was not in structures?

A
Data members
B
Member functions
C
Static data allowed
D
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?

A
Freedom of Information Act
B
Data Protection Act
C
Computer Misuse Act
D
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");

A
11
B
2
C
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?
A
Selection
B
Loop
C
Functional
D
Sequence
Question 10 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of these is not a correct variable data type?

A
int
B
float
C
real
D
char
There are 10 questions to complete.