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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/44
Play
Full screen (f)
Deck 1: An Introduction to Visual Basic 2015
1
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
D
2
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
B
3
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
A
4
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 44 flashcards in this deck.
Unlock Deck
k this deck
5
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 44 flashcards in this deck.
Unlock Deck
k this deck
6
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 44 flashcards in this deck.
Unlock Deck
k this deck
7
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 44 flashcards in this deck.
Unlock Deck
k this deck
8
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.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
9
The title bar on a form cannot be removed from splash screen applications.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
10
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 44 flashcards in this deck.
Unlock Deck
k this deck
11
Actions performed by the user such as clicking,double-clicking,and scrolling are known as events.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
12
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 44 flashcards in this deck.
Unlock Deck
k this deck
13
A source file contains a list of projects in a solution.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
14
The Properties window lists the names of the files included in the application you are creating.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
15
The Project Designer window allows you to specify which form will display when the application starts.
Unlock Deck
Unlock for access to all 44 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 44 flashcards in this deck.
Unlock Deck
k this deck
17
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 44 flashcards in this deck.
Unlock Deck
k this deck
18
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 44 flashcards in this deck.
Unlock Deck
k this deck
19
When an object is instantiated (created),each property must be assigned a value by the programmer.
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
20
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 44 flashcards in this deck.
Unlock Deck
k this deck
21
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 44 flashcards in this deck.
Unlock Deck
k this deck
22
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 44 flashcards in this deck.
Unlock Deck
k this deck
23
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 44 flashcards in this deck.
Unlock Deck
k this deck
24
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 44 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 44 flashcards in this deck.
Unlock Deck
k this deck
26
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 44 flashcards in this deck.
Unlock Deck
k this deck
27
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 44 flashcards in this deck.
Unlock Deck
k this deck
28
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 44 flashcards in this deck.
Unlock Deck
k this deck
29
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 44 flashcards in this deck.
Unlock Deck
k this deck
30
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 44 flashcards in this deck.
Unlock Deck
k this deck
31
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 44 flashcards in this deck.
Unlock Deck
k this deck
32
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 44 flashcards in this deck.
Unlock Deck
k this deck
33
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 44 flashcards in this deck.
Unlock Deck
k this deck
34
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 44 flashcards in this deck.
Unlock Deck
k this deck
35
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 44 flashcards in this deck.
Unlock Deck
k this deck
36
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 44 flashcards in this deck.
Unlock Deck
k this deck
37
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 44 flashcards in this deck.
Unlock Deck
k this deck
38
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 44 flashcards in this deck.
Unlock Deck
k this deck
39
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
A)PictureBox control
B)splash screen
C)Label control
D)Exit button
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
40
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 44 flashcards in this deck.
Unlock Deck
k this deck
41
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
A)FixedSingle
B)Sizable
C)Zero
D)False
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
42
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
A)5
B)50
C)500
D)5000
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck
43
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
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 44 flashcards in this deck.
Unlock Deck
k this deck
44
An example of a valid value for the form's Name property is ____.
A)form Ridgeline
B)formridgeline
C)Ridgeline
D)frmRidgeline
A)form Ridgeline
B)formridgeline
C)Ridgeline
D)frmRidgeline
Unlock Deck
Unlock for access to all 44 flashcards in this deck.
Unlock Deck
k this deck