Deck 19: Parallel and Dynamic Universes More on One-Dimensional Arrays
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 19: Parallel and Dynamic Universes More on One-Dimensional Arrays
1
Variables and arrays are declared in procedures when the memory locations are needed only by the procedure that declared them.
True
2
If you use the ReDim statement to reduce the size of an array, the values in the truncated elements are saved.
False
3
A form's Declarations section begins with the ____ Class clause in the Code Editor window.
A) Begin
C) Open
B) Public
D) Start
A) Begin
C) Open
B) Public
D) Start
B
4
Variables declared in a form's Declarations section are referred to as ____ variables.
A) global
C) class-level
B) local-level
D) program-level
A) global
C) class-level
B) local-level
D) program-level
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
You can determine the highest subscript in a one-dimensional array by subtracting 2 from the number of array elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
At times, you may not know the precise number of array elements needed to store an application's data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
All the data in an array do not have to be the same data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
Scope refers to the area where a memory location is recognized by an application's code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
The elements in a parallel array are related by their ____.
A) classes
C) superscripts
B) data types
D) subscripts
A) classes
C) superscripts
B) data types
D) subscripts
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
A form's Declarations section ends with the ____ Class clause in the Code Editor window.
A) Public
C) Close
B) Stop
D) End
A) Public
C) Close
B) Stop
D) End
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
You declare a class-level memory location using the Dim keyword.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
For the array to be accessible by each button's Click event procedure, it will need to be declared as a class-level array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
Although the ReDim statement allows you to make an array either larger or smaller, in most cases you will use it to decrease the size of the array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
You should have each button's Click event procedure determine the number of elements in an array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
____ arrays are two or more arrays whose elements are related by their position in the arrays.
A) Parallel
C) Equivalent
B) Connected
D) Comparable
A) Parallel
C) Equivalent
B) Connected
D) Comparable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
When two or more procedures in an application may need to use the same variable or array, you can declare the memory locations in the form's ____ section.
A) Memory
C) Declarations
B) Storage
D) Statements
A) Memory
C) Declarations
B) Storage
D) Statements
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
Two or more procedures in an application may need to use the same variable or array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
In some applications, you may want to use an array to store items that are related but have different data types, such as employee IDs and salary amounts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
The ____ statement is used when you know the exact number of times the loop instructions should be processed.
A) Do…While
C) For…Until
B) For…Next
D) Do…Until
A) Do…While
C) For…Until
B) For…Next
D) Do…Until
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Variables and arrays declared in a form's Declarations section have ____ scope.
A) class
C) global
B) program
D) location
A) class
C) global
B) program
D) location
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
An array whose number of elements changes while an application is running is referred to as a(n) ____ array.
A) dynamic
C) active
B) updating
D) renewing
A) dynamic
C) active
B) updating
D) renewing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
The optional ____ keyword in the syntax of the ReDim statement tells the computer to keep the current array values when the size of the array changes.
A) Keep
C) Save
B) Protect
D) Preserve
A) Keep
C) Save
B) Protect
D) Preserve
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
An empty array is declared using an empty set of ____.
A) slashes
C) braces
B) brackets
D) curly braces
A) slashes
C) braces
B) brackets
D) curly braces
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
An empty array is an array that contains no ____.
A) data
C) memory
B) indexes
D) elements
A) data
C) memory
B) indexes
D) elements
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
You can change the number of elements in an array while the application is running using the ____ statement.
A) ReDo
C) ReDim
B) DoDim
D) ReFit
A) ReDo
C) ReDim
B) DoDim
D) ReFit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck