True/False Indicate whether the statement is true or false.    1.  When you pass an array to a function, the computer passes the address of each of the array elements.    2.  When an array is sorted in descending order, the first element in the array contains the smallest value and the last element contains the largest value.    3.  The variables in an array are referred to as elements of the array.    4.  Assigning initial values to an array is not required, but considered good programming practice.    5.  Parallel arrays are two or more arrays whose elements are related by their position in the arrays.    6.  You should not pass a one-dimensional array to a function.    7.  Passing an array by reference is more efficient than passing it by value.    8.  The quick sort algorithm provides a quick and easy way to sort the items stored in an array, as long as the number of items is relatively small—for example, fewer than 50.    9.  The variables in an array may be stored in non-consecutive memory locations in the computer’s internal memory.    10.  It takes longer for the computer to access the information stored in a disk file, than in an array in memory.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 6PP: (Numerical) a. Define an array with a maximum of 20 integer values, and fill the array with numbers...
icon
Related questions
Question
100%

 

True/False
Indicate whether the statement is true or false.

 

 1. 

When you pass an array to a function, the computer passes the address of each of the array elements.

 

 2. 

When an array is sorted in descending order, the first element in the array contains the smallest value and the last element contains the largest value.

 

 3. 

The variables in an array are referred to as elements of the array.

 

 4. 

Assigning initial values to an array is not required, but considered good programming practice.

 

 5. 

Parallel arrays are two or more arrays whose elements are related by their position in the arrays.

 

 6. 

You should not pass a one-dimensional array to a function.

 

 7. 

Passing an array by reference is more efficient than passing it by value.

 

 8. 

The quick sort algorithm provides a quick and easy way to sort the items stored in an array, as long as the number of items is relatively small—for example, fewer than 50.

 

 9. 

The variables in an array may be stored in non-consecutive memory locations in the computer’s internal memory.

 

 10. 

It takes longer for the computer to access the information stored in a disk file, than in an array in memory.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning