
CS1 - Unit 6
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Used 1+ times
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a benefit of organizing code into functions?
Back
All of the above
2.
FLASHCARD QUESTION
Front
What order will the print statements run? Options: blue, red, green, blue, green, red, blue, red, green, blue, red
Back
blue, red, green
3.
FLASHCARD QUESTION
Front
What will happen if we run the following program?
Back
Nothing will print to the console
4.
FLASHCARD QUESTION
Front
Type the entire function signature: Options: def greeting(name):, def greeting(name)
Back
def greeting(name):, def greeting(name)
5.
FLASHCARD QUESTION
Front
What are the arguments to the user-defined function? (List arguments in the order they appear, separate with commas and no spaces)
Back
"#",5,"&",3
6.
FLASHCARD QUESTION
Front
What are the parameters in the following code snippet? (List parameters in the order they appear, separate with comma and no space)
Back
symbol,num
7.
FLASHCARD QUESTION
Front
What should go on line 6 so that this function returns the total summed value?
Back
return total
Create a free account and access millions of resources
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
20 questions
Chemical formula and balancing equation
Flashcard
•
9th Grade
22 questions
Genetics: Mendel's Laws
Flashcard
•
9th - 12th Grade
23 questions
Cereal Grains and Gluten Structure
Flashcard
•
KG
33 questions
AQA Physics Paper 1- Electricity
Flashcard
•
9th - 11th Grade
31 questions
J277 Architecture and Factors that effect performance
Flashcard
•
10th Grade
26 questions
Unit 3 Flashcards
Flashcard
•
9th - 12th Grade
30 questions
Tests for Anions, Cations and Gases
Flashcard
•
10th - 11th Grade
20 questions
Earthquakes and Volcanoes
Flashcard
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade