Question:

Match the following and select the correct answer for popular programming languages in List-I with their use cases in List-II.

\[ \begin{array}{|c|l|c|l|} \hline \text{List-I} & & \text{List-II} & \\ \hline (a) & \text{Java} & (i) & \text{Game development and high performance apps} \\ \hline (b) & \text{Python} & (ii) & \text{Web development, front-end scripting} \\ \hline (c) & \text{JavaScript} & (iii) & \text{Data Science and AI} \\ \hline (d) & \text{C++} & (iv) & \text{Enterprise apps and Android apps} \\ \hline \end{array} \]

Show Hint

Remember the most common uses: \[ \text{Java} \rightarrow \text{Enterprise \& Android} \] \[ \text{Python} \rightarrow \text{AI \& Data Science} \] \[ \text{JavaScript} \rightarrow \text{Web Development} \] \[ \text{C++} \rightarrow \text{Games \& High Performance} \]
  • a-ii, b-iv, c-i, d-iii
  • a-i, b-iii, c-ii, d-iv
  • a-ii, b-iii, c-iv, d-i
  • a-iv, b-iii, c-ii, d-i
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

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.
Was this answer helpful?
0
0