N5 SDD - Python code understanding (football program)

N5 SDD - Python code understanding (football program)

6th Grade

8 Qs

quiz-placeholder

Similar activities

Python Quiz - 7

Python Quiz - 7

6th - 8th Grade

10 Qs

Robots

Robots

5th - 7th Grade

13 Qs

Game Design Define the Problem

Game Design Define the Problem

6th - 8th Grade

6 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

Year 7 - Algorithms

Year 7 - Algorithms

6th Grade

11 Qs

Basic Coding Terminology

Basic Coding Terminology

6th - 8th Grade

10 Qs

Flow Charts

Flow Charts

1st - 10th Grade

10 Qs

Introduction to Python - Loops and Logic

Introduction to Python - Loops and Logic

1st - 6th Grade

10 Qs

N5 SDD - Python code understanding (football program)

N5 SDD - Python code understanding (football program)

Assessment

Quiz

Computers

6th Grade

Hard

Created by

G Alexander-Doyle

Used 5+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What type of variable is player?

integer

real number

string

boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What type of variable is goals_scored?

integer

real number

string

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

Which line of code involves calculating an average?

Line 10

Line 14

Line 15

Line 16

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

What would be the output of the program if Mark Kerr plays 3 games and scores 1,2 and 3 goals in each game?