CPSC 131 midterm review

CPSC 131 midterm review

University

45 Qs

quiz-placeholder

Similar activities

ASD62

ASD62

University

40 Qs

Post test Keamanan Jaringan

Post test Keamanan Jaringan

University

40 Qs

Soal WAN Tkj kls 2

Soal WAN Tkj kls 2

University

41 Qs

IT INFRA-MIDTERM EXAM

IT INFRA-MIDTERM EXAM

University

50 Qs

2nd C Programming Quiz

2nd C Programming Quiz

University

50 Qs

Położenie i granice Polski, przeszłość, góry i zlodowacenia

Położenie i granice Polski, przeszłość, góry i zlodowacenia

7th Grade - Professional Development

47 Qs

Microsoft Excels: Formulas and Functions

Microsoft Excels: Formulas and Functions

12th Grade - University

45 Qs

Tree dan Graph

Tree dan Graph

University

50 Qs

CPSC 131 midterm review

CPSC 131 midterm review

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Alan Cortez

Used 52+ times

FREE Resource

AI

Enhance your content in a minute

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

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: enqueue an item into a sll-based queue

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: Retrieve the last element from a singly linked list (assuming there isnt a tail pointer)

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: Retrieve the front element from a singly linked list

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: Retrieve the last element from a doubly linked list with a tail pointer

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: Retrieve the last element from a doubly linked list

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: Remove all elements in a doubly linked list

O(1)

O(log n)

O(n)

O(n log(n))

O(n^2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Efficiency Class of: push an element to the back of the vector

O(1)

O(log n)

O(n)

O(1) amoratized

O(n^2)

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?