GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Bài 22-Kiểu dữ liệu danh sách

Bài 22-Kiểu dữ liệu danh sách

10th Grade

15 Qs

Câu hỏi ôn tập GK2

Câu hỏi ôn tập GK2

9th Grade

20 Qs

POST TEST EXCEL

POST TEST EXCEL

10th Grade

15 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python List, and String

Python List, and String

10th Grade - University

20 Qs

CS Terms and Vocab Practice Quiz 3

CS Terms and Vocab Practice Quiz 3

7th - 12th Grade

20 Qs

Y8 - Pre-Bebras

Y8 - Pre-Bebras

9th Grade

15 Qs

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

Calum Gordon

Used 158+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?