T-Level DPDD: Maintainable Code Quiz
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Sara Burton
Used 1+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does PEP8 stand for in Python programming?
Python Enhancement Proposal
Python Execution Protocol
Python Efficiency Program
Python Error Prevention
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a guideline provided by PEP8?
Naming conventions/styles
Use of comments
Use of white space
Use of global variables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to use logical and sensible names when creating code?
To make the code run faster
To make it easier for someone else to understand the code
To reduce the size of the code
To increase the security of the code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should single letter names like I, O, and l be avoided in code?
They are reserved keywords
They can be mistaken for 1 or 0
They slow down the code execution
They are not supported in Python
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'PEP' stand for?
Python Enhancement Proposal
Python Execution Protocol
Program Execution Plan
Python Efficiency Plan
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which construct should be styled in capital letters?
Constants
Variables
Functions
Classes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do comments help when code is being maintained?
They make the code run faster
They provide explanations and improve readability
They reduce the size of the code
They change the output of the code
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?
Similar Resources on Wayground
10 questions
DTJSQuiz
Quiz
•
11th Grade
10 questions
ID Quiz
Quiz
•
11th Grade
10 questions
Информатика 8ә-сынып
Quiz
•
11th Grade
10 questions
Latency and Bandwidth
Quiz
•
10th - 11th Grade
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
Software Design and Development Quick Quiz 3
Quiz
•
11th - 12th Grade
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
