Deck 21: Building Your Own Structure Structures
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 21: Building Your Own Structure Structures
1
Pascal case means capitalizing the first letter in the name and the first letter of each subsequent word in the name.
True
2
Variables declared using a structure as their data type are often referred to as ____ variables.
A) object
C) static
B) structure
D) internal
A) object
C) static
B) structure
D) internal
B
3
You can create your own data types in Visual Basic using the ____ statement.
A) UserType
C) DateType
B) UserStructure
D) Structure
A) UserType
C) DateType
B) UserStructure
D) Structure
D
4
A structure variable can be stored in an array only when its members have the same data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
The members of a structure can be ____.
A) variables only
C) variables or procedures
B) procedures only
D) neither variables nor procedures
A) variables only
C) variables or procedures
B) procedures only
D) neither variables nor procedures
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
When you pass a structure variable to a procedure, all of its members are passed automatically.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
Data types created using the Structure statement are referred to as ____.
A) structures
C) object structures
B) objects
D) data objects
A) structures
C) object structures
B) objects
D) data objects
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
The Structure statement itself reserves locations in the computer's internal memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
Between the Structure and End Structure clauses, you define the ____ included in the structure.
A) members
C) parameters
B) objects
D) structs
A) members
C) parameters
B) objects
D) structs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
The convention with structure statements is to enter structure names using ____ case.
A) LISP
C) COBOL
B) Pascal
D) FORTRAN
A) LISP
C) COBOL
B) Pascal
D) FORTRAN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Between the Structure and End Structure clauses, you define the members included in the structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Most times, the "best" way to solve a problem is simply a matter of personal preference.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
The items in a structure must have the same data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
In most structures, the member variables are defined using the keyword ____ followed by the variable's name, the keyword As, and the variable's data type.
A) Private
C) Dim
B) Static
D) Public
A) Private
C) Dim
B) Static
D) Public
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
In a structure, you can group together items having the String data type along with items having a numeric data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
You use the ____ keyword to declare a procedure-level structure variable.
A) Dim
C) Static
B) Public
D) Internal
A) Dim
C) Static
B) Public
D) Internal
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Structure statement provides the pattern for a data type that can be used to reserve a memory location.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
The ability to pass a structure variable and its members as one unit is the only advantage of using a structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Most programmers use the Structure statement to create data types that contain procedures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
You can use a structure to group together related items.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
You refer to a member variable by preceding the member's name with the name of the ____ variable.
A) member
C) module
B) object
D) structure
A) member
C) module
B) object
D) structure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
The dot member access operator is a(n) ____.
A) asterisk
C) period
B) semicolon
D) colon
A) asterisk
C) period
B) semicolon
D) colon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
You use the ____ to separate the structure variable's name from the member variable's name.
A) dot member access operator
C) dot member access
B) access operator
D) dot access operator
A) dot member access operator
C) dot member access
B) access operator
D) dot access operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
To access a member of a structure variable in an array, you use the syntax ____.
A) memberVariableName.arrayName(subscript)
B) arrayName(subscript).memberVariableName
C) arrayName.memberVariableName(subscript)
D) memberVariableName(subscript).arrayName
A) memberVariableName.arrayName(subscript)
B) arrayName(subscript).memberVariableName
C) arrayName.memberVariableName(subscript)
D) memberVariableName(subscript).arrayName
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
You use the ____ keyword to declare a class-level structure variable.
A) Public
C) Private
B) Dim
D) Static
A) Public
C) Private
B) Dim
D) Static
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck