Fill up the blanks in C++ – (SET-VII)
Fill up the blanks in C++
( SET – VII )
1. | private | 2. | colon | 3. | arguments |
4. | defining | 5. | transitive | 6. | stdprn |
7. | cerr | 8. | stdout | 9. | right |
10. | class | 11. | hybrid | 12. | signature |
13. | tagname | 14. | multilevel | 15. | virtual |
16. | data encapsulation | 17. | abstract | 18. | scope resolution |
19. | void | 20. | hierarchical | 21. | struct |
22. | operator assignment | 23. | stderr | 24. | stdin |
25. | public | 26. | data abstraction | 27. | clog |
28. | multiple | 29. | single | 30. | left |
31. | variable | 32. | middle | 33. | semicolon |
34. | defining class objects | 35. | inheritance | 36. | encapsulation |
1. ……………………. refers to hiding physical details and displaying only the needed information.
2. ……………………. provides data security by hiding it from the external world.
3. ……………………. contains data members and methods to operate on these members.
4. ……………………. contains data members only.
5. The member functions, if defined outside the class must use …………………….
6. The class members, by default are ……………………..
7. …………………… is used to define objects of the class.
8. A class declaration ends with a ……………………..
9. Memory to data members is allocated while ………………………
10. Memory to member functions is allocated while …………………….
11. Constructor functions cannot be …………………….
12. The inheritance type where a derived class inherits from many base class is …………………… inheritance.
13. A ………………… class is one that cannot be instantiated.
14. In case of default arguments the arguments may only be defaulted from the ……………………
15. Outputs to the standard error stream are directed to either the ………………. or the …………………… stream objects.
16. The four objects that correspond to the standard devices on the system include ………………,……………….,……………… and …………….
17. Function prototype is function ………………….
18. Constructors do not have any return type not even ………………….
19. Inheritance is …………………….. in nature.
20. A “has-a” relationship between classes represents ……………………. and an “ is-a” relationship between classes represents ………………………
ANSWERS TO FILL UP THE BLANKS
(SET-VII)
1. data abstraction 2. data encapsulation
3. class 4. struct
5. scope resolution operator 6. private
7. tag name 8. semicolon
9. defining objects 10. defining class
11. virtual 12. multiple
13. abstract 14. right
15. cerr, clog
16. stdout, stdin, stdprn, stderr
17. signature 18. void
19. transitive
20. encapsulation, inheritance