WorksheetsTypes of Programming Languages - Quiz2
Total questions: 25
Worksheet time: 12mins
Which of the following is considered the closest to the computer’s hardware?
Python
C++
Assembly Language
Java
Which of the following is NOT true about Machine Language?
It is the native language of computers
It consists of binary digits (0s and 1s)
It is easy for humans to write and understand
It executes very quickly
What is required to convert assembly code into machine code?
Compiler
Interpreter
Assembler
Virtual Machine
Which of the following is a feature of machine code?
It uses symbolic representation for readability
It is written in binary or hexadecimal format
It needs an assembler to run on a CPU
It can be easily debugged by humans
What is a notable use of the C programming language?
Web development
Systems programming
Device drivers
Game development
Which programming paradigm is based on the concept of objects with attributes and behavior?
Procedural programming
Functional programming
Object-oriented programming
Structured programming
Which of the following is true about compiled languages?
The code is translated line by line during runtime.
The entire source code is converted into machine code at once.
No executable file is generated.
The code must be interpreted every time it runs.
What is a characteristic of interpreted languages?
They generate an executable file after compilation.
They execute the source code line-by-line at runtime.
They do not require an interpreter to run.
The entire code is compiled before execution.
What is a programming paradigm?
A specific programming language syntax.
A way to classify programming languages based on their features and style.
A tool used for debugging programs.
A method for compiling code.
Which of the following is a specialized programming language used for querying databases?
Swift
SQL
Kotlin
Scala
Which statement best describes a high-level programming language?
It requires knowledge of hardware-specific instructions.
It provides a high level of abstraction and is closer to human language.
It is compiled directly into machine code without interpretation.
It is only used for system programming.
What is a key feature of object-oriented programming?
Functions that do not depend on external state.
The use of objects that encapsulate data and behavior.
Focus on writing algorithms in a step-by-step format.
Direct manipulation of hardware through machine code.
What is a scripting language?
A language that is compiled into machine code before execution.
A language that is interpreted at runtime.
A language used for writing operating systems.
A language that communicates directly with hardware.
What is the main difference between server-side and client-side scripting?
Server-side scripting is faster than client-side scripting.
Server-side scripting is processed on the server, while client-side scripting is processed by the browser on the user's machine.
Client-side scripting can only run on specific operating systems.
Server-side scripting can only be used for managing databases.
What is the primary use of Swift programming language?
Web development
iOS and macOS application development
Data analysis
Scientific computing
Which of the following languages is officially supported by Google for Android app development?
Python
Swift
Kotlin
R
Which of the following is a key characteristic of functional programming languages?
They allow mutable state.
They focus on loops and iterative statements.
They treat computation as the evaluation of mathematical functions.
They emphasize object manipulation.
Which of the following best describes a full-stack developer?
A developer who works only on databases.
A developer who specializes in creating user interfaces.
A developer proficient in both front-end and back-end development.
A developer who focuses on mobile app development.
Which of the following is NOT typically part of front-end development?
CSS
HTML
MySQL
JavaScript
Which factor should be considered when choosing a programming language to ensure better career prospects?
Personal preference for syntax
Ease of use for creating graphical interfaces
Job market demand and language popularity
Availability of free online courses
Which of the following factors is NOT typically considered when choosing a programming language?
Career goals
Ease of learning
The color of the programming language’s logo
Community support
If you are interested in building websites and web applications, which language should you focus on?
C++
Swift
JavaScript
MATLAB
Which programming languages are popular choices for game development?
Python and JavaScript
C++ and C#
Swift and Kotlin
Ruby and PHP
Before choosing a programming language, what should you first decide?
The latest technology trends
Which programming area you want to focus on (e.g., web, application, or mobile development)
The number of programming languages you want to learn
Your favorite programming books
What are core programming principles that you should understand?
Hardware architecture
Loops, functions, and paradigms
Networking protocols
Database design
