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
What is the primary programming language used in Unity?
A
Correct answer
Explanation
Unity primarily uses C# as its programming language, offering a user-friendly and efficient development environment.
What is the scripting language used in Unreal Engine?
-
C#
-
C++
-
Lua
-
Visual Scripting
B
Correct answer
Explanation
Unreal Engine primarily utilizes C++ as its scripting language, providing developers with extensive control and flexibility.
What is the primary programming language used in CryEngine?
B
Correct answer
Explanation
CryEngine primarily utilizes C++ as its programming language, offering developers low-level control and high performance.
What is the scripting language used in Godot Engine?
-
C#
-
C++
-
GDScript
-
Visual Scripting
C
Correct answer
Explanation
Godot Engine utilizes its own scripting language called GDScript, which is designed to be easy to learn and use.
What is the primary programming language used in Cocos Creator?
C
Correct answer
Explanation
Cocos Creator primarily utilizes JavaScript as its programming language, making it accessible to web developers and JavaScript enthusiasts.
What is the scripting language used in Lumberyard?
B
Correct answer
Explanation
Lumberyard primarily utilizes C++ as its scripting language, providing developers with low-level control and high performance.
What is the primary programming language used in ARKit?
-
Swift
-
Objective-C
-
C#
-
Java
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.
Which of the following is a common data science programming language?
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.
Which programming language is commonly used for robot programming?
A
Correct answer
Explanation
C++ is widely used in robot programming due to its efficiency, performance, and low-level control capabilities.
What is the role of a robot programming language?
-
Robot Control
-
Sensor Data Processing
-
Motion Planning
-
Task Scheduling
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.
What was the main programming language used for developing Bada applications?
-
Java
-
C++
-
Objective-C
-
JavaScript
B
Correct answer
Explanation
C++ was the main programming language used for developing Bada applications.
Which programming language is primarily used for developing applications for Sailfish OS?
-
C++
-
Java
-
Python
-
JavaScript
A
Correct answer
Explanation
C++ is the primary programming language for Sailfish OS application development.
What is the purpose of a compiler?
-
To translate high-level code into machine code
-
To execute programs
-
To debug programs
-
To optimize code
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.
Which of the following is NOT a type of programming language?
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.
What is the primary programming language used in Unity?
A
Correct answer
Explanation
Unity primarily uses C# as its programming language, allowing developers to create scripts and game logic.