Exam 4: Making Decisions

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

Each item in a ListBox has a(n) ____________, which is an integer that identifies the item's position in the ListBox.

(Multiple Choice)
4.9/5
(61)

If you are writing an if statement that has only one conditionally executed statement, you must enclose the conditionally executed statement in curly braces.

(True/False)
4.8/5
(87)

Which one of the following expressions determines whether the value of the length variable is greater than or equal to the value of the width variable?

(Multiple Choice)
5.0/5
(83)

It is often true that both sets of conditionally executed statements are executed in an if-else statement.

(True/False)
4.8/5
(71)

The equality operator consists of just one equals sign (=).

(True/False)
4.8/5
(72)

A(n) ____________ compares the values of two expressions.

(Multiple Choice)
4.8/5
(66)

The expression (A >= 1) XX (A <= 10) will determine if the value in A is inside a range, if "XX" is replaced by which logical operator?

(Multiple Choice)
4.7/5
(76)

The process of checking input for errors before it is processed is called ____________.

(Multiple Choice)
4.8/5
(66)

When a program compares characters, it actually compares the numeric Unicode values of the characters.

(True/False)
4.9/5
(82)

The == operator cannot be used to compare string expressions.

(True/False)
4.7/5
(75)

In code we write a dual-alternative decision structure as an if-else statement.

(True/False)
4.9/5
(84)

The ____________ operator is the logical AND operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true only when both subexpressions are true.

(Multiple Choice)
4.9/5
(92)

In a flowchart, the diamond symbol indicates some condition that must be tested.

(True/False)
4.7/5
(78)

When displaying an item from a ListBox, you have to call the SelectedItem property's ToString method to retrieve the value as a string.

(True/False)
4.9/5
(81)

Decision structures are also known as selection structures.

(True/False)
4.9/5
(75)

When you want to create a group of radio buttons on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

(Multiple Choice)
4.8/5
(69)

The ____________ method can determine whether a string contains a value that can be converted to a specific data type before it is converted to that data type.

(Multiple Choice)
4.8/5
(80)

When you want to create a check box on a form, you use the ____________, which is found in the Common Controls section of the Toolbox.

(Multiple Choice)
4.8/5
(80)

In C#, you use the if statement to write a single-alternative decision structure.

(True/False)
4.9/5
(74)

The C# language provides a set of operators known as ____________, which you can use to create complex Boolean expressions.

(Multiple Choice)
5.0/5
(79)
Showing 41 - 60 of 78
close modal

Filters

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