
CS 222 Study guide

Quiz
•
Science
•
University
•
Easy
+2
Standards-aligned
Sarah Roscoe
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
33 questions
untitled

Quiz
•
11th Grade - University
33 questions
Post assessment backend Naresh

Quiz
•
University
40 questions
POST-TEST PETROLEUM CLASS 2

Quiz
•
University
32 questions
Cytogenetics Prelim Examination (Summer 2023)

Quiz
•
University
40 questions
MBIO 4102L_MIDTERM EXAM

Quiz
•
University - Professi...
40 questions
OU-SEG Student Chapter GeoTrivia

Quiz
•
University
40 questions
STS Prelim

Quiz
•
University
32 questions
Benchmark Review

Quiz
•
5th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade