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 programming language is known for its extensive support for 3D graphics and physics simulations, making it suitable for developing 3D games?

  1. C++

  2. Java

  3. Python

  4. C#

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

C++ has extensive support for 3D graphics and physics simulations, making it suitable for developing 3D games. Its libraries and tools for 3D graphics and physics simulations make it easier to create realistic and immersive 3D game environments.

Multiple choice

Which programming language is known for its cross-platform capabilities and is often used for developing mobile games?

  1. C++

  2. Java

  3. Python

  4. C#

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

Java is known for its cross-platform capabilities, making it suitable for developing mobile games. Its ability to run on multiple platforms, including Android and iOS, makes it a popular choice for mobile game developers.

Multiple choice

Which programming language is known for its strong support for networking and multiplayer gaming, making it suitable for developing online games?

  1. C++

  2. Java

  3. Python

  4. C#

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

C++ has strong support for networking and multiplayer gaming, making it suitable for developing online games. Its libraries and tools for networking and multiplayer gaming make it easier to create online games with real-time multiplayer functionality.

Multiple choice

Which programming language is known for its extensive support for artificial intelligence (AI) and machine learning, making it suitable for developing games with AI-driven characters and behaviors?

  1. C++

  2. Java

  3. Python

  4. C#

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

Python has extensive support for artificial intelligence (AI) and machine learning, making it suitable for developing games with AI-driven characters and behaviors. Its libraries and tools for AI and machine learning make it easier to create games with intelligent and responsive AI.

Multiple choice

Which of the following is a common programming language used for embedded systems development?

  1. C

  2. Python

  3. Java

  4. JavaScript

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

C is widely used for embedded systems development due to its efficiency, low-level control, and support for various hardware platforms.

Multiple choice

Which of the following is a common development tool used for embedded systems programming?

  1. Integrated development environment (IDE)

  2. Compiler

  3. Debugger

  4. Simulator

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

An IDE provides a comprehensive environment for embedded systems development, including code editing, compilation, debugging, and simulation.

Multiple choice

Which programming language is primarily used for developing Android applications?

  1. Java

  2. Swift

  3. Kotlin

  4. C#

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

Java is the primary programming language used for developing Android applications. It is an object-oriented language that provides a rich set of libraries and tools for building mobile apps.

Multiple choice

Which programming language is primarily used for developing iOS applications?

  1. Java

  2. Swift

  3. Kotlin

  4. C#

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

Swift is the primary programming language used for developing iOS applications. It is a modern, powerful, and easy-to-learn language that is designed for building high-performance iOS apps.

Multiple choice

What is the most common type of transcription today?

  1. Human transcription

  2. Machine transcription

  3. Hybrid transcription

  4. Automated transcription

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

Hybrid transcription, which combines human and machine transcription, is the most common type of transcription today.

Multiple choice

What is React?

  1. A JavaScript library for building user interfaces

  2. A programming language for web development

  3. A framework for building mobile applications

  4. A tool for creating 3D graphics

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

React is a JavaScript library that is used for building user interfaces. It is declarative, efficient, and flexible.

Multiple choice

What is the name of the quantum programming language developed by Google?

  1. Qiskit

  2. Cirq

  3. Forest

  4. None of the above

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

Cirq is the quantum programming language developed by Google.

Multiple choice

What is the name of the quantum programming language developed by IBM?

  1. Qiskit

  2. Cirq

  3. Forest

  4. None of the above

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

Qiskit is the quantum programming language developed by IBM.

Multiple choice

What is the name of the quantum programming tool developed by Microsoft?

  1. Quantum Development Kit

  2. Quantum Simulator

  3. Quantum Compiler

  4. None of the above

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

Quantum Development Kit is the quantum programming tool developed by Microsoft.

Multiple choice

What is the name of the quantum programming tool developed by IBM?

  1. Quantum Development Kit

  2. Quantum Simulator

  3. Quantum Compiler

  4. None of the above

Reveal answer Fill a bubble to check yourself
Correct answer
Explanation

Quantum Experience is the quantum programming tool developed by IBM.

Multiple choice

What is the primary programming language used for scripting in Unity?

  1. C#

  2. C++

  3. Java

  4. Python

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

Unity primarily uses C# for scripting, although it also supports other languages like JavaScript and Boo.