Deck 3: Introduction to Visual Basic Programming
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/41
العب
ملء الشاشة (f)
Deck 3: Introduction to Visual Basic Programming
1
Syntax errors are indicated only when you compile a program.
False
2
All variables must be declared with a name and a data type before they can be used in a program.
True
3
A Form's _________ event occurs just before the Form is displayed on the screen,typically as a result of executing the program.
A)Display
B)Raised
C)Execute
D)Load
A)Display
B)Raised
C)Execute
D)Load
D
4
You insert comments in your programs to document and improve the readability of your code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
5
A directs a user to take a specific action.
A)declaration
B)error
C)prompt
D)None of the above.
A)declaration
B)error
C)prompt
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
6
Variable declarations can begin with:
A)Declare
B)Dim
C)Dec
D)As
A)Declare
B)Dim
C)Dec
D)As
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
7
A Textbox's _________ property can be used to change the text that's displayed in a Textbox.
A)Content
B)String
C)Data
D)Text
A)Content
B)String
C)Data
D)Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
8
A comment in Visual Basic begins with:
A)*/
B)'
C)//
D)\\
A)*/
B)'
C)//
D)\\
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
9
Data types already defined in Visual Basic,such as String and Integer,are known as .
A)Constant data types
B)Pre data types
C)Primitive data types
D)Standard data types
A)Constant data types
B)Pre data types
C)Primitive data types
D)Standard data types
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
10
_________ are violations of language rules.
A)Logic errors
B)Syntax errors
C)Run-time errors
D)None of the above.
A)Logic errors
B)Syntax errors
C)Run-time errors
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
11
Visual Basic is case sensitive;therefore,an identifier named Pencil is not the same as one named pencil.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
12
The following pair can be used to begin and end a method declaration:
A)Sub,End Sub
B)Open Sub,Close Sub
C)Pro,End Pro
D)Procedure,End Procedure
A)Sub,End Sub
B)Open Sub,Close Sub
C)Pro,End Pro
D)Procedure,End Procedure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
13
What does IntelliSense help you do?
A)Detect errors
B)Simplify writing code
C)Compile your code
D)a and c
A)Detect errors
B)Simplify writing code
C)Compile your code
D)a and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
14
The .exe file extension indicates that the file is _________.
A)extensible
B)executable
C)existent
D)extinct
A)extensible
B)executable
C)existent
D)extinct
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which operator performs string concatenation?
A)&
B)@
C)%
D)#
A)&
B)@
C)%
D)#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following is a valid declaration in Visual Basic?
A)Int number
B)Dim Integer number
C)Dim number = Integer
D)Dim number As Integer
A)Int number
B)Dim Integer number
C)Dim number = Integer
D)Dim number As Integer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
17
A binary operator has _________ operand(s).
A)one
B)two
C)zero or one
D)two or fewer
A)one
B)two
C)zero or one
D)two or fewer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is not true about GUIs?
A)GUIs allow users to interact visually with programs.
B)A GUI gives a program a distinctive look and feel.
C)Scrollbars are always present in GUIs.
D)GUIs are built from GUI controls called widgets.
A)GUIs allow users to interact visually with programs.
B)A GUI gives a program a distinctive look and feel.
C)Scrollbars are always present in GUIs.
D)GUIs are built from GUI controls called widgets.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
19
When the user interacts with a GUI component,the interaction,known as a(n)_________,causes the program to perform a task by "calling" a method.
A)driver
B)action
C)event
D)cause
A)driver
B)action
C)event
D)cause
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is not a valid identifier?
A)Start
B)AboutForm
C)modFirst Welcome
D)value4
A)Start
B)AboutForm
C)modFirst Welcome
D)value4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following is in highest-to-lowest order of operator precedence?
A)multiplication,division,exponentiation
B)addition,subtraction,division
C)exponentiation,multiplication,addition
D)None of the above.
A)multiplication,division,exponentiation
B)addition,subtraction,division
C)exponentiation,multiplication,addition
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
22
When you drag a control across a Form,_________ appear to help you position the control with respect to the Form's edges and other controls.
A)edge lines
B)guide lines
C)position lines
D)snap lines
A)edge lines
B)guide lines
C)position lines
D)snap lines
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
23
You can change a control's variable name by selecting the control and modifying its _________ property.
A)Id
B)Name
C)Tag
D)Alias
A)Id
B)Name
C)Tag
D)Alias
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
24
The != operator compares two numbers to determine if they are not equal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
25
The + is the string concatenation operator in Visual Basic.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
26
Whenever a value is placed in a memory location,the previous value is saved so that it can be restored later.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
27
Arithmetic expressions in Visual Basic must be written in straight-line form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
28
A declaration may declare only one variable at a time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
29
The fractional part in integer division is stored in a variable declared automatically at run-time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
30
An assignment statement assigns a variable to a value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following represents the "is equal to" equality operator:
A)=
B)!=
C)=!
D)==
A)=
B)!=
C)=!
D)==
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
32
Binary operators require two operands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
33
Set a Label's _________ property to Fixed3D to give the Label a three-dimensional appearance.
A)BorderStyle
B)BorderDepth
C)BorderShading
D)BorderPerspective
A)BorderStyle
B)BorderDepth
C)BorderShading
D)BorderPerspective
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
34
The expression between the words If and Then is called a:
A)condition
B)clause
C)operator
D)controller
A)condition
B)clause
C)operator
D)controller
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
35
An assignment statement is evaluated left-side first.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
36
The event is a TextBox's default event.
A)TextEntered
B)Click
C)Load
D)TextChanged.
A)TextEntered
B)Click
C)Load
D)TextChanged.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
37
Every variable has a .
A)type
B)size
C)value
D)All of the above.
A)type
B)size
C)value
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
38
The statement allows a program to make a decision based on the truth or falsity of some condition.
A)If…Then
B)Test
C)Whether
D)None of the above.
A)If…Then
B)Test
C)Whether
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following represents modulus arithmetic?
A)Mod
B)/
C)%
D)^
A)Mod
B)/
C)%
D)^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
40
When a value is read from a memory location,the value in that location is retained.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
41
Using redundant parentheses in a complex expression is a wasteful practice.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck