
CS1 - Unit 6
Flashcard
•
Computers
•
10th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is a benefit of organizing code into functions?
Options:
It makes code more readable,
It allows you to cut down on repetitive code,
It lets you abstract complex code,
All of the above
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, green, red
3.
FLASHCARD QUESTION
Front
What will happen if we run the following program? (You can assume that there is no other code in the file.) Options: a) "Hello World!" will print to the console, b) The program will crash due to a syntax error, c) Nothing will print to the console, d) console infinitely until we force quit the program
Back
Nothing will print to the console
4.
FLASHCARD QUESTION
Front
Type the entire function signature:
Back
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 , # , 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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Ionic Naming and Formula Writing
Flashcard
•
10th Grade
30 questions
A Christmas Carol (Jim Carey's Movie Version)
Flashcard
•
9th - 10th Grade
26 questions
css 9 qtr 4 LO4 4.1 flashcards
Flashcard
•
9th Grade
26 questions
Written Language Features
Flashcard
•
KG
26 questions
Alphabet Flashcards
Flashcard
•
KG
18 questions
Grade 9 SS - CH 3 Charter of Rights & Freedoms
Flashcard
•
9th Grade
26 questions
Day 1
Flashcard
•
KG
25 questions
PHYSICAL SCIENCE SUMMATIVE TEST Q4
Flashcard
•
11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade