Deck 1: An Introduction to Visual Basic 2012

Full screen (f)
exit full mode
Question
The extension ____ on a filename indicates that the file is a Visual Basic source file.

A) .vs
B) .vc
C) .vb
D) .vbproj
Use Space or
up arrow
down arrow
to flip the card.
Question
A method is a predefined Visual Basic procedure that you can call (or invoke) when needed.
Question
A(n) ____ file is a file that contains program instructions, called code.

A) properties
B) key
C) interface
D) source
Question
A ____ is the foundation for the user interface in a Windows-based application.

A) table
B) layer
C) form
D) file
Question
A(n) ____ is what the user sees and interacts with while an application is running.

A) user interface
B) application class
C) translator
D) interpreter
Question
In Windows applications, a ____ control is commonly used to perform an immediate action when clicked.

A) list box
B) text box
C) label
D) button
Question
Every object used in an object-oriented program is created from an instance.
Question
A(n) ____ is anything that can be seen, touched, or used.

A) method
B) class
C) program
D) object
Question
Each object has a set of ____ that determine its appearance and behavior.

A) properties
B) instances
C) classes
D) tools
Question
Every object used in an object-oriented program is created from a ____, which is a pattern or blueprint that the computer uses to create the object.

A) method
B) token
C) class
D) program
Question
A(n) ____ is an environment that contains all of the tools and features you need to create, run, and test your programs.

A) OOP
B) OOD
C) IDE
D) CLR
Question
An index is a word that has a special meaning in a programming language.
Question
A(n) ____ file refers to a file that contains the code associated with a Windows form.

A) form
B) interface
C) properties
D) source
Question
Windows applications created in Visual Studio 2012 are composed of solutions, projects, instructions, and files.
Question
A set of parentheses are required when calling some Visual Basic methods.
Question
The ____ list box lists the events to which the selected object is capable of responding.

A) Method Name
B) Class Name
C) Event Name
D) Event Procedure
Question
Each namespace in Visual Studio 2012 contains the code that defines a group of related ____.

A) classes
B) objects
C) projects
D) solutions
Question
____ controls are used in an interface to identify the contents of other controls, such as the contents of text boxes and list boxes.

A) List box
B) Text box
C) Button
D) Label
Question
A(n) ____ is a container that stores the projects and files for an entire application.

A) class
B) object
C) solution
D) library
Question
Visual Basic 2012 is a(n) ____ programming language, which is a language that allows the programmer to use objects to accomplish a program's goal.

A) goal-based
B) object-oriented
C) object-based
D) goal-oriented
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Indicates a hierarchy of namespaces.
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Used to create a graphical user interface
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
A block of code that performs a specific task.
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
An action of the user, such as clicking, double-clicking, and scrolling.
Question
When you start a Visual Basic application, the computer automatically creates a file, called a(n) ____ file, that can be run outside of the IDE.

A) source
B) executable
C) sequential
D) Web
Question
Visual Basic 2012 is an object-oriented programming language, which is a language that allows the programmer to use ____________________ to accomplish a program's goal.
Question
The ____________________ contains the tools you use when creating your application's user interface.
Question
The assignment operator is ____.

A) *
B) >>
C) &
D) =
Question
The first line in the code template is called the ____________________.
Question
The ____________________ window displays a list of the projects contained in the current solution and the items contained in each project.
Question
An application that has a Web user interface and runs on a server is called a(n) ____________________ application.
Question
The ____ form is the form that the computer automatically displays each time the application is started.

A) log-in
B) interface
C) basic
D) startup
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
The set of Visual Basic instructions that are processed only when the event occurs.
Question
The ____ instruction tells the computer to close the current form.

A) Me.Close()
B) Me.Exit()
C) This.Close()
D) This.Exit()
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
An object, such as a label or button, that is added to a form.
Question
A procedure footer contains the keywords ____.

A) Exit
B) Close Sub
C) Stop
D) End Sub
Question
The ____ list box of the Code Editor window lists the names of the objects included in the user interface.

A) Method Name
B) Class Name
C) Event Name
D) Event Procedure
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Anything that can be seen, touched, or used
Question
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
A pattern used to create an object
Question
What is the difference between a solution and a project?
Question
What is a sequence structure?
Question
Why should you always print out a copy of your application's code?
Question
What are two ways of saving a solution?
Question
What are the ways to end (or close) a running application?
Question
What are the ways to start an application?
Question
How do you prevent controls on a form from being moved inadvertently?
Question
What are two ways you can find more information on syntax errors in a program?
Question
With respect to opening and closing a window in the IDE, describe the use of the auto-hide feature.
Question
In what formats is Visual Basic 2012 available?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: An Introduction to Visual Basic 2012
1
The extension ____ on a filename indicates that the file is a Visual Basic source file.

