S3 Complete the code

S3 Complete the code

8th Grade

6 Qs

quiz-placeholder

Similar activities

Python for Beginners

Python for Beginners

6th - 12th Grade

9 Qs

Python Introduction Simple

Python Introduction Simple

6th - 12th Grade

9 Qs

Python Test

Python Test

6th - 12th Grade

9 Qs

Python

Python

6th - 12th Grade

9 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Basic Python Coding

Basic Python Coding

6th - 12th Grade

9 Qs

Python User Input Quiz

Python User Input Quiz

6th Grade - University

10 Qs

Basic Python Coding

Basic Python Coding

6th - 12th Grade

9 Qs

S3 Complete the code

S3 Complete the code

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Martin McCormack

Used 4+ times

FREE Resource

6 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to print the string Hello

print(_)

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to print the string Hello

_("Hello")

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to check a pupils age is between 11 and 17

if age >= 11 _ age<=17:

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to ask the user to enter an age and store it in the variable age

age = ___(input("Enter age: "))

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to ask the user to enter pi to 2 decimal places and store it in the variable pi

pi = ___(input("Enter pi to 2 decimal places: "))

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to ask the user for their name and store it in a variable name

__________("Enter your name")