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 and Algorithm

Quiz
•
University
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
15 questions
DS MODULE 3 LINKED LIST

Quiz
•
University
15 questions
DS Module 3 Linked List

Quiz
•
University
15 questions
User-Defined DS

Quiz
•
University
15 questions
Linked List (Chapter 2)

Quiz
•
University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade