Concept:
Different programming languages are designed for different purposes. Some are widely used in enterprise applications, some in web development, while others dominate scientific computing, artificial intelligence, and game development.
To solve matching questions, we first identify the most common real-world use of each language.
Step 1: Determine the primary use of Java.
Java is a platform-independent, object-oriented programming language widely used for:
• Enterprise software
• Banking applications
• Android application development
• Large-scale distributed systems
Therefore,
\[
(a)\rightarrow(iv)
\]
Step 2: Determine the primary use of Python.
Python is known for its simplicity and extensive libraries.
It is extensively used in:
• Data Science
• Machine Learning
• Artificial Intelligence
• Data Analytics
Therefore,
\[
(b)\rightarrow(iii)
\]
Step 3: Determine the primary use of JavaScript.
JavaScript is the most widely used scripting language for web browsers.
It is used for:
• Front-end web development
• Interactive websites
• Dynamic web pages
• Client-side scripting
Therefore,
\[
(c)\rightarrow(ii)
\]
Step 4: Determine the primary use of C++.
C++ is known for its high execution speed and efficient memory management.
It is commonly used in:
• Game development
• Graphics engines
• Operating systems
• High-performance applications
Therefore,
\[
(d)\rightarrow(i)
\]
Step 5: Prepare the final matching.
\[
a-iv,\quad b-iii,\quad c-ii,\quad d-i
\]
\[
\boxed{a-iv,\; b-iii,\; c-ii,\; d-i}
\]
Hence, option (D) is correct.