Inheritance – MCQs

30 Score: 0 Attempted: 0/30 Subscribe 1. : What is inheritance in C++? (A) Reusing variables only (B) Reusing functions only (C) Reusing classes and their properties (D) None of the above 2. : Which keyword is used to inherit a class in C++? (A) extends (B) inherits (C) base (D) public/private/protected 3. : Which … Read more

Introduction to Object-Oriented Programming – MCQs

20 Score: 0 Attempted: 0/20 Subscribe 1. : Which of the following is not a feature of Object-Oriented Programming? (A) Encapsulation (B) Inheritance (C) Compilation (D) Polymorphism 2. : In OOP, what does the term β€œinheritance” refer to? (A) Creating a new class from an existing class (B) Storing variables in a database (C) Encrypting … Read more

Object-Oriented Programming – MCQs

Read more

Undecidability in Compiler Design MCQs

1. Which of the following problems is undecidable in compiler design? A) Syntax analysis of a given language B) Determining if a given context-free grammar is ambiguous C) Performing constant folding optimization D) Generating intermediate code for a function call Answer: B) Determining if a given context-free grammar is ambiguous 2. Which of the following … Read more

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials