Accounting
Anthropology
Archaeology
Art History
Banking
Biology & Life Science
Business
Business Communication
Business Development
Business Ethics
Business Law
Chemistry
Communication
Computer Science
Counseling
Criminal Law
Curriculum & Instruction
Design
Earth Science
Economic
Education
Engineering
Finance
History & Theory
Humanities
Human Resource
International Business
Investments & Securities
Journalism
Law
Management
Marketing
Medicine
Medicine & Health Science
Nursing
Philosophy
Physic
Psychology
Real Estate
Science
Social Science
Sociology
Special Education
Speech
Visual Arts
Computer Science
Q:
The ____ function temporarily converts one or more characters to a number, and then returns the number. a.
Value b.
Change c.
Number d.
Val
Q:
A ____ is a predefined procedure that performs a specific task and then returns a value after completing the task. a.
sub b.
function c.
method d.
routine
Q:
The value stored in a control's Text property is always treated as ____ text, even when the value contains only numbers. a.
alpha b.
alphanumeric c.
numeric d.
arithmetic
Q:
You create a comment in Visual Basic by placing a(n) ____ before the text that represents the comment. a.
period b.
exclamation mark c.
apostrophe d.
asterisk
Q:
A comment is referred to as ____ documentation. a.
external b.
hidden c.
revealed d.
internal
Q:
A ____ is a message to the person reading the code.
a. comment
b. header
c. heading
d. footer
Q:
A(n) ____ box is designed to accept information from the user, and it automatically stores the information in its Text property.
a. data
b. text
c. entry
d. information
Q:
You center the contents of a control by setting the control's TextAlign property.
Q:
When the computer processes the assignment statement, it first performs the calculation that appears on the leftt side of the assignment operator.
Q:
The modulus operator cannot be used to divide numbers that contain a decimal place.
Q:
You might use the integer division operator in a program that determines the number of quarters, dimes, and nickels to return as change to a customer.
Q:
In the order of precedence, the modulus operator has a lower priority than the addition and subtraction operators.
Q:
In the order of precedence, an exponentiation operator has a precedence number of 1.
Q:
You cannot override the order of precedence for arithmetic operators.
Q:
You instruct the computer to perform a calculation by writing an arithmetic expression that contains one or more arithmetic operators.
Q:
When an invalid character is encountered in a text argument in a Val function, the Val function notes an error and continues the process.
Q:
For a text argument in the Val function to be converted to a number, it must contain only numbers and an optional period.
Q:
The syntax of the Val function is Val(text), where text is the characters you want treated as a number.
Q:
When creating a comment in a program, a space is required to separate the apostrophe from the comment itself.
Q:
Comments make the code less readable but easier to understand by anyone viewing it.
Q:
Many programmers use comments to document a procedure's purpose, as well as to explain various sections of the procedure's code.
Q:
Coding the algorithm is the second step in the problem-solving process.
Q:
The ____ tab displays the most commonly used items. a.
Common b.
Tools c.
All d.
Use
Q:
The ____ instruction tells the computer to close the current form. a.
Me.End() b.
Close() c.
Me.Close() d.
Exit()
Q:
A ____ is a predefined procedure that you can call (or invoke) when needed. a.
sub section b.
sub code c.
sub procedure d.
method
Q:
The code template ends with the procedure footer, which contains the keywords____. a.
End Procedure b.
End Sub c.
End Prod d.
End Method
Q:
A ____ is a block of code that performs a specific task. a.
Sub code b.
Sub section c.
Sub procedure d.
Sub method
Q:
The ____ keyword indicates that the procedure can be used only within the current Code Editor window. a.
Public b.
Private c.
Friend d.
Hidden
Q:
A(n) ____ is a word that has a special meaning in a programming language. a.
keyword b.
token c.
object d.
handler
Q:
The rules of the Visual Basic language are called its ____. a.
parts b.
order c.
definitions d.
syntax
Q:
A(n) ____ is a set of Visual Basic instructions that are processed only when the event occurs. a.
event procedure b.
procedure c.
event d.
procedure event
Q:
When you start an application, the computer sends the focus to the control whose ____. a.
Focus is 0 b.
TabIndex is 0 c.
TabIndex is 1 d.
FocusIndex is 1
Q:
The tab order is determined by the number stored in each control's ____ property. a.
TabStop b.
Tab c.
TabIndex d.
TabOrder
Q:
When a control has the ____, it can accept user input. a.
access b.
allowance c.
focus d.
permission
Q:
To assign an access key to a text box control, you include the ____ in the Text property of the control's identifying label. a.
exclamation mark b.
ampersand c.
asterisk d.
caret
Q:
The ____ key allows the user to select a menu using the Alt key in combination with a letter or number. a.
access b.
perform c.
modify d.
execute
Q:
Button captions should be entered using ____. a.
camel capitalization b.
book title capitalization c.
sentence capitalization d.
camel case
Q:
It is customary to enter identifying labels using ____, which means capitalizing only the first letter in the first word and in any words that are customarily capitalized. a.
camel capitalization b.
book title capitalization c.
sentence capitalization d.
camel case
Q:
____ case refers to the fact that the uppercase letters appear as "humps" in the name because they are taller than the lowercase letters. a.
Hill b.
Hump c.
Bump d.
Camel
Q:
Label control names begin with ____. a.
label b.
tag c.
lab d.
lbl
Q:
You should assign a ____ name to each of the controls in a program, because doing so will help you keep track of the various objects included in the interface.
a. meaningful
b. common
c. long
d. short
Q:
____ perform their tasks only when the user clicks them. a.
Labels b.
Names c.
Buttons d.
Controls
Q:
It's a good programming practice to test a procedure after you have coded it.
Q:
You enter an event procedure's code in the Code Editor window.
Q:
Actions such as clicking and double-clicking are called commands.
Q:
When using the Tab Order option, you need to set the TabIndex values in numerical order, beginning with the number 1.
Q:
In addition to assigning access keys for an interface, you also should set the interface's tab order.
Q:
When an interface is first created, the TabIndex values reflect the order in which each control was added to the form.
Q:
Each access key in an interface should be unique.
Q:
You should assign an access key to each control in the interface that can accept user input.
Q:
The value in a button's Text property appears on the button's face and is often referred to as the button's title.
Q:
With sentence capitalization, you capitalize the first letter in each word, except for articles, conjunctions, and prepositions that do not occur at either the beginning or the end of the caption.
Q:
An identifying label should be from one to three words only, with the entire label appearing on one line.
Q:
It is customary in Windows applications for identifying labels to end with a colon.
Q:
Button names begin with btn.
Q:
You can include punctuation characters or spaces in the name of an object.
Q:
The name of an object must begin with a letter and can contain only letters, numbers, and the underscore character.
Q:
The programmer uses an object's location to refer to the object in code.
Q:
Every interface needs a control that allows the user to end the application.
Q:
In most interfaces, output items appear in label controls, because users should not be able to edit the value of an output item while an application is running.
Q:
A Text box provides an area for the user to enter data.
Q:
When designing an interface for a problem, you should only examine its output items.
Q:
You can use the ____ menu to open an existing solution. a.
Open File b.
Start Project c.
File d.
Open Page
Q:
You close a solution using the ____ option on the File menu. a.
Close Solution b.
End Solution c.
Close Project d.
End Project
Q:
To unlock all of the controls, ____-click the form, and then click Lock Controls on the context menu.
a. double
b. triple
c. left
d. right
Q:
You can unlock a control by changing its ____ property to False.
a. Safe
b. Protected
c. Locked
d. Set Position
Q:
If you need to move a control after you have locked the controls in place, you can change the control's ____ property setting in the Properties window. a.
Location b.
Site c.
Place d.
Position
Q:
Before you can use the Format menu to make the picture boxes the same size, you first must ____ them. a.
acknowledge b.
select c.
delete d.
highlight
Q:
Using the format menu, you can use the ____ option to make two or more controls the same width and/or height. a.
Duplicate Size b.
Same Size c.
Make Same d.
Make Same Size
Q:
Using the format menu, the ____ option allows you to align two or more controls by their left, right, top, or bottom borders. a.
Location b.
LineUp c.
Align d.
Match
Q:
In a task box, each task in the list is associated with one or more ____. a.
properties b.
projects c.
actions d.
objects
Q:
The ____ property specifies how an image is displayed. a.
Display b.
Mode c.
Size d.
SizeMode
Q:
The ____ property specifies the name of the file containing the image to display. a.
Image b.
File c.
Image Display d.
Display
Q:
For most of the elements in an interface created for an application running under Windows 8, Windows 7, or Windows Vista, you will use the ____-point size of the font. a.
9 b.
10 c.
11 d.
12
Q:
You use a(n) ____ to display an image on the form. a.
picture box b.
tool box c.
image box d.
picture frame
Q:
You add the controls to the form using the tools contained in the ____ window. a.
FormTool b.
Form c.
Tool d.
Toolbox
Q:
The objects added to a form are called ____. a.
tools b.
labels c.
controls d.
boxes
Q:
A form automatically includes a title bar that contains a default ____.
a. data
b. caption
c. application
d. instructions
Q:
A ____ is the foundation for the user interface in a Windows application. a.
window b.
box c.
bar d.
form
Q:
The ____ window is where you create (or design) your application's graphical user interface. a.
Windows Form Designer b.
Windows Form Creator c.
Visual Basic Form Designer d.
Visual Basic Form Creator