Exam 5: Decision Structures

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

When using an If...Then...Else statement, if the condition evaluates to false, the statement(s) between the _______________ keyword and the End If keyword will be executed.

(Short Answer)
4.8/5
(34)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Kind of object that associates items as a group, allowing the user to select one item from the group
Responses:
If...Then...ElseIf
icons
GroupBox
Correct Answer:
Verified
Premises:
Responses:
Kind of object that associates items as a group, allowing the user to select one item from the group
If...Then...ElseIf
(Matching)
4.7/5
(37)

When RadioButton objects are contained in a group box, the user can select only one of the radio buttons on the panel.

(True/False)
4.8/5
(44)

Case 5-2 Eric used to have a small reference card that he kept handy to remind him which MsgBoxButton arguments values translate to which buttons in the dialog box, but then he lost the card. He calls over to you for help in reminding him what values correspond to what. Eric wants your help in remembering which of the following options corresponds to a dialog box that alerts the user to an error and offers the OK and Cancel buttons. What do you tell him?

(Multiple Choice)
4.9/5
(35)

In Unicode, numbers are considered to be ____________________ than uppercase or lowercase letters.

(Short Answer)
4.9/5
(42)

In a Select Case structure, the ____ statement includes all conditions not specifically tested for in the other Case statements.

(Multiple Choice)
4.9/5
(32)

When using multiple ____ operators in an If statement, the order of precedence of the operators should be established through the use of parentheses.

(Multiple Choice)
4.9/5
(39)

In Visual Basic, the message in a message box window is displayed using the ____ procedure of the MessageBox class.

(Multiple Choice)
4.9/5
(38)

The process of validating input data is fundamental to programming when using a graphical user interface.

(True/False)
4.8/5
(39)

An If...Then statement can be used to compare two string values. _________________________

(True/False)
4.8/5
(42)

The ____ is a relational operator.

(Multiple Choice)
4.8/5
(29)

If a program attempts to process invalid data, unexpected errors can occur.

(True/False)
4.7/5
(34)

A message box that communicates some kind of message to a user, such as an error message, is also known as a(n) ____ box.

(Multiple Choice)
4.7/5
(44)

What are the steps for automatically indenting code in an If…Then statement?

(Essay)
4.8/5
(40)

The default setting for the MsgBoxStyle argument of a message box will display only a(n) ____________________ button in the message box.

(Short Answer)
4.8/5
(33)

____ is the default setting for a message box that displays only an OK button.

(Multiple Choice)
4.9/5
(31)

Case 5-1 You have written the code below and you want to step through it with some actual values to make sure that it is working in practice the way you expect it to work. ​ If decGPA > 3.5 Then             If intSatScore > 1000 Then                         lblAdmissionsStatus.Text = "You have earned admission"             Else                         lblAdmissionsStatus.Text = "Retake the SAT exam"             EndIf Else             If intSatScore > 1200 Then                         lblAdmissionsStatus.Text = "You have earned probationary admission"             Else                         lblAdmissionStatus.Text = "You have been denied admission"             End If End If Assuming that an applicant has a GPA of 3.55, what is the value of lblAdmissionsStatus.Text if the applicant's SAT score is 1000?

(Multiple Choice)
5.0/5
(36)

The Panel object performs in the same manner as the ____ object.

(Multiple Choice)
4.8/5
(35)

To specify a range of values to be tested in a Case statement within a Select Case structure, the word ____ must be used.

(Multiple Choice)
4.9/5
(39)

The IsNumeric function will return a(n) ____ type value.

(Multiple Choice)
4.9/5
(39)
Showing 21 - 40 of 111
close modal

Filters

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