Deck 1: An Introduction to Visual Basic 2012

ملء الشاشة (f)
exit full mode
سؤال
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.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The Windows ____ window allows you to create the graphical user interface for your application.

A) Property
B) Solution Designer
C) Designer
D) Form Designer
سؤال
The Project Designer window allows you to specify which form will display when the application starts.
سؤال
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
سؤال
If a solution is already open in the IDE,you are given the option to close the current solution before another solution is opened.
سؤال
A source file contains a list of projects in a solution.
سؤال
Actions performed by the user such as clicking,double-clicking,and scrolling are known as events.
سؤال
The Properties window lists the names of the files included in the application you are creating.
سؤال
A ____ is the general shape of the characters in the text.

A) property
B) splash
C) format
D) font
سؤال
A user ____ is what the user sees and interacts with while an application is running.

A) service
B) profile
C) splash
D) interface
سؤال
When an object is instantiated (created),each property must be assigned a value by the programmer.
سؤال
The Label tool is an appropriate control to use when you do not want the user to modify data.
سؤال
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 class definition is a block of code that specifies or defines an object's appearance and behavior.
سؤال
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(n)____ is a container that stores the projects and files for an entire application.

A) window
B) solution
C) interface
D) package
سؤال
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
سؤال
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
سؤال
The title bar on a form cannot be removed from splash screen applications.
سؤال
All objects in an object-oriented program are instantiated (created)from a ____.

A) project
B) form
C) class
D) property
سؤال
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
سؤال
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 Visual Basic 2012 solution file will have a(n)____ file extension.

A) .net
B) .app
C) .frm
D) .sln
سؤال
System.Windows.Forms.Button indicates that the control is an instance of the ____ class.

A) System
B) Windows
C) Forms
D) Button
سؤال
You enter the procedure's code in the ____ window.

A) Code Editor
B) Server
C) Solution
D) Designer
سؤال
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
سؤال
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
سؤال
Which of the following is an example of an appropriate name for a control?

A) BtnMessage
B) btnExit
C) labelmessage
D) housepicturebox
سؤال
A(n)____ is a predefined procedure that you can call (or invoke)when needed.

A) method
B) object
C) class
D) event
سؤال
A(n)____ is a block of code that performs a specific task.

A) event
B) form
C) class
D) sub procedure
سؤال
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
سؤال
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
سؤال
When an application is started,Visual Basic 2012 will automatically create a file that has the project name and a(n)____ file extension.

A) .dll
B) .exe
C) .sln
D) .suo
سؤال
To start an application using the menu bar,you click ____ and then click Start Debugging.

A) DEBUG
B) PROJECT
C) VIEW
D) BUILD
سؤال
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()
سؤال
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.
سؤال
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 label control's ____ property determines the value that appears inside the control.

A) Caption
B) Label
C) Text
D) Values
سؤال
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
سؤال
The ____ function key will start a Visual Basic 2012 application in the IDE.

A) F2
B) F3
C) F4
D) F5
سؤال
An example of a valid value for the form's Name property is ____.

A) form Ridgeline
B) formridgeline
C) Ridgeline
D) frmRidgeline
سؤال
What is the Toolbox window? Describe how it is used in Visual Studio 2012.
سؤال
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
سؤال
What is a button control? Provide two examples of common button controls found in Windows applications.
سؤال
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.
سؤال
What is a startup form? Describe the steps used to define it for an application.
سؤال
Describe the use of the Format menu and controls on the form.
سؤال
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
سؤال
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?
سؤال
Explain the difference between a solution and a project.
سؤال
How is a timer control used in an application? Provide one example.
سؤال
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
سؤال
If a control is deleted from a form,is the related code for the control also deleted? Explain.
سؤال
Why should you print a copy of your application's code and user interface?
سؤال
What is the Solution Explorer window? Describe how it is used in Visual Studio 2012.
سؤال
What is the Properties window? Describe how it is used in Visual Studio 2012.
سؤال
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
سؤال
What is a label control? Explain how it is used on a form.
سؤال
What is the Windows Form Designer window? Describe how it is used in Visual Studio 2012.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/59
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: An Introduction to Visual Basic 2012
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
The Windows ____ window allows you to create the graphical user interface for your application.

A) Property
B) Solution Designer
C) Designer
D) Form Designer
D
3
The Project Designer window allows you to specify which form will display when the application starts.
True
4
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
5
If a solution is already open in the IDE,you are given the option to close the current solution before another solution is opened.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
6
A source file contains a list of projects in a solution.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
7
Actions performed by the user such as clicking,double-clicking,and scrolling are known as events.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
8
The Properties window lists the names of the files included in the application you are creating.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
9
A ____ is the general shape of the characters in the text.

A) property
B) splash
C) format
D) font
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
10
A user ____ is what the user sees and interacts with while an application is running.

A) service
B) profile
C) splash
D) interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
11
When an object is instantiated (created),each property must be assigned a value by the programmer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
12
The Label tool is an appropriate control to use when you do not want the user to modify data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
13
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
14
A class definition is a block of code that specifies or defines an object's appearance and behavior.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
15
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
16
A(n)____ is a container that stores the projects and files for an entire application.

A) window
B) solution
C) interface
D) package
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
17
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
18
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
19
The title bar on a form cannot be removed from splash screen applications.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
20
All objects in an object-oriented program are instantiated (created)from a ____.

A) project
B) form
C) class
D) property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
21
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
22
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
23
A Visual Basic 2012 solution file will have a(n)____ file extension.

A) .net
B) .app
C) .frm
D) .sln
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
24
System.Windows.Forms.Button indicates that the control is an instance of the ____ class.

A) System
B) Windows
C) Forms
D) Button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
25
You enter the procedure's code in the ____ window.

A) Code Editor
B) Server
C) Solution
D) Designer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
27
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which of the following is an example of an appropriate name for a control?

A) BtnMessage
B) btnExit
C) labelmessage
D) housepicturebox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n)____ is a block of code that performs a specific task.

A) event
B) form
C) class
D) sub procedure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
31
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
32
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
33
When an application is started,Visual Basic 2012 will automatically create a file that has the project name and a(n)____ file extension.

A) .dll
B) .exe
C) .sln
D) .suo
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
34
To start an application using the menu bar,you click ____ and then click Start Debugging.

A) DEBUG
B) PROJECT
C) VIEW
D) BUILD
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
35
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()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
36
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
37
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
38
A label control's ____ property determines the value that appears inside the control.

A) Caption
B) Label
C) Text
D) Values
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
39
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____ function key will start a Visual Basic 2012 application in the IDE.

A) F2
B) F3
C) F4
D) F5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
41
An example of a valid value for the form's Name property is ____.

A) form Ridgeline
B) formridgeline
C) Ridgeline
D) frmRidgeline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
42
What is the Toolbox window? Describe how it is used in Visual Studio 2012.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
43
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
44
What is a button control? Provide two examples of common button controls found in Windows applications.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
45
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
46
What is a startup form? Describe the steps used to define it for an application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
47
Describe the use of the Format menu and controls on the form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
48
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
49
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
50
Explain the difference between a solution and a project.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
51
How is a timer control used in an application? Provide one example.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
52
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
53
If a control is deleted from a form,is the related code for the control also deleted? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
54
Why should you print a copy of your application's code and user interface?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
55
What is the Solution Explorer window? Describe how it is used in Visual Studio 2012.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
56
What is the Properties window? Describe how it is used in Visual Studio 2012.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
57
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
58
What is a label control? Explain how it is used on a form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
59
What is the Windows Form Designer window? Describe how it is used in Visual Studio 2012.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 59 في هذه المجموعة.