
9.1 Python Hinge L4

Quiz
•
Computers
•
9th - 11th Grade
•
Medium
SMA Computing
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leo wants to create a subroutine that will roll a dice. Which syntax is correct?
def dice roll ():
def diceroll ()
def diceroll ():
def diceroll []:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions display an output to the screen?
display()
output()
print()
post()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A named, reusable set of programming statements to perform a specific task defines
applications
algorithms
modules
functions
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you write a function. How many times can you call the function in your code?
Once
Not more than the number of commands the function holds
It depends on the function
As many times as you want
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following situations would it be best to make a function?
You want Tracy to draw a blue line, and your program requires lots of blue lines.
You need Tracy to move forward by 100.
You need Tracy to turn right and then turn left.
You need to change Tracy’s color.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the statements below is true about indentation in Python?
Indentation only matters in for loops. Then, everything must be indented one level.
Indentation never matters in Python. You can align your code any way you like, but indentation makes your code easier to read.
Indentation always matters in Python. Every statement must be aligned correctly.
Indentation only matters in functions. Then, everything must be indented one level.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is declared correctly?
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python If Statements - and or not

Quiz
•
11th Grade
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
10 questions
Gr10 DigiPro Sprint 1.1

Quiz
•
10th Grade
10 questions
Python

Quiz
•
5th - 10th Grade
10 questions
Grade 10 Python Quiz

Quiz
•
10th Grade
10 questions
Checkpoint - Representing Algorithms with Pseudocode

Quiz
•
9th Grade
12 questions
Unit 7 Importance of quality code

Quiz
•
11th Grade
11 questions
Defensive Design

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade