
Types of Programming Languages - Quiz2
Authored by Rommel Sario
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is considered the closest to the computer’s hardware?
Python
C++
Assembly Language
Java
Answer explanation
Assembly language is a low-level language that directly represents machine code, allowing direct interaction with the hardware.
Assembly language is a low-level language that directly represents machine code, allowing direct interaction with the hardware.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Answer explanation
Machine language is very difficult for humans to write and understand because it consists only of binary digits.
Machine language is very difficult for humans to write and understand because it consists only of binary digits.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is required to convert assembly code into machine code?
Compiler
Interpreter
Assembler
Virtual Machine
Answer explanation
An assembler translates assembly code into machine code so that it can be executed by the processor.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Answer explanation
Machine code is made up of raw binary or hexadecimal instructions that are directly executed by the CPU.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a notable use of the C programming language?
Web development
Systems programming
Device drivers
Game development
Answer explanation
C is commonly used for systems programming due to its efficiency and direct interaction with hardware.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which programming paradigm is based on the concept of objects with attributes and behavior?
Procedural programming
Functional programming
Object-oriented programming
Structured programming
Answer explanation
Object-oriented programming (OOP) focuses on real-world entities, with objects containing attributes (data) and behaviors (functions or methods).
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
Answer explanation
In compiled languages, the source code is translated into machine code all at once using a compiler, generating an executable file.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?