- C ~ number> 100 AndAlso number <=1000 is valid for condition
- C ~ firstNameTextBox.Text.ToUpper() = "BOB" checks if the text is bob.
- B ~ 3 is less than 6 and therefore false
- A ~ 10 is less than 12 and therefore true
- A ~ True, 7 is equal to 7 and therefore true
- C ~ Paul will be displayed
- B ~ Jerry
- C ~ Paul
- D ~ Sue
- C ~ Nested selection can exist in either case
- D ~ Case Is > 7 ~ Case 3, 5 ~ Case 1 To 4 all work
- C ~ Paul
- C ~ Paul
- D ~ Sue
- A ~ Advance.NewLine goes to the next line
- D ~ String.IsNullOrEmpty(cityname) checks if it is empty
- C ~ MessageBox.OK means the message box had been seen
- C ~ randomGenerator.Next(9, 55) generates a number between 10 to 55
- C ~ addressLabel.Text = city & ", " & state will print city name, state
- D ~ Both A and B Same reasoning as #11
Tuesday, February 24, 2009
Review Questions for Chapter 4
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment