Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Answer questions about the following array: Dim ar (55) as Double Assume default settings. The array name is All array members are of type

image text in transcribed
image text in transcribed
1 Answer questions about the following array: Dim ar (55) as Double Assume default settings. The array name is All array members are of type The number of array members (elements) in the array is 2. The default lower bound index for an array is Option Base 1 Otherwise, the default lower bound is when specifying 3. Fill in the blanks so the array is declared as type Double, with two dimensions; and the number ofrows and columns is in worksheet cell D4. Assume default settings Dim table) As Dim nRC As Long ReDim table( 1 to nRC, to 4. Determine the number of elements (members) in each array. Assume default settings. a. Dim ar (-4 to 15) As Boolean b. Dim ar (8, 1 to 11) As Integer 5. Calculate the number of rows in the 2-D array named table without knowing how the 2-D array was declared: nRows 6. Declare a type Double (1-D) array named myAr. Cell B2 contains the number of data values in a column starting in C3. Read all the data values from the table starting with cell C3 into the array Dim nvals As Integer, idx As Integer nvalsRange . Answer questions about the following array.Assume default settings. Dim myAr (5, -8 to 8) As The array name is All array members are of type The Long number of dimensions for this array is The total number of array members (elements) in the array is 8. Calculate the number of columns in the 2-D array named data without knowing how the 2-D array was declared: Use ReDim to declare myTable as a 2-D array with nRows and nCols. The rows and columns should both start with index-1 9. Dim myTable As Double nRowsRange (ce11A) Value nCols Range (ce11B).Value 10 Assume the array named data is declared (1-D, first index- 1) and each member in the array has a number (type Double). Write a loop to place all the array members (elements) into a single column of cells starting at B2 down the page). Dim arLength As Integer, idx As Integer arLength

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

Design a health and safety policy.

Answered: 1 week ago