Computer Knowledge

Programming Languages and Compilers

1,170 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

Which language is commonly employed in game development within the Commonwealth of Nations?

  1. C++

  2. Java

  3. C#

  4. UnrealScript

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

C++ is a widely used language for game development in the Commonwealth of Nations due to its performance, low-level control, and extensive library support for graphics, physics, and audio.

Multiple choice

What is the primary language used in robotics and automation in the Commonwealth of Nations?

  1. Python

  2. Java

  3. C++

  4. MATLAB

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

Python is the primary language used in robotics and automation in the Commonwealth of Nations due to its versatility, extensive library support, and suitability for tasks such as image processing, sensor data analysis, and control algorithms.

Multiple choice

What is the dominant language used in natural language processing in the Commonwealth of Nations?

  1. Python

  2. Java

  3. C++

  4. R

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

Python is the dominant language used in natural language processing in the Commonwealth of Nations due to its extensive library support, versatility, and suitability for tasks such as text classification, sentiment analysis, and machine translation.

Multiple choice

What is the term for the software used to program and configure industrial automation systems?

  1. PLC programming software

  2. SCADA software

  3. DCS software

  4. MES software

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

PLC programming software is used to develop and modify the control programs that run on PLCs.

Multiple choice

Which of the following is a popular programming language used for data analysis and machine learning tasks?

  1. Python

  2. Java

  3. C++

  4. R

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

Python is a versatile programming language that is widely used for data analysis and machine learning due to its extensive libraries and ease of use.

Multiple choice

Which of the following is NOT a type of language technology used in language documentation?

  1. Speech recognition software

  2. Machine translation software

  3. Natural language processing tools

  4. Optical character recognition software

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

Machine translation software is not typically used in language documentation as it is not designed to handle the complexities and nuances of endangered or under-resourced languages.

Multiple choice

Which of the following is a type of language annotation tool?

  1. ANNIS

  2. WebAnno

  3. Brat

  4. All of the above

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

ANNIS, WebAnno, and Brat are all different types of language annotation tools that are used for different purposes.

Multiple choice

Which programming language is commonly used for developing video games?

  1. C++

  2. Java

  3. Python

  4. C#

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

C++ is a popular choice for video game development due to its speed, efficiency, and low-level control, making it suitable for creating high-performance games with complex graphics and physics.

Multiple choice

Which of the following is a common formal language used in Computational Semantics?

  1. First-Order Logic

  2. Propositional Logic

  3. Lambda Calculus

  4. All of the above

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

First-Order Logic, Propositional Logic, and Lambda Calculus are all commonly used formal languages in Computational Semantics.

Multiple choice

Which of the following is a common approach to handling ambiguity in Computational Semantics?

  1. Word Sense Disambiguation

  2. Coreference Resolution

  3. Anaphora Resolution

  4. All of the above

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

Word Sense Disambiguation, Coreference Resolution, and Anaphora Resolution are all common approaches to handling ambiguity in Computational Semantics.

Multiple choice

Which of the following is a commonly used programming language in computational biology?

  1. Python

  2. Java

  3. C++

  4. R

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

Python is a widely used programming language in computational biology due to its simplicity, versatility, and extensive library support for scientific computing and data analysis.

Multiple choice

Which programming language is known for its simplicity and readability, making it suitable for beginners?

  1. Java

  2. Python

  3. C++

  4. JavaScript

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

Python is often recommended as a beginner-friendly language due to its simple syntax and extensive libraries.

Multiple choice

Which programming language is widely used for developing web applications and interactive websites?

  1. Java

  2. Python

  3. C++

  4. JavaScript

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

JavaScript is a scripting language primarily used for creating dynamic and interactive web content.

Multiple choice

Which programming language is known for its speed and efficiency, making it suitable for system programming and operating systems development?

  1. Java

  2. Python

  3. C++

  4. JavaScript

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

C++ is a powerful language that offers fine-grained control over memory management and is often used in high-performance applications.

Multiple choice

Which programming language is commonly used for developing mobile applications for Android devices?

  1. Java

  2. Python

  3. C++

  4. Swift

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

Java is the primary language used for Android app development, with the Android SDK and libraries built around it.