Exam 5: Decision Structures

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

____ is the default setting for the buttons that will be displayed in a message box like the one in the accompanying figure.

(Multiple Choice)
4.7/5
(39)

In an expression using the logical operator ____, as soon as one of the compound conditions is found to be true, no further conditions are tested and the expression evaluates to true.

(Multiple Choice)
4.9/5
(38)

Discuss how to select which decision structure to use.

(Essay)
4.8/5
(48)

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)
4.8/5
(38)

The ____ function is used to determine if an input value can be converted into a numeric value.

(Multiple Choice)
4.8/5
(31)

The IsNumeric function returns a(n) ____________________ type value.

(Essay)
4.9/5
(35)

What is the value of the MsgBoxStyle.OKOnly?

(Multiple Choice)
4.9/5
(37)

In adding a code snippet, if you right-click outside the desired location for your code, the shortcut menu might list choices that are customized to that area of code and not include the code snippet for which you were searching.

(True/False)
4.7/5
(41)

Often, during design time, you should set the Checked property for the most commonly selected RadioButton object to True to save the user from having to select the most common choice.

(True/False)
4.8/5
(47)

Visual Basic provides six different logical operators. Briefly describe the function of each.

(Essay)
4.8/5
(32)

If data analyzed by the IsNumeric function cannot be converted to a numeric data type, the function will return a value of ____.

(Multiple Choice)
4.8/5
(38)

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

(Essay)
4.8/5
(43)
Showing 101 - 112 of 112
close modal

Filters

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