Sail E0 Webinar

MCQs

Total Questions : 8
Question 1.

Which of the following implements the module in the program?


  1.    macro
  2.    header files
  3.    both of the mentioned
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> header files

We can include the group of code by using the #include header file.


Question 2.

What is similar to interface in c++


  1.    methods
  2.    instance of class
  3.    pure abstract class
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> pure abstract class

None.


Question 3.

Identify the correct statement.


  1.    c++ does not have built-in interfaces
  2.    c++ does have built-in interfaces
  3.    c++ have no cocept of interfaces
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> c++ does not have built-in interfaces

None.


Question 4.

What does the client module import?


  1.    macro
  2.    records
  3.    interface
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> interface

Because they access the functions in the module using interface.


Question 5.

How many types of modularization are there in c++?


  1.    4
  2.    3
  3.    1
  4.    none of the mentioned
 Discuss Question
Answer: Option D. -> none of the mentioned

There are two types of modular programming.They are interface and implementation.


Question 6.

How many types does functions fall depends on modularization?


  1.    1
  2.    20
  3.    3
  4.    4
 Discuss Question
Answer: Option B. -> 20

There are two types of functions.They are program control and specific task.


Question 7.

What is the ability to group some lines of code that can be included
in the program?


  1.    specific task
  2.    program control
  3.    modularization
  4.    macros
 Discuss Question
Answer: Option C. -> modularization

Modularization is also similar to macros but it is used to build large projects.


Question 8.

which of the following is used to implement the c++ interfaces?


  1.    absolute variables
  2.    abstract classes
  3.    constant variables
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> abstract classes

None.


Latest Videos

Latest Test Papers