
Arrays and Linked Lists
Authored by Gimwell Young
Computers
University
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In the linked list data structure where a node contains only two variables, what do you call the very first node?
index 0
head
tail
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In a linked list whose nodes have 2 variables, where does the tail node point to?
head if linked list is circular
null if linked list is singly
null if linked list is doubly
head if linked list is singly
null if linked list is circular
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The following are true of linked lists except:
is not limited to a unidirectional implementation
is better than arrays in terms of memory usage
is comprised of node objects
cannot be used to create more complex data structures
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Array elements are stored in contiguous blocks of memory meaning:
memory blocks are the same size as each other
memory blocks are right next to each other
memory location is fixed on run time
memory blocks for each element vary in size
5.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
The following are practical uses of linked lists (choose 1 or more)
web browsers
music player / playlist
operating system scheduler
blockchain
photo editing, word processing
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
arrays are faster in terms of inserting new elements vs linked lists
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Assuming a linear search algorithm on an array, singly linked lists are faster in terms of search vs arrays
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?