Deck 5: The Secret Code Assignment Statements
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 5: The Secret Code Assignment Statements
1
A comment is referred to as ____ documentation.
A) external
C) revealed
B) hidden
D) internal
A) external
C) revealed
B) hidden
D) internal
D
2
The syntax of the Val function is Val(text), where text is the characters you want treated as a number.
True
3
Many programmers use comments to document a procedure's purpose, as well as to explain various sections of the procedure's code.
True
4
When creating a comment in a program, a space is required to separate the apostrophe from the comment itself.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
You instruct the computer to perform a calculation by writing an arithmetic expression that contains one or more arithmetic operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
For a text argument in the Val function to be converted to a number, it must contain only numbers and an optional period.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
Comments make the code less readable but easier to understand by anyone viewing it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
When an invalid character is encountered in a text argument in a Val function, the Val function notes an error and continues the process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
Coding the algorithm is the second step in the problem-solving process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ____ function temporarily converts one or more characters to a number, and then returns the number.
A) Value
C) Number
B) Change
D) Val
A) Value
C) Number
B) Change
D) Val
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
You might use the integer division operator in a program that determines the number of quarters, dimes, and nickels to return as change to a customer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
In the order of precedence, an exponentiation operator has a precedence number of 1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
A(n) ____ box is designed to accept information from the user, and it automatically stores the information in its Text property.
A) data
C) entry
B) text
D) information
A) data
C) entry
B) text
D) information
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
A ____ is a predefined procedure that performs a specific task and then returns a value after completing the task.
A) sub
C) method
B) function
D) routine
A) sub
C) method
B) function
D) routine
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
An ____ represents information that is passed to the function while the function is processing.
A) argument
C) object
B) item
D) assignment
A) argument
C) object
B) item
D) assignment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
A ____ is a message to the person reading the code.
A) comment
C) heading
B) header
D) footer
A) comment
C) heading
B) header
D) footer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
The function Val(txtSales.Text) returns the number ____ when the txtSales control is empty.
A) -1
C) 1
B) 0
D) 2
A) -1
C) 1
B) 0
D) 2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
In the order of precedence, the modulus operator has a lower priority than the addition and subtraction operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
You create a comment in Visual Basic by placing a(n) ____ before the text that represents the comment.
A) period
C) apostrophe
B) exclamation mark
D) asterisk
A) period
C) apostrophe
B) exclamation mark
D) asterisk
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
The modulus operator cannot be used to divide numbers that contain a decimal place.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
You use the ____ operator ( \ ) to divide two integers (whole numbers), and then return the result as an integer.
A) division
C) whole division
B) modulus
D) integer division
A) division
C) whole division
B) modulus
D) integer division
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
____ indicate the order in which the computer performs the operation in an expression.
A) Order numbers
C) Precedence numbers
B) Operation order numbers
D) Operation numbers
A) Order numbers
C) Precedence numbers
B) Operation order numbers
D) Operation numbers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
A(n) ____ is used to assign a value to something (such as the property of a control) while an application is running.
A) assignment statement
C) selection statement
B) loop statement
D) decision statement
A) assignment statement
C) selection statement
B) loop statement
D) decision statement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
The equal sign in an assignment statement is referred to as the ____.
A) assignment unit
C) assignment operator
B) assignment controller
D) assignment status
A) assignment unit
C) assignment operator
B) assignment controller
D) assignment status
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
After dividing the numbers, the ____ operator returns the remainder of the division.
A) division
C) remainder
B) modulus
D) integer division
A) division
C) remainder
B) modulus
D) integer division
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck