Following are the multiple choice questions based on the various topics of C++.
1) The objects are ....... if all their attribute values are identical ?
2) Object is....... ?
3) The mechanism by which the data and functions are bound together with an object definition ?
4) The process of creating instances from classes ?
6) In C++, a function contained with in a class is called ?
7) In C++, setw is..... ?
8) A template can be used to create a family of ?
9) In C++, we can use the same function name to create functions that perform a variety of different tasks. This is known as ?
1) The objects are ....... if all their attribute values are identical ?
- Identical
- Distinct
- Same
- None
Show/Hide Answer
Answer = C
Explanation: N/A
Explanation: N/A
2) Object is....... ?
- A concept
- Abstraction
- Thing
- All of above
Show/Hide Answer
Answer = D
Explanation:N/A
Explanation:N/A
3) The mechanism by which the data and functions are bound together with an object definition ?
- Inheritance
- Abstraction
- Polymorphism
- Encapsulation
Show/Hide Answer
Answer = D
Explanation:N/A
Explanation:N/A
4) The process of creating instances from classes ?
- Integrity
- Instantation
- Inheritance
- Generalization
Show/Hide Answer
Answer = A
Explanation:N/A
5) Override is a method .... ? Explanation:N/A
- For an operation that replaces an inherited method for the same operation
- For a data that replaces an inherited method for the same operation
- For an operation that takes argument from library function
- None of these
Show/Hide Answer
Answer = B
Explanation: N/A
Explanation: N/A
6) In C++, a function contained with in a class is called ?
- In built function
- User defined function
- Member function
- None of these
Show/Hide Answer
Answer = D
Explanation:N/A
Explanation:N/A
7) In C++, setw is..... ?
- Initialization Operator
- Conditional Operator
- Memory allocation Operator
- Field with Operator
Show/Hide Answer
Answer = C
Explanation:N/A
Explanation:N/A
8) A template can be used to create a family of ?
- Classes
- Functions
- Class and function
- None of these
Show/Hide Answer
Answer = A
Explanation:N/A
Explanation:N/A
9) In C++, we can use the same function name to create functions that perform a variety of different tasks. This is known as ?
- Global functions
- Function overloading
- Inheritance
- All of above
Show/Hide Answer
Answer = D
Explanation:N/A
10) Which of the following is an object oriented programming ? Explanation:N/A
- Real time system
- AI and expert systems
- Neural networks and parallel programming
- All of above
Show/Hide Answer
Answer = B
Explanation:N/A
Tags : C++ Mcq, Mutiple choice questions on C++Explanation:N/A
Do You Like This? Please take 5 seconds to share with your firends.
1 comments:
Wrong answers....do correct it
Post a Comment