Chapter 4 Label Control Names Begin

subject Type Homework Help
subject Pages 4
subject Words 854
subject Authors Diane Zak

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Chapter 4: Do-It-Yourself Designing (Designing Interfaces)
TRUE/FALSE
1. When designing an interface for a problem, you should only examine its output items.
2. A Text box provides an area for the user to enter data.
3. 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.
4. Every interface needs a control that allows the user to end the application.
5. The programmer uses an object’s location to refer to the object in code.
6. The name of an object must begin with a letter and can contain only letters, numbers, and the
underscore character.
7. You can include punctuation characters or spaces in the name of an object.
8. Button names begin with btn.
9. It is customary in Windows applications for identifying labels to end with a colon.
10. An identifying label should be from one to three words only, with the entire label appearing on one
line.
11. 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.
page-pf2
12. The value in a button’s Text property appears on the button’s face and is often referred to as the
button’s title.
13. You should assign an access key to each control in the interface that can accept user input.
14. Each access key in an interface should be unique.
15. When an interface is first created, the TabIndex values reflect the order in which each control was
added to the form.
16. In addition to assigning access keys for an interface, you also should set the interface’s tab order.
17. When using the Tab Order option, you need to set the TabIndex values in numerical order, beginning
with the number 1.
18. Actions such as clicking and double-clicking are called commands.
19. You enter an event procedure’s code in the Code Editor window.
20. It’s a good programming practice to test a procedure after you have coded it.
MULTIPLE CHOICE
1. ____ perform their tasks only when the user clicks them.
a.
Labels
c.
Buttons
b.
Names
d.
Controls
2. 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
c.
long
b.
common
d.
short
page-pf3
3. Label control names begin with ____.
a.
label
c.
lab
b.
tag
d.
lbl
4. ____ 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
c.
Bump
b.
Hump
d.
Camel
5. 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
c.
sentence capitalization
b.
book title capitalization
d.
camel case
6. Button captions should be entered using ____.
a.
camel capitalization
c.
sentence capitalization
b.
book title capitalization
d.
camel case
7. The ____ key allows the user to select a menu using the Alt key in combination with a letter or
number.
a.
access
c.
modify
b.
perform
d.
execute
8. 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
c.
asterisk
b.
ampersand
d.
caret
9. When a control has the ____, it can accept user input.
a.
access
c.
focus
b.
allowance
d.
permission
10. The tab order is determined by the number stored in each control’s ____ property.
a.
TabStop
c.
TabIndex
b.
Tab
d.
TabOrder
11. When you start an application, the computer sends the focus to the control whose ____.
a.
Focus is 0
c.
TabIndex is 1
b.
TabIndex is 0
d.
FocusIndex is 1
page-pf4
12. A(n) ____ is a set of Visual Basic instructions that are processed only when the event occurs.
a.
event procedure
c.
event
b.
procedure
d.
procedure event
13. The rules of the Visual Basic language are called its ____.
a.
parts
c.
definitions
b.
order
d.
syntax
14. A(n) ____ is a word that has a special meaning in a programming language.
a.
keyword
c.
object
b.
token
d.
handler
15. The ____ keyword indicates that the procedure can be used only within the current Code Editor
window.
a.
Public
c.
Friend
b.
Private
d.
Hidden
16. A ____ is a block of code that performs a specific task.
a.
Sub code
c.
Sub procedure
b.
Sub section
d.
Sub method
17. The code template ends with the procedure footer, which contains the keywords____.
a.
End Procedure
c.
End Prod
b.
End Sub
d.
End Method
18. A ____ is a predefined procedure that you can call (or invoke) when needed.
a.
sub section
c.
sub procedure
b.
sub code
d.
method
19. The ____ instruction tells the computer to close the current form.
a.
Me.End()
c.
Me.Close()
b.
Close()
d.
Exit()
20. The ____ tab displays the most commonly used items.
a.
Common
c.
All
b.
Tools
d.
Use

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.