N5 SDD - Python code understanding (football program)

Quiz
•
Computers
•
6th Grade
•
Hard
G Alexander-Doyle
Used 5+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is player?
integer
real number
string
boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is goals_scored?
integer
real number
string
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable determines the number of times the fixed loop in line 10 is run?
average
counter
Total_goals_scored
games_played
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe the process taking place in lines 10-13.
A conditional loop is used to keep a running total of how many goals the player scores in each of the games they've played.
A fixed loop is used to keep a running total of how many goals the player scores in each of the games they've played.
A fixed loop is used to keep a running average of how many goals the player scores in each of the games they've played.
A conditional loop is used to keep a running average of how many goals the player scores in each of the games they've played.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code involves calculating an average?
Line 10
Line 14
Line 15
Line 16
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code increments the total number of goals scored?
Line 12
Line 13
Line 15
Line 16
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code prompts the user to enter the number of goals scored in each game?
Line 10
Line 11
Line 12
Line 13
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What would be the output of the program if Mark Kerr plays 3 games and scores 1,2 and 3 goals in each game?
Similar Resources on Wayground
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
11 questions
Computer Science

Quiz
•
4th - 6th Grade
12 questions
Code Combat Kithgard Dungeons

Quiz
•
6th - 8th Grade
8 questions
Small Basic Mid Point Review

Quiz
•
6th - 12th Grade
13 questions
Coding Vocabulary

Quiz
•
4th - 6th Grade
10 questions
Grade 5 Ms Excel

Quiz
•
5th - 6th Grade
13 questions
Code.org Express Course Vocab Lessons 1-10

Quiz
•
6th Grade
10 questions
Code HS Tracy Phyton Quiz

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade