Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

Data Structures A Level Computer Science AQA Revision Questions and Answers

Document preview thumbnail
Preview 2 out of 9 pages

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. deQueue(): Removes the front item from the queue and returns it. IsEmpty(): Test to see whether the queue is empty. IsFull(): Test to see whether the queue is full. What is dynamic data structure? A dynamic data structure refers to the collection of data in memory that has the ability to grow or shrink in size, it does this with the aid of the heap which is a portion of memory from which space is automatically allocated or de-allocated as required. Very useful for implementing data structures like queues. Example is a lists. What is static data structure A static data structure such as static array is fixed in size, and cannot increase in size or free up memory whilst the program is running.


Document information

Uploaded on
June 4, 2024
Number of pages
9
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Salano
3.0
(1)
Sold
6
Followers
3
Items
1053
Last sold
1 year ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.