Arrays and Linked Lists

Quiz
•
Computers
•
University
•
Hard
Gimwell Young
Used 33+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

Quiz
•
University
20 questions
PROGRAMMING IN C AND DATA STRUCTURES - UNIT V

Quiz
•
University
17 questions
Linked Lists

Quiz
•
University
20 questions
Hashing

Quiz
•
University
20 questions
Data Structures

Quiz
•
University - Professi...
10 questions
DS Quiz1

Quiz
•
University
20 questions
DATA STRUCTURES

Quiz
•
University
10 questions
DS - Linked List

Quiz
•
University
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University