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

What is the primary programming language used 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# as its programming language, offering a user-friendly and efficient development environment.

Multiple choice

What is the scripting language used in Unreal Engine?

  1. C#

  2. C++

  3. Lua

  4. Visual Scripting

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

Unreal Engine primarily utilizes C++ as its scripting language, providing developers with extensive control and flexibility.

Multiple choice

What is the primary programming language used in CryEngine?

  1. C#

  2. C++

  3. Lua

  4. Python

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

CryEngine primarily utilizes C++ as its programming language, offering developers low-level control and high performance.

Multiple choice

What is the scripting language used in Godot Engine?

  1. C#

  2. C++

  3. GDScript

  4. Visual Scripting

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

Godot Engine utilizes its own scripting language called GDScript, which is designed to be easy to learn and use.

Multiple choice

What is the primary programming language used in Cocos Creator?

  1. C#

  2. C++

  3. JavaScript

  4. Lua

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

Cocos Creator primarily utilizes JavaScript as its programming language, making it accessible to web developers and JavaScript enthusiasts.

Multiple choice

What is the scripting language used in Lumberyard?

  1. C#

  2. C++

  3. Lua

  4. Python

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

Lumberyard primarily utilizes C++ as its scripting language, providing developers with low-level control and high performance.

Multiple choice

What is the primary programming language used in ARKit?

  1. Swift

  2. Objective-C

  3. C#

  4. Java

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

ARKit primarily utilizes Swift as its programming language, making it accessible to iOS developers and those familiar with Apple's programming ecosystem.

Multiple choice

Which of the following is a common data science programming language?

  1. Python

  2. Java

  3. C++

  4. R

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

Python is widely used in data science due to its extensive libraries, such as NumPy, Pandas, and Scikit-learn, which provide powerful tools for data manipulation, analysis, and machine learning.

Multiple choice

Which programming language is commonly used for robot programming?

  1. C++

  2. Python

  3. Java

  4. MATLAB

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

C++ is widely used in robot programming due to its efficiency, performance, and low-level control capabilities.

Multiple choice

What is the role of a robot programming language?

  1. Robot Control

  2. Sensor Data Processing

  3. Motion Planning

  4. Task Scheduling

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

A robot programming language provides a means to control the robot's actuators and sensors, enabling the execution of desired tasks.

Multiple choice

What was the main programming language used for developing Bada applications?

  1. Java

  2. C++

  3. Objective-C

  4. JavaScript

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

C++ was the main programming language used for developing Bada applications.

Multiple choice

Which programming language is primarily used for developing applications for Sailfish OS?

  1. C++

  2. Java

  3. Python

  4. JavaScript

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

C++ is the primary programming language for Sailfish OS application development.

Multiple choice

What is the purpose of a compiler?

  1. To translate high-level code into machine code

  2. To execute programs

  3. To debug programs

  4. To optimize code

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

A compiler is a computer program that translates high-level code, such as C++ or Java, into machine code, which can be executed by a computer.

Multiple choice

Which of the following is NOT a type of programming language?

  1. Python

  2. Java

  3. C++

  4. HTML

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

HTML is a markup language used for creating web pages, while Python, Java, and C++ are programming languages used for developing software applications.

Multiple choice

What is the primary programming language used in Unity?

  1. C#

  2. Java

  3. Python

  4. C++

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

Unity primarily uses C# as its programming language, allowing developers to create scripts and game logic.