
CS1 - Unit 6

Flashcard
•
Computers
•
10th Grade
•
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
Similar Resources on Wayground
25 questions
IST_OPENING Final Exam Review_12.03

Flashcard
•
10th Grade
22 questions
Final Review Part 4

Flashcard
•
11th Grade
24 questions
Programming Concepts Flashcard

Flashcard
•
10th Grade
25 questions
Python Program

Flashcard
•
9th Grade
20 questions
Procedures and Functions

Flashcard
•
10th Grade
32 questions
CS1 - Unit 6

Flashcard
•
10th Grade
21 questions
AP CSP Unit 7 Review

Flashcard
•
11th Grade
28 questions
Python Functions

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade