Deck 1: An Introduction to Visual Basic 2015
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/60
Play
Full screen (f)
Deck 1: An Introduction to Visual Basic 2015
1
When you click the Auto Hide button on a window, the window is minimized and appears as a tab on the edge of the IDE.
True
2
A source file contains a list of projects in a solution.
False
3
The title bar on a form cannot be removed from splash screen applications.
False
4
The Label tool is an appropriate control to use when you do not want the user to modify data.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
5
A user ____ is what the user sees and interacts with while an application is running.
A) service
B) profile
C) splash
D) interface
A) service
B) profile
C) splash
D) interface
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
6
The Properties window lists the names of the files included in the application you are creating.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
7
A ____ is the general shape of the characters in the text.
A) property
B) splash
C) format
D) font
A) property
B) splash
C) format
D) font
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
8
Actions performed by the user such as clicking, double-clicking, and scrolling are known as events.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
9
To size a form using the keyboard, you can select the form and press and hold the ____ key(s), and then press one of the arrow keys on the keyboard.
A) Shift
B) Ctrl
C) Alt
D) Ctrl+Shift
A) Shift
B) Ctrl
C) Alt
D) Ctrl+Shift
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
10
Each object has a set of attributes, called ____, that determine the object's appearance and behavior.
A) codes
B) events
C) global settings
D) properties
A) codes
B) events
C) global settings
D) properties
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
11
The position of the form on the screen when an application first starts is controlled by setting the ____ property.
A) Position
B) Size
C) Location
D) StartPosition
A) Position
B) Size
C) Location
D) StartPosition
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
12
When you click the ellipsis (...) button in the Settings box of the Font property, ____.
A) a list of font styles appears
B) a color palette appears
C) a dialog box opens
D) the attribute is removed
A) a list of font styles appears
B) a color palette appears
C) a dialog box opens
D) the attribute is removed
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
13
All objects in an object-oriented program are instantiated (created) from a ____.
A) object
B) method
C) class
D) source
A) object
B) method
C) class
D) source
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
14
If a solution is already open in the IDE, you are given the option to close the current solution before another solution is opened.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
15
The Solution Explorer window ____.
A) displays a list of the projects contained in the current solution
B) displays data connections and servers
C) displays items that you can use when creating a project
D) displays the classes, methods, and properties included in a solution
A) displays a list of the projects contained in the current solution
B) displays data connections and servers
C) displays items that you can use when creating a project
D) displays the classes, methods, and properties included in a solution
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
16
A class definition is a block of code that specifies or defines an object's appearance and behavior.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
17
When an object is instantiated (created), each property must be assigned a value by the programmer.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
18
The Project Designer window allows you to specify which form will display when the application starts.
Unlock Deck
Unlock for access to all 60 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) window
B) solution
C) interface
D) package
A) window
B) solution
C) interface
D) package
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
20
The Windows ____ window allows you to create the graphical user interface for your application.
A) Property
B) Solution Designer
C) Designer
D) Form Designer
A) Property
B) Solution Designer
C) Designer
D) Form Designer
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
21
When an application is started, Visual Basic 2015 will automatically create a file that has the project name and a(n) ____ file extension.
A) .dll
B) .exe
C) .sln
D) .suo
A) .dll
B) .exe
C) .sln
D) .suo
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
22
A(n) ____ is a block of code that performs a specific task.
A) event
B) form
C) class
D) sub procedure
A) event
B) form
C) class
D) sub procedure
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is an example of an appropriate name for a control?
A) BtnMessage
B) btnExit
C) labelmessage
D) housepicturebox
A) BtnMessage
B) btnExit
C) labelmessage
D) housepicturebox
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
24
In Windows applications, a ____ control is commonly used to perform an immediate action when clicked.
A) System
B) Windows
C) Forms
D) Button
A) System
B) Windows
C) Forms
D) Button
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
25
The file within a Visual Basic application that can be run outside of the IDE has a(n) ____ file extension.
A) .sln
B) .vb
C) .exe
D) .src
A) .sln
B) .vb
C) .exe
D) .src
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
26
When a timer control is added to a form, it appears ____.
A) at the location you placed the mouse pointer on the form
B) on the Title bar
C) in the component tray
D) in the lower-right corner of the form
A) at the location you placed the mouse pointer on the form
B) on the Title bar
C) in the component tray
D) in the lower-right corner of the form
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
27
To start an application using the menu bar, you click ____ and then click Start Debugging.
A) DEBUG
B) PROJECT
C) VIEW
D) BUILD
A) DEBUG
B) PROJECT
C) VIEW
D) BUILD
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
28
To verify that a solution has been closed, you can look in the ____.
A) Class View
B) Server Explorer
C) Start Page
D) Solution Explorer
A) Class View
B) Server Explorer
C) Start Page
D) Solution Explorer
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
29
A(n) ____ is a predefined procedure that you can call (or invoke) when needed.
A) method
B) object
C) class
D) event
A) method
B) object
C) class
D) event
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
30
The location of a control on the screen can be modified by changing the X and Y properties measured in pixels. The Y value is measured from the ____ border.
A) left
B) right
C) top
D) bottom
A) left
B) right
C) top
D) bottom
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
31
The location of a control on the screen can be modified by changing the X and Y properties measured in pixels. The X value is measured from the ____ border.
A) left
B) right
C) top
D) bottom
A) left
B) right
C) top
D) bottom
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
32
The ____ function key will start a Visual Basic 2015 application in the IDE.
A) F2
B) F3
C) F4
D) F5
A) F2
B) F3
C) F4
D) F5
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
33
The set of Visual Basic instructions that tells an object how to behave after an action by the user (such as clicking a button) is referred to as a(n) ____.
A) sub-program
B) event procedure
C) object function
D) subroutine
A) sub-program
B) event procedure
C) object function
D) subroutine
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
34
A Visual Basic 2015 solution file will have a(n) ____ file extension.
A) .net
B) .app
C) .frm
D) .sln
A) .net
B) .app
C) .frm
D) .sln
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following is a true statement?
A) The Me.Close() instruction should be coded in a timer control's Tick event procedure if an Exit button is not provided.
B) By default, the size of a form cannot be changed by a user while an application is running.
C) The title bar cannot be removed from an application.
D) The Minimize button can be removed from the title bar without removing the Maximize button from the title bar.
A) The Me.Close() instruction should be coded in a timer control's Tick event procedure if an Exit button is not provided.
B) By default, the size of a form cannot be changed by a user while an application is running.
C) The title bar cannot be removed from an application.
D) The Minimize button can be removed from the title bar without removing the Maximize button from the title bar.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
36
The Toolbox window ____.
A) displays the names of projects and files included in a solution
B) displays data connections and servers
C) displays the tools you use when creating your application's interface
D) displays the classes, methods, and properties included in a solution
A) displays the names of projects and files included in a solution
B) displays data connections and servers
C) displays the tools you use when creating your application's interface
D) displays the classes, methods, and properties included in a solution
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
37
A label control's ____ property determines the value that appears inside the control.
A) Caption
B) Label
C) Text
D) Values
A) Caption
B) Label
C) Text
D) Values
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
38
You enter the procedure's code in the ____ window.
A) Code Editor
B) Server
C) Solution
D) Designer
A) Code Editor
B) Server
C) Solution
D) Designer
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
39
To align two or more selected controls along their left, right, top, or bottom borders, you would use the ____ menu.
A) Edit
B) Format
C) Align
D) View
A) Edit
B) Format
C) Align
D) View
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
40
When you want the application to end when the user clicks the Exit button, you write the following code: ____.
A) Me.Stop()
B) Me.Close()
C) Me.Terminate()
D) Me.End()
A) Me.Stop()
B) Me.Close()
C) Me.Terminate()
D) Me.End()
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
41
Define a source file and describe how it relates to a form file. Provide an example of a source file name, including the appropriate file extension.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
42
Case-Based Critical Thinking Questions Case 1
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
Anyone using the application does not need to change the size of the form, so you must set the FormBorderStyle property to ____.
A) FixedSingle
B) Sizable
C) Zero
D) False
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
Anyone using the application does not need to change the size of the form, so you must set the FormBorderStyle property to ____.
A) FixedSingle
B) Sizable
C) Zero
D) False
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
43
What is the Windows Form Designer window? Describe how it is used in Visual Studio 2015.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
44
Explain the difference between a solution and a project.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
45
If a control is deleted from a form, is the related code for the control also deleted? Explain.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
46
What is a button control? Provide two examples of common button controls found in Windows applications.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
47
What does it mean when an asterisk (*) sometimes appears on the Windows Form Designer window? When it appears, what should you do to remove it?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
48
What is the Toolbox window? Describe how it is used in Visual Studio 2015.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
49
Case-Based Critical Thinking Questions Case 1
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
If a timer control is used to display the office image and company logo for five seconds, you will need to set the timer's Interval property to ____.
A) 5
B) 50
C) 500
D) 5000
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
If a timer control is used to display the office image and company logo for five seconds, you will need to set the timer's Interval property to ____.
A) 5
B) 50
C) 500
D) 5000
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
50
What is the Solution Explorer window? Describe how it is used in Visual Studio 2015.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
51
Case-Based Critical Thinking Questions Case 1
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
To create the Windows application for Ridgeline, you will first need to ____.
A) auto-hide any windows you do not need to use
B) set the StartPosition for the form
C) create a New Project and determine the directory for the solution
D) code the Exit button
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
To create the Windows application for Ridgeline, you will first need to ____.
A) auto-hide any windows you do not need to use
B) set the StartPosition for the form
C) create a New Project and determine the directory for the solution
D) code the Exit button
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
52
Why should you print a copy of your application's code and user interface?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
53
Case-Based Critical Thinking Questions Case 1
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
The most effective way to accomplish this task is to create a(n) ____.
A) PictureBox control
B) splash screen
C) Label control
D) Exit button
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
The most effective way to accomplish this task is to create a(n) ____.
A) PictureBox control
B) splash screen
C) Label control
D) Exit button
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
54
Case-Based Critical Thinking Questions Case 1
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
An example of a valid value for the form's Name property is ____.
A) form Ridgeline
B) formridgeline
C) Ridgeline
D) frmRidgeline
You have been hired to develop an application for Ridgeline Realty, a local real estate agency. The owner wants the application to display an image of the main office and the company logo on the screen for a short period of time before the main application begins.
An example of a valid value for the form's Name property is ____.
A) form Ridgeline
B) formridgeline
C) Ridgeline
D) frmRidgeline
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
55
Describe the use of the Format menu and controls on the form.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
56
What is a startup form? Describe the steps used to define it for an application.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
57
List the properties of a form that can be used to remove three standard title bar elements, including the title bar.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
58
What is a label control? Explain how it is used on a form.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
59
How is a timer control used in an application? Provide one example.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
60
What is the Properties window? Describe how it is used in Visual Studio 2015.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck