One advantage to using a named constant is that the statement becomes a self

One advantage to using a named constant is that the

This preview shows page 2 - 5 out of 7 pages.

13.One advantage to using a named constant is that the statement becomes ____.a.self-perpetuatingc.self-referencingb.self-documentingd.self-mitigatingANS: BPTS:1REF:24114.When you search through a list from one end to the other, you are performing a ____.
15.If you declare a variable to be Boolean, you can set its value to ____.16.Which statement is true of arrays?17.A ____ relates parallel arrays.a.superscriptc.subscriptb.keyd.postscriptANS: CPTS:1REF:24718.Parallel arrays are most useful when value pairs have a(n) ____ relationship.19.Every array has a(n) ____ size.20.The number of bytes in an array is always a multiple of the number of ____ in an array.21.In every programming language, when you access data stored in an array, it is important to use a ____ containing a value that accesses memory occupied by the array.a.superscriptc.keyb.subscriptd.conditionANS: BPTS:1REF:263COMPLETION1.A(n) ____________________ is a number that indicates the position of a particular item within an ar-ray.ANS: subscriptPTS:1REF:229
2.All array elements have the same ____________________ name, but each individual element also has a unique subscript indicating how far away it is from the first element.ANS: groupPTS:1REF:2293.Each array ____________________ is a single variable.ANS: elementPTS:1REF:2304.A variable used as a subscript should be initialized to ____________________.ANS:0zeroPTS:1REF:2465.A(n) ____________________ is a variable set to indicate whether some event has occurred.PTS:1REF:246MATCHINGMatch each item with a statement below.1.A series of values in computer memory2.Each separate item in an array3.Can hold the size of an array4.Variable that you set to indicate whether some event has occurred5.In this type of array, each element in one array is associated with the element in the same relative posi-tion in the other array6.Starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower7.Any series of contiguous values8.Subscript that is not within the range of acceptable subscripts9.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture