
1027 Exam Prep

Quiz
•
Computers
•
University
•
Hard
Nicole Moskovitch
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicate which of the following is an example of a non-linear collection
Stack
Queue
Tree
Both a and c are true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The term "time complexity" is the measure of
how many basic operation needs to be executed
the duration of the program execution
the clock speed of the computer running the program
how long it takes to program the algorithm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicate which statement is true regarding the time complexity of the pop() method on a stack
In ArrayStack, pop() has a time complexity of O(1)
In ArrayStack, pop() has a time complexity of O(n)
In LinkedStack, pop() has a time complexity of O(1)
Both a and c are true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How could you access the second element in a singly linked list, assuming front points to the first element of the linked list?
front[1]
front.getNext()
front.getNode(1)
front.getList[1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicate what would be printed to the console if we called the following function with: System.out.println(run(15))
-1
0
1
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicate what would be printed to the console if we called the following function with: System.out.println(work(3));
1
3
4
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When performing a postorder traversal on a binary search tree, the last node visited is:
The root node
The leftmost node
The rightmost node
The node with the largest value
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
technology (Computer)

Quiz
•
3rd Grade - University
25 questions
C++ with DS

Quiz
•
University
20 questions
Struktur Data Pra UAS

Quiz
•
University
25 questions
Quiz Struktur Data

Quiz
•
University
25 questions
QUIZ

Quiz
•
University
15 questions
Let's Check!

Quiz
•
12th Grade - Professi...
25 questions
UH Bab 2

Quiz
•
9th Grade - University
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University