Deck 2: Introduction to Visual C#
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/131
العب
ملء الشاشة (f)
Deck 2: Introduction to Visual C#
1
Programmers commonly use ____________ in their code to create a sense of visual organization.
A) different font colors
B) documentation comments
C) blank lines and indentation
D) bold images, such as photos
A) different font colors
B) documentation comments
C) blank lines and indentation
D) bold images, such as photos
C
2
The ____________ shows a description of the error, the name of the source code file containing the error, the error's line number and column number, and the name of the project.
A) Debug dialog box
B) Crash pop up
C) Error List window
D) Just In Time debugger
A) Debug dialog box
B) Crash pop up
C) Error List window
D) Just In Time debugger
C
3
The ____________ file contains an application's start-up code, which executes when the application runs.
A) Main.cs
B) Code.cs
C) Program.cs
D) Source.cs
A) Main.cs
B) Code.cs
C) Program.cs
D) Source.cs
C
4
Which one of the following Button control names is a legal C# identifier?
A) _DisplayOption5Button
B) Exit!Button
C) *Clear*Button*
D) delete Record Button
A) _DisplayOption5Button
B) Exit!Button
C) *Clear*Button*
D) delete Record Button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
5
The ____________ naming convention gets its name because the uppercase characters that appear in a name are sometimes reminiscent of a camel's humps.
A) camelCase
B) Pascal
C) Hungarian notation
D) CaMeL style
A) camelCase
B) Pascal
C) Hungarian notation
D) CaMeL style
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
6
A ____________ is a small pop-up window, also known as a dialog box, that displays a message.
A) standard window
B) pop up
C) banner
D) message box
A) standard window
B) pop up
C) banner
D) message box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
7
A ____________ is a declared block in a program between braces {…} that holds classes.
A) method
B) program
C) namespace
D) list
A) method
B) program
C) namespace
D) list
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
8
A(n) ____________ event occurs on a control when the user clicks the mouse on a control while the program is running.
A) Action
B) Click
C) Live
D) Mouse
A) Action
B) Click
C) Live
D) Mouse
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
9
An easy way to switch between the Designer and the code editor is to click the ____________ for the desired window. This only works if both the code file and designer file have already been opened.
A) icon
B) tab
C) button
D) bounding box
A) icon
B) tab
C) button
D) bounding box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
10
When learning computer programming, it is traditional to start by learning to write a ____________ program.
A) Simple
B) Hello World
C) Pseudocode
D) K&R Style
A) Simple
B) Hello World
C) Pseudocode
D) K&R Style
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
11
A(n) ____________ is a logical container in a program that holds methods (as well as other program elements).
A) event
B) namespace
C) queue
D) class
A) event
B) namespace
C) queue
D) class
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which one of the following Button control names is not a legal C# identifier?
A) _calculateTotalButton
B) printSalesReportButton
C) clear_customer_names_button
D) 1stPlayerStartButton
A) _calculateTotalButton
B) printSalesReportButton
C) clear_customer_names_button
D) 1stPlayerStartButton
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
13
When you enter a statement into the code editor, Visual Studio analyzes it, and if a syntax error is found, it is ____________.
A) automatically corrected
B) underlined with a jagged line
C) crossed out
D) highlighted
A) automatically corrected
B) underlined with a jagged line
C) crossed out
D) highlighted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
14
To close an application's form in code, you use the statement ____________.
A) me.Quit();
B) this.Close();
C) form.Exit();
D) app.Stop();
A) me.Quit();
B) this.Close();
C) form.Exit();
D) app.Stop();
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
15
The PictureBox control's ____________ property determines whether the image stored in the control will cause the control to be shrunk or expanded.
A) DisplayMode
B) Visible
C) SizeMode
D) Render
A) DisplayMode
B) Visible
C) SizeMode
D) Render
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
16
The file named ____________ contains code associated with a form named Form1.
A) Form1.cs
B) MainForm.cs
C) Control.cs
D) Window.cs
A) Form1.cs
B) MainForm.cs
C) Control.cs
D) Window.cs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
17
A(n) ____________ is a method that executes when a specific event (such as clicking the mouse) takes place while an application is running.
A) action sequencer
B) feature coordinator
C) event handler
D) incident manager
A) action sequencer
B) feature coordinator
C) event handler
D) incident manager
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
18
The ____________ directives appearing at the top of a C# source code file indicate which namespaces the program will use. Usually, these namespaces belong to the .NET Framework.
A) include
B) namespace
C) public
D) using
A) include
B) namespace
C) public
D) using
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
19
A(n) ____________ is a sequence of one or more programming statements (code) that performs some operation.
A) algorithm
B) method
C) class
D) namespace
A) algorithm
B) method
C) class
D) namespace
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
20
Code containers, such as namespaces, classes, and methods, use ____________ to enclose code.
A) braces ({})
B) asterisks (**)
C) parentheses (())
D) brackets ([])
A) braces ({})
B) asterisks (**)
C) parentheses (())
D) brackets ([])
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
21
When a(n) ____________ appears around an object in the Visual Studio Designer, it indicates that the object is selected and is ready for editing.
A) sizing handle
B) editing icon
C) bounding box
D) frame
A) sizing handle
B) editing icon
C) bounding box
D) frame
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
22
A control's ____________ property identifies the control in the application's code and in the Visual Studio environment.
A) Text
B) Source
C) Tag
D) Name
A) Text
B) Source
C) Tag
D) Name
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which one of the following statements correctly display the text "Hello" in a message box?
A) Messagebox("Hello")
B) MessageBox.Show("Hello");
C) msgbox(Hello);
D) msgbox.show(Hello)
A) Messagebox("Hello")
B) MessageBox.Show("Hello");
C) msgbox(Hello);
D) msgbox.show(Hello)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
24
In C# code, ____________ are required to indicate the beginning and the end of a string.
A) single quotation marks, such as (')
B) double quotation marks, such as (")
C) parentheses
D) semicolons
A) single quotation marks, such as (')
B) double quotation marks, such as (")
C) parentheses
D) semicolons
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
25
A file that contains program code is called a ____________.
A) source code file
B) program file
C) C# file
D) cs file
A) source code file
B) program file
C) C# file
D) cs file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
26
Selecting the ____________ button in the Properties window causes the items in the window to be displayed in logical groups.
A) Grouped
B) Categorized
C) Ordered
D) Type
A) Grouped
B) Categorized
C) Ordered
D) Type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
27
The ____________ property can be used to change a form's width and height, measured in pixels.
A) Area
B) Resolution
C) Size
D) Rectangle
A) Area
B) Resolution
C) Size
D) Rectangle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
28
The Visual Studio ____________ window shows a scrollable list of controls that you can add to a form.
A) Collection
B) Bank
C) Toolbox
D) Shelf
A) Collection
B) Bank
C) Toolbox
D) Shelf
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
29
____________ allow you to resize a selected object in the Visual Studio Designer by clicking and dragging the mouse when the mouse cursor becomes a two-headed arrow.
A) Bounding boxes
B) Sizing handles
C) ToolTips
D) Properties
A) Bounding boxes
B) Sizing handles
C) ToolTips
D) Properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
30
To delete a control, you can select it on a form and then press the ____________ key on the keyboard.
A) Delete
B) Z
C) Tab
D) X
A) Delete
B) Z
C) Tab
D) X
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
31
If you want your code to execute a method, write a statement known as a(n) ____________.
A) event handler
B) executor statement
C) initialization routine
D) method call
A) event handler
B) executor statement
C) initialization routine
D) method call
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
32
Just as a period marks the end of a sentence, a ____________ marks the end of a programming statement in C#.
A) space
B) underscore
C) semicolon
D) period
A) space
B) underscore
C) semicolon
D) period
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
33
In programming we use the term ____________ to mean a sequence of characters that could be enclosed in quotation marks "…".
A) statement
B) thread
C) word
D) string
A) statement
B) thread
C) word
D) string
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
34
A Button control has a ____________ property that holds a string to be displayed on the face of the button.
A) Text
B) Name
C) Description
D) Face
A) Text
B) Name
C) Description
D) Face
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
35
When selected in the Properties window toolbar, the ____________ button causes the items in the Properties window to be displayed in alphabetical order.
A) Arrange
B) Ascending
C) Descending
D) Alphabetical
A) Arrange
B) Ascending
C) Descending
D) Alphabetical
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
36
To run an application in Visual Studio, press the ____________ button on the keyboard or click the Start Debugging button on the toolbar.
A) Enter
B) F5
C) Tab
D) Shift
A) Enter
B) F5
C) Tab
D) Shift
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
37
In the design window, you can click and drag a control to a new location when the mouse cursor is positioned inside the control and the mouse cursor becomes a ____________.
A) two-headed arrow
B) four-headed arrow
C) hand icon
D) scissor icon
A) two-headed arrow
B) four-headed arrow
C) hand icon
D) scissor icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
38
The ____________ property of a form determines the text that is displayed in a form's title bar.
A) Title
B) Caption
C) Name
D) Text
A) Title
B) Caption
C) Name
D) Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
39
When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed in the ____________ window.
A) Designer
B) Editing
C) Object
D) Properties
A) Designer
B) Editing
C) Object
D) Properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
40
Control names are also known as ____________, the same term used for variables in programs.
A) tags
B) identifiers
C) values
D) labels
A) tags
B) identifiers
C) values
D) labels
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
41
The Label control can be found in the ____________ group of the Toolbox.
A) Common Controls
B) Containers
C) Data
D) Components
A) Common Controls
B) Containers
C) Data
D) Components
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
42
When a piece of data such as 23 or "Hello" is written into a program's code, it is called a ____________.
A) constant
B) sentinel
C) value
D) literal
A) constant
B) sentinel
C) value
D) literal
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
43
Each Label control has a ____________ property that allows you to display a rectangle around the control's text.
A) Border
B) FrameStyle
C) Frame
D) BorderStyle
A) Border
B) FrameStyle
C) Frame
D) BorderStyle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
44
In code, you use a(n) ____________ to store a value in a control's property.
A) string literal
B) assignment statement
C) dialog box
D) constant
A) string literal
B) assignment statement
C) dialog box
D) constant
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
45
Label controls have a(n) ____________ property that affects the way they can be resized.
A) Resize
B) AutoSize
C) SizeMode
D) Redraw
A) Resize
B) AutoSize
C) SizeMode
D) Redraw
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
46
In C#, the equal sign (=) is known as the ____________.
A) equality operator
B) parity operator
C) assignment operator
D) transfer operator
A) equality operator
B) parity operator
C) assignment operator
D) transfer operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
47
When you have a project open in Visual Studio, the time during which you build the GUI and write the application's code is referred to as ____________.
A) prototyping
B) design time
C) visual planning
D) application progression
A) prototyping
B) design time
C) visual planning
D) application progression
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
48
A ____________ property can be set to one of two possible values:
A) Boolean
B) Binary
C) Singular
D) Toggle
A) Boolean
B) Binary
C) Singular
D) Toggle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
49
Which of the following statements would display the number 25 in a Label control named ouputLabel?
A) outputLabel.Text = 25;
B) outputLabel.Text = "25";
C) outputLabel(25);
D) outputLabel = "25";
A) outputLabel.Text = 25;
B) outputLabel.Text = "25";
C) outputLabel(25);
D) outputLabel = "25";
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
50
The ____________ can be accessed from the Properties window by clicking the ellipses (…) appearing next to the Font property's value.
A) Text designer
B) Font dialog box
C) Text editor
D) Font selector
A) Text designer
B) Font dialog box
C) Text editor
D) Font selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
51
____________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.
A) IntelliSense
B) AutoComplete
C) Snippet
D) CodeHelper
A) IntelliSense
B) AutoComplete
C) Snippet
D) CodeHelper
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
52
The ____________ property allows you to set the font, font style, and size of a control's text.
A) Appearance
B) Text
C) Font
D) Graphics
A) Appearance
B) Text
C) Font
D) Graphics
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
53
You can use a(n) ____________ control to display a graphic image on a form.
A) Image
B) Graphics
C) Texture2D
D) PictureBox
A) Image
B) Graphics
C) Texture2D
D) PictureBox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
54
When you want to display text on a form but not allow the user to change the text, you use a ____________.
A) String control
B) Label control
C) Text control
D) Font control
A) String control
B) Label control
C) Text control
D) Font control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
55
Which of the following statements would clear the text displayed in a Label control named cityLabel?
A) cityLabel.Text = "empty";
B) cityLabel.Text = "none";
C) cityLabel.Text = "clear";
D) cityLabel.Text = "";
A) cityLabel.Text = "empty";
B) cityLabel.Text = "none";
C) cityLabel.Text = "clear";
D) cityLabel.Text = "";
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
56
A Label control's ____________ property can be used to change the alignment of text within the Label.
A) TextPosition
B) DisplayFont
C) TextAlign
D) HorizontalAlign
A) TextPosition
B) DisplayFont
C) TextAlign
D) HorizontalAlign
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
57
The standard notation for referring to a control's property in code is:
A) ControlName.PropertyName
B) ControlName->PropertyName
C) ControlName::PropertyName
D) ControlName
A) ControlName.PropertyName
B) ControlName->PropertyName
C) ControlName::PropertyName
D) ControlName
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
58
Which one of the following is not a valid setting for a Label control's BorderStyle property?
A) FixedSingle
B) None
C) Fixed3D
D) FixedDouble
A) FixedSingle
B) None
C) Fixed3D
D) FixedDouble
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
59
The time during which an application is executing is referred to as ____________.
A) up time
B) execution
C) run time
D) instancing
A) up time
B) execution
C) run time
D) instancing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
60
When a string is written into a program's code, it is called a(n) ____________.
A) string literal
B) typed string
C) encoded string
D) string constant
A) string literal
B) typed string
C) encoded string
D) string constant
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
61
When you write the values true or false in code, they must be written in all lowercase letters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
62
Once you have created a PictureBox control, you use its ____________ property to specify the image it will display.
A) Picture
B) Image
C) Source
D) Display
A) Picture
B) Image
C) Source
D) Display
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
63
____________ are used by professional programmers to embed extensive documentation in a program' source code.
A) Line comments
B) Block comments
C) Documentation comments
D) Embedded comments
A) Line comments
B) Block comments
C) Documentation comments
D) Embedded comments
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
64
____________ is a term that refers to an image's width to height ratio.
A) Area
B) Bounding box
C) Aspect ratio
D) UV map
A) Area
B) Bounding box
C) Aspect ratio
D) UV map
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
65
____________ is the default value of the PictureBox control's SizeMode property.
A) AutoSize
B) Normal
C) Zoom
D) StretchImage
A) AutoSize
B) Normal
C) Zoom
D) StretchImage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
66
The indentation of statements inside methods, classes, and namespaces is a convention that virtually all programmers follow.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
67
A line comment does not have to occupy an entire line, so a line comment can appear after an executable statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
68
When a PictureBox control's SizeMode property is set to ____________, the image is uniformly resized to fit the PictureBox without losing its original aspect ratio.
A) Normal
B) Zoom
C) CenterImage
D) StretchImage
A) Normal
B) Zoom
C) CenterImage
D) StretchImage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
69
When a method executes, the statements in the method always execute in the order that they appear, from the beginning of the method to the end of the method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
70
Assuming an application has a PictureBox control named profilePictureBox, which one of the following assignment statements will hide the PictureBox from the user at run time?
A) profilePictureBox.Visible = False;
B) profilePictureBox.Visible = false;
C) profilePictureBox.Invisible = True;
D) profilePictureBox.Invisible = true;
A) profilePictureBox.Visible = False;
B) profilePictureBox.Visible = false;
C) profilePictureBox.Invisible = True;
D) profilePictureBox.Invisible = true;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
71
Comments are short notes intended for the compiler to read and interpret.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
72
A(n) ____________ can occupy multiple consecutive lines in a program. It starts with /* (a forward slash followed by an asterisk), and ends with */ (an asterisk followed by a forward slash).
A) line comment
B) block comment
C) short comment
D) documentation comment
A) line comment
B) block comment
C) short comment
D) documentation comment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
73
When you use the Properties window to change a control's Visible property at design time, the control will become invisible in the Designer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
74
A(n) ____________ appears on one line in a program and begins with two forward slashes (//).
A) line comment
B) short comment
C) block comment
D) documentation comment
A) line comment
B) short comment
C) block comment
D) documentation comment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
75
Most controls have a(n) ____________ property that determines whether the control can be seen by the user at run time.
A) Enabled
B) Invisible
C) Show
D) Visible
A) Enabled
B) Invisible
C) Show
D) Visible
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
76
Block comments make it easier to write long explanations because you do not have to mark every line with a comment symbol.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
77
A control's Visible property cannot be modified in code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
78
____________ are short notes placed in a program's source code, explaining how the program works.
A) Sketches
B) Tags
C) Comments
D) Labels
A) Sketches
B) Tags
C) Comments
D) Labels
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
79
In C#, there are three types of comments: line comments, block comments, and compilation comments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck
80
Writing comments should be avoided, especially for large and complex programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 131 في هذه المجموعة.
فتح الحزمة
k this deck