Search Header Logo

String Manipulation Quiz

Authored by Chauncy ICT

Computers

10th - 11th Grade

Used 101+ times

String Manipulation Quiz
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

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What would the Python code: len(level) return?

2

3

4

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is title[0]?

'c'

'o'

'g'

An error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is title[4]?

'p'

'u'

't'

An error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is level[3]?

'g'

'e'

'c'

's'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is level[4]?

'g'

'e'

'c'

An error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is title concatenated (linked together) with level?

"computer sciencegcse"

"computersciencegcse"

"computer science gcse"

"computerscience gcse"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pseudocode below assigns two strings to two variables:

title = "computer science"

level = "gcse"

What is level concatenated (linked together) with level?

"gcsegcse"

"gcse gcse"

"computer science gcse"

An error

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?