Search Header Logo

S3 Complete the code

Authored by Martin McCormack

Computers

8th Grade

Used 4+ times

S3 Complete the code
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?