Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
If the user clicks on btn1 in the code below: Dim gen as New Random; Dim intX As Integer ; intX = gen.Next(2); if intX = 0 Then; btn1.Visible = False; ElseIf intX = 1 Then; btn1.Visible = True; Else MessageBox.Show('intX is: 'and intX); End If
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
A meat packer grades meat “P” for Prime, “C” for Choice, “S” for Standard, and “G” for Good. Which case expression will represent ChoiceMeat?
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
Given the following statements: Dim intExperience As Integer = 10; If intExperience 5 Then lblMessage.Text=Sufficient Experience Else lblMessage.Text='Inexperienced' End If What is displayed when the statements execute?
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
If the 12 months are numbered 1 through 12, which statement generates a random whole number to represent one of the months, given the following code? Dim gen As New System.Random()
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
If there are 6 sides on a die, which statement generates a random whole number to represent one of the sides, given the following code? Dim gen As New System.Random()
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
Which case condition is correct?
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
If the 7 weekdays are numbered 1 through 7, which statement generates a random whole number to represent one of the days, given the following code? Dim gen As New System.Random()
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
Which statement generates random whole numbers greater than or equal to 10 and less than 51, given the following code? Dim gen As New System.Random()
gen.Next(10, 51)
gen.Next(1, 13)
the button may become invisible.
gen.Next(1,8)
Case 10
gen.Next(1, 7)
Sufficient experience
Case C
Check it!