| Terms |
Definitions |
|
What is resulting value: (0.733942).ToString("P3")
|
"73.394%""
|
|
Numbers, text, dates ,pictures, and sound are all examples of
|
Data
|
|
What fetches instructions, carries out operations commanded by instructions...
|
CPU
|
|
txtPassword.Focus()
|
How does visual basic automatically assign the tab order to controls?
|
|
______ is information a program gathers from the outside world
|
input
|
|
Decision making in a computer is generally done in terms of a comparison that returns a True and False response?
|
True
|
|
Chapter 3
15.) Where should the statement: Dim CounterInteger As Integer appear if you plan to use CounterInteger in only one event procedure?
Multiple choice options-The declarations section of the form-The Form_Load procedure-The event proced
|
Chapter 3
15.) Where should the statement: Dim CounterInteger As Integer appear if you plan to use CounterInteger in only one event procedure?
Multiple choice options-The declarations section of the form-The Form_Load procedure+The event procedure where CounterInteger will be used-The Namespace constants file
|
|
What loop evaluates its test expression after each iteration?
|
Post test
|
|
What resizes an array at runtime?
|
ReDim Statement
|
|
The CPU only processes instructions written in this language..
|
Machine Language
|
|
a variable's ________ determines the type of information the variable can hold
|
data type
|
|
a(n) __________ is a diagram that graphically illustrates the flow of a program
|
flowchart
|
|
the _____ window displays help topics that are relevant to the operation you are currently performing in visual studio
|
help
|
|
When using nested If statements, it is imported that you properly indent the code to make it easy to read and to maintain.
|
True
|
|
To disable an object, set the _____________________ to False.
|
enable property
|
|
What code will copy text from a TextBox named txtInput into a Label called lblDisplay?
|
lblDisplay.Text=txtInput.Text
|
|
What is the process of inspecting input values and determining whether they are acceptable?
|
Input Validation
|
|
What keyword is used in a parameter declaration to specify that the argument is passed by value?
|
ByVal
|
|
Setting this property to True will put the items in a ListBox into alphabetical order
|
Sorted
|
|
a(n) ________ appears as a rectangular border with an optional title
|
groupbox control
|
|
the _______ window shows most of the currently selected objects properties and those properties values
|
properties
|
|
if you do not see the solution explorer or properties windows in visual studio, you may use the ______ menu to bring them up
|
view
|
|
Chapter 3
23.)Which of the following is NOT a valid method for parsing?
-Integer.Parse-Decimal.Parse-Parse.String-All of these are valid
|
Chapter 3
23.)Which of the following is NOT a valid method for parsing?
-Integer.Parse-Decimal.Parse+Parse.String-All of these are valid
|
|
Chapter 3
12.) The reserved Visual Basic word, Dim, is short for dimension, which means _____.
Multiple choice options-declaration-size-storage location-identifier
|
Chapter 3
12.) The reserved Visual Basic word, Dim, is short for dimension, which means _____.
Multiple choice options-declaration+size-storage location-identifier
|
|
Chapter 2
16. The _______ symbol is used for creating keyboard access on Visual Basic objects.
A) @ (at) B) & (ampersand) C) _ (underscore) D) ' (apostrophe)
|
Chapter 2
16. The _______ symbol is used for creating keyboard access on Visual Basic objects.
---B) & (ampersand)
|
|
What method can use a format string when converting a number to a string?
|
To String
|
|
What keyword is used to create a named value that cannot be changed?
|
Const
|
|
What is not a major hardware component of typical computer system?
|
Operating System
|
|
a(n) ________ is like a variable whose content is read-only; it cannot be changed while the program is running
|
named constant
|
|
Words that have special meaning in a programming language are called __________
|
key words
|
|
Chapter 2
Chapter 2
37. Which design time property setting should be used on an object named UserInputTextBox in order to make the insertion point appear in the object when the form first appears?
A) Focus property set to True B) TabIndex propert
|
Chapter 2
37. Which design time property setting should be used on an object named UserInputTextBox in order to make the insertion point appear in the object when the form first appears?
D) -----TabIndex property set to 0
Logic: The object with the lowest tab index has the focus set to it first at run time. Tab index is configured in design time.First you Plan with the 3 step process-1. Design the user interface-2. Plan the properties-3. Plan the basic codeThen in actual programming you use a 3 step process again. (Page 7)-1. Define the user interface //The reason this is the answer is after you plan, this is the first step in actual programming-2. Set the Properties-3. Write the basic code
|
|
What uses a loop to examine the elements of an array sequentially, starting with the first one?
|
Sequential Search Algorithm
|
|
A(n) _______ is a small box that is displayed when you hold the mouse cursor over a button on the toolbar or in the toolbox for a few seconds
|
tool tip
|
|
Chapter 2
38. The property used to display something in a PictureBox control is _______.
A) Image B) Text C) Picture D) Name
|
Chapter 2
38. The property used to display something in a PictureBox control is _______.
A) -----Image B) Text C) Picture D) Name
|
|
Chapter 3
5.) Which of the following is NOT a valid rule for naming identifiers?
-names may contain underscores-names may contain letters-Name may contain digits-Names may contain spaces
|
Chapter 3
5.) Which of the following is NOT a valid rule for naming identifiers?
-names may contain underscores-names may contain letters-Name may contain digits+Names may contain spaces
|
|
Chapter 3
6.) Which of the folloowing is NOT a rule for naming identifiers?
-Identifiers for constants should use an underscore between words.-Identifiers should use periods to seperate words-Identifiers should list the data type at the end of the
|
Chapter 3
6.) Which of the folloowing is NOT a rule for naming identifiers?
-Identifiers for constants should use an underscore between words.+Identifiers should use periods to seperate words-Identifiers should list the data type at the end of the name-Identifiers cannot contain embedded blanks
|
|
Which following is not a valid rule for naming variables?
|
Names may contain spaces
|
|
Chapter 2
Chapter 2
30. In order to make a picture appear in a PictureBox control, you must set the ____ property.
A) Picture B) Image C) Graphic D) Icon
|
Chapter 2
30. In order to make a picture appear in a PictureBox control, you must set the ____ property.
noA) Picture B) -----Image C) Graphic D) Icon
|
|
18. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______.
A) Grammatical User Incorporation B) Geometrical Upper Intelligence C) Graphical User Interface D) Geographical User Interchange
|
18. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______.
C) ---Graphical User Interface
|
|
31. Which of the following shows the correct order for creating a Visual Basic program?
A) Create the interface, set the properties, write the code B) Create the interface, write the code, set the properties C) Write the code, set the properti
|
31. Which of the following shows the correct order for creating a Visual Basic program?
A) ---Create the interface, set the properties, write the code
|
|
What happens when a Sub procedure finishes executing?
|
The application branches back to the procedure call, and resumes executing at the next line
|
|
Why has the advent of graphical user interfaces (GUIs) influenced the shift from procedural programming to object-oriented/event-driven programming?
|
Although GUIs have made programs friendlier and easier to interact with, they have not simplified the task of programming. GUIs make it necessary for the programmer to create a variety of on-screen elements such as windows, dialog boxes, buttons, menus, and other items. Each of these on-screen elements can be modeled in software by an object.
|
|
10. If a project runs, but the results are not correct, the result will be a(n) _______.
A)--- logic error B) syntax error C) arithmetic error D) run-time error
|
10. If a project runs, but the results are not correct, the result will be a(n) _______.
A) logic error
Logic: A syntactical error would most likely prevent the program from running in the first place (for the program would not compile properly). A run-time error would be the program attempting to execute illegal code that would crash the program. A program producing the wrong results is a logical error in writing the code.
|
|
From what you have read in this chapter, describe the difference between a label control and a textbox control. When is it appropriate to use one or the other.
|
A Label control is used to display text information. The user cannot enter a value into a Label control, or change the value it displays. The user can, however, enter information into a TextBox control. It is appropriate to use a Label control when displaying data that the user cannot change. It is appropriate to use a TextBox control when the user must enter data.
|
|
29. Which window do you open if you want to see all of the objects that you can add to a form?
A) The Toolbox B) The Form Designer C) The Properties window D) The Solution window
|
29. Which window do you open if you want to see all of the objects that you can add to a form?
A) ---The Toolbox B) The Form Designer C) The Properties window D) The Solution window
|