Deck 3: Program Design and Coding
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/112
العب
ملء الشاشة (f)
Deck 3: Program Design and Coding
1
To use an image in a program, the image first must be ____ into the Resources folder.
A) linked
B) attached
C) imported
D) synced
A) linked
B) attached
C) imported
D) synced
C
2
The unit of measurement for a selected PictureBox object is ____.
A) picas
B) inches
C) pixels
D) millimeters
A) picas
B) inches
C) pixels
D) millimeters
C
3
The Normal attribute of the SizeMode property places the image in the ____ corner of the PictureBox object without any changes.
A) upper-left
B) upper-right
C) bottom-left
D) bottom-right
A) upper-left
B) upper-right
C) bottom-left
D) bottom-right
A
4
Which of the following color palettes for the BackColor and ForeColor properties contains colors that are guaranteed to be displayed properly on every computer?
A) Artistic palette
B) Custom palette
C) System palette
D) Web palette
A) Artistic palette
B) Custom palette
C) System palette
D) Web palette
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
5
IntelliSense choices can be selected by ____.
A) using the ENTER key
B) using the F2 key
C) using the TAB key
D) double-clicking or double-tapping the desired entry
A) using the ENTER key
B) using the F2 key
C) using the TAB key
D) double-clicking or double-tapping the desired entry
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
6
The ____ property of an object controls the color of text that appears in the object.
A) TextColor
B) ContentColor
C) ObjectColor
D) ForeColor
A) TextColor
B) ContentColor
C) ObjectColor
D) ForeColor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
7
Visual Studio 2017 offers three ____ of colors to use for the BackColor and ForeColor properties.
A) indices
B) grids
C) rosters
D) palettes
A) indices
B) grids
C) rosters
D) palettes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
8
The ____ option of the SizeMode property of the PictureBox object will adjust the size of the image to match the size of the PictureBox object.
A) AutoSize
B) CenterImage
C) StretchImage
D) Zoom
A) AutoSize
B) CenterImage
C) StretchImage
D) Zoom
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
9
When the ____ property of an object is set to False, the object will not appear on the form when the program starts.
A) Visible
B) Display
C) Show
D) View
A) Visible
B) Display
C) Show
D) View
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
10
____ is a choice on the SizeMode list in the Properties window for PictureBox objects.
A) StretchImage
B) Normal
C) AutoSize
D) CenterImage
A) StretchImage
B) Normal
C) AutoSize
D) CenterImage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
11
Clicking the ellipsis button at the end of the Image property of the PictureBox object will display the ____ dialog box.
A) Visuals
B) Select Resource
C) Graphics
D) Objects
A) Visuals
B) Select Resource
C) Graphics
D) Objects
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
12
The Image property of the ____ object is used to specify the image that will be displayed.
A) Graphic
B) ClipArt
C) PictureBox
D) Visual
A) Graphic
B) ClipArt
C) PictureBox
D) Visual
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
13
____ automatically creates indentations in program code to make it easier to read and understand.
A) Project Control
B) IntelliSense
C) Visual Studio
D) Code Manager
A) Project Control
B) IntelliSense
C) Visual Studio
D) Code Manager
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
14
The Error List window will display the ____ number where the error was detected.
A) index
B) line
C) column
D) row
A) index
B) line
C) column
D) row
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
15
To make an image available for display in a PictureBox object, the image should be imported into the ____ folder.
A) Resources
B) Objects
C) Pictures
D) Forms
A) Resources
B) Objects
C) Pictures
D) Forms
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____ option of the SizeMode property of the PictureBox object does not change the size of the image or the size of the PictureBox object, and aligns the center of the image with the center of the PictureBox object.
A) AutoSize
B) CenterImage
C) Normal
D) Zoom
A) AutoSize
B) CenterImage
C) Normal
D) Zoom
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
17
The ____ attribute of the SizeMode property of a PictureBox object will enlarge or shrink the image.
A) Normal
B) Zoom
C) CenterImage
D) AutoSize
A) Normal
B) Zoom
C) CenterImage
D) AutoSize
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
18
A ____ object is used to display a graphic image.
A) FormImage
B) PictureBox
C) BoxImage
D) Graphic
A) FormImage
B) PictureBox
C) BoxImage
D) Graphic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
19
The ____ option of the SizeMode property of the PictureBox object will increase or decrease the size of the PictureBox object to accommodate the size of the image.
A) CenterImage
B) Normal
C) AutoSize
D) Zoom
A) CenterImage
B) Normal
C) AutoSize
D) Zoom
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following color palettes for the BackColor and ForeColor properties is restricted to colors selected in other areas of the computer system?
A) Web palette
B) Custom palette
C) System palette
D) Artistic palette
A) Web palette
B) Custom palette
C) System palette
D) Artistic palette
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
21
When the ____ property of an object is set to False, the object will appear dimmed on the form.
A) Visible
B) Enabled
C) Targeted
D) Active
A) Visible
B) Enabled
C) Targeted
D) Active
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
22
When you see the build errors message in Visual Basic, you should always click the _____ button.
A) Exit
B) Yes
C) No
D) Save
A) Exit
B) Yes
C) No
D) Save
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
23
A button must be ____ in order for the user to click it and cause an event.
A) enabled
B) compiled
C) indexed
D) executed
A) enabled
B) compiled
C) indexed
D) executed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
24
The Start button appears on the ____ toolbar.
A) Build
B) Standard
C) Compilation
D) Program
A) Build
B) Standard
C) Compilation
D) Program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
25
The ____ feature displays all allowable entries you can make in a Visual Basic statement each time a dot, equal sign, or other special character required for the statement is typed.
A) AutoComplete
B) AutoSense
C) IntelliComplete
D) IntelliSense
A) AutoComplete
B) AutoSense
C) IntelliComplete
D) IntelliSense
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
26
An event ____ takes care of the event that a user action triggers by executing code that performs the required processing.
A) manager
B) executor
C) handler
D) guide
A) manager
B) executor
C) handler
D) guide
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
27
The first code written for an event should be ____ code that identifies the event and the processing that will occur.
A) assignment
B) comment
C) enabling
D) disabling
A) assignment
B) comment
C) enabling
D) disabling
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____ is used in an assignment statement.
A) plus sign (+)
B) equal sign (=)
C) ampersand (&)
D) percent sign (%)
A) plus sign (+)
B) equal sign (=)
C) ampersand (&)
D) percent sign (%)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ error messages indicate coding errors detected by the compiler.
A) Run
B) Compile
C) Build
D) Executable
A) Run
B) Compile
C) Build
D) Executable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
30
When build errors occur, Visual Studio will display the errors in the ____ window.
A) Command
B) Error List
C) Output
D) Task
A) Command
B) Error List
C) Output
D) Task
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
31
A(n) ____ statement is used to set the value of an object's property with the desired value.
A) comparison
B) logical
C) assignment
D) remastered
A) comparison
B) logical
C) assignment
D) remastered
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
32
A Label can be hidden by setting the ____ property to False.
A) Visible
B) Activation
C) Display
D) Show
A) Visible
B) Activation
C) Display
D) Show
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
33
When you type the first few letters of the ____ name, IntelliSense displays a list of all the entries that can be specified in the statement.
A) object
B) character
C) indices
D) assignment
A) object
B) character
C) indices
D) assignment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
34
A(n) ____ is used for denoting a comment statement.
A) semicolon (;)
B) period (.)
C) apostrophe (')
D) comma (,)
A) semicolon (;)
B) period (.)
C) apostrophe (')
D) comma (,)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
35
In the code editor, ____ is used to indicate the location of an error.
A) blue text
B) a red squiggly line
C) green text
D) a green squiggly line
A) blue text
B) a red squiggly line
C) green text
D) a green squiggly line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
36
A set of rules that specify how each code statement must be written is called the ____ of the programming language.
A) grammar
B) syntax
C) glossary
D) roster
A) grammar
B) syntax
C) glossary
D) roster
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
37
The predefined ____ procedure will terminate the program and close the window.
A) Off
B) Sleep
C) Exit
D) Close
A) Off
B) Sleep
C) Exit
D) Close
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following is the correct general format for assigning a value to a property?
A) propertyvalue = propertyname.objectname
B) propertyvalue = objectname.property
C) propertyname.objectname = propertyvalue
D) objectname.property = propertyvalue
A) propertyvalue = propertyname.objectname
B) propertyvalue = objectname.property
C) propertyname.objectname = propertyvalue
D) objectname.property = propertyvalue
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
39
Every program should begin with ____ comments.
A) Final
B) Introductory
C) Inline
D) Same line
A) Final
B) Introductory
C) Inline
D) Same line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____ operator separates the name of the object from the next entry in the statement.
A) assignment
B) dot
C) property
D) arithmetic
A) assignment
B) dot
C) property
D) arithmetic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
41
A(n) ____ means the user has initiated an action that causes the program to perform the type of processing called for by the user's action.
A) link
B) assignment
C) event
D) activation
A) link
B) assignment
C) event
D) activation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
42
The CenterImage attribute for the SizeMode property of a PictureBox object centers the image and stretches it to fit the PictureBox.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
43
Open and close ____ immediately following the name of a procedure identify a Visual Basic statement as a procedure call statement.
A) curly braces
B) square brackets
C) quotation marks
D) parentheses
A) curly braces
B) square brackets
C) quotation marks
D) parentheses
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
44
Even if some entries within a program statement are not correct, the program will still compile.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
45
A set of braces at the end of a statement indicates that it is a procedure call statement. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
46
The forward slash (/) is used to identify a statement as a comment. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
47
The Disabled property controls whether an object can trigger an event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
48
Good coding practice dictates that elements within a statement should be separated by a space to make the statement easier to read, even though the space is not required.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
49
Programming code is the set of rules used to specify how each statement must be written.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
50
A code handler is a section of the program that handles user actions by executing code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
51
Image file names should not contain spaces.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
52
Use the Print choice on the ____ menu to print the Visual Basic code.
A) File
B) Edit
C) View
D) Tools
A) File
B) Edit
C) View
D) Tools
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
53
The default value of the SizeMode property is CenterImage. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
54
The ImageCollection folder holds all the images that the program uses.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
55
Changing the value of the Enabled property of an object in code statements can be used to make an object appear on the form during program execution. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
56
In order to write the code for an event handler, a developer first must identify the GUI object that will be used to trigger the event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
57
A(n) ____ document is a table that specifies objects in the user interface that will cause events, the actions taken by the user to trigger the events, and the event processing that must occur.
A) event handler
B) event-planning
C) event coding
D) event specification
A) event handler
B) event-planning
C) event coding
D) event specification
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
58
A Visual Basic 2017 coding statement contains instructions that the computer eventually executes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
59
You should match a light BackColor with a light ForeColor property for the best usability.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
60
The AutoSize attribute of the SizeMode property of a PictureBox object may cause distortion of an image. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
61
The only valid procedures are the prewritten procedures included in Visual Studio 2015.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
62
The ____________________ of an object is the color that is displayed in its background.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
63
The use of IntelliSense is the standard within the software industry.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
64
The ____________________ property of the PictureBox object determines the manner in which an image is displayed in a PictureBox object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
65
Programs written using a GUI normally are event-driven programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
66
In an assignment statement, the value appearing on the right of the equal sign receives the value of the object appearing to the left of the equal sign.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
67
A comment can exist on the same line as a code statement if the comment is placed first and then followed by another apostrophe.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
68
The event-planning document describes what processing must occur for each event as well as the manner in which to accomplish it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
69
Using the ____________________ option of the SizeMode property of a PictureBox object may result in some distortion of the image.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
70
The ___________________ option of the SizeMode property adjusts the size of the PictureBox object to fit the image precisely.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
71
The ____________________ property controls whether a GUI object is displayed on the Windows Form object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
72
Visual Studio 2015 provides a tool to print the user interface designed in the application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
73
In Visual Basic, capitalization of words is important.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
74
IntelliSense allows you to type the first few letters of an object name, and then it displays a list of all the entries that can be specified in the statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
75
The ____________________ option of the SizeMode property of a PictureBox object will increase or decrease the image size to make it fit into the PictureBox object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
76
Procedures written by a developer cannot be stored in a Visual Basic library; only prewritten procedures provided by Microsoft can be stored in a library.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
77
An event-planning document specifies objects in the user interface that will cause events, the actions taken by the user to trigger the events, and the event processing that must occur.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
78
The Coding Problem window identifies the number of errors that occurred during compilation and displays a description of each error.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
79
The property value specified in an assignment statement must be a valid value for the property identified on the left side of the equal sign.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck
80
The developer should not begin to write code until after the events and tasks within the events have been identified.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 112 في هذه المجموعة.
فتح الحزمة
k this deck