ISYS 3393 Exam 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

If the stepValue is omitted when coding a For....Next statement, the stepValue is ______ at execution time. - -1 - 0 - 0.1 - 1

- 1

Which comparison operator is used for NOT? - <> - << - >> - ==

- <>

Which of the following is a comparison operator? - & - + - And - =

- =

An If contained within another If statement is _______ - An embedded contradiction - Impossible to do in VB - A nested If - A compound expression

- A nested If

As you do with list boxes, you use the Items collection's _____ method to add an item to a combo box. - New - Append - Add - Insert

- Add

With the logical operator ______, both expressions must be true for the entire expression to evaluate true. - And - OrElse - AndAlso - Or

- And

The ______ event occurs each time you select or deselect a check box or radio button. - Changed - ChangedChecked - Checked - CheckedChanged

- CheckedChanged

A Function procedure does not return a value after performing its assigned task. - True - False

- False

An event procedure is a Function procedure that is associated with a specific object and event. - True - False

- False

If the txtBalance control contains the value $52, what value will the Decimal.TryParse(txtBalance.Text, decBalance) method return? - 0 - 52 - True - False

- False

In a Do....Loop statement, a condition can be phrased as either a looping condition or a loop enter condition. - True - False

- False

When coding a selection instruction in Visual Basic, the code that follows the Else statement includes those instructions that will be executed when the condition is true. - True - False

- False

A form's ______ procedure is responsible for verifying that the user wants to close the application, and then taking the appropriate action based on the user's response. - FormClosing event - Button event - Click event - Add event

- FormClosing event

Which of the following is correct code for determining if a checkbox is checked? - If Senior.Checkbox = True Then - If SeniorCheckBox.Checked = Flase Then - If SeniorCheckBox.Checked = True Then - If SeniorCheckbox = True Then

- If SeniorCheckBox.Checked = True Then

In Case selection structure, you use the _____ keyword when you know only one end of the range. - Range - To - From - Is

- Is

With the logical operator ________, one expression must be true for the entire expression to evaluate true. - Or - AndAlso - And - OrElse

- Or

Each time either the user or a statement selects an item in a list box, the list box's SelectedValueChanged and ______ events occur. - SelectionChanged - ItemChanged - SelectedIndexChanged - SelectedItemChanged

- SelectionChanged

A combo box's ______ property contains the value that appears in the text portion of the control. - list - Sorted - Add - Text

- Text

In a Case selection structure, you use the _____ keyword when you know both the upper and lower bounds of the range. - Range - Is - From - To

- To

A counter is always incremented by a constant value. - True - False

- True

An independent Sub procedure is a procedure that is independent of any object and event. - True - False

- True

The If/ElseIf/Else selection structure needs only one End If statement to mark the end of the selection structure. - True - False

- True

The expression 12 > 0 AndAlso 12 < 10 * 2 evaluates to true. - True - False

- True

A(n) ______ is a numeric variable used for adding together something. - counter - updater - incrementer - accumulator

- accumulator

A ______ is similar to a list box in that it allows the user to select from a list of choices. - text box - dialog box - message box - combo box

- combo box

In a Case selection structure, each expression in an expression list is separated by a _______. - semicolon (;) - colon (:) - comma (,) - period (.)

- comma (,)

Adding increments of a negative number is referred to as _____. - decrementing - negating - initializing - deprocessing

- decrementing

A selection structure that can choose from several alternatives is called a(n) _____ selection structure. - secondary - complex - extended - dynamic

- extended

You can include an identifying label on a group box by setting the group box's Identity property - True - False

- false

Desk-checking is also called _____. - beta checking - prototyping - hand-tracing - alpha checking

- hand-tracing

A(n) _____ is processed only when it is called (invoked) from code. - event procedure - dependent Sub procedure - independent Sub procedure - independent event procedure

- independent Sub procedure

A unique number called a(n) _____ identifies each item in a collection. - index - tracker - accumulator - counter

- index

For the access key to work correctly in a combo box, you must set the label's TabIndex property to a value that is ______ the combo box's TabIndex value. - greater than or equal to - one less than - one more than - identical to

- one less than

An independent Sub procedure can contain one or more _____ in its procedure header that have procedure scope and store an item of data. - events - parameters - variables - constraints

- parameters

In a nested selection structure, the ______ decision is always made by the outer selection structure. - binary - secondary - primary - linear

- primary

A(n) _____ read is used to prepare or set up a loop. - initialization - set up - preparation - priming

- priming

Horizon Cleaners is an organic dry cleaner for clothing. The price for dry cleaning a shirt is $3.00, the price for pants is $3.50, and the price for dresses is $4.00. All clothes can be either washed or dry cleaned. Dry cleaned clothes can be hung or folded, and folded items cost an additional $0.50 per item. A group of _______ should be used on the interface for the user to select the customer's preference for washing or dry cleaning the clothes. - text boxes - radio buttons - labels - check boxes

- radio buttons

A _____ structure is also referred to as a loop. - recursion - selection - repetition - sequence

- repetition

A list box should contain a minimum of _____ item(s). - two - three - four - five

- three

What will display in MessageLabel when the following statements are executed? Assume that CountInteger = 10. MessageString = "Today is my birthday" IF CountInteger <= 10 Then MessageLabel.Text = MessageString.ToLower() ELSEIF CountInteger > 20 Then MessageLabel.Text = MessageString.ToUpper() ELSE MessageLabel.Text = MessageString ENDIF - today is my birthday - Today is my birthday - TodayIsMyBirthday - TODAY IS MY BIRTHDAY

- today is my birthday


Conjuntos de estudio relacionados

Project 2 - Factors affecting a business's profit

View Set

Unit 8 Homework Quiz Things Answers USH (Kampf)

View Set

Ch. 3 Goodwill Impairment Testing

View Set

Ch 9: Introduction to Social Stratification

View Set

Chapter 40 The Mechanism of Protein Synthesis

View Set

Geographic, Behavioral, or Temporal Isolation

View Set

Essentials of Nursing leadership & Management weiss

View Set

Gases, Vapors, Solvents & Particulate Matter

View Set

IELTS: Intermediate Location, Distance, and Position Vocabulary Set 2

View Set

Chemistry Topic 4.1 Ionic bonding and structure

View Set