Question: Question 1 Write an expression that produces random integers in the following range; store the result of the expression in a variable called Range: 0
Question 1
Write an expression that produces random integers in the following range; store the result of the expression in a variable called Range:
0 through 3
Question 2
If Number = 6, what is the range of possible numbers that can result from:
Floor(Random() * Number)
The range starts at_____.
The range ends at_____.
Question 3
Let Num = 6.89. What would be the result of the following expression?
Num = Ceiling(Num)
Question 4
The __________ statement indicates output to the screen with the assumption that each new statement would begin on a new line.
Question 5
The ___________ function computes square roots. (For your answer, enter only the function, not any parameters that the function can carry.)
Question 6
Let Num1 = 5.6 and Num2 = 3. What would be the result of the following expression?
Floor(Num1 * Num2)
Question 7
____________ numbers are numbers that belong to a sequence, generated by a mathematical algorithm, in which each number is equally likely to occur.
Question 8
If Number is an integer value, what would be the result of the following statement? (Note: if there are any spaces, it is assumed to be one space.)
Number = Length_Of("Wow!")
Write Number
Question 9
The starting value of an algorithm used to generate a range of numbers is called the _________.
Question 10
The ___________ function converts a floating point number to an integer by dropping the fractional part of the number. (For your answer, enter only the function, not any parameters that the function can carry.)
Question 11
Write an expression that produces random integers in the following range; store the result of the expression in a variable called Range.
1 through 4
Question 12
Let Num = 4.22. What would be the result of the following expression?
Num = Ceiling(Num)
Question 13
If Number = 64, would the following statement be evaluated as true or false?
Floor(Sqrt(Number/2)) = Sqrt(Floor(Number/2))
Question 14
The _____________ function takes a string or a string variable inside the parentheses and returns the number of characters in that string.
Question 15
If Number = 25, would the following statement be evaluated as true or false?
Sqrt(Number) = Floor(Sqrt(Number))
Question 16
If Number is an integer value, what would be the result of the following statement? (Note: if there are any spaces, it is assumed to be one space.)
Number = Length_Of("Good-bye!")
Write Number
Question 17
Numbers that form an unpredictable sequence in which each number is equally likely to occur are called __________ numbers.
Question 18
Let Num1 = 3.2 and Num2 = 5. What would be the result of the following expression?
Int(Num2 - Num1)
Question 19
If Number = 6, what is the range of possible numbers that can result from:
Floor(Random() * (Number + 3))
The range starts at____.
The range ends at_____.
(Note, this question has 2 parts; you must answer each part correctly to receive full marks.)
Question 20
If Number = 3.5, would the following statement be evaluated as true or false?
Floor(Number/2) = Number/2
Question 21
Let Num1 = 5.6 and Num2 = 3. What would be the result of the following expression?
Floor(Num1 * Num2)
Question 22
If Number is an integer value, what would be the result of the following statement? (Note: if there are any spaces, it is assumed to be one space.)
Number = Length_Of("Hello")
Write Number
Question 23
If Number = 7, would the following statement be evaluated as true or false?
Sqrt(Number * Number) = Int(Sqrt(Number * Number))
Question 24
If Number = 6, what is the range of possible numbers that can result from:
Floor(Random() * Number) + 3
The range starts at_____.
The range ends at_____.
(Note, this question has 2 parts; you must answer each part correctly to receive full marks.)
Question 25
If Number is an integer value, what would be the result of the following statement? (Note: if there are any spaces, it is assumed to be one space.)
Number = Length_Of(" ")
Write Number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
