
Unit 9
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct way to declare a function in python?
Back
2.
FLASHCARD QUESTION
Front
What is the correct way to call a function named print_sum? Options: def print_sum(), print_sum, print_sum(), print_sum():
Back
print_sum()
3.
FLASHCARD QUESTION
Front
Which of the following code samples correctly passes the number 10 as an argument to the function print_number? Options: print_number(10), print_number(), print(10), 10(print_number), print print_number, print 10
Back
print_number(10)
4.
FLASHCARD QUESTION
Front
In which namespace is the variable x defined in the program on the left?
Back
global namespace
5.
FLASHCARD QUESTION
Front
In which namespace is the variable y declared in the function on the left?
Back
function namespace
6.
FLASHCARD QUESTION
Front
Consider the code snipped on the left: Which of the following additional functions could be safely added to this code, without causing an error?
Back
7.
FLASHCARD QUESTION
Front
Which of the following functions successfully returns double the variable ‘number’?
Back
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
5 questions
Synthesizing Essential Information in Various Sources
Flashcard
•
8th Grade
13 questions
Tell-Tale Heart | Chinook 8th Grade
Flashcard
•
8th Grade
6 questions
Butterfly Flashcards
Flashcard
•
6th - 8th Grade
6 questions
Fetch-Execute Cycle and CPU Registers
Flashcard
•
KG
8 questions
Basic Principles of Photography
Flashcard
•
KG
10 questions
Noun suffixes -ness, -dom, -ship
Flashcard
•
7th - 8th Grade
11 questions
Monomios e Polinomios
Flashcard
•
8th Grade
9 questions
Trigonometric Ratios - Recap For Math Q4 W1
Flashcard
•
9th 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