WorksheetsPython: Quiz 1.03 - Code Structure and Workings
Total questions: 11
Worksheet time: 6mins
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
Python is which kind of Language?
Interpreted Language
Compiled Language
Low-level Language
Dialect of Mandarin
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
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
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
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
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
What is Programming?
Writing instructions for a digital machine
Hypnotism
Creating an Excel Calendar
Keeping logs of events on a PC
A written map of code logic without using any strict rules or specific syntax is known as...
Pseudo Code
Decomposition
A Code Map
A Code Graph
Breaking down a larger, primary task into multiple smaller tasks is known as...?
Being organized
Decomposition
Pseudo Code
Code Parsing
Lines in a script that won't be read by the computer but are used for coders to keep notes or leave instructions are known as...?
Comments
Note Blocks
Doodles
Errors
