Exam 3: Variables and Calculations

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

When included in the Text property of a button, the && symbols placed side by side will display as a single & character.

Free
(True/False)
5.0/5
(43)
Correct Answer:
Verified

True

Variables declared within a button's Click event handler are ________variables.

Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
Verified

A

In order to execute code before a form is displayed, place the code in the form's ______event handler.

Free
(Multiple Choice)
4.8/5
(29)
Correct Answer:
Verified

B

Declaration statements ___________________.

(Multiple Choice)
4.9/5
(42)

Which statement is true regarding the CInt function?

(Multiple Choice)
4.9/5
(32)

It's possible to view the order in which all controls on a form will receive the focus by __________.

(Multiple Choice)
4.7/5
(36)

The statement to declare strName as a variable that can hold character data is _______________.

(Multiple Choice)
4.7/5
(35)

Which of the following has the highest order of precedence in arithmetic expressions?

(Multiple Choice)
4.7/5
(33)

A class-level variable ___________________.

(Multiple Choice)
4.8/5
(35)

Which will be displayed in the label lblResult following execution of the code below? Dim dblGrossPay as Double DblGrossPay = 3500 LblResult.Text = dblGrossPay.ToString("c")

(Multiple Choice)
4.8/5
(33)

What will be assigned to the label when the following statements execute? Dim dblVal As Double = 11.75 LblResult.Text = dblVal.ToString("n3")

(Multiple Choice)
5.0/5
(40)

All of the following are advantages of using named constants except

(Multiple Choice)
4.7/5
(37)

Which of the following declares an Integer variable named intLength and assigns it the integer literal 12?

(Multiple Choice)
4.9/5
(37)

A keyboard access key is assigned to a button using the button control's ______property.

(Multiple Choice)
4.8/5
(35)

Which of the following is not true in regard to naming variables?

(Multiple Choice)
4.9/5
(32)

Which of the following declares a variable that can store the first name of a student?

(Multiple Choice)
4.8/5
(34)

A Boolean type variable can hold only one of two possible values: _____________.

(Multiple Choice)
4.9/5
(32)

Which of the following is not a valid Visual Basic data type?

(Multiple Choice)
4.9/5
(34)

Which of the following statements will assign the contents of a TextBox control named txtInput into the Text property of a Label control named lblDisplay?

(Multiple Choice)
4.8/5
(34)

Which of the following declares a variable named intIndex that will be used to store whole numbers?

(Multiple Choice)
4.9/5
(34)
Showing 1 - 20 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)