Search Header Logo

S3 SDD Unit 2 - 4. Implementation

Authored by Violet Smyth

Computers

9th Grade

Used 1+ times

S3 SDD Unit 2 - 4. Implementation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MATCH QUESTION

30 sec • 1 pt

Match the pseudocode steps to their corresponding Python code for a program that calculates a pupil's grade:

Set pupil’s grade (next slide)

Ask user to enter pupil’s name

name = input("Enter pupil name")

Display pupil’s name and grade

Print(name, "has a grade of", grade)

Ask user to enter a pupil’s mark

mark = input("Enter pupil mark")

Set pupil’s grade (next slide)

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?