Programming - C++ Language
You Are Here :: Home > C++ Language > Interfaces - General Questions
1. |
which of the following is used to implement the c++ interfaces?
|
A. |
absolute variables |
B.
|
abstract classes |
C.
|
constant variables
|
D.
|
none of the mentioned
|
|
Answer: Option B
Explanation:
|
2. |
What is the ability to group some lines of code that can be included
|
A. |
specific task |
B.
|
program control |
C.
|
modularization
|
D.
|
macros
|
|
Answer: Option C
Explanation:
Modularization is also similar to macros but it is used to build large projects. |
|
3. |
How many types does functions fall depends on modularization?
|
|
Answer: Option B
Explanation:
There are two types of functions.They are program control and specific task. |
|
4. |
How many types of modularization are there in c++?
|
A. |
4 |
B.
|
3 |
C.
|
1
|
D.
|
none of the mentioned
|
|
Answer: Option D
Explanation:
There are two types of modular programming.They are interface and implementation. |
|
5. |
What does the client module import?
|
A. |
macro |
B.
|
records |
C.
|
interface
|
D.
|
none of the mentioned
|
|
Answer: Option C
Explanation:
Because they access the functions in the module using interface. |
|
6. |
Identify the correct statement.
|
A. |
c++ does not have built-in interfaces |
B.
|
c++ does have built-in interfaces |
C.
|
c++ have no cocept of interfaces
|
D.
|
none of the mentioned
|
|
Answer: Option A
Explanation:
|
next »