Quiz3 review SP23

Quiz3 review SP23

University

18 Qs

quiz-placeholder

Similar activities

Data Analytics Module 7

Data Analytics Module 7

University - Professional Development

15 Qs

Examen final curso IoT

Examen final curso IoT

University

20 Qs

LINKED LIST

LINKED LIST

University

14 Qs

RTOS and Memory Management Quiz

RTOS and Memory Management Quiz

University

20 Qs

Hard level quiz

Hard level quiz

University

15 Qs

Understanding Quick Sort Algorithm

Understanding Quick Sort Algorithm

University

15 Qs

CodeMavarick

CodeMavarick

University

20 Qs

CodeCadette

CodeCadette

University

15 Qs

Quiz3 review SP23

Quiz3 review SP23

Assessment

Quiz

Other

University

Hard

Created by

Fernando Hernandez

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case time complexity of searching an Element in a Single Linked list?

O(1)

O(n)

O(nlogn)

O(logn)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first node in a Linked List called?

Head node

Node

Tail node

Starter node

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A node can only hold one data type

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the following code doing?

Deleting a Linked List

Not a valid function

Printing data of a linked list

Searching for an element in a Linked list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the following psuedocode doing?

Adding two Linked List together

Deleting a LL and adding a new one

Wont work

Searching through 2 LL's

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we use tail in a LL or DLL what is the worst case time complexity for adding at the end?

O(1)

O(n)

O(m) where 1<=m<=n

O(logn)

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A Max heap is:

Heap where all parent nodes are bigger than children

Heap where all parent nodes are smaller than children

A complete Tree

Represented by an Array

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?