94. OCR A Level (H046-H446) SLR14 – 1.4 Data structures part 3 –

94. OCR A Level (H046-H446) SLR14 – 1.4 Data structures part 3 –

11th Grade

15 Qs

quiz-placeholder

Similar activities

Sumatif Akhir Informatika

Sumatif Akhir Informatika

1st Grade - University

10 Qs

Stack in python

Stack in python

11th - 12th Grade

10 Qs

2.1 Algorithms and Computational Thinking

2.1 Algorithms and Computational Thinking

8th - 11th Grade

10 Qs

Sorting algorithms (Y11)

Sorting algorithms (Y11)

8th Grade - University

20 Qs

Digital Information

Digital Information

10th - 12th Grade

17 Qs

Algorithms

Algorithms

3rd - 12th Grade

15 Qs

Tes Diagnostik

Tes Diagnostik

9th - 12th Grade

10 Qs

Arrays, lists, tuples, stacks and queues

Arrays, lists, tuples, stacks and queues

11th - 12th Grade

14 Qs

94. OCR A Level (H046-H446) SLR14 – 1.4 Data structures part 3 –

94. OCR A Level (H046-H446) SLR14 – 1.4 Data structures part 3 –

Assessment

Quiz

Computers

11th Grade

Hard

Created by

James Cole

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation is used to add an item to a stack?

Enqueue

Pop

Push

Dequeue

Answer explanation

To add an item to a stack, the operation used is 'Push'.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you check before adding an item to a data structure?

The size of the item

If it is full

If it is empty

The type of the item

Answer explanation

Before adding an item to a data structure, you should check if it is full to ensure there is space available for the new item.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure concept allows dynamic size adjustment?

Stack pointer

Procedural programming

Object orientated approach

Static array

Answer explanation

The object orientated approach allows dynamic size adjustment through features like inheritance and polymorphism.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation is used to add an item to a queue?

Dequeue

Pop

Push

Enqueue

Answer explanation

To add an item to a queue, the operation used is Enqueue. This operation inserts an element at the end of the queue.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation is used to remove an item from a stack?

Push

Dequeue

Pop

Enqueue

Answer explanation

To remove an item from a stack, the operation used is 'Pop'. Pop removes the top item from the stack.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation is used to remove an item from a queue?

Dequeue

Enqueue

Pop

Push

Answer explanation

Dequeue operation is used to remove an item from a queue, making it the correct choice among the options provided.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Before removing an item from a data structure, what should you check?

If it is empty

If it is full

The type of the data structure

The size of the data structure

Answer explanation

Before removing an item from a data structure, you should check if it is empty to avoid errors or accessing non-existent elements.

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?