Match the pseudocode steps to their corresponding Python code for a program that calculates a pupil's grade:
S3 SDD Unit 2 - 4. Implementation

Quiz
•
Computers
•
9th Grade
•
Medium

Violet Smyth
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MATCH QUESTION
30 sec • 1 pt
Set pupil’s grade (next slide)
Display pupil’s name and grade
name = input("Enter pupil name")
Ask user to enter a pupil’s mark
mark = input("Enter pupil mark")
Set pupil’s grade (next slide)
Print(name, "has a grade of", grade)
Ask user to enter pupil’s name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The Python code to ask the user to enter the pupil's name is ___________.
name = input("Enter pupil name")
input = name("Enter pupil name")
pupil = ask.input("Enter name")
name = get.input("Enter pupil name")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the construct that places a value into a variable?
Assignment
Selection
Fixed Loop
Conditional Loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the construct decides which lines of code to run, depending on a condition(s)?
Assignment
Selection
Fixed Loop
Conditional Loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the construct that repeats code a set number of times?
Assignment
Selection
Fixed Loop
Conditional Loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the construct that repeats code depending on a condition(s)?
Assignment
Selection
Fixed Loop
Conditional Loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The Python code to display the pupil's name and grade is ___________.
Print(name, "has a grade of", grade)
print(name + " has a grade of " + grade)
echo(name, "has a grade of", grade)
display(name, grade)
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python statements is used to ask the user to enter a pupil's mark?
mark = input("Enter pupil mark")
mark = int(input("Enter pupil mark")
mark = int(input("Enter pupil mark"))
mark = input("Enter pupil mark"))
Similar Resources on Quizizz
12 questions
If Statements, Loops and Variables

Quiz
•
9th - 10th Grade
12 questions
Coding - Beginner Level

Quiz
•
3rd Grade - University
11 questions
python revision

Quiz
•
9th Grade
11 questions
Pseudo code ('fake' code)

Quiz
•
9th - 10th Grade
10 questions
while loop

Quiz
•
9th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
13 questions
Entry Level - Programming Techniques

Quiz
•
8th - 9th Grade
12 questions
Python Programming - Iteration

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade