CIS170A Week 6 Quiz – Study Guide – 100% score for this study guide

Lab Price = $9
Please feel free to send us your queries at: support@iqrajavaid.com

P.S: This is just a study guide. The questions may not appear exactly like this.
Payment methods

Add to Cart

Buy Now

View Cart


Problem Statement

Question 1.1. (TCO 11) Where does the element referred to with the number zero exist in an array? (Points : 3)
One element before the first
The first element
It is determined by the declaration of the array.
It would depend on how the array is opened, once declared.

Question 2.2. (TCO 11) Which of the following is false? (Points : 3)
All elements in an array have the same subscript.
All elements of the array have the same data type.
All elements in an array have the same name.
The first element of the array has a subscript of zero.

Question 3.3. (TCO 11) Suppose that we declare array foodArray() as having four elements, with corresponding values of “Bread,” “Milk,” “Banana,” and “Sugar.” What value will foodArray(2) concatenated with foodArray(0) have? (Points : 3)
Milk Sugar
Banana Sugar
Milk Bread
Banana Bread

Question 4.4. (TCO 11) An array can store multiple variables known as _____. (Points : 3)
subscripts
a subscripted constant
indices
elements

Question 5.5. (TCO 11) What exception message would be issued by the system if your program attempts to access an array with a subscript value greater than the number of elements declared in the array? (Points : 3)
“Array dumped to memory”
“Index was outside the bounds of the array”
“Invalid access: Retry, Cancel, or Abort?”
“Unhandled exception”

Question 6.6. (TCO 11) The easiest way to traverse an array or sequentially access each element in an array is to _____. (Points : 3)
do a binary search
sort the array and read it
use a loop statement
use sequential coding

Question 7.7. (TCO 11) _____ can be used when data needs to be stored in a tabular format consisting of multiple rows and columns. (Points : 3)
Two-dimensional arrays
Indexed subscripts
Complex subscripts
List indexes

Question 8.8. (TCO 11) What is the upper bound of the array score(), declared in the following line of code?

Dim score() As Integer = {55, 33, 12} (Points : 3)
2
0
11
1

Question 9.9. (TCO 12) The ReDim statement causes an array to lose its current contents unless the word ReDim is followed by which keyword? (Points : 3)
Preserve
Keep
Reserve
Conserve

Question 10.10. (TCO 11) Given the Dim statement below, which set of statements will initialize all elements of myArray() to 100?

Dim myArray(100) As Double (Points : 3)
For j = 0 to 100
myArray(j) = 100
Next
For i = 0 To 100
(i) = 100
Next
myArray() is already initialized to 100 by the Dim statement.
myArray = {100}

Question 11.11. (TCO 11) Consider the following Visual Basic statements:

Dim nums(4) As Double
For index As Integer = 0 To 4
nums(index) = 1 + (index * 2)
Next

What values are placed in the array by the above statements? (Show each element of the
array and the value for that element.)
(Points : 5)

Relevant Material
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $9
Please feel free to send us your queries at: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart