Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Programming with Microsoft Visual Basic 2015
Quiz 9: Arrays
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 41
Essay
Describe two advantages to using arrays to store data.
Question 42
Multiple Choice
Case-Based Critical Thinking Questions Case 1 - Tony's Pizza & Pasta The restaurant uses an application to update and display menu items and the related price information. Daily "Chef's Specials" are stored using two one-dimensional parallel arrays. The days of the week are stored in the strDays array, with Sunday as the first element. The daily special for each day is stored in a parallel array named strSpecial . Which of the following statements assigns Friday's special, which is rigatoni, to the appropriate element?
Question 43
Essay
Write the statement to declare a six-element class-level array named strAnimal , and initialize the array with the following values: dog, cat, mouse, bird, snake, fish.
Question 44
Essay
Write the statements to traverse the strCategory array and display each element's value in the lstCategory control. Use a For Each...Next statement.
Question 45
Essay
Explain the difference between a simple variable and an array.
Question 46
Essay
How do the elements in parallel one-dimensional arrays relate to each other? Provide an example.
Question 47
Essay
Write the statement that assigns the string "Treasurer" to the element located in the third row, second column in the strOfficers array.
Question 48
Essay
Write the statement to declare a procedure-level two-dimensional array named dblRates using the following table of data:
Question 49
Essay
Write the statement to declare a five-element procedure-level array named decGPA , and initialize the array with the following values: 2.58, 3.85, 3.6, 1.45, 2.75. Then write a statement to assign the number 2.55 to the last element in the array.