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
Which of the following is NOT a common programming language used for GPU programming in engineering?
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.
What is the primary programming language used in R, a popular statistical software?
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.
What is the primary language used in React Native?
-
Java
-
Swift
-
JavaScript
-
Kotlin
C
Correct answer
Explanation
React Native primarily uses JavaScript for building cross-platform mobile applications.
What is the main programming language used in Xamarin?
A
Correct answer
Explanation
Xamarin primarily utilizes C# for developing cross-platform mobile applications.
What is the primary language used in NativeScript?
-
Java
-
Swift
-
JavaScript
-
TypeScript
C
Correct answer
Explanation
NativeScript primarily uses JavaScript for building cross-platform mobile applications.
What is the main programming language used in React Native?
-
Java
-
Swift
-
JavaScript
-
Kotlin
C
Correct answer
Explanation
React Native primarily uses JavaScript for building cross-platform mobile applications.
What is the main programming language used in Xamarin?
A
Correct answer
Explanation
Xamarin primarily utilizes C# for developing cross-platform mobile applications.
What is the primary language used in NativeScript?
-
Java
-
Swift
-
JavaScript
-
TypeScript
C
Correct answer
Explanation
NativeScript primarily uses JavaScript for building cross-platform mobile applications.
What is the main programming language used in Xamarin?
A
Correct answer
Explanation
Xamarin primarily utilizes C# for developing cross-platform mobile applications.
Which of the following is NOT a way in which computers have been used to process language?
-
Machine translation
-
Natural language processing
-
Speech recognition
-
Image recognition
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.
What is the term used for the programming language specifically designed for robot control?
-
Robot programming language
-
Robot control language
-
Robot motion language
-
All of the above
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.
Which programming language is commonly used for game development?
-
Java
-
C++
-
Python
-
JavaScript
B
Correct answer
Explanation
C++ is a popular programming language for game development due to its speed, efficiency, and low-level control.
Which programming language is primarily used for developing Android applications?
A
Correct answer
Explanation
Java is the official programming language for Android development, offering a wide range of libraries and tools.
What is the primary programming language used for iOS application development?
B
Correct answer
Explanation
Swift is the primary programming language for iOS development, known for its simplicity, performance, and safety.
What is the primary programming language used for developing Windows Phone applications?
D
Correct answer
Explanation
C# is the primary programming language for Windows Phone development, offering access to the .NET framework and Visual Studio tools.