Arrays and Linked Lists

Arrays and Linked Lists

University

15 Qs

quiz-placeholder

Similar activities

CPP/C

CPP/C

University

10 Qs

ระบบปฏิบัติการ ชุดที่ 1

ระบบปฏิบัติการ ชุดที่ 1

University

15 Qs

Auditoria TI

Auditoria TI

University

15 Qs

IT 101 - Quiz 3

IT 101 - Quiz 3

University

20 Qs

Internet

Internet

University

11 Qs

PSP Week 5

PSP Week 5

University

10 Qs

COA_QUIZ_UNIT I

COA_QUIZ_UNIT I

University

20 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Arrays and Linked Lists

Arrays and Linked Lists

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Gimwell Young

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?