Professional Documents
Culture Documents
Year 12 - Data Structures Test
Year 12 - Data Structures Test
Year 12
Test
Data Structures
Instructions: Answer all questions by selecting the correct answer from the list provided. If
you make a mistake, please draw ONE line through the answer and then select the correct
answer.
Name: ________________________________________
Date: _________________________________________
Room: ________
1. What is a data structure? d) A parentheses balancing
a) A programming language program
b) A collection of algorithms
c) A way to store and organize 6. Which data structure is needed to
data convert infix notation to postfix
d) A type of computer hardware notation?
a) Tree
2. What are the disadvantages of b) Branch
arrays? c) Stack
a) Index value of an array can be d) Queue
negative
b) Elements are sequentially 7. What is the value of the postfix
accessed expression 6 3 2 4 + – *?
c) Data structure like queue or a) 74
stack cannot be implemented b) -18
d) There are chances of wastage of c) 22
memory space if elements inserted d) 40
in an array are lesser than the
allocated size 8. What data structure would you
mostly likely see in non recursive
3. Which data structure is used for implementation of a recursive
implementing recursion? algorithm?
a) Stack a) Stack
b) Queue b) Linked List
c) List c) Tree
d) Array d) Queue