Index Range Checking

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/3

flashcard set

Earn XP

Description and Tags

CS 15900 Final Exam

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

4 Terms

1
New cards

An Index Exists Within The Bounds of an Array

The compiler does not check to insure that:

2
New cards

It Will Read or Write Whatever Data or Code Exists There

What happens if you go past the end of an array?

3
New cards

End-Point Conditions

Always double-check the _________ ___________ when looping through an array

4
New cards

Unpredictable Results

Since arrays don’t tell you if you go past their bounds, they can have: