CPSC 131 midterm review

Quiz
•
Computers
•
University
•
Medium
Alan Cortez
Used 52+ times
FREE Resource
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
Similar Resources on Wayground
47 questions
Discrete-Time Signals and Systems Worksheet

Quiz
•
University
50 questions
DSA - Infosys Power Programmer

Quiz
•
University
40 questions
7th Seoul - 2nd Cycle Exam

Quiz
•
7th Grade - University
48 questions
DS212_MT

Quiz
•
University
50 questions
Struktur Data

Quiz
•
University
40 questions
Operating System - Process

Quiz
•
University
50 questions
Ôn tập CK 2

Quiz
•
10th Grade - University
40 questions
Coding Skill Test -I

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University