S3 SDD Unit 2 - 4. Implementation

S3 SDD Unit 2 - 4. Implementation

9th Grade

8 Qs

quiz-placeholder

Similar activities

9.2 Further programming

9.2 Further programming

9th Grade

12 Qs

Intro to Python Test

Intro to Python Test

3rd - 12th Grade

11 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

J277 Network Threats

J277 Network Threats

7th - 11th Grade

10 Qs

Javascript Quiz 1

Javascript Quiz 1

9th Grade

9 Qs

Lección 1 Excel

Lección 1 Excel

9th - 12th Grade

10 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

S3 SDD Unit 2 - 4. Implementation

S3 SDD Unit 2 - 4. Implementation

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Violet Smyth

Used 1+ times

FREE Resource

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:

name = input("Enter pupil name")

Ask user to enter pupil’s name

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

Ask user to enter a pupil’s mark

Set pupil’s grade (next slide)

Set pupil’s grade (next slide)

mark = input("Enter pupil mark")

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"))