Answer the following statements true (T) or false (F)

1. A form contains a button called btnDisplay, and the following code is placed inside
btnDisplay’s Click event procedure. At run time, identical values will be displayed for
num1 and num2 in the message box.
2. The output of the following lines of code will be a randomly selected whole number from
1 through 6, inclusive.
``` Dim rndNum As New Random()
num1 = rndNum.Next(1, 7)
MessageBox.Show(num1)
```
3. When working with the MenuStrip control, the programmer is not allowed to set up
access keys by placing an ampersand in front of a character of text.
4. When working with the MenuStrip control, the programmer makes the menus useful by
placing code in the relevant Click event procedure for each menu item.
5. When working with multiple forms, only one form can be visible at the same time.


1. F
2. T
3. F
4. T
5. F

Computer Science & Information Technology

You might also like to view...

You can test your Windows Store apps by selecting which of the following options from the drop-down list to the right of Start Debugging on the Visual Studio toolbar:

a) Simulator b) Local Machine c) Remote Machine d) all of the above

Computer Science & Information Technology

Why can't an interface be instantiated?

What will be an ideal response?

Computer Science & Information Technology

To open a file in PHP, you use the _________ function.

a. fopen() b. fputs() c. open() d. fp()

Computer Science & Information Technology

Which of the following is NOT a common way to accomplish a task using Windows 8.1?

A) touch-enabled device B) a mouse C) a pen D) keystrokes

Computer Science & Information Technology