CPC 115- Ch 6: Assignment 12

25 July 2022
4.7 (114 reviews)
10 test answers

Unlock all answers in this set

Unlock answers (6)
question
Besides making your code easier to modify, using a ____ makes the code easier to understand.
answer
named constant
question
When you have a five element array and use subscript 6, your subscript is said to be out of bounds.
answer
True
question
A ____ search starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower.
answer
binary
question
If you declare a variable to be Boolean, you can set its value to ____.
answer
true or false
question
Many newer programming languages such as C++, Java, and C# use the square bracket notation for arrays.
answer
True
question
Many newer programming languages such as C++, Java, and C# use subscript 1 to access the first element of the array.
answer
False
question
An array can be used to replace ____.
answer
nested decisions
question
You use subscripts 1 through 10 to access the elements in a ten element array.
answer
False
question
Providing array values is sometimes called ____.
answer
populating the array
question
The number of bytes in an array is always a multiple of the number of ____ in an array.
answer
elements