Python Lists and Strings

Python Lists and Strings

9th Grade

20 Qs

quiz-placeholder

Similar activities

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Python turtle

Python turtle

8th - 9th Grade

20 Qs

Programming Techniques Survey

Programming Techniques Survey

8th - 12th Grade

19 Qs

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 Qs

Python Lists and Strings

Python Lists and Strings

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Adrian Heafield

Used 29+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python function that adds an item on to the end of a list?

Extend

Append

Remove

Count

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python Function for changing all lower case to upper case and all upper case to lower case letter?

upper

lower

replace

swapcase

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What python function returns the number of items / characters in a list and string?

remove

pop

len

index

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the python function that returns the number of times a specified item / character occurs in a list or string?

count

lower

concatenation

index

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python code will return the character associated with the value 104.

chr(104)

ord(104)

str(104)

int(104)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python function that adds one list on to the end of another.

Extend

Append

Remove

Count

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python function enables a new list item to be placed at any point in an existing list.

split

reverse

insert

pop

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?