N5 SDD - Python code understanding (football program)
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
G Alexander-Doyle
Used 5+ times
FREE Resource
Enhance your content in a minute
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
10 questions
Unit 2 Assessment - 5G
Quiz
•
5th - 8th Grade
12 questions
Flowchart
Quiz
•
4th - 6th Grade
10 questions
Grade 5 Ms Excel
Quiz
•
5th - 6th Grade
10 questions
Internet Services
Quiz
•
5th - 8th Grade
10 questions
TIK Kelas 6 tentang Ms Excel
Quiz
•
6th Grade
8 questions
Spreadsheet Basics
Quiz
•
6th - 9th Grade
10 questions
Python
Quiz
•
5th - 10th Grade
11 questions
Programming: Game
Quiz
•
4th - 6th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
