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
Hatshy [7]
3 years ago
10

How do I write code in Java for "A spinner for a game has four possible options: blue, red, yellow, green. The chance of landing

on each option is equal. Simulate using the spinner 15 times and reporting the resulting color."?
Computers and Technology
1 answer:
melisa1 [442]3 years ago
7 0
What you need to do is to generate a random number between 1 and 4(or0 and 3) 15 times. Each time you generate a number, you figure out which number it is and keep track of how many times you’ve seen that number. At the end, print out how many of each number you got.

Good luck!
You might be interested in
11. Which one of the following buttons is used for paragraph alignment?<br>​
Luba_88 [7]

Answer:

<em>C</em>

Explanation:

Option <em>A </em>is used for line spacing.

Option <em>B </em>is used for right indent.

Option <em>C</em> is used for right paragraph alignment.

Option <em>D</em> is used for bullet points.

The button used for paragraph alignment would be option <em>C</em>.

3 0
3 years ago
If your computers normal zoom is 100, but it looks like its at 500, how do you stop that? my invisioned thing isn't on, neither
Alex Ar [27]

Answer:

You just need to click over the desktop, move to the View, and then change to medium, if its the icon size.

However, if you feel your resolution requires screwing up, then you are required to do the right-click, and again over the Desktop and then move to the settings (screen resolution),

And if you by chance clicked on the magnifier utility, you can CTRL + ALT +DEL and you will also be required to shut the interface.

Explanation:

You just need to click over the desktop, move to the View, and then change to medium, if its the icon size.

However, if you feel your resolution requires screwing up, then you are required to do the right-click, and again over the Desktop and then move to the settings (screen resolution),

And if you by chance clicked on the magnifier utility, you can CTRL + ALT +DEL and you will also be required to shut the interface.

7 0
3 years ago
Students working at individual PCs in a computer laboratory send their files to be printed by a server that spools the files on
Vanyuwa [196]

Answer:

Explanation:

Disk space is a limited resource on the spooling partition and once it is filled the will cause a deadlock. Every single block that comes into the spooling partition claims a resource, and the one behind that wants resources as well, and so on. Since the spooling space is limited and half of the jobs arrive and fill up space then no more blocks can be stored, causing a deadlock. This can be prevented allowing one job to finish and releasing the space for the next job.

5 0
2 years ago
Program ____ let programmers write code using a word processing-like interface.​
kati45 [8]
<span>Program "editor" </span>let programmers write code using a word processing-like interface.​

This is utilized by programming software engineers; gives them a chance to compose code utilizing a word processing like interface that usually includes functions, like, AutoCorrect and AutoComplete.it is also called text editor.
3 0
3 years ago
All the data points lie within UCL &amp; LCL and all of the data points are randomly distributed about the mean value central li
nata0808 [166]

Answer: Common causes

Explanation:

Variation comes from two sources, common and special causes. Lets you at this scenario, how long it takes you to get to school in the morning. Maybe it takes you 40 minutes on average. Some days it may take a little longer, some days a little shorter. But as long as you are within a certain range, you are not concerned. The range may be from 35 to 45 minutes. This variation represents common cause variation --- it is the variation that is always present in the process. And this type of variation is consistent, random and predictable. You don't know how long it will take to get to schooltomorrow, but you know that it will be between 35and 45 minutes as long as the process remains the same.

Now, in thecase of special cause variation suppose there was an accident on the road and there was heavy non moving traffic . How long will it take you to get to work? Definitely longer than the 35 to 45 minutes in your "normal" variation. Maybe it takes you an hour longer. This is a special cause of variation. Something is different. Something happened that was not supposed to happen. It is not part of the normal process. Special causes are not predictable, non random and are sporadic in nature.

6 0
3 years ago
Other questions:
  • Consider the following statements: #include #include class Temporary { private: string description; double first; double second;
    9·1 answer
  • A researcher develops a new instrument to measure coping skills and conducts a pilot study to compare the new tool with an exist
    5·1 answer
  • Write a C++ function using recursion that returns the Greatest Common Divisor of two integers. The greatest common divisor (gcd)
    14·1 answer
  • Wamna play mm2<br><br><br>imma send u my username​
    11·1 answer
  • What common variation of the Server Message Block (SMB) sharing protocol is considered to be a dialect of SMB?
    11·1 answer
  • Miley met up with a bunch of her college friends after several years. She told them that she works for the sound department of a
    5·1 answer
  • Which of these is a type of social engineering attack?
    10·1 answer
  • Características que debe tener un módulo o kit tecnológico para aprender​
    14·1 answer
  • You are assigned by your teacher to perform the assembly of all the parts of the computer in preparation for the hands on activi
    7·1 answer
  • 3.8 LAB: Read values into a list
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!