Types of Programming Languages - Quiz2

Quiz
•
Computers
•
University
•
Medium
Rommel Sario
Used 8+ times
FREE Resource
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.
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.
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.
Create a free account and access millions of resources
Similar Resources on Wayground
24 questions
Javascript Basics

Quiz
•
7th Grade - University
22 questions
ABC's of Programming B

Quiz
•
University
23 questions
OCR J275 - Data Representation

Quiz
•
KG - University
20 questions
Round 1 ( RHA Learner Contest )

Quiz
•
University
20 questions
.NET & C# Basics

Quiz
•
University
20 questions
Quiz (Component of Computer)

Quiz
•
University
20 questions
WML & WAP

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade