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
MatroZZZ [7]
3 years ago
14

The difference between a for loop and a while loop is that a for loop is a loop that happens for a certain number of times. A wh

ile loop happens until a certain condition is met. How do you know when to use each one? Give specific examples in your answer.
Computers and Technology
1 answer:
Shalnov [3]3 years ago
4 0

For loop, if you have to fill water in a bucket three times, It will fill water in a bucket three times. While loop, If you have to take water from the well multiple times but stop when the water is empty in the well.

Explanation:

  • For loop is used mostly static way of programming.
  • While loop is used for dynamic approach of programming.
  • Static approach has fix number of times the task is done.
  • Dynamic approach is conditional attempt to complete the entire task.
  • For loop uses discrete which means it uses the count approach.
  • While loop is basis on characteristic, It works mostly with alphabet.
  • Functions play major role in while loop to take a dynamic approach.
You might be interested in
Which of the following devices is used to connect multiple devices to a network and sends all traffic to all connected devices?
Stels [109]

Answer: HUB

Explanation:

A Hub is a network device, that acts only in layer 1 (Physical layer) forwarding all traffic that reaches to the input port, to all output ports at once, without processing the received data in any way that could modify them.

It behaves like it were a multiport repeater (which has only one output port).

5 0
3 years ago
Zoey has brought her computer in for servicing. When she dropped off her computer, she mentioned that her computer will sometime
galina1969 [7]

Answer:

Option (B) Overheated CPU

Explanation:

  • The above problems mentioned are due to the problem with the CPU.
  • Overheated CPU can result into freezing the computer and unexpected rebooting.
  • CPU stands for Central Processing Unit and is responsible for all the instabilities in the hardware parts of the computer.
  • So, option (b) is true.
  • A Network Card is responsible for connecting the computer to the internet. It also has other names like Ethernet Card. A bad Network Card results in problems with the internet and network connections but not the above problems. So, option (A) is false.
  • UPS is Uninterrupted Power Supply. It is an external power device to provide the power supply to the computers in case of emergencies to not shut down the computer instantaneously. The above problems are not likely to be the caused by the failed UPS. So, option (C) is false.
  • Drive is a hardware device to store information. It can be removable drive (optical drives like CDs, DVDs ) or non removable like ( Hard Disk Drive ). A failed drive results in problems with the storing information. The above problems are not associated with it. So, option (D) is also false.
6 0
3 years ago
Read 2 more answers
Looking at the code below, what happens when this onHit function runs?
inysia [295]
B dxjdbxhxbxbcjxxnxhcbfnc
7 0
3 years ago
Read 2 more answers
11. What are the two DFS models?12.When you move a file from the Spreadsheets folder to the Corp Documents folder on a Windows S
Vesnalui [34]

Answer/Explanation:

11. Standalone and Domain-based models

12. The moved file takes with it the permission it had in the Spreadsheets folder.

Cheers.

7 0
3 years ago
Run the browser checker to see that the computer you are using now is set up for WileyPLUS. Which of the following browser funct
True [87]

Answer:

Mobile View

Explanation:

WileyPLUS is a web-based application that assists instructors in preparing for classes and lectures and automates the process of assigning and grading homework. It allows students to access the WileyPLUS course material and complete their homework online and receive instant feedback on their work.

WileyPLUS system requirements:

System Hardware:

<em>PC: Pentium IV or better with 256MB of RAM (minimum 256MB of RAM) </em>

<em>Mac: G4 Processor 733MHz or better with 512MB of RAM (minimum 128MB of </em>

<em>RAM) </em>

Operating Systems:

<em>PC: Windows 98 / 2000 / ME / XP </em>

<em>Mac: OS X (minimum of 10.2.8; 10.3.1 or better is recommended) </em>

Browsers:

<em>PC: Internet Explorer v6.0 or better;</em>

<em>Mozilla FireFox 1.0 or better</em>

<em>Mac: Safari 1.3 or better </em>

4 0
3 years ago
Other questions:
  • What are the 4-bit patterns used to represent each of the characters in the string "1301"? Only represent the characters between
    14·1 answer
  • What are the answers to these questions?​
    11·1 answer
  • Write a Python program to balance a checkbook. The main function needs to get the initial balance, the amounts of deposits, and
    5·1 answer
  • Which word is most appropriate to describe a laptop?
    5·1 answer
  • Does anybody know where the picture in my pfp is from???
    6·1 answer
  • Java Eclipse homework. I need help coding this
    6·1 answer
  • 1.) Explain one way the internet has impacted the way we behave.
    7·2 answers
  • 6) Read the article posted on The Verge entitled How to fight lies, tricks, and chaos online and summarize the four steps. Then
    15·1 answer
  • How is modern technology developed? Explain.
    14·2 answers
  • how to make windows laptop work faster because I mine is so slowwwww. I already updated it and everything and tried everything b
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!