• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/82

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

82 Cards in this Set

  • Front
  • Back

True or False?



Menu item hot keys are case sensitive.

false

What code will add the value "East" to a ListBox object named lstDirections?

lstDirections.Items.Add("East")

You can create a deployed version of a program by using the _____ process.

ClickOnce Deployment

_____, or _____, is a fundamental process that repeats instructions until a condition is true or while a condition is true.

Looping or iteration

A _____-controlled loop tests the condition before the loop body is executed.

top

True or False?



A hot key in a menu name must be the first letter.

false

The _____ follows the keyword For in a For...Next loop.

control variable

The process of repeating a set of instructions while a condition is true or until a condition is true

looping

Objects that can be assigned a default value representing the most likely user input

InputBox

Used to publish a program using ClickOnce Deployment

wizard

Items added to this kind of object during design phase are available for selection by the user during the program execution

ListBox

a variable that contains an accumulated value such as a running total

accumulator

Loop that should be used when code is to be executed until the condition becomes true

Do Until

A loop that is always executed at least once

bottom-controlled

A loop that never ends

infinite

Identified in the code editor with a bullet to the left of the line number and highlighting of the code on that line

breakpoint

Visual Basic 2010 contains a(n) _____ Tag that allows you to create a full standard menu bar commonly provided in Windows programs.

Action

A _____ loop is best used when the specific number of iterations required is known.

For...Next

True or False?



A top-controlled loop is always executed at least once.

false

True or False?



The InputBox function returns a null string ("") when a user clicks the Cancel button.

true

To remove all objects from a ListBox object, the _____ method is used.

Clear()

Using a preset value for the variable tested in a loop condition is a process called _____ the loop.

priming

A(n) _____ variable keeps track of how many times a loop has executed.

counter

True or False?



If the user enters a numeric value in an InputBox object, the InputBox function will return a numeric data type.

false

True or False?



The beginning and ending values for a For...Next loop must be predefined and cannot contain an expression.

false

True or False?



Use a For...Next loop when the number of repetitions is unknown.

false

True or False?



The beginning, ending, and step values used in a For...Next loop can vary based on input from a user.

true

If _____ appears as the last line of a loop, the loop is a botto-controlled Do loop that will stop execution when a condition becomes true.

Loop Until

True or False?



The prompt message displayed in an InputBox object can be customized by the programmer.

true

True or False?



Smart actions can be specified for a menu by using Action Tags.

true

True or False?



When expecting a number from an input box, the IsNumeric function should be used to ensure that the input data can be converted to a numeric variable.

true

If _____ appears as the first line of a loop, the loop is a top-controlled Do loop that will execute as long as a condition remains true.

Do While

A(n) _____ key is a keyboard shortcut for opening a menu.

hot

The hot key for a menu item can be activated with the keyboard by pressing the _____ key and the hot key at the same time.

ALT

A(n) _____ is a group of commands presented in a list.

menu

True or False?



When the user clicks the Cancel button in an input box and the InputBox function returns a null character, the program can test for the null character to determine further processing.

true

The _____ function provides a dialog box that asks the user for input and provides an input area.

InputBox

True or False?



The Step value for a For...Next loop must be a positive whole integer value.

false

A For...Next loop with a beginning value of 1, an ending value of 25, and a Step value of 3 will execute _____ times.

9

A(n) _____ is a single repetition of a loop.

iteration

A(n) _____ variable collects a total value over a period of time.

accumulator

A _____ object displays a collection of items, or values, with one item per line.

ListBox

True or False?



Writing an event handler for a menu item is the same as writing an event handler for a button click.

true

How many times will the following loop execute?



For intCount = 10 to 16 Step 2


'Body of Loop


Next

4

A loop that does not terminate is called a(n) _____ loop.

infinite

True or False?



In a Do While loop, the body of the loop is executed until the condition becomes true.

false

If _____ appears as the first line of a loop, the loop is a top-controlled Do loop that will stop execution when a condition becomes true.

Do Until

Instead of typing the menu name on a MenuStrip object, you can add a _____, _____, or _____ by clicking the Type Here box's list arrow and selecting the appropriate choice.

combo box, menu item, or text box

How many times will the following loop execute?



For intCount = 10 to 1 Step -2


'Body of loop


Next

5

True or False?



Only one breakpoint can be set in a program.

false

True or False?



It is best to indent the body of the loop, to identify clearly the code that is being repeated.

true

When in break mode, you can use _____ to examine the value of variables.

DataTips

True or False?



The installation files created by the ClickOnce Publishing Wizard can be used for a software release.

true

When a program reaches a breakpoint and pauses execution, the line of code that is about to be executed is highlighted in what color?

yellow

True or False?



You must include a Step value in a For...Next loop, even if the Step value is 1.

false

True or False?



When nesting loops, the inner loop must be completely contained in the outer loop and must use a different control variable.

true

The _____ prefix is used for a MenuStrip object.

mnu

The _____ property of a ListBox object identifies which item in the ListBox was selected.

SelectedItem

_____ are stop points placed in the code to tell Visual Studio 2010 debugger where and when to pause the execution of the program.

Breakpoints

The _____ _____ allows you to create an install file to be placed on a hard drive, network drive, or Web server.

Publish Wizard

True or False?



The beginning, ending, and step values used in a For...Next loop can vary based on input from a user.

true

The compound operator _____ is used to add a string to an existing string.

&=

True or False?



All data collected by an InputBox object is automatically converted to the best data type for the data.

false

True or False?



A Step value in a For...Next loop can be positive or negative.

true

A _____-controlled loop tests the condition after the code in the loop body has been executed.

bottom

True or False?



Breakpoints are stop points placed in the code where execution will be paused during the execution of the program, and enter debug mode.

false

What will be the value of the variable intTotalCount when the following code is executed?



For intOuterCount = 1 to 5


For intInnerCount = 1 to 4


intTotalCount +=


Next


Next

20

True or False?



MenuStrip objects can be placed along any edge of the form, depending on which side is closer to the mouse pointer.

false

True or False?



When used in a menu name, the asterisk character is used to indicate that a character is a hot key.

false

True or False?



An InputBox object allows user input without the need for a TextBox object on the Windows Form object.

true

If _____ appears as the last line of a loop, the loop is a bottom-controlled Do loop that will execute as long as a condition remains true.

Loop While

True or False?



In order to run a program deployed with ClickOnce Deployment, the computer needs Visual Basic installed on it.

false

The _____ character is used to indicate that a letter is a hot key on a menu item.

ampersand (&)

A loop's _____ variable is a numeric variable that keeps track of the number of iterations the loop completes.

control

A _____ operator allows you to perform arithmetic operations with a variable and store the results back to that variable.

compound

True or False?



Loops cannot be nested.

false

True or False?



Double-clicking a menu item in design mode opens the code editing window to the Click event handler for that menu item.

true

The compound operator _____ adds the value of the right operand to the value of the left operand and stores the result in the left operand's variable.

+=

The _____ function can be used to test if data entered by the user is numeric.

IsNumeric

True or False?



Starting a loop with a preset value for the variable tested in the condition is called priming the loop.

true

True or False?



The Checked property of a ListBox object identifies which item in the ListBox has been selected.

false

A compound operator allows you to do which of the following to values, storing the result in the same variable.



- add


- multiply


- divide


- compare



- add


- compare


- divide