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. Which among the following best describes polymorphism ?
  2. Which operator is used for dynamic memory allocation in C++?

  3. Which of the following is not true about constructor
  4. Match the LIST-I with LIST-II
    LIST-I (file mode parameters)LIST-II (Meaning)
    A. ios::ateI. Go to end of file on opening
    B. ios::inII. Open fails if the file already exists.
    C. ios::nocreateIII. Open file for reading only
    D. ios::noreplaceIV. Open fails if the file does not exist.
    Choose the correct answer from the options given below:
  5. Which one of the following is correct, when a class grants friend status to another class ?
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