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 of the following is NOT a common programming language used for GPU programming in engineering?

  1. CUDA

  2. OpenCL

  3. Python

  4. C++

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

CUDA, OpenCL, and C++ are commonly used for GPU programming in engineering, while Python is not typically used for this purpose.

Multiple choice

What is the primary programming language used in R, a popular statistical software?

  1. Python

  2. Java

  3. C++

  4. R

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

R is a statistical software that uses its own programming language, also called R, for data analysis, statistical modeling, and graphical visualization.

Multiple choice

What is the primary language used in React Native?

  1. Java

  2. Swift

  3. JavaScript

  4. Kotlin

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

React Native primarily uses JavaScript for building cross-platform mobile applications.

Multiple choice

What is the main programming language used in Xamarin?

  1. C#

  2. Java

  3. Swift

  4. Kotlin

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

Xamarin primarily utilizes C# for developing cross-platform mobile applications.

Multiple choice

What is the primary language used in NativeScript?

  1. Java

  2. Swift

  3. JavaScript

  4. TypeScript

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

NativeScript primarily uses JavaScript for building cross-platform mobile applications.

Multiple choice

What is the main programming language used in React Native?

  1. Java

  2. Swift

  3. JavaScript

  4. Kotlin

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

React Native primarily uses JavaScript for building cross-platform mobile applications.

Multiple choice

What is the main programming language used in Xamarin?

  1. C#

  2. Java

  3. Swift

  4. Kotlin

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

Xamarin primarily utilizes C# for developing cross-platform mobile applications.

Multiple choice

What is the primary language used in NativeScript?

  1. Java

  2. Swift

  3. JavaScript

  4. TypeScript

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

NativeScript primarily uses JavaScript for building cross-platform mobile applications.

Multiple choice

What is the main programming language used in Xamarin?

  1. C#

  2. Java

  3. Swift

  4. Kotlin

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

Xamarin primarily utilizes C# for developing cross-platform mobile applications.

Multiple choice

Which of the following is NOT a way in which computers have been used to process language?

  1. Machine translation

  2. Natural language processing

  3. Speech recognition

  4. Image recognition

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

Image recognition is not a way in which computers have been used to process language. It is a field of computer science that deals with the recognition of objects in images.

Multiple choice

What is the term used for the programming language specifically designed for robot control?

  1. Robot programming language

  2. Robot control language

  3. Robot motion language

  4. All of the above

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

Robot programming language, robot control language, and robot motion language all refer to the programming language specifically designed for robot control.

Multiple choice

Which programming language is commonly used for game development?

  1. Java

  2. C++

  3. Python

  4. JavaScript

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

C++ is a popular programming language for game development due to its speed, efficiency, and low-level control.

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 official programming language for Android development, offering a wide range of libraries and tools.

Multiple choice

What is the primary programming language used for iOS application development?

  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 for iOS development, known for its simplicity, performance, and safety.

Multiple choice

What is the primary programming language used for developing Windows Phone applications?

  1. Java

  2. Swift

  3. Kotlin

  4. C#

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

C# is the primary programming language for Windows Phone development, offering access to the .NET framework and Visual Studio tools.