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
What is the primary function of the Seaborn library in Python?
-
Data Manipulation
-
Statistical Analysis
-
Machine Learning
-
Data Visualization
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.
What is the main purpose of the Statsmodels library in Python?
-
Data Manipulation
-
Statistical Analysis
-
Machine Learning
-
Data Visualization
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.
What is the primary function of the PyMC3 library in Python?
-
Data Manipulation
-
Statistical Analysis
-
Machine Learning
-
Data Visualization
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.
What is the main purpose of the Bokeh library in Python?
-
Data Manipulation
-
Statistical Analysis
-
Machine Learning
-
Data Visualization
D
Correct answer
Explanation
Bokeh is a Python library that provides tools for creating interactive visualizations and dashboards for data exploration and analysis.
What is the primary function of the Theano library in Python?
-
Data Manipulation
-
Statistical Analysis
-
Machine Learning
-
Data Visualization
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.
Which programming language is widely used in India for developing web applications?
A
Correct answer
Explanation
Python is a popular choice for web development in India due to its simplicity, versatility, and extensive library support.
What is the most commonly used programming language in Pakistan for mobile app development?
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.
Which programming language is preferred for data analysis and machine learning tasks in Bangladesh?
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.
What is the primary programming language used for web development in Sri Lanka?
-
JavaScript
-
PHP
-
Ruby
-
ASP.NET
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.
Which programming language is commonly employed for enterprise software development in Nepal?
A
Correct answer
Explanation
Java's stability, scalability, and extensive library support make it a preferred choice for enterprise software development in Nepal.
What is the dominant programming language for desktop application development in Bhutan?
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.
Which programming language is extensively used for game development in the Maldives?
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.
What is the primary programming language taught in computer science programs in Afghanistan?
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.
Which programming language is popular for web development in the SAARC region?
-
PHP
-
Python
-
JavaScript
-
Ruby
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.
What is the preferred programming language for mobile app development in the SAARC countries?
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.