Computer Knowledge

Programming Languages and Compilers

2,284 Questions

Programming languages and compilers involve the rules, syntax, and semantics used to write and execute software programs. Key areas include scripting languages, object oriented concepts, and parsing algorithms like top down parsers. Practice these computer science questions to build proficiency for technical and computer knowledge exams.

Object oriented languagesScripting languagesCompilers and parsersProgramming syntax

Programming Languages and Compilers Questions

Multiple choice

What is the primary function of the Seaborn library in Python?

  1. Data Manipulation

  2. Statistical Analysis

  3. Machine Learning

  4. Data Visualization

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Seaborn is a Python library that builds on Matplotlib and provides a high-level interface for creating statistical graphics and visualizations.

Multiple choice

What is the main purpose of the Statsmodels library in Python?

  1. Data Manipulation

  2. Statistical Analysis

  3. Machine Learning

  4. Data Visualization

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Statsmodels is a Python library that provides a collection of statistical models and tools for statistical analysis, including regression analysis, time series analysis, and generalized linear models.

Multiple choice

What is the primary function of the PyMC3 library in Python?

  1. Data Manipulation

  2. Statistical Analysis

  3. Machine Learning

  4. Data Visualization

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

PyMC3 is a Python library that provides tools for Bayesian statistical modeling and inference, which is commonly used in machine learning applications.

Multiple choice

What is the main purpose of the Bokeh library in Python?

  1. Data Manipulation

  2. Statistical Analysis

  3. Machine Learning

  4. Data Visualization

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Bokeh is a Python library that provides tools for creating interactive visualizations and dashboards for data exploration and analysis.

Multiple choice

What is the primary function of the Theano library in Python?

  1. Data Manipulation

  2. Statistical Analysis

  3. Machine Learning

  4. Data Visualization

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Theano is a Python library that provides a framework for efficient numerical computation, particularly for deep learning and machine learning applications.

Multiple choice

Which programming language is widely used in India for developing web applications?

  1. Python

  2. Java

  3. C++

  4. PHP

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Python is a popular choice for web development in India due to its simplicity, versatility, and extensive library support.

Multiple choice

What is the most commonly used programming language in Pakistan for mobile app development?

  1. Swift

  2. Kotlin

  3. Java

  4. C#

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Kotlin has gained popularity in Pakistan for mobile app development due to its conciseness, interoperability with Java, and support for modern Android features.

Multiple choice

Which programming language is preferred for data analysis and machine learning tasks in Bangladesh?

  1. R

  2. Python

  3. MATLAB

  4. SAS

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Python's extensive data analysis and machine learning libraries, such as NumPy, Pandas, and TensorFlow, make it a popular choice in Bangladesh for these tasks.

Multiple choice

What is the primary programming language used for web development in Sri Lanka?

  1. JavaScript

  2. PHP

  3. Ruby

  4. ASP.NET

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

JavaScript is widely adopted in Sri Lanka for web development due to its versatility, cross-platform compatibility, and the popularity of frameworks like React and Angular.

Multiple choice

Which programming language is commonly employed for enterprise software development in Nepal?

  1. Java

  2. C#

  3. C++

  4. Visual Basic

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java's stability, scalability, and extensive library support make it a preferred choice for enterprise software development in Nepal.

Multiple choice

What is the dominant programming language for desktop application development in Bhutan?

  1. C++

  2. C#

  3. Visual Basic

  4. Java

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

C++'s performance, control over memory management, and wide range of libraries make it suitable for desktop application development in Bhutan.

Multiple choice

Which programming language is extensively used for game development in the Maldives?

  1. C++

  2. C#

  3. UnityScript

  4. Java

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

UnityScript, a variant of JavaScript, is commonly used in the Maldives for game development due to its integration with the Unity game engine.

Multiple choice

What is the primary programming language taught in computer science programs in Afghanistan?

  1. Python

  2. Java

  3. C++

  4. C

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

C is widely taught in computer science programs in Afghanistan as it provides a solid foundation in programming concepts and is used in various domains.

Multiple choice

Which programming language is popular for web development in the SAARC region?

  1. PHP

  2. Python

  3. JavaScript

  4. Ruby

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

PHP is widely used in the SAARC region for web development due to its simplicity, ease of learning, and extensive support for web applications.

Multiple choice

What is the preferred programming language for mobile app development in the SAARC countries?

  1. Java

  2. Kotlin

  3. Swift

  4. C#

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java is a popular choice for mobile app development in the SAARC region due to its platform independence, extensive libraries, and large developer community.