Deck 3: Program Design and Coding
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/112
Play
Full screen (f)
Deck 3: Program Design and Coding
1
IntelliSense choices can be selected by ____.
A) using the ENTER key
B) using the F2 key
C) using the TAB key
D) double-clicking or double-tapping the desired entry
A) using the ENTER key
B) using the F2 key
C) using the TAB key
D) double-clicking or double-tapping the desired entry
A,C,D
2
____ automatically create indentations in program code to make it easier to read and understand.
A) Project Control
B) IntelliSense
C) Visual Studio
D) Code Manager
A) Project Control
B) IntelliSense
C) Visual Studio
D) Code Manager
B,C
3
Which of the following color palettes for the BackColor and ForeColor properties is restricted to colors selected in other areas of the computer system?
A) Web palette
B) Custom palette
C) System palette
D) Artistic palette
A) Web palette
B) Custom palette
C) System palette
D) Artistic palette
C
4
The Normal attribute of the SizeMode property places the image in the ____ corner of the PictureBox object without any changes.
A) upper-left
B) upper-right
C) bottom-left
D) bottom-right
A) upper-left
B) upper-right
C) bottom-left
D) bottom-right
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
5
When the ____ property of an object is set to False,the object will not appear on the form when the program starts.
A) Visible
B) Display
C) Show
D) View
A) Visible
B) Display
C) Show
D) View
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
6
The Error List window will display the ____ number where the error was detected.
A) index
B) line
C) column
D) row
A) index
B) line
C) column
D) row
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following color palettes for the BackColor and ForeColor properties contains colors that are guaranteed to be displayed properly on every computer?
A) Artistic palette
B) Custom palette
C) System palette
D) Web palette
A) Artistic palette
B) Custom palette
C) System palette
D) Web palette
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
8
A ____ object is used to display a graphic image.
A) FormImage
B) PictureBox
C) BoxImage
D) Graphic
A) FormImage
B) PictureBox
C) BoxImage
D) Graphic
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
9
____ is a choice on the SizeMode list in the Properties window for PictureBox objects.
A) StretchImage
B) Normal
C) AutoSize
D) CenterImage
A) StretchImage
B) Normal
C) AutoSize
D) CenterImage
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
10
In the accompanying figure,clicking the ellipsis button at the end of the Image property of the PictureBox object will display the ____ dialog box.
A) Visuals
B) Select Resource
C) Graphics
D) Objects
A) Visuals
B) Select Resource
C) Graphics
D) Objects
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
11
As shown in the accompanying figure,the Image property of the ____ object is used to specify the image that will be displayed. 
A) Graphic
B) ClipArt
C) PictureBox
D) Visual

