An ADT most closely resembles a(n) ______, whereas a data structure most closely resembles a(n) ______.

In class Q4

Quiz
•
Computers
•
University
•
Medium
Farah Habib
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Interface, Class
Class, Interface
Static method, instance method
instance method, static method
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The runtime complexity for retrieving the object at a given index in an array-based list is _____.
Constant
Linear
Quadratic
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The runtime complexity for retrieving the object at a given index in a linked list is ___.
Constant
Linear
Quadratic
None of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which ADT would be best for supporting the 'go back' functionaility of a web browser?
List
Queue
Stack
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you are working with a HashMap called X, how can you change the value associated with the key Y to be Z?
X.set(Y, Z)
X.set(Z, Y)
X.put(Y, Z)
X.put(Z, Y)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should the following code output?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should the following code print?
0
1
2
3
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Talent Next Java MCQ-1

Quiz
•
University
15 questions
Stack??

Quiz
•
University
10 questions
COMP130_Symbolic

Quiz
•
University
15 questions
Coding and Debugging

Quiz
•
University
10 questions
ITBP301_Chapter 02

Quiz
•
University
10 questions
C Classes

Quiz
•
University
12 questions
C Basics

Quiz
•
University
12 questions
Operators in C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade