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
Programming Language
Q:
The ____ memory of a computer is composed of memory locations. a.
external b.
hidden c.
internal d.
special
Q:
When formatting characters, you can use either an uppercase letter or a lowercase letter as the format specifier.
Q:
The formatString argument in the ToString method must take the form "xAA", where AA is the format specifier and x is the precision specifier.
Q:
When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.
Q:
The value in a named constant can change during run time.
Q:
In addition to reserving (or declaring) variables in a program, you also can declare named constants.
Q:
The desk-check table for a program will contain two columns for each variable.
Q:
A procedure-level variable has the same lifetime as the procedure in which it is declared.
Q:
The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.
Q:
Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.
Q:
It is customary to enter the variable declaration statements at the end of the procedure.
Q:
You use a problem's solutionin other words, its output, processing, and input information and its algorithmto determine the variables to use when coding an application.
Q:
Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.
Q:
You reserve a memory location using a Visual Basic instruction that assigns both a name and data type to the memory location.
Q:
An item stored in a memory location can be a number, text or a Boolean value.
Q:
Each memory location inside a computer can hold only one item of data at a time.
Q:
The area above the Public Class clause is called the ____ section. a.
Comments b.
General Declarations c.
Function d.
Argument
Q:
The equal sign in an assignment statement is referred to as the ____. a.
assignment unit b.
assignment controller c.
assignment operator d.
assignment status
Q:
A(n) ____ is used to assign a value to something (such as the property of a control) while an application is running.
a. assignment statement
b. loop statement
c. selection statement
d. decision statement
Q:
After dividing the numbers, the ____ operator returns the remainder of the division. a.
division b.
modulus c.
remainder d.
integer division
Q:
Q:
____ indicate the order in which the computer performs the operation in an expression. a.
Order numbers b.
Operation order numbers c.
Precedence numbers d.
Operation numbers
Q:
The function Val(txtSales.Text) returns the number ____ when the txtSales control is empty. a.
-1 b.
0 c.
1 d.
2
Q:
An ____ represents information that is passed to the function while the function is processing. a.
argument b.
item c.
object d.
assignment
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.