Free Online Directory Category: Computer Science MCQs - Page 2 - MCQs Answers

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

Function Overloading – MCQs

30 Score: 0 Attempted: 0/30 Subscribe 1. : What is function overloading in C++? (A) Defining multiple functions with the same name but different parameters (B) Defining multiple classes with the same name (C) Using inheritance for multiple classes (D) Writing multiple programs in one file 2. : Which of the following cannot be used … 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

Pushdown Automata MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. What does a Pushdown Automaton (PDA) use in addition to finite states? (A) Queue (B) Tape (C) Stack (D) Register 2. Which class of languages can be recognized by a PDA? (A) Context-free languages (B) Regular languages (C) Context-sensitive languages (D) Recursively enumerable languages 3. What is … Read more

Chomsky Hierarchy and Automata Theory MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. Which type of grammar is Type 0 in the Chomsky hierarchy? (A) Unrestricted grammar (B) Context-sensitive grammar (C) Regular grammar (D) Context-free grammar 2. Which automaton recognizes Type 3 languages (regular languages)? (A) Turing Machine (B) Finite Automaton (C) Pushdown Automaton (D) Linear Bounded Automaton 3. What … Read more

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials