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
mark = input("Enter pupil mark")
Ask user to enter a pupil’s mark
name = input("Enter pupil name")
Ask user to enter pupil’s name
Print(name, "has a grade of", grade)
Set pupil’s grade (next slide)
Set pupil’s grade (next slide)
Display pupil’s name and grade
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
13 questions
Python Functions

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

Quiz
•
8th - 9th Grade
10 questions
21-22 Algorithms KS3

Quiz
•
9th Grade
12 questions
If Statements, Loops and Variables

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

Quiz
•
3rd Grade - University
8 questions
8.2.6 Working with Pseudocode

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

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

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University