1.2 Basic String Manipulation

1.2 Basic String Manipulation

9th Grade

10 Qs

quiz-placeholder

Similar activities

Python Input/Output

Python Input/Output

9th - 12th Grade

10 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

GCSE Computing - Subprograms

GCSE Computing - Subprograms

9th - 10th Grade

14 Qs

Python Functions and Escape Sequences

Python Functions and Escape Sequences

9th - 12th Grade

12 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

CodeHS - Java - Karel (Sec 1-3)

CodeHS - Java - Karel (Sec 1-3)

7th - 10th Grade

15 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

1.2 Basic String Manipulation

1.2 Basic String Manipulation

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Mr Mayer

Used 56+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?