GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Token in Python

Token in Python

9th Grade

20 Qs

Python and PseudoCode Quiz

Python and PseudoCode Quiz

10th Grade - University

15 Qs

Python Syntax

Python Syntax

6th - 12th Grade

18 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

Programming Techniques Survey

Programming Techniques Survey

8th - 12th Grade

19 Qs

Type data python

Type data python

9th Grade - University

15 Qs

Spreadsheet

Spreadsheet

10th 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 158+ 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?