Exam 4: The Selection Structure

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

When coding a selection instruction in Visual Basic .NET the code that follows the Else statement are those instructions that will be executed when the condition is true.

(True/False)
4.8/5
(40)

The selection structure is used when you wish a program to make a decision or comparison in a program.

(True/False)
4.7/5
(36)

The following condition 2 * 3 + 1 > 1 * 2 + 3 OR 7 + 2 < 4 + 1 is false.

(True/False)
4.9/5
(46)

The conditional expression 3 + 3 < = 12 / 4 + 3 evaluates to false.

(True/False)
4.8/5
(40)

Which of the following standard flowchart symbols is used for calculations?

(Multiple Choice)
4.8/5
(40)

When using the Visual Basic .NET Financial.Pmt function, Financial.Pmt(Rate, NPer, PV[,FV, Due]), which of the following is correct for a 7%, $10,000, 5 year loan with annual payments?

(Multiple Choice)
4.8/5
(40)

Which of the following operators is evaluated last in the following expression: 9 * 2 - 8 > 5 + 2 / 2?

(Multiple Choice)
4.8/5
(26)

You want to save for a world cruise when you retire. You will need $20,000, interest rates are 6%, and you plan on retiring in 20 years. Using the Visual Basic .NET Financial.Pmt function, Financial.Pmt(Rate, NPer, PV [,FV, Due]), which is correct for annual payments due today?

(Multiple Choice)
4.8/5
(35)

Which of the following operators is evaluated first in the following expression: 9 * 2 - 8 > 5 + 2 / 2?

(Multiple Choice)
4.9/5
(48)

If a letter grade of "B" on a test is determined based upon the following grading scale, which of the following expressions would identify an individual earning a "B" based upon a variable score? 90-100 A 80- B 70- C 60- D 0- F

(Multiple Choice)
4.8/5
(38)

The conditional expression 4 * 6 / 2 > = 3 * 5 + 9 evaluates to false.

(True/False)
5.0/5
(31)

Which of the following is used to express inequality?

(Multiple Choice)
4.9/5
(32)

If a letter grade of "B" or "A" on a test is determined based upon the following grading scale, which expression would identify an individual earning a "B" or "A" based upon a variable score? 90-100 A 80- B 70- C 60- D 0- F

(Multiple Choice)
4.9/5
(33)

Which of the following standard flowchart symbols is used to represent both selection and repetition?

(Multiple Choice)
4.9/5
(32)

The rectangle is used in a flowchart to represent both Input and Output activities.

(True/False)
4.8/5
(42)

Consider the expression 3 * 2 ^ 2 15 - 3. Which operation is performed last?

(Multiple Choice)
4.9/5
(38)

The And operator always checks both conditions, while the AndAlso operator is not required to check both conditions.

(True/False)
4.9/5
(37)

The MessageBox.Show(text, caption, buttons, icon[, default button]) method displays a message box at runtime on your form. Which of the above arguments controls the symbol appearing in the message box?

(Multiple Choice)
4.8/5
(37)

Which of the following standard flowchart symbols is used for input/output activities?

(Multiple Choice)
4.9/5
(33)

An Xor logical operator is true if both conditions are true.

(True/False)
4.8/5
(36)
Showing 21 - 40 of 50
close modal

Filters

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