Exam 4: The Selection Structure

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

Write a statement that changes the contents of the txtStatus control's text property to uppercase and stores it in the strStatus variable.

(Essay)
4.8/5
(26)

Write a statement that creates a message box that displays an OK button,an Information icon,"Harris Pharmacy" in the title bar,and the message "Please enter a pickup time for your order".

(Essay)
4.8/5
(45)

The expression 12 > 0 AndAlso 12 < 10 * 2 evaluates to True.

(True/False)
4.8/5
(30)

If dblMiles >= 500 Then dblMiles = dblMiles * 0.45 Else DblMiles = dblMiles * 0.25 End If The dblMiles variable contains the number 575 before the code above is processed.What value will be in the variable after the code is processed?

(Multiple Choice)
4.8/5
(42)

The ____ method displays a message box that contains text,one or more buttons,and an icon.

(Multiple Choice)
4.9/5
(36)

Use the ____ flowchart symbol to represent the condition in both the selection and repetition structures.

(Multiple Choice)
5.0/5
(42)

You use the ____ method to select all of the text contained in a text box.

(Multiple Choice)
4.9/5
(46)

What is the value of the following expression: 9 * 2 - 8 > 5 + 2 / 2?

(Multiple Choice)
4.9/5
(31)

You can use a(n)____ to visually separate related controls from other controls on the form.

(Multiple Choice)
4.7/5
(32)

In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the words appearing on the message box title bar?

(Multiple Choice)
4.9/5
(28)

What is a selection structure? What is the difference between a single-alternative and dual-alternative selection structure?

(Essay)
4.9/5
(33)

The ____ operator is evaluated last in the following expression: 9 * 2 - 8 > 5 + 2 / 2.

(Multiple Choice)
5.0/5
(40)

In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the symbol appearing in the message box?

(Multiple Choice)
4.9/5
(34)

In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the words appearing in the message box?

(Multiple Choice)
4.9/5
(34)

A text box's ____ event occurs when the text box receives the focus.

(Multiple Choice)
4.8/5
(39)

You can include an identifying label on a group box by setting the group box's Identity property.

(True/False)
4.7/5
(35)

Write an If...Then...Else statement that assigns the number 2000 to the intBonus variable when the decSales variable contains a number that is greater than or equal to $50,000;otherwise,assign the number 500.

(Essay)
4.9/5
(33)

What is a group box and how is it used?

(Essay)
4.8/5
(44)

Comparison operators are always evaluated after arithmetic operators in a conditional expression.

(True/False)
4.8/5
(28)

With the KeyPress event,use the e parameter's ____ property to cancel the key if it is an inappropriate one.

(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 57
close modal

Filters

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