1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
scoray [572]
3 years ago
14

The expression Floor(Random()*6) produces the numbers_______ through_______ . (Note: this question has 2 parts; you must answer

each part correctly to receive full marks.)
Question 6


The starting value of an algorithm used to generate a range of numbers is called the _________.


Question 7


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 .


(Note, this question has 2 parts; you must answer each part correctly to receive full marks.)


Question 8


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.)
Computers and Technology
1 answer:
ICE Princess25 [194]3 years ago
4 0

Answer & Explanation:

First question:

0 through 5

Explanation: The range starts at 0 and maximum range of simple Random() is 0.9, hence 0 is starting range and end range is 0.9 * 6 = 5.4. After than Floor() will remove the fractional part resulting to 5  

Question 6:

It is called seed value, which decides the range of random numbers to be generated.

Question 7:

The range starts at 0

The range ends at 5

Explanation: The range starts at 0 and maximum range of simple Random() is 0.9, hence 0 is starting range and end range is 0.9 * 6 = 5.4. After then Floor() will remove the fractional part resulting to 5

Question 8:

Floor() converts a floating point to an integer dropping the fractional part.

You might be interested in
Electrical pressure is also called
fgiga [73]
Electrical pressure is also known as voltage.

I hope this helps you! :-)
3 0
4 years ago
Read 2 more answers
What would be a reason for using a workstation rather than a personal computer?
Pavlova-9 [17]
You can easily organize your work space. also you may have more resources. hope this helps
4 0
3 years ago
This technology was developed in the 1980s and was a successful attempt to provide services for voice, video, and video traffic
sveticcg [70]

Answer:

SONET was the only one on the list created near the 1980s (1985)

Good luck!

<em>~Awwsome</em>

8 0
3 years ago
In which conditions, a trial balance does not tally?
Nostrana [21]

Answer:

A trial balance will not balance if both sides do not equal, and the reason has to be explored and corrected.

Explanation:

The debit side and the credit side must balance, meaning the value of the debits should equal the value of the credit

4 0
3 years ago
Plllzzzzzzzzzzzzzz annnssswweeweerrr...
s2008m [1.1K]

Answer:

An example of effective communication is when the person who you are talking to listens actively and absorbs your point and understands it.

Explanation:

Hope this helps!!

3 0
4 years ago
Other questions:
  • When transporting data from real-time applications, such as streaming audio and video, which field in the ipv6 header can be use
    12·1 answer
  • True or False?
    8·1 answer
  • Commercial applications are never free<br><br> -True<br><br> -False
    9·1 answer
  • Each cout statement has a syntax error. Type the first cout statement, and press Run to observe the error message. Fix the error
    11·1 answer
  • A collection of facts can be copyrighted, but only if the collection is ____ in a way that causes the resulting work to rise to
    14·1 answer
  • Write a program that asks the user to enter the amount s/he has budgeted for a month. The amount should be between 1000 and 2000
    11·1 answer
  • This is a text message that is stored on a user's computer by a Web server that helps trace the user's browsing habits. a. Scrip
    14·1 answer
  • Create the tables and appropriate constraints based on the following ER diagram. Use appropriate data types. Note that the size
    7·1 answer
  • Problem 3. Consider the following recurrence, defined for n a power of 4 (for the time of some algorithm): T(n) = 3 if n = 1 2T(
    5·1 answer
  • Suppose that a computer has three types of floating point operations: add, multiply, and divide. By performing optimizations to
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!