Question
click below
click below
Question
Normal Size Small Size show me how
C++ ch11
Question | Answer |
---|---|
1.You refer to each variable in an array by the array's ___ and the variable's ___. | name, subscript |
1.The variables in an array are called ____. | elements |
1.Assigning initial values to an array is often referred to as ____. | populating the array |
1.A subscript is also called a ____. | index |
1.When you don't provide an intial value for each of the elements in a numeric array, the C++ compiler initializes the uninitialized array elements to either __ or ___. | 0, 0.0 |
1.Arranging data in a specific order is called ____. | sorting |
1.The ___ provides a quick and easy way to sort the items stored in an array, as long as the number of items is relatively small. | bubble sort |
1.Pass an array by ____ is more efficient than passing it by ____. | reference, value |
1.____ are two or more arrays whose elements are related by their position in the arrays. | Parallel arrays |
1.A(n) _____ resembles a table in that the variables are in rows and columns. | two-dimensional array |
1.A two-dimensional array is identified by a unique combination of ___ subscripts. | 2 |