Exam 7: Lists, loops, and Printing

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

How many times will the statements inside this For/Next loop be executed? For IndexInteger = 1 to 10 'Statements in loop Next IndexInteger

(Multiple Choice)
4.8/5
(32)

An "iteration" is a single execution of the statement(s)in the loop.

(True/False)
4.9/5
(37)

How many times will the statements inside this For/Next loop be executed? For IndexInteger = 2 to 12 Step 3 'Statements in loop Next IndexInteger

(Multiple Choice)
4.9/5
(40)

What will be the value of ValueInteger after execution of these statements? For IndexInteger = 1 to 10 Step 2 ValueInteger += IndexInteger Next IndexInteger

(Multiple Choice)
4.8/5
(24)

The code that will add the name,John,to a combo box named NamesComboBox is _______.

(Multiple Choice)
4.8/5
(38)

Assign a valid index to the SelectedIndex property of a list box in order to make an item in the list appear selected.

(True/False)
4.8/5
(41)

Set up output for the printer using the methods and events of the Printer component.

(True/False)
4.8/5
(41)

Write the code for a FOR NEXT loop that will execute as many times as there are items in a combo box named ItemsComboBox.Use CountInteger as the counter (loop index).

(Essay)
4.8/5
(33)

The group of repeated instructions in a Do/Loop is called a(n)__________.

(Multiple Choice)
5.0/5
(41)

Which of the following is NOT a style for combo boxes?

(Multiple Choice)
4.8/5
(52)

The Continue statement can be used to skip to the next iteration of a loop.

(True/False)
4.9/5
(36)

Values for the items in a list _______.

(Multiple Choice)
4.8/5
(34)

The _______ method is used to send a line of text to the graphics page.

(Multiple Choice)
4.8/5
(37)

The data that appears in a combo box when it is first displayed can be added to the combo box _______.

(Multiple Choice)
4.8/5
(34)

The PrintDocument's PrintPage event is fired once for each page to be printed.This technique is referred to as a _______.

(Multiple Choice)
4.9/5
(32)

A single execution of a group of instructions inside a Do/Loop is called _______.

(Multiple Choice)
4.8/5
(38)

The code,"NameLabel.Text = NameComboBox.Text",or the code,"NameLabel.Text = NameComboBox.Items(NameComboBox.SelectedIndex)" will display the selected name in NameLabel.

(True/False)
4.8/5
(32)

Boolean variables are commonly referred to as switches or flags.

(True/False)
4.9/5
(41)

To remove an individual item from a list box,you can use the Remove method and specify the index of the item.

(True/False)
4.9/5
(40)

The identifier for a loop index in a For/Next statement must be LoopIndexInteger.

(True/False)
4.8/5
(39)
Showing 21 - 40 of 76
close modal

Filters

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