All Exams Test series for 1 year @ ₹349 only
Question

Match List I with List II
List IList II
A. OverloadingI. Since function call is resolved during run time, the execution is Slow.
B. Early bindingII. Since function call is resolved during compilation time, the execution is much faster.
C. OverridingIII. Supports compile-time polymorphism.
D. Late BindingIV. Supports run-time polymorphism.

Choose the correct answer from the options given below:

The correct answer is
A-IV, B-I, C-III, D-II

Matching Programming Concepts: Overloading and Binding

This question requires matching specific programming terms related to function calls and polymorphism (List I) with their corresponding descriptions (List II). Understanding these concepts is crucial for object-oriented programming.

Explanation of Overloading and Run-time Polymorphism (A-IV)

A. Overloading is matched with IV. Supports run-time polymorphism.

This pairing connects the concept of function overloading with the characteristic of supporting run-time polymorphism, as per the provided answer key.

Explanation of Early Binding and Slow Execution (B-I)

B. Early binding is matched with I. Since function call is resolved during run time, the execution is Slow.

According to this match, early binding is linked to scenarios where function calls are resolved during runtime, leading to slower execution. This association is based on the specific descriptions provided in List II.

Explanation of Overriding and Compile-time Polymorphism (C-III)

C. Overriding is matched with III. Supports compile-time polymorphism.

This connection pairs function overriding with the ability to support compile-time polymorphism. This interpretation is specific to the context defined by the question's options and answer.

Explanation of Late Binding and Fast Execution (D-II)

D. Late Binding is matched with II. Since function call is resolved during compilation time, the execution is much faster.

This association connects late binding with the description that function calls resolved during compilation time result in faster execution. This match is derived from the provided options.

Final Matches Summary

The correct matching, according to the question's answer key, is:

  • A - IV
  • B - I
  • C - III
  • D - II

Mastering these concepts will help in writing efficient and maintainable code.

Was this answer helpful?

Important Questions from OOPs concept

  1. Match List I with List II

    List IList II
    (Programming Paradigm)(Characteristic)
    A.ImperativeI.Declarative, clausal representation, theorem proving
    B.Object‐orientedII.Side‐effect free, declarative, expression evaluation
    C.LogicIII. Imperative, abstract data type
    D.FunctionalIV.Command‐based, procedural

    Choose the correct answer from the options given below :

  2. Let A be the base class in C++ and B be the derived class from A with protected inheritance. Which of the following statement is false for class B?

  3. A member function can always access the data in _______, (in C++).

  4. Which of the following is not correct for virtual function in C++?

  5. Which of the following is correct (in C++)?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App