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
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
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
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University