
Python: Quiz 1.03 - Code Structure and Workings
Authored by J.P. Franke
Computers
Professional Development
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
High-level code is usually translated to machine code by which 2 programs?
Compilers and Interpreters
Compilers and Translators
Translators and Constructors
Constructors and Interpretors
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Python is which kind of Language?
Interpreted Language
Compiled Language
Low-level Language
Dialect of Mandarin
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How does a Compiler work?
Takes in a whole Source Code file and compiles it into an executable file
Reads a source code from top-to-bottom, line by line
Transforms the 1's and 0's of binary code into a high-level, human-readable language
All of these Options are correct
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How does an Interpreter work?
Takes in a whole Source Code file and compiles it into an executable file
Reads a source code from top-to-bottom, line by line
Transforms the 1's and 0's of binary code into a high-level, human-readable language
All of these Options are correct
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A "bug" in coding means...
An error in code, resulting in unwanted behavior
An insect that got stuck in the hardware, causing damage
An error in the language that cannot be fixed by the programmer
Nothing. We do not use the word "bug" in coding
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
When you find an error in code, what do we call the process of finding and fixing the error?
Debugging
Error Fixing
Troubleshooting
Fine-tuning
7.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
What is a good way to avoid bugs while writing code? (Pick all that apply)
Test your code regularly as you write
Copy open-source code from experienced developers
Write your full script, then run it and see what happens
Practice
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?