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 name of the scripting language used in the Unity Engine?
A
Correct answer
Explanation
Unity primarily uses C# as its scripting language, although it also supports other languages like JavaScript and Boo.
Which library offers a collection of functions for numerical optimization and root finding in Python?
-
NumPy
-
SciPy
-
Sympy
-
Matplotlib
B
Correct answer
Explanation
SciPy includes a range of optimization and root-finding algorithms, such as gradient descent and Newton-Raphson method.
What is the primary programming model used for developing GPU applications?
-
Assembly language.
-
C++.
-
Java.
-
Python.
B
Correct answer
Explanation
CUDA (Compute Unified Device Architecture) is a parallel programming model and API developed by NVIDIA that allows programmers to harness the power of GPUs for general-purpose computing. It is widely used for developing GPU applications, particularly in the fields of graphics, scientific computing, and machine learning.
Which of the following is not a core technology used in web application development?
D
Correct answer
Explanation
C++ is a general-purpose programming language, while HTML, CSS, and JavaScript are specifically designed for web development.
Which type of app is built specifically for a particular platform, such as iOS or Android?
-
Native app
-
Hybrid app
-
Web app
A
Correct answer
Explanation
Native apps are built using platform-specific programming languages and tools, and they have access to the full range of features and capabilities of the device.
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 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.