A) .vs
B) .vc
C) .vb
D) .vbproj
C
2
A method is a predefined Visual Basic procedure that you can call (or invoke) when needed.
True
3
A(n) ____ file is a file that contains program instructions, called code.

A) properties
B) key
C) interface
D) source
D
4
A ____ is the foundation for the user interface in a Windows-based application.

A) table
B) layer
C) form
D) file
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
A(n) ____ is what the user sees and interacts with while an application is running.

A) user interface
B) application class
C) translator
D) interpreter
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
In Windows applications, a ____ control is commonly used to perform an immediate action when clicked.

A) list box
B) text box
C) label
D) button
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
Every object used in an object-oriented program is created from an instance.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
A(n) ____ is anything that can be seen, touched, or used.

A) method
B) class
C) program
D) object
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
Each object has a set of ____ that determine its appearance and behavior.

A) properties
B) instances
C) classes
D) tools
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Every object used in an object-oriented program is created from a ____, which is a pattern or blueprint that the computer uses to create the object.

A) method
B) token
C) class
D) program
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
A(n) ____ is an environment that contains all of the tools and features you need to create, run, and test your programs.

A) OOP
B) OOD
C) IDE
D) CLR
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
An index is a word that has a special meaning in a programming language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) ____ file refers to a file that contains the code associated with a Windows form.

A) form
B) interface
C) properties
D) source
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Windows applications created in Visual Studio 2012 are composed of solutions, projects, instructions, and files.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
A set of parentheses are required when calling some Visual Basic methods.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
The ____ list box lists the events to which the selected object is capable of responding.

A) Method Name
B) Class Name
C) Event Name
D) Event Procedure
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
Each namespace in Visual Studio 2012 contains the code that defines a group of related ____.

A) classes
B) objects
C) projects
D) solutions
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
____ controls are used in an interface to identify the contents of other controls, such as the contents of text boxes and list boxes.

A) List box
B) Text box
C) Button
D) Label
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
A(n) ____ is a container that stores the projects and files for an entire application.

A) class
B) object
C) solution
D) library
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Visual Basic 2012 is a(n) ____ programming language, which is a language that allows the programmer to use objects to accomplish a program's goal.

A) goal-based
B) object-oriented
C) object-based
D) goal-oriented
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Indicates a hierarchy of namespaces.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Used to create a graphical user interface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
A block of code that performs a specific task.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
An action of the user, such as clicking, double-clicking, and scrolling.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
When you start a Visual Basic application, the computer automatically creates a file, called a(n) ____ file, that can be run outside of the IDE.

A) source
B) executable
C) sequential
D) Web
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Visual Basic 2012 is an object-oriented programming language, which is a language that allows the programmer to use ____________________ to accomplish a program's goal.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
The ____________________ contains the tools you use when creating your application's user interface.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
The assignment operator is ____.

A) *
B) >>
C) &
D) =
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The first line in the code template is called the ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
The ____________________ window displays a list of the projects contained in the current solution and the items contained in each project.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
An application that has a Web user interface and runs on a server is called a(n) ____________________ application.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
The ____ form is the form that the computer automatically displays each time the application is started.

A) log-in
B) interface
C) basic
D) startup
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
The set of Visual Basic instructions that are processed only when the event occurs.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The ____ instruction tells the computer to close the current form.

A) Me.Close()
B) Me.Exit()
C) This.Close()
D) This.Exit()
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
An object, such as a label or button, that is added to a form.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
A procedure footer contains the keywords ____.

A) Exit
B) Close Sub
C) Stop
D) End Sub
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
The ____ list box of the Code Editor window lists the names of the objects included in the user interface.

A) Method Name
B) Class Name
C) Event Name
D) Event Procedure
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
Anything that can be seen, touched, or used
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Match each item with a statement below.
a.event
f.dot member access operator
b.class
g.sequential processing
c.control
h.sub procedure
d.Windows Form Designer window
i.object
e.event procedure
A pattern used to create an object
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What is the difference between a solution and a project?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
What is a sequence structure?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Why should you always print out a copy of your application's code?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What are two ways of saving a solution?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What are the ways to end (or close) a running application?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
What are the ways to start an application?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
How do you prevent controls on a form from being moved inadvertently?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
What are two ways you can find more information on syntax errors in a program?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
With respect to opening and closing a window in the IDE, describe the use of the auto-hide feature.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
In what formats is Visual Basic 2012 available?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.