click below
click below
Normal Size Small Size show me how
Exam 1 CSCI 233
| Term | Definition |
|---|---|
| You can use the ________ logical operator to compare two strings. | == |
| 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. | TryParse |
| The ________ operator is the logical OR operator which takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the subexpressions is true. | || |
| The expression given below will determine if the value in A is inside a range, if XX is replaced by which logical operator? (A < 1) XX (A > 10) | || |
| A(n) ________ statement has two parts: an if clause and an else clause. | if-else |
| A ________ appears as a small box with some accompanying text. | check box |
| The ________ operator is the logical NOT operator which is a unary operator that takes a Boolean expression as its operand and reverses its logical value. | ! |
| Once you create a ListBox control, you add items you wish to display to its ________ property. | Items |
| The ___ keyword is required when specifying a variable as an output argument. | out |
| The process of checking input for errors before it is processed is called ________. | Input Validation |
| A(n) ________ structure can execute a set of statements only under certain conditions. | decision |
| Assume monthsListBox is a ListBox control. What method do you use to remove all items from the ListBox? | monthsListBox.Items.Clear(); |
| The ________ statement is a multiple-alternative decision structure which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute. | switch |
| A(n) ________ structure is a set of statements that execute in the order in which they appear. | sequence |
| The ________ method can be used to convert a string to an integer | TryParse.int() |
| A string can be converted to a decimal with the ________ method. | decimal.TryParse |
| An action that is ________ occurs only when a certain condition is true. | conditionally executed |
| Both the && and || operators perform ________ in which CPU time is saved by not checking the expression on the right side of the operator depending on the value of the expression on the left side of the operator. | short-circuit evaluation |
| A(n) ________ decision structure provides only one path of execution. | single-alternative |
| ________ selection works by automatically deselecting any other items in the same group when a single item is selected. | Mutual Exclusive |
| When a RadioButton or a CheckBox control's Checked property changes, a ________ event happens for that control. | CheckChanged |
| A(n) ________ is a variable that is passed as an argument to a method and, when the method is finished, a value is stored in the variable. | output variable |
| The C# language provides a set of operators known as ________ operators which you can use to create complex Boolean expressions. | logical |
| Radio button controls have a ________ property that determines whether the control is selected or deselected. | Checked |