Deck 6: Where Can I Store This Variables and Constants

ملء الشاشة (f)
exit full mode
سؤال
It is customary to enter the variable declaration statements at the end of the procedure.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
When formatting characters, you can use either an uppercase letter or a lowercase letter as the format specifier.
سؤال
Programmers refer to the length of time a variable remains in memory as its ____.

A) size
C) usefulness
B) depth
D) lifetime
سؤال
When you start an application, each program instruction is placed in a ____, where it awaits processing.

A) hard core
C) register
B) memory location
D) processor
سؤال
Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.
سؤال
The basic syntax of the TryParse method is ____.

A) TryParse(text, variable) dataType
B) TryParse(text, variable)
C) dataType.TryParse(text, variable)
D) dataType TryParse text, variable
سؤال
The ____ memory of a computer is composed of memory locations.

A) external
C) internal
B) hidden
D) special
سؤال
Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.
سؤال
To distinguish the named constants from the variables in a program, many programmers use a modified form of Hungarian notation for the named constant names.
سؤال
A ____ is a memory location whose value cannot change while the application is running.

A) named constant
C) predefined variable
B) variable
D) touched variable
سؤال
The desk-check table for a program will contain two columns for each variable.
سؤال
The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.
سؤال
The formatString argument in the ToString method must take the form "xAA", where AA is the format specifier and x is the precision specifier.
سؤال
You use a problem's solution-in other words, its output, processing, and input information and its algorithm-to determine the variables to use when coding an application.
سؤال
____ refers to the area where a variable is recognized in an application's code.

A) Scope
C) Blocking
B) Field of view
D) Object control
سؤال
You reserve a memory location using a Visual Basic instruction that assigns both a name and data type to the memory location.
سؤال
When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.
سؤال
Memory locations are called ____ because their contents can change (vary) as the program is running.

A) variables
C) constants
B) invariables
D) parameters
سؤال
In addition to reserving (or declaring) variables in a program, you also can declare named constants.
سؤال
To declare a variable in an event procedure, where most variables are declared, you use the Visual Basic ____ statement.

A) Sub
C) Create
B) New
D) Dim
سؤال
The format specifier ____ does not include a dollar sign, and negative values are preceded by a minus sign.

A) C or c
C) F or f
B) N or n
D) P or p
سؤال
Specifying the number of decimal places and the special characters to display in a number is called ____.

A) describing
C) formatting
B) controlling
D) highlighting
سؤال
You create a named constant using the ____ statement.

A) NamedC
C) NConst
B) Const
D) NoAlter
سؤال
You can format a number using the syntax ____.

A) variable.ToString(formatString)
B) formatString.ToString(variable)
C) ToString.variable(formatString)
D) variable.formatString(ToString)
سؤال
A ____ is text that is enclosed in double quotation marks.

A) word
C) word array
B) character list
D) string
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: Where Can I Store This Variables and Constants
1
It is customary to enter the variable declaration statements at the end of the procedure.
False
2
When formatting characters, you can use either an uppercase letter or a lowercase letter as the format specifier.
True
3
Programmers refer to the length of time a variable remains in memory as its ____.

A) size
C) usefulness
B) depth
D) lifetime
D
4
When you start an application, each program instruction is placed in a ____, where it awaits processing.

A) hard core
C) register
B) memory location
D) processor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
The basic syntax of the TryParse method is ____.

A) TryParse(text, variable) dataType
B) TryParse(text, variable)
C) dataType.TryParse(text, variable)
D) dataType TryParse text, variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____ memory of a computer is composed of memory locations.

A) external
C) internal
B) hidden
D) special
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
To distinguish the named constants from the variables in a program, many programmers use a modified form of Hungarian notation for the named constant names.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
A ____ is a memory location whose value cannot change while the application is running.

A) named constant
C) predefined variable
B) variable
D) touched variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
The desk-check table for a program will contain two columns for each variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
The formatString argument in the ToString method must take the form "xAA", where AA is the format specifier and x is the precision specifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
You use a problem's solution-in other words, its output, processing, and input information and its algorithm-to determine the variables to use when coding an application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
____ refers to the area where a variable is recognized in an application's code.

A) Scope
C) Blocking
B) Field of view
D) Object control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
You reserve a memory location using a Visual Basic instruction that assigns both a name and data type to the memory location.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
Memory locations are called ____ because their contents can change (vary) as the program is running.

A) variables
C) constants
B) invariables
D) parameters
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
In addition to reserving (or declaring) variables in a program, you also can declare named constants.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
To declare a variable in an event procedure, where most variables are declared, you use the Visual Basic ____ statement.

A) Sub
C) Create
B) New
D) Dim
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
The format specifier ____ does not include a dollar sign, and negative values are preceded by a minus sign.

A) C or c
C) F or f
B) N or n
D) P or p
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
Specifying the number of decimal places and the special characters to display in a number is called ____.

A) describing
C) formatting
B) controlling
D) highlighting
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
You create a named constant using the ____ statement.

A) NamedC
C) NConst
B) Const
D) NoAlter
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
You can format a number using the syntax ____.

A) variable.ToString(formatString)
B) formatString.ToString(variable)
C) ToString.variable(formatString)
D) variable.formatString(ToString)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
A ____ is text that is enclosed in double quotation marks.

A) word
C) word array
B) character list
D) string
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.