Deck 2: An Introduction to Visual Basic 2015

Full screen (f)
exit full mode
Question
Each object has a set of ____ that determine its appearance and behavior.

A) properties
B) instances
C) classes
D) tools
Use Space or
up arrow
down arrow
to flip the card.
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
A(n) ____ file is a file that contains program instructions, called code.

A) properties
B) key
C) interface
D) source
Question
The extension ____ on a filename indicates that the file is a Visual Basic source file.

A) .vs
B) .vc
C) .vb
D) .vbproj
Question
A(n) ____ is anything that can be seen, touched, or used.

A) method
B) class
C) program
D) object
Question
Windows applications created in Visual Studio 2015 are composed of solutions, projects, instructions, and files.
Question
A ____ is the foundation for the user interface in a Windows application.

A) table
B) layer
C) form
D) file
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
Every object used in an object-oriented program is created from an instance.
Question
An index is a word that has a special meaning in a programming language.
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
A set of parentheses are required when calling some Visual Basic methods.
Question
The ____ menu provides options for aligning and sizing two or more controls, as well as centering one or more controls on the form.

A) Align
B) Format
C) Layout
D) Setup
Question
A method is a predefined Visual Basic procedure that you can call (or invoke) when needed.
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
Visual Basic 2015 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
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
Each namespace in Visual Studio 2015 contains the code that defines a group of related ____.

A) classes
B) objects
C) projects
D) solutions
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
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
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
The ____________________ contains the tools you use when creating your application's user interface.
Question
An application that has a Web user interface and runs on a server is called a(n) ____________________ application.
Question
How can you assign a value to a property?
Question
Visual Basic 2015 is an object-oriented programming language, which is a language that allows the programmer to use ____________________ to accomplish a program's goal.
Question
The assignment operator is ____.

A) *
B) >>
C) &
D) =
Question
What is the difference between a solution and a project?
Question
What are the ways to end (or close) a running application?
Question
A procedure footer contains the keywords ____.

A) Exit
B) Close Sub
C) Stop
D) End Sub
Question
Why should you always print out a copy of your application's code?
Question
What are two ways of saving a solution?
Question
The ____ instruction tells the computer to close the current form.

A) Me.Close()
B) Me.Exit()
C) This.Close()
D) This.Exit()
Question
What are the ways to start an application?
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
The ____ is a set of Visual Basic instructions that are processed only when the event occurs.

A) Method procedure
B) Class
C) Event
D) Event procedure
Question
What is a sequence structure?
Question
With respect to opening and closing a window in the IDE, describe the use of the auto-hide feature.
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
How do you prevent controls on a form from being moved inadvertently?
Question
Match between columns
A block of code that performs a specific task.
control
A block of code that performs a specific task.
dot member access operator
A block of code that performs a specific task.
event procedure
A block of code that performs a specific task.
class
A block of code that performs a specific task.
event
A block of code that performs a specific task.
sub procedure
A block of code that performs a specific task.
object
A block of code that performs a specific task.
Windows Form Designer window
A block of code that performs a specific task.
sequential processing
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
control
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
dot member access operator
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
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.
class
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
event
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
sub procedure
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
object
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
Windows Form Designer window
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
sequential processing
Used to create a graphical user interface
control
Used to create a graphical user interface
dot member access operator
Used to create a graphical user interface
event procedure
Used to create a graphical user interface
class
Used to create a graphical user interface
event
Used to create a graphical user interface
sub procedure
Used to create a graphical user interface
object
Used to create a graphical user interface
Windows Form Designer window
Used to create a graphical user interface
sequential processing
An object, such as a label or button, that is added to a form.
control
An object, such as a label or button, that is added to a form.
dot member access operator
An object, such as a label or button, that is added to a form.
event procedure
An object, such as a label or button, that is added to a form.
class
An object, such as a label or button, that is added to a form.
event
An object, such as a label or button, that is added to a form.
sub procedure
An object, such as a label or button, that is added to a form.
object
An object, such as a label or button, that is added to a form.
Windows Form Designer window
An object, such as a label or button, that is added to a form.
sequential processing
A pattern used to create an object
control
A pattern used to create an object
dot member access operator
A pattern used to create an object
event procedure
A pattern used to create an object
class
A pattern used to create an object
event
A pattern used to create an object
sub procedure
A pattern used to create an object
object
A pattern used to create an object
Windows Form Designer window
A pattern used to create an object
sequential processing
Indicates a hierarchy of namespaces.
control
Indicates a hierarchy of namespaces.
dot member access operator
Indicates a hierarchy of namespaces.
event procedure
Indicates a hierarchy of namespaces.
class
Indicates a hierarchy of namespaces.
event
Indicates a hierarchy of namespaces.
sub procedure
Indicates a hierarchy of namespaces.
object
Indicates a hierarchy of namespaces.
Windows Form Designer window
Indicates a hierarchy of namespaces.
sequential processing
The set of Visual Basic instructions that are processed only when the event occurs.
control
The set of Visual Basic instructions that are processed only when the event occurs.
dot member access operator
The set of Visual Basic instructions that are processed only when the event occurs.
event procedure
The set of Visual Basic instructions that are processed only when the event occurs.
class
The set of Visual Basic instructions that are processed only when the event occurs.
event
The set of Visual Basic instructions that are processed only when the event occurs.
sub procedure
The set of Visual Basic instructions that are processed only when the event occurs.
object
The set of Visual Basic instructions that are processed only when the event occurs.
Windows Form Designer window
The set of Visual Basic instructions that are processed only when the event occurs.
sequential processing
An action of the user, such as clicking, double-clicking, and scrolling.
control
An action of the user, such as clicking, double-clicking, and scrolling.
dot member access operator
An action of the user, such as clicking, double-clicking, and scrolling.
event procedure
An action of the user, such as clicking, double-clicking, and scrolling.
class
An action of the user, such as clicking, double-clicking, and scrolling.
event
An action of the user, such as clicking, double-clicking, and scrolling.
sub procedure
An action of the user, such as clicking, double-clicking, and scrolling.
object
An action of the user, such as clicking, double-clicking, and scrolling.
Windows Form Designer window
An action of the user, such as clicking, double-clicking, and scrolling.
sequential processing
Anything that can be seen, touched, or used
control
Anything that can be seen, touched, or used
dot member access operator
Anything that can be seen, touched, or used
event procedure
Anything that can be seen, touched, or used
class
Anything that can be seen, touched, or used
event
Anything that can be seen, touched, or used
sub procedure
Anything that can be seen, touched, or used
object
Anything that can be seen, touched, or used
Windows Form Designer window
Anything that can be seen, touched, or used
sequential processing
Question
What are two ways you can find more information on syntax errors in a program?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/42
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: An Introduction to Visual Basic 2015
1
Each object has a set of ____ that determine its appearance and behavior.

A) properties
B) instances
C) classes
D) tools
A
2
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
D
3
A(n) ____ file is a file that contains program instructions, called code.

A) properties
B) key
C) interface
D) source
D
4
The extension ____ on a filename indicates that the file is a Visual Basic source file.

A) .vs
B) .vc
C) .vb
D) .vbproj
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
5
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 42 flashcards in this deck.
Unlock Deck
k this deck
6
Windows applications created in Visual Studio 2015 are composed of solutions, projects, instructions, and files.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
7
A ____ is the foundation for the user interface in a Windows application.

A) table
B) layer
C) form
D) file
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
8
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 42 flashcards in this deck.
Unlock Deck
k this deck
9
Every object used in an object-oriented program is created from an instance.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
10
An index is a word that has a special meaning in a programming language.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
11
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 42 flashcards in this deck.
Unlock Deck
k this deck
12
A set of parentheses are required when calling some Visual Basic methods.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
13
The ____ menu provides options for aligning and sizing two or more controls, as well as centering one or more controls on the form.

A) Align
B) Format
C) Layout
D) Setup
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
14
A method is a predefined Visual Basic procedure that you can call (or invoke) when needed.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
15
____ 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 42 flashcards in this deck.
Unlock Deck
k this deck
16
Visual Basic 2015 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 42 flashcards in this deck.
Unlock Deck
k this deck
17
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 42 flashcards in this deck.
Unlock Deck
k this deck
18
Each namespace in Visual Studio 2015 contains the code that defines a group of related ____.

A) classes
B) objects
C) projects
D) solutions
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
19
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 42 flashcards in this deck.
Unlock Deck
k this deck
20
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 42 flashcards in this deck.
Unlock Deck
k this deck
21
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 42 flashcards in this deck.
Unlock Deck
k this deck
22
The ____________________ contains the tools you use when creating your application's user interface.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
23
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 42 flashcards in this deck.
Unlock Deck
k this deck
24
How can you assign a value to a property?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
25
Visual Basic 2015 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 42 flashcards in this deck.
Unlock Deck
k this deck
26
The assignment operator is ____.

A) *
B) >>
C) &
D) =
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
27
What is the difference between a solution and a project?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
28
What are the ways to end (or close) a running application?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
29
A procedure footer contains the keywords ____.

A) Exit
B) Close Sub
C) Stop
D) End Sub
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
30
Why should you always print out a copy of your application's code?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
31
What are two ways of saving a solution?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
32
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 42 flashcards in this deck.
Unlock Deck
k this deck
33
What are the ways to start an application?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
34
The first line in the code template is called the ____________________.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
35
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 42 flashcards in this deck.
Unlock Deck
k this deck
36
The ____ is a set of Visual Basic instructions that are processed only when the event occurs.

