Data Structures A Level Computer Science AQA Revision Questions and Answers
What is a queue? A First In First Out Data Structure. What is a stack? A LIFO, last-in first-out data structure. Define Abstract data type An abstract data type is a logical description of how the data is viewed and the operations that can be performed on it, but this is not necessarily known to the user. What are queue's used in? Characters typed in a keyboard are held in a queue in a keyboard buffer. Queues are useful in simulation programs simulates customers. Output waiting to be printed. What is abstraction? The removal of unnecessary details from a program making it easier to solve. What are the following operations needed for a queue? Enqueue(item): Adds a new item to the rear of the queue.
Written for
- Institution
- A Level Computer Science
- Course
- A Level Computer Science
Document information
- Uploaded on
- February 12, 2024
- Number of pages
- 9
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
data structures a level computer science aqa revi
-
what is a queue a first in first out data struct
-
what is a stack a lifo last in first out data s
-
define abstract data type an abstract data type i
Also available in package deal