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

Quiz
•
Computers
•
11th Grade
•
Medium

James Cole
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data structure is known as a LIFO structure?
Linked List
Stack
Queue
Array
Answer explanation
A LIFO structure is known as a Stack, where the last element added is the first one to be removed. Stacks follow the Last In First Out principle.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation is used to add an item to the top of a stack?
Pop
Dequeue
Push
Enqueue
Answer explanation
To add an item to the top of a stack, the operation used is 'Push'.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you try to pop an item from an empty stack?
Queue Underflow
Queue Overflow
Stack Underflow
Stack Overflow
Answer explanation
Popping an item from an empty stack results in Stack Underflow, indicating that the stack is empty and no item can be removed.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a use case for stacks?
Process scheduling
Performing depth-first searches
Evaluating mathematical expressions
Tracking the flow of programs
Answer explanation
Process scheduling is NOT a use case for stacks as it is typically handled by other scheduling algorithms like round-robin or priority-based scheduling.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct term for adding an item to a queue?
Enqueuing
Popping
Pushing
Peeking
Answer explanation
The correct term for adding an item to a queue is 'Enqueuing'. This operation involves inserting an element at the rear end of the queue.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure operates on a FIFO basis?
Tree
Array
Stack
Queue
Answer explanation
A Queue operates on a FIFO (First In, First Out) basis, where the first element added is the first to be removed. This makes Queue the correct choice for the given question.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a stack overflow?
Adding an item to a full stack
Removing an item from an empty stack
Removing the bottom item of the stack
Looking at the top item of the stack
Answer explanation
A stack overflow occurs when an item is added to a full stack, causing it to exceed its capacity and resulting in a memory error.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Understanding Data Structures Quiz

Quiz
•
11th Grade
10 questions
SOAL POST TEST BANDWIDTH

Quiz
•
9th - 12th Grade
10 questions
GCSE Computer Science 9-1: Sorting Algorithms

Quiz
•
10th Grade - University
20 questions
Computational Thinking Quiz

Quiz
•
9th - 12th Grade
15 questions
UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

Quiz
•
9th - 12th Grade
10 questions
Python Review 2023-01-12

Quiz
•
9th - 12th Grade
16 questions
susulan dan ramedial Uji Pemahaman Komputasional

Quiz
•
9th Grade - University
16 questions
unit 1 BTEC Level 3 Computer Science

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade