Chapter 5

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

0

A list box or combo box's index numbering starts at this value:

Nested

A loop that is inside another loop is called a ____ loop.

String

An input box returns the value entered by the user as this:

Loop or repetition structure

Causes one or more statements to repeat.

List boxes (control)

Displays a list of items and allows the user to select an item from the list.

Infinite

Is a loop does not have a way of stopping, it is called an ____.

Running total

One of the following is a sum of numbers that accumulates with each iteration of a loop:

Input Boxes

Provides a simple way to gather input without placing a text box on a form.

Body of the loop

The Do While statement marks the beginning of a Do While loop, and the Loop statement marks the end. The statements between these are known as:

Text

This combo box property will contain the user's text input or the item selected from the list:

Combo box

This control has a rectangular area that functions like a text box:

cbo

This is the prefix that we use for combo box names:

Items.Remove

This method erases one item from a list box:

SelectedIndex

This property holds the index of the selected item in a list box:

Pretest

This type of loop evaluates its test expression before each iteration:

For...next

This type of loop is ideal for situations that require a counter because it is specifically designed to initialize, test, and increment a counter variable:

Scroll bar

Visual Basic automatically adds this to a list box when it contains more items than can be displayed:

Multicolumn

When this ListBox control's property is set to True, it causes the ListBox control to display its list in multiple columns:

Dim rand As New Random(25)

Which of the following statements creates a Random object and initializes the sequence of random numbers with the seed value 25:

Simple combo box

With this style of combo box, the list of items does not drop down, but is always displayed:

InputBox

You display input boxes with this function:

Multiply the number of iterations of all the loops

You do this to get the total number of iterations of a nested loop:

Pmt

function returns the periodic payment amount for a loan.

PPmt

function returns the principal payment for a specific period on a loan.

IPmt

function returns the required interest payment for a specific period on a loan.

Counter

is a variable that is regularly incremented or decremented each time a loop iterates.

Posttest

loop evaluates its test expression after each iteration.

NextDouble

method generates a random floating-point value.

Next

method generates a random integer.

Random

object has methods that can generate a sequence of random numbers.

Exit Do

statement, when placed inside the body of a Do While loop, stops the execution of the loop and causes the program to jump to the statement immediately following the loop.


संबंधित स्टडी सेट्स

Microeconomics Econ 101 Chapter 9: International Trade Notes

View Set

Chapter 11: Families and Intimate Relationships

View Set

EVR 3013 quiz 4,5 & 6 study guide

View Set

chap 15 real estate taxes and other liens instructor question

View Set

International Business Chapter 7

View Set