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
soldier1979 [14.2K]
3 years ago
9

What will be the output of the following code snippet? boolean token1 = true; while (token1) { for (int i = 0; i < 10; i++) {

System.out.println("Hello"); } token1 = false; }
Computers and Technology
1 answer:
djverab [1.8K]3 years ago
6 0

Answer:

The output of the code snippet will be ten “Hello” messages

Explanation:

while token = true

i = 0 sends “Hello” to the screen

i = 1 sends “Hello” to the screen

i = 2 sends “Hello” to the screen

i = 3 sends “Hello” to the screen

i = 4 sends “Hello” to the screen

i = 5 sends “Hello” to the screen

i = 6 sends “Hello” to the screen

i = 7 sends “Hello” to the screen

i = 8 sends “Hello” to the screen

i = 9 sends “Hello” to the screen

 

You might be interested in
Which of these options highlights the need for learning algorithms
LiRa [457]

Answer: D.

Explanation:

7 0
3 years ago
Read 2 more answers
Match the following technologies with their applications.
otez555 [7]

1. autonomic computing

2. virtualization

3. screenless displays

3-D printing

6 0
4 years ago
3. The wildlife department has been feeding a special food to rainbow trout finger lings in a pond. A sample of the weight of 40
andrey2020 [161]

Answer:

1)  402.7 grams. This estimate is called the sample mean.

2)  (399.11, 406.29)

3) The 99 percent confidence limits is between 399.11 grams and 406.29 grams.

I am 99% sure that the value lies between 399.11 grams and 406.29 grams.

Explanation:

sample size (n) = 40, the mean weight (x)= 402.7 grams and the standard deviation (σ)=8.8 grams

1) The point estimated mean weight of the population is 402.7 grams. This estimate is called the sample mean.

2) c = 99% = 0.99

α = 1 - 0.99 = 0.01

\frac{\alpha }{2} =\frac{0.01}{2} =0.005.

The z score of 0.005 corresponds with the z score of 0.495 (0.5 - 0.005).

z_\frac{\alpha }{2} =2.58.

The margin of error (e) = z_\frac{\alpha }{2}*\frac{\sigma}{\sqrt{n} }  =2.58*\frac{8.8}{\sqrt{40} } =3.59

The confidence interval = x ± e = 402.7 ± 3.59 = (399.11, 406.29)

3) The 99 percent confidence limits is between 399.11 grams and 406.29 grams.

I am 99% sure that the value lies between 399.11 grams and 406.29 grams.

8 0
3 years ago
What is element 115 and what is it from?<br> Also what did it do?
tekilochka [14]
Its temporary name, which is being used as a placeholder, is ununpentium. Element 115<span> is one of a number of super heavy </span>elements—elements<span> with an atomic number greater than 104—that are so short-lived, they can't be detected in nature. ... Creation of </span>element 115<span> during a particle collision of americium and calcium atoms</span>.
7 0
3 years ago
When a peanut farmer adds value to his peanuts by turning them into creamy peanut butter, the farmer is engaging in which of the
Neporo4naja [7]

Answer:

The correct options are;

The security administrator makes sure to shred and properly dispose of any printed confidential information

The security administrator uses password-protected files and folders on his work computer

Explanation:

A company's policies as written in the employee manual, with regards to confidentiality, generally includes provisions and procedures on how to handle confidential information, including the requirement for the shredding of of printed confidential information that are to be disposed, such as information about the way the company operates, the earnings of the company and employee records

Password protection keeps confidential files and folders from being able to be accessed by people without the prerequisite authority, which ensures the confidentiality of the company's information is maintained.

3 0
3 years ago
Other questions:
  • . Electricians will sometimes call ______ "disconnects" or a "disconnecting means."
    12·1 answer
  • True or false the primary advantage of the worksheet is the ability to solve numerical problems quickly and accurately
    11·1 answer
  • Which character is used to begin a comment?
    6·1 answer
  • Which items may interfere with a wireless connection and may cause disruptions or delays in submitting assignments in blackboard
    9·2 answers
  • PowerPoint Presentation on What type of device will she use to display her presentation and explain it to the rest of the childr
    13·2 answers
  • Describe at least one issue of terrorism that has happened recently.
    14·1 answer
  • I need help for my computer science class I would appreciate it
    11·1 answer
  • PLS HELP WITH MY PYTHON HW ILL GIVE YOU BRAINLIEST
    12·1 answer
  • Outside of a C program, a file is identified by its ________while inside a C program, a file is identified by a(n) ________. fil
    13·1 answer
  • Jade has to create a workbook for storing information of students participating in the annual state-level sports competition. Th
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!