
1027 Exam Prep
Authored by Nicole Moskovitch
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Information Management - QUIZ
Quiz
•
University
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
20 questions
Redes Sociales
Quiz
•
University
15 questions
Firewall and Network Security
Quiz
•
University
18 questions
PBO Inheritance Episode 2
Quiz
•
University
15 questions
AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX
Quiz
•
1st Grade - University
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University