S3 SDD Unit 2 - 4. Implementation

S3 SDD Unit 2 - 4. Implementation

9th Grade

8 Qs

quiz-placeholder

Similar activities

Pseudocode with Slides

Pseudocode with Slides

8th - 9th Grade

9 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

Python if s

Python if s

7th - 9th Grade

10 Qs

KS3 Computing -- Iteration: FOR or WHILE?

KS3 Computing -- Iteration: FOR or WHILE?

7th - 9th Grade

10 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

Computer Science 2: Control Structures

Computer Science 2: Control Structures

8th - 12th Grade

11 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:

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