A) Graphic
B) ClipArt
C) PictureBox
D) Visual
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
12
The ____ option of the SizeMode property of the PictureBox object does not change the size of the image or the size of the PictureBox object,and places the image in the center of the PictureBox object.
A) AutoSize
B) CenterImage
C) Normal
D) Zoom
A) AutoSize
B) CenterImage
C) Normal
D) Zoom
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
13
The ____ property of an object controls the color of text that appears in the object.
A) TextColor
B) ContentColor
C) ObjectColor
D) ForeColor
A) TextColor
B) ContentColor
C) ObjectColor
D) ForeColor
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
14
The ____ option of the SizeMode property of the PictureBox object will adjust the size of the image to match the size of the PictureBox object.
A) AutoSize
B) CenterImage
C) StretchImage
D) Zoom
A) AutoSize
B) CenterImage
C) StretchImage
D) Zoom
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
15
The unit of measurement for a selected PictureBox object is ____.
A) picas
B) inches
C) pixels
D) millimeters
A) picas
B) inches
C) pixels
D) millimeters
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
16
The ____ option of the SizeMode property of the PictureBox object will increase or decrease the size of the PictureBox object to accommodate the size of the image.
A) CenterImage
B) Normal
C) AutoSize
D) Zoom
A) CenterImage
B) Normal
C) AutoSize
D) Zoom
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
17
The ____ attribute of the SizeMode property of a PictureBox object will enlarge or shrink the image.
A) Normal
B) Zoom
C) CenterImage
D) AutoSize
A) Normal
B) Zoom
C) CenterImage
D) AutoSize
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
18
Visual Studio 2012 offers three ____ of colors to use for the BackColor and ForeColor properties.
A) indices
B) grids
C) rosters
D) palettes
A) indices
B) grids
C) rosters
D) palettes
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
19
To make an image available for display in a PictureBox object,the image should be imported into the ____ folder.
A) Resources
B) Objects
C) Pictures
D) Forms
A) Resources
B) Objects
C) Pictures
D) Forms
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
20
To use an image in a program,the image first must be ____ into the program.
A) linked
B) attached
C) imported
D) synced
A) linked
B) attached
C) imported
D) synced
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
21
Comments are displayed (by default)with ____.
A) a green squiggly line
B) green text
C) blue text
D) a blue squiggly line
A) a green squiggly line
B) green text
C) blue text
D) a blue squiggly line
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
22
A button must be ____ in order for the user to click it and cause an event.
A) enabled
B) compiled
C) indexed
D) executed
A) enabled
B) compiled
C) indexed
D) executed
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
23
The ____ operator is used to separate an object name from the name of the property to set in a Visual Basic code statement.
A) assignment
B) dot
C) property
D) arithmetic
A) assignment
B) dot
C) property
D) arithmetic
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
24
When you tap or click the Start Debugging button,the program is ____ and saved,and then is run on the computer.
A) executed
B) linked
C) compiled
D) imported
A) executed
B) linked
C) compiled
D) imported
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
25
An event ____ takes care of the event that a user triggers by executing code that performs the required processing.
A) manager
B) executor
C) handler
D) guide
A) manager
B) executor
C) handler
D) guide
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
26
In the code editor,____ is used to indicate the location of an error.
A) blue text
B) a blue squiggly line
C) green text
D) a green squiggly line
A) blue text
B) a blue squiggly line
C) green text
D) a green squiggly line
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
27
____ error messages indicate coding errors detected by the compiler.
A) Run
B) Compile
C) Build
D) Executable
A) Run
B) Compile
C) Build
D) Executable
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
28
The Start Debugging button appears on the ____ toolbar.
A) Build
B) Standard
C) Compilation
D) Program
A) Build
B) Standard
C) Compilation
D) Program
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
29
The ____ feature displays all allowable entries you can make in a Visual Basic statement each time a dot,equal sign,or other special character required for the statement is typed.
A) AutoComplete
B) AutoSense
C) IntelliComplete
D) IntelliSense
A) AutoComplete
B) AutoSense
C) IntelliComplete
D) IntelliSense
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
30
When the ____ property of an object is set to False,the object will appear dimmed on the form.
A) Visible
B) Enabled
C) Targeted
D) Active
A) Visible
B) Enabled
C) Targeted
D) Active
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
31
____ comments appear at the beginning of the program,and contain the developer's name,the date,and the purpose of the program.
A) Final
B) Introductory
C) Inline
D) Same line
A) Final
B) Introductory
C) Inline
D) Same line
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
32
When a user activates a Button object on a form,the Button's ____ event occurs.
A) tap or click
B) activation
C) display
D) sync
A) tap or click
B) activation
C) display
D) sync
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
33
When you type the first few letters of the ____ name,IntelliSense displays a list of all the entries that can be specified in the statement.
A) object
B) character
C) indices
D) assignment
A) object
B) character
C) indices
D) assignment
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
34
A set of rules that specify how each code statement must be written is called the ____ of the programming language.
A) grammar
B) syntax
C) glossary
D) roster
A) grammar
B) syntax
C) glossary
D) roster
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
35
The first code written for an event should be ____ code.
A) assignment
B) comment
C) enabling
D) disabling
A) assignment
B) comment
C) enabling
D) disabling
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
36
Which of the following is the correct general format for assigning a value to a property?
A) propertyvalue = propertyname.objectname
B) propertyvalue = objectname.property
C) propertyname.objectname = propertyvalue
D) objectname.property = propertyvalue
A) propertyvalue = propertyname.objectname
B) propertyvalue = objectname.property
C) propertyname.objectname = propertyvalue
D) objectname.property = propertyvalue
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
37
When build errors occur,Visual Studio will display the errors in the ____ window.
A) Command
B) Error List
C) Output
D) Task
A) Command
B) Error List
C) Output
D) Task
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
38
A(n)____ statement is used to set the value of an object's property with the desired value.
A) comparison
B) logical
C) assignment
D) remastered
A) comparison
B) logical
C) assignment
D) remastered
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ is used in an assignment statement.
A) plus sign (+)
B) equal sign (=)
C) ampersand (&)
D) percent sign (%)
A) plus sign (+)
B) equal sign (=)
C) ampersand (&)
D) percent sign (%)
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
40
A(n)____ is used for denoting a comment statement.
A) semi-colon (;)
B) period (.)
C) apostrophe (')
D) comma (,)
A) semi-colon (;)
B) period (.)
C) apostrophe (')
D) comma (,)
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
41
Use the Print choice on the ____ menu to print the Visual Basic code.
A) File
B) Edit
C) View
D) Tools
A) File
B) Edit
C) View
D) Tools
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
42
The default value of the SizeMode property is CenterImage._________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
43
Image file names should not contain spaces.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
44
Changing the value of the Enabled property of an object in code statements can be used to make an object appear on the form during program execution._________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
45
The Disabled property controls whether an object can trigger an event.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
46
The AutoSize attribute of the SizeMode property of a PictureBox object may cause distortion of an image._________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
47
The forward slash (/)is used to identify a statement as a comment._________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
48
Good coding practice dictates that elements within a statement should be separated by a space to make the statement easier to read,even though the space is not required.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
49
The CenterImage attribute for the SizeMode property of a PictureBox object centers the image and stretches it to fit the PictureBox.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
50
The ImageCollection folder holds all the images that the program uses.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
51
A code handler is a section of the program that handles user actions by executing code.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
52
A Visual Basic 2012 coding statement contains instructions that the computer eventually executes.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
53
In order to write the code for an event handler,a developer first must identify the GUI object that will be used to trigger the event.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
54
A(n)____ document consists of a table that specifies an object in the user interface that will cause an event,the action taken by the user to trigger the event,and the event processing that must occur.
A) event handler
B) event planning
C) event coding
D) event specification
A) event handler
B) event planning
C) event coding
D) event specification
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
55
Open and close ____ immediately following the name of a procedure identify a Visual Basic statement as a procedure call statement.
A) curly braces
B) square brackets
C) quotation marks
D) parentheses
A) curly braces
B) square brackets
C) quotation marks
D) parentheses
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
56
A(n)____ means the user has initiated an action that causes the program to perform the type of processing called for by the user's action.
A) link
B) assignment
C) event
D) activation
A) link
B) assignment
C) event
D) activation
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
57
You should match a light BackColor with a light ForeColor property for the best usability.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
58
Programming code is the set of rules used to specify how each statement must be written.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
59
A set of braces at the end of a statement indicates that it is a procedure call statement._________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
60
The predefined ____ procedure will close the program.
A) Off
B) Sleep
C) Exit
D) Close
A) Off
B) Sleep
C) Exit
D) Close
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
61
The developer should not begin to write code until after the events and tasks within the events have been identified.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
62
The Coding Problem window identifies the number of errors that occurred during compilation and displays a description of each error.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
63
Programs written using a graphical user interface normally are event-driven programs.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
64
Using the ____________________ option of the SizeMode property of a PictureBox object may result in some distortion of the image.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
65
A comment can exist on the same line as a code statement if the comment is placed first and then followed by another apostrophe.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
66
The ____________________ of an object is the color that is displayed in its background.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
67
The ___________________ option of the SizeMode property adjusts the size of the PictureBox object to fit the image precisely.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
68
The use of IntelliSense is the standard within the software industry.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
69
In Visual Basic,capitalization of words is important.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
70
IntelliSense allows you to type the first few letters of an object name,and then it displays a list of all the entries that can be specified in the statement.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
71
The Enabled property has the same effect on a GUI object as the Visible property.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
72
The ____________________ property of the PictureBox object determines the manner in which an image is displayed in a PictureBox object.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
73
The ____________________ option of the SizeMode property of a PictureBox object will increase or decrease the image size to make it fit into the PictureBox object.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
74
Even if some entries within a program statement are not correct,the program will still compile.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
75
Visual Studio 2012 provides a tool to print the user interface designed in the application.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
76
In an assignment statement,the value appearing on the right of the equal sign receives the value of the object appearing to the left of the equal sign.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
77
An event planning document details each object in the user interface that will trigger an event and what actions will be taken when that event occurs.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
78
The property value specified in an assignment statement must be a valid value for the property identified on the left side of the equal sign.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
79
The event planning document describes what processing must occur for each event as well as the manner in which to accomplish it.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
80
The only valid procedures are the prewritten procedures included in Visual Studio 2012.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck