Search Header Logo

1.2 Basic String Manipulation

Authored by Mr Mayer

Computers

9th Grade

Used 58+ times

1.2 Basic String Manipulation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Where's the mistake in this code?

Pint is spelt wrong

Print has a missing "r"

Speech marks don't need to be there

The brackets are missing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the stuff in purple?

A message

Brackets

A string

An inbuilt Python command

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the stuff in green?

A message

Brackets

A string

An inbuilt Python command

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code do?

Ask you the question "Hello world"

Print the string "Hello world"

input "Hello world"

Nothing...there's an error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Where's the error in this code?

Missing brackets on line 2

Missing brackets on line 1

Missing brackets on line 3

Missing speech marks on line 2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code do?

Print "Hello Mr Mayer"

Nothing, the code has a mistake

Print a line space, print hello world, print my name is Mr Mayer

Print hello world, print a line space, print my name is Mr Mayer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many strings will this code print?

1

2

3

4

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?