Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

VISUAL BASICS 2012 QUESTION 12 A structure should be used instead of an array wh

ID: 3838011 • Letter: V

Question

VISUAL BASICS 2012

QUESTION 12

A structure should be used instead of an array when ________.

A. related items should be grouped together

B. related items are of different data types

C. related items contain strings of different lengths

D. there are a limited number of related items

2 points   

QUESTION 27

What is assigned to lblDisplay.Text when the following code executes?

Dim intNumber As Integer = 4

AddOne (intNumber,6)

lblDisplay.Text = intNumber

‘Code for add one

Public Sub Add One(ByVal intFirst As Integer, ByVal intSecond As Integer)

   IntFirst += 1

   IntSecond += 1

End Sub

A. 4

B. 5

C 6

D.7

A. related items should be grouped together

B. related items are of different data types

C. related items contain strings of different lengths

D. there are a limited number of related items

Explanation / Answer

for Question 12, the answer is,

B. related items are of different data types

for Question 13, the answer is,

A. 4