A) Method procedure
B) Class
C) Event
D) Event procedure
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
37
What is a sequence structure?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
38
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 42 flashcards in this deck.
Unlock Deck
k this deck
39
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 42 flashcards in this deck.
Unlock Deck
k this deck
40
How do you prevent controls on a form from being moved inadvertently?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
41
Match between columns
A block of code that performs a specific task.
control
A block of code that performs a specific task.
dot member access operator
A block of code that performs a specific task.
event procedure
A block of code that performs a specific task.
class
A block of code that performs a specific task.
event
A block of code that performs a specific task.
sub procedure
A block of code that performs a specific task.
object
A block of code that performs a specific task.
Windows Form Designer window
A block of code that performs a specific task.
sequential processing
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
control
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
dot member access operator
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
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.
class
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
event
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
sub procedure
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
object
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
Windows Form Designer window
When the computer processes the instructions shown in a procedure one after another in the order in which they appear in the procedure.
sequential processing
Used to create a graphical user interface
control
Used to create a graphical user interface
dot member access operator
Used to create a graphical user interface
event procedure
Used to create a graphical user interface
class
Used to create a graphical user interface
event
Used to create a graphical user interface
sub procedure
Used to create a graphical user interface
object
Used to create a graphical user interface
Windows Form Designer window
Used to create a graphical user interface
sequential processing
An object, such as a label or button, that is added to a form.
control
An object, such as a label or button, that is added to a form.
dot member access operator
An object, such as a label or button, that is added to a form.
event procedure
An object, such as a label or button, that is added to a form.
class
An object, such as a label or button, that is added to a form.
event
An object, such as a label or button, that is added to a form.
sub procedure
An object, such as a label or button, that is added to a form.
object
An object, such as a label or button, that is added to a form.
Windows Form Designer window
An object, such as a label or button, that is added to a form.
sequential processing
A pattern used to create an object
control
A pattern used to create an object
dot member access operator
A pattern used to create an object
event procedure
A pattern used to create an object
class
A pattern used to create an object
event
A pattern used to create an object
sub procedure
A pattern used to create an object
object
A pattern used to create an object
Windows Form Designer window
A pattern used to create an object
sequential processing
Indicates a hierarchy of namespaces.
control
Indicates a hierarchy of namespaces.
dot member access operator
Indicates a hierarchy of namespaces.
event procedure
Indicates a hierarchy of namespaces.
class
Indicates a hierarchy of namespaces.
event
Indicates a hierarchy of namespaces.
sub procedure
Indicates a hierarchy of namespaces.
object
Indicates a hierarchy of namespaces.
Windows Form Designer window
Indicates a hierarchy of namespaces.
sequential processing
The set of Visual Basic instructions that are processed only when the event occurs.
control
The set of Visual Basic instructions that are processed only when the event occurs.
dot member access operator
The set of Visual Basic instructions that are processed only when the event occurs.
event procedure
The set of Visual Basic instructions that are processed only when the event occurs.
class
The set of Visual Basic instructions that are processed only when the event occurs.
event
The set of Visual Basic instructions that are processed only when the event occurs.
sub procedure
The set of Visual Basic instructions that are processed only when the event occurs.
object
The set of Visual Basic instructions that are processed only when the event occurs.
Windows Form Designer window
The set of Visual Basic instructions that are processed only when the event occurs.
sequential processing
An action of the user, such as clicking, double-clicking, and scrolling.
control
An action of the user, such as clicking, double-clicking, and scrolling.
dot member access operator
An action of the user, such as clicking, double-clicking, and scrolling.
event procedure
An action of the user, such as clicking, double-clicking, and scrolling.
class
An action of the user, such as clicking, double-clicking, and scrolling.
event
An action of the user, such as clicking, double-clicking, and scrolling.
sub procedure
An action of the user, such as clicking, double-clicking, and scrolling.
object
An action of the user, such as clicking, double-clicking, and scrolling.
Windows Form Designer window
An action of the user, such as clicking, double-clicking, and scrolling.
sequential processing
Anything that can be seen, touched, or used
control
Anything that can be seen, touched, or used
dot member access operator
Anything that can be seen, touched, or used
event procedure
Anything that can be seen, touched, or used
class
Anything that can be seen, touched, or used
event
Anything that can be seen, touched, or used
sub procedure
Anything that can be seen, touched, or used
object
Anything that can be seen, touched, or used
Windows Form Designer window
Anything that can be seen, touched, or used
sequential processing
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
42
What are two ways you can find more information on syntax errors in a program?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 42 flashcards in this deck.