Update your browser or use a newer device. We no longer support this version, so parts of
Varsity Tutors may not work.
AP Computer Science Principles Quiz
19 questions · no time limit
0:00
CREATIVE DEVELOPMENT
Question 1 of 19
No time limit
Current
Answered
Flagged
Not seen
A programmer creates a function to search for a specific value in a sorted list using binary search. The function sometimes returns the correct index and sometimes returns -1 even when the value exists in the list. What is the best approach to debug this inconsistent behavior?
YOUR PROGRESS
19
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.