N5 SDD - Python code understanding (football program)

N5 SDD - Python code understanding (football program)

6th Grade

8 Qs

quiz-placeholder

Similar activities

7th Grade HTML

7th Grade HTML

6th - 8th Grade

12 Qs

Quiz #1: Scratch basics

Quiz #1: Scratch basics

6th - 8th Grade

10 Qs

EXCEL

EXCEL

1st - 9th Grade

12 Qs

วิทยาการคำนวณ

วิทยาการคำนวณ

4th - 6th Grade

10 Qs

PacMan programming mini test

PacMan programming mini test

6th Grade

12 Qs

Variables-G6-W6 test

Variables-G6-W6 test

6th Grade

10 Qs

HTML Quiz

HTML Quiz

KG - University

10 Qs

Değişken Dönüşümleri

Değişken Dönüşümleri

6th Grade

10 Qs

N5 SDD - Python code understanding (football program)

N5 SDD - Python code understanding (football program)

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

G Alexander-Doyle

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

Discover more resources for Computers