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
Salsk061 [2.6K]
3 years ago
12

When do I use while loops

Computers and Technology
1 answer:
Marat540 [252]3 years ago
7 0

Answer:

When you dont know how long the loop is going to run for

Explanation:

You might be interested in
An executive at an online video company wants to look over usage data from the previous month. The company has data from
aleksklad [387]

Answer:

We first need to find out the number of variables, and if it is 3 or less, we can use excel for visualization or else we need to make use of the Microsoft Power BI or Tableau. And here, we have one variable as subscribers in various age groups, and the second variable is the number of hours spent in watching videos. And hence, we have only two variables. And thus, we can make use of the bar chart for visualization, and that is quite enough for visualizing this case. However, remember visualization is done for analyzing, and analyzing is made easy through visualization.

Explanation:

Please check the answer.

7 0
3 years ago
Read 2 more answers
What is the area on a machine where work is actually being performed and
zhenek [66]

Answer:

Point of operation guarding

Explanation:

Point of operation guarding. Point of operation is the area on a machine where work is actually performed upon the material being processed. The point of operation of machines whose operation exposes an employee to injury, shall be guarded.

5 0
3 years ago
Utility software is also known as _____​
stiks02 [169]

Answer:

Utility programs

7 0
4 years ago
Problem 6. (Fibonacci Number) Write a program fibonacci.py that accepts n (int) as command-line argument, and writes to standard
77julia77 [94]

Answer:

  1. import sys
  2. def fibonacci(n):
  3.    if(n == 0 or n == 1):
  4.        return n  
  5.    else:
  6.        return fibonacci(n - 2) + fibonacci(n-1)
  7. num = int(sys.argv)  
  8. output = ""
  9. for i in range(1, num+1):
  10.    output += str(fibonacci(i)) + " "  
  11. print(output)

Explanation:

Firstly, we import sys module as we need to accepts n as command line argument (Line 1).

Next, create a function fibonacci takes take one input n (Line 3). If the n is zero or one, return the n itself (Line 4-5). Otherwise, the program shall run the recursive call to the fibonacci function itself by putting n-2 and n-1 as function argument, respectively (Line 6-7).

After that, use the sys.argv to get the command line argument and assign the value to num (Line 9).

Use a for loop to generate the output string by progressively calling the fibonacci function and join the return result to the output string (Line 12-13).

At last print the output string (Line 15).

7 0
3 years ago
you are connected to a router. to provide access to the internet, you need to create a rule that would hide private ip addresses
kondor19780726 [428]

Based on the above, the technology that a person need to use is NAT.

<h3>What does Network Address Translation means?</h3>

The term Network Address Translation (NAT) is said to be the act or the process by which a person uses in mapping an internet protocol (IP) address to a given  place by altering the header of IP packets while in movement via a router.

Note that the Network Address Translation (NAT helps to boast as well as develop the security and lower the number of IP addresses an organization requires.

Hence, Based on the above, the technology that a person need to use is NAT.

Learn more about Network Address Translation from

brainly.com/question/24159022
#SPJ4

See full question below

You are connected to a router. To provide access to the internet, you need to create a rule that would hide private IP addresses behind one public IP address. Which technology should you use? (DHCP, Port forwarding, WPA, NAT)

8 0
2 years ago
Other questions:
  • What button is marked with the little hollow square at the top of the right window
    7·2 answers
  • What does input mean in the universal systems model
    14·1 answer
  • Write a statement that declares a PrintWriter reference variable named output and initializes it to a reference to a newly creat
    5·1 answer
  • Why are fixed resistors’ values indicated by color bands rather than printing the numeric value on their exterior?
    13·1 answer
  • What is the meaning of heart symbol in facebook?
    14·1 answer
  • Given a long integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800)
    11·1 answer
  • What should the shutter speed be on the camera?<br> A. 1/30<br> B. 1/50<br> C. 1/60<br> D. 1/15
    9·1 answer
  • 1.Menciona tres factores o variables que consideras influirán en el oscurecimiento del alimento cortado o pelado expuesto a la i
    8·1 answer
  • After Alexandra installed new software, she set it up to perform in a certain way. She is _____. changing the peripherals linkin
    10·1 answer
  • Write your question here (Keep it clear and simple to get the best answer)
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!