Sail E0 Webinar

MCQs

Total Questions : 8
Question 1. 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


abstract classes


Question 2. 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 3. How many types does functions fall depends on modularization?
  1.    1
  2.    2
  3.    3
  4.    4
 Discuss Question
Answer: Option B. -> 2


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


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. 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 6. 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


c++ does not have built-in interfaces


Question 7. 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


pure abstract class


Question 8. 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.


Latest Videos

Latest Test Papers