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
25 questions
IT621 Quiz 1

Quiz
•
University
20 questions
Week 6 - Programming and App Development

Quiz
•
University
20 questions
Java Quiz 1

Quiz
•
University
20 questions
Python 1

Quiz
•
University
20 questions
Programming in C(1)

Quiz
•
University
20 questions
ROUND 1 QUIZ FOR 1ST YEAR

Quiz
•
University
30 questions
Generation of programming languages and language processors

Quiz
•
University
20 questions
AP CSP Vocabulary Review

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University