GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

8th - 10th Grade

20 Qs

CPM9.1-9.3 Quiz Review

CPM9.1-9.3 Quiz Review

9th - 12th Grade

15 Qs

LOOKUP

LOOKUP

9th Grade - University

20 Qs

Python: списки и матрицы

Python: списки и матрицы

10th Grade

19 Qs

Python lists GCSE

Python lists GCSE

10th - 11th Grade

15 Qs

Spreadsheet

Spreadsheet

10th Grade

20 Qs

8525 AQA GCSE 3.2.6 Data Structures

8525 AQA GCSE 3.2.6 Data Structures

10th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Calum Gordon

Used 153+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

"An organised collection of data values, the relationships among them, and the operations that can be applied to the data"

Data structure

Variable

Program

Function

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Select the data structures available in Python ...

List

Dictionary

String

Array

Tuple

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Correct code to define a list in Python?

scores = [15, 29, 4, 50]

scores = {15, 29, 4, 50}

Int[] scores = {15, 29, 4, 50};

scores = (15, 29, 4, 50)

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Choose all the ways in which a Python list is different from an array ...

Arrays have fixed length: Lists have dynamic length

Arrays only contain one data type; Lists can contain many data types

Arrays are indexed from 1; Lists are indexed from 0

Arrays can not be empty; Lists can be empty

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output is ...?

mango

pear

kiwi

['apple','banana','pear']

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Choose three valid methods that may be applied to lists in Python ...

list.append(x)

list.count(x)

list.sort()

list.format()

list.isNumeric()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

colours = ['red', 'blue', 'yellow', 'green', 'purple']


Which instruction illustrates mutability?

colours[2] = 'pink'

colours.append('pink')

colours.insert(2, 'pink')

colours.remove('pink')

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?