
CS 222 Study guide
Quiz
•
Science
•
University
•
Practice Problem
•
Easy
+2
Standards-aligned
Sarah Roscoe
Used 2+ times
FREE Resource
Enhance your content in a minute
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
If the array is already sorted, which algorithm will perform best?
insertion sort
selection sort
merge sort
quicksort
All will take same amount of time
2.
MULTIPLE SELECT QUESTION
10 mins • 1 pt
If the array is sorted in reverse order, which algorithm will perform best?
insertion sort
selection sort
merge sort
quicksort
All will take same amount of time
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
If the array contents are randomly shuffled, which algorithm will most likely perform best?
insertion sort
selection sort
merge sort
quicksort
All will take same amount of time
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Say we have a class C, which has a private field F and public method M. Can M directly access F?
Yes
No
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Say we have a class C. C has a public field F and package-visible method M. Can M directly access F?
Yes
No
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Say we have a class C1, which has a public field F. We have another class C2, which has a method M. Can M directly access F?
Yes
No
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Say we have a class C1, which has a private field F. We have another class C2, which has a method M. Can M directly access F?
Yes
No
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
31 questions
G10 Science Quiz 2.2 Refraction and Lenses Review
Quiz
•
10th Grade - University
38 questions
Electrocardiograma
Quiz
•
University
31 questions
Nutrigenómica
Quiz
•
University
38 questions
Cell Membrane and Water Movement Practice
Quiz
•
8th Grade - University
40 questions
Case Study 5: Blood and Its Components
Quiz
•
University
40 questions
Hukum Acara Perdata 2K21
Quiz
•
University
40 questions
STS MIDTERM
Quiz
•
University
35 questions
Examen final DS1009
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
