Exam 7: Arrays
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working with Files75 Questions
Exam 14: Working with Databases75 Questions
Exam 15: Web-Based Applications75 Questions
Select questions type
If an array named num is dimensioned to hold 10 values,how would you store 50 in the 5th physical location?
(Multiple Choice)
4.9/5
(89)
An entire array collection of data can be ordered alphabetically with a call to the Array class member method ____________.
(Short Answer)
4.8/5
(89)
When two or more arrays have a relationship such that you are able to use the same subscript or index to refer to related elements in the arrays,you have ____ arrays.
(Multiple Choice)
5.0/5
(92)
Arrays are ____________ variables.The array identifier memory location does not actually contain the values,but instead stores an address indicating the location of the first element in the array.
(Short Answer)
4.9/5
(77)
When an array is sent to a method as an argument,if the method changes one or more of the elements,the changes are made to the actual data.
(True/False)
4.7/5
(82)
double [ ] price = new double [ ] {3, 2.2, 4.7, 6.1, 4};
-With the declaration above,price[5] generates a runtime error.
(True/False)
4.7/5
(92)
To create an array to hold the 5 numeric scores,you could write ____________.
(Short Answer)
4.8/5
(79)
When you do a compile-time initialization of array elements,values are separated by ____________.
(Short Answer)
4.8/5
(75)
To declare and instantiate memory for 4 exam scores that range in value from 0 to 100,the following declaration could be made ____.
(Multiple Choice)
4.9/5
(78)
What happens when you assign one array to another using the assignment operator?
(Multiple Choice)
4.7/5
(75)
You can declare an array without dimensioning its size,but the size must be determined before you can access it.
(True/False)
4.7/5
(80)
The ____________ loop structure can be used to iterate through an array.However,it can be used for read-only access to the elements.
(Short Answer)
4.9/5
(76)
Elements in an array are sometimes referred to as ____________ variables.
(Short Answer)
4.9/5
(88)
In C# the length of an array cannot be changed.After it is instantiated with a length,dynamic resizing is not an option.
(True/False)
4.8/5
(84)
Showing 61 - 75 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)