What is the primary difference between machine code and assembly code?
Different Kinds of Code (Machine, assembly, compiled, scripting)

Quiz
•
Computers
•
12th Grade
•
Medium
TSEE LEE
Used 6+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Machine code is human-readable, while assembly code is not.
Assembly code is a low-level language that is human-readable, while machine code is binary and executed directly by the CPU.
Machine code is written in high-level languages, while assembly code is written in binary.
Assembly code is faster than machine code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of programming languages like C and Java?
They are interpreted line-by-line at runtime.
They are converted into machine code before execution.
They cannot be used for system-level programming.
They are always slower than scripting languages.
The program is run directly all at once.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of a compiler in programming?
It interprets code line-by-line.
It converts high-level code into machine code.
It executes machine code directly.
It converts machine code into assembly code.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about scripting languages like python & bash?
They are always compiled into machine code before execution.
The program is run directly all at once.
Each line is run directly without needing to be compiled.
They are only used for web development.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Java differ from C in terms of execution?
Java is compiled into machine code, while C is interpreted.
Java is interpreted by the Java Virtual Machine (JVM) after being compiled into bytecode, while C is compiled directly into machine code.
Java is faster than C because it is compiled into machine code.
Java does not require a compiler, while C does.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language is typically used for writing scripts to automate tasks in a Linux environment?
C
Java
bash
Assembly
python
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using high-level programming languages over assembly language or even C?
High-level languages are faster than assembly language.
High-level languages are easier to read and write, making development faster and less error-prone.
High-level languages are more secure than assembly language.
High-level languages do not require a compiler.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
2.5 Translators, Compilers & Interpreters

Quiz
•
12th Grade
20 questions
SC025 - Topic 1 (Introduction to Programming

Quiz
•
KG - 12th Grade
13 questions
NCFE Unit 1 Principles of Coding

Quiz
•
10th - 12th Grade
17 questions
1.2.2 Applications Generation

Quiz
•
12th Grade
14 questions
Programming language classification

Quiz
•
12th Grade
12 questions
Programming Languages

Quiz
•
9th - 12th Grade
18 questions
Computers & How They Work

Quiz
•
9th - 12th Grade
17 questions
Unit 7 Review 1

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University