GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Unit 5 - Two-Dimensional Arrays

Unit 5 - Two-Dimensional Arrays

9th - 12th Grade

19 Qs

LOOKUP

LOOKUP

9th Grade - University

20 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Tryout TIK level 6.1

Tryout TIK level 6.1

6th Grade - University

20 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

Python 2D Lists Quiz

Python 2D Lists Quiz

10th Grade

18 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?