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

Multiple choice

Which programming language is commonly used for developing smart contracts on the Ethereum platform?

  1. Solidity.

  2. Python.

  3. Java.

  4. C++.

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

Solidity is a high-level programming language specifically designed for developing smart contracts on the Ethereum platform. It provides a syntax similar to JavaScript and is optimized for writing and deploying smart contracts on the Ethereum Virtual Machine (EVM).

Multiple choice

What programming language is primarily used for Android development?

  1. C++

  2. Java

  3. Python

  4. Swift

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

Android apps are primarily developed using the Java programming language, although other languages like Kotlin are also supported.

Multiple choice

Which of the following is NOT a Tizen programming language?

  1. C

  2. C++

  3. Java

  4. Python

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

Python is not a Tizen programming language.

Multiple choice

Which of the following is a popular programming language for computational physics?

  1. Python

  2. C++

  3. Fortran

  4. Java

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

Python has gained popularity in computational physics due to its extensive library support, ease of use, and versatility, making it suitable for a wide range of scientific computing tasks.

Multiple choice

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

  1. Cirq

  2. Qiskit

  3. Forest

  4. PennyLane

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

Cirq is a quantum programming language developed by Google.

Multiple choice

Which programming language was primarily used for developing applications for WebOS?

  1. Java

  2. C++

  3. Objective-C

  4. JavaScript

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

WebOS applications were primarily developed using JavaScript, leveraging its cross-platform capabilities.

Multiple choice

What was the name of the computer programming language developed by Grace Hopper in the 1950s?

  1. COBOL

  2. FORTRAN

  3. BASIC

  4. Assembly

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

COBOL (Common Business-Oriented Language) was developed by Grace Hopper in the 1950s and was specifically designed for business applications.

Multiple choice

Which programming language was developed by Grace Hopper?

  1. COBOL

  2. FORTRAN

  3. BASIC

  4. Pascal

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

Grace Hopper, an American computer scientist and US Navy rear admiral, was the lead developer of COBOL (Common Business-Oriented Language), a widely used programming language designed for business applications.

Multiple choice

What is the primary programming language used for developing native Android applications?

  1. Java

  2. Kotlin

  3. Swift

  4. C#

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

Java is the primary programming language used for developing native Android applications. Kotlin is a newer language that is also supported by Android, but it is not as widely used as Java.

Multiple choice

What is the primary programming language used for developing native iOS applications?

  1. Java

  2. Kotlin

  3. Swift

  4. C#

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

Swift is the primary programming language used for developing native iOS applications. It is a modern, safe, and expressive language that is designed for building high-performance apps.

Multiple choice

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

  1. Java

  2. Kotlin

  3. Swift

  4. C#

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

C# is the primary programming language used for developing native Windows Phone applications. It is a modern, object-oriented language that is designed for building high-performance apps.

Multiple choice

Which of the following is NOT a common programming language used in game development?

  1. C++

  2. Java

  3. Python

  4. Lua

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

Python is not as commonly used in game development as the other options, which are all popular choices for game development.

Multiple choice

What was the primary programming language used for developing applications on Symbian OS?

  1. Java

  2. C++

  3. Python

  4. C#

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

C++ was the primary programming language used for developing native applications on Symbian OS, offering developers a high level of control and performance.

Multiple choice

What is the name of the official documentation website for React Native app development?

  1. React Native Developers

  2. React Native SDK

  3. JavaScript

  4. Expo

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

React Native Developers is the official documentation website for React Native app development, providing comprehensive guides, tutorials, and resources for developers.

Multiple choice

What is the name of the official documentation website for Ionic app development?

  1. Ionic Developers

  2. Ionic SDK

  3. Angular

  4. Capacitor

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

Ionic Developers is the official documentation website for Ionic app development, providing comprehensive guides, tutorials, and resources for developers.