Part-1
« Previous Next » |
1. _______ are the basic run-time entities in object oriented system :
objects
2. ______ is user define data type in object oriented programming:
Class
3. _____ function declare inside the function
local variables
4. _____ function declare outside the function
global variables
5. The wrapping up of data and function into single unit is called
Inheritance
6. The insulation of the data from direct access by program is called
data hiding
7. The process in which the property of one class is acquire by another class is
inheritance
8. In object oriented programming concept of reusability is implemented by
inheritance
9.The ability to take more than one behaviour in object oriented programming is
polymorphism
10.The code is associated with given procedure call at runtime is
dynamic binding
11. Which statement is false with respect to object oriented programming
it is not possible to map objects in the problem domain to those object in program
12. ___ symbol is used for single line comments
//
13. ____ symbol is use for multi line comment.
/* */
14. bit-wise left-shift operator is represented as
<<
15. << is called
insertion or put to operator
16. bit-wise right-shift operator is represented as
>>
17. >> is called
extraction or get from operator
18. ___ is known as cascading of I/O operators
multiple use of bit wise right-shift or left-shift operators in single statement
Hint:
Take multiple input using cin: cin >> var1 >> var2;
For print :cout << var1 << var2;
19. A common structure of any program includes following things
include files, class declaration, class functions,main function
20. question
answer
21. Choose the extension of file for Turbo,Borland,Zortech,Unix for C++ in sequence
.cpp ,.cpp ,.cxx ,.cc
22. The smallest individual units in program is known as:
tokens
23. Tokens are known as
all the above
24. The name of variables,functions,arrays,classes etc in any program is called
identifiers
25. Keywords are called
both A and B
26. Run time initialization of variable is called
dynamic initialization
27. If we provide alias for a previously defined variable is called
reference variable
28. When we provide several meaning of operator depend on their argument is called
operator overloading
29. A constructor is called whenever
an object is declared
30. A destructor takes
zero arguments
« Previous Next » |
No comments:
Post a Comment