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

What are some programs that you have used that have condition-controlled loops and count-controlled loops?

Computers and Technology
1 answer:
gladu [14]3 years ago
8 0

Some programs that we have used that have condition-controlled loops and count-controlled loops due to the following reasons.

Explanation:

Condition-controlled loops

A program could be made more intelligent by programming it to avoid hazards. For example, if the robot vehicle is 3 cm from the edge of the table and you tell it to move forwards 5 cm, it will drive off the edge of the table. To stop this from happening, you might write a condition-controlled loop like this:

move forward

repeat until (touching table edge)  

Condition-controlled loops can be used to add a high degree of intelligence to a computer system.

Count Controlled Loops

A count controlled loop is a repetition  structure that iterates a specific number of  times

You can write a count controlled loop using a

while() loop.

For example:

counter = 0

while counter < 5:

print (“This will print 5

times”)

counter += 1

You might be interested in
Which client software can be used to connect remote Linux client into a Palo Alto Networks Infrastructure without sacrificing th
Sati [7]

Answer:

GlobalProtect Linux

Explanation:

GlobalProtect Linux can be used to connect remote Linux client into a Palo Alto Networks Infrastructure without sacrificing the ability to scan traffic and protect against threats.

3 0
4 years ago
Define a method calcPyramidVolume with double data type parameters baseLength, baseWidth, and pyramidHeight, that returns as a d
enyata [817]

Answer:

The method in C++ is as follows:

double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){

   double baseArea = calcBaseArea(baseLength, baseWidth);

   double volume = baseArea * pyramidHeight;

   return volume;    

}

Explanation:

This defines the calcPyramidVolume method

double calcPyramidVolume(double baseLength, double baseWidth, double pyramidHeight){

This calls the calcBaseArea method to calculate the base area of the pyramid

   double baseArea = calcBaseArea(baseLength, baseWidth);

This calculates the volume

   double volume = baseArea * pyramidHeight;

This returns the volume

   return volume;  

}

<em>See attachment for complete program that include all methods that is required for the program to function.</em>

5 0
3 years ago
If you are writing an algorithm and you aren't confident that you understand the problem, what can you do?
IceJOKER [234]

Answer: I would say make a plan so that way you have a better understanding of it. I hope this helps! :)

3 0
3 years ago
System software is software that allows users to do things like create text documents, play games, listen to music or web browse
hoa [83]

Answer:

False

Explanation:

System software is the collection of programs that controls and manage the operation of a computer.

5 0
3 years ago
Frames control what displays on the Stage, while keyframes help to set up
pogonyaev

Answer: A keyframe is a location on a timeline which marks the beginning or end of a transition. So for example, you have a movie and it transitions to another scene, keyframes tell it when and where to start the transition then when and where to stop the transition.

3 0
3 years ago
Other questions:
  • Write a SELECT statement that returns the category_name column from the Categories table. Return one row for each category that
    12·1 answer
  • ​a(n) ____ is a communications device that connects a communications channel such as the internet to a device such as a computer
    11·1 answer
  • The sequence of folders to a file or folder is called a(n) ________
    8·1 answer
  • 1. What is an advantage of the PCIe bus over the PCI bus?
    9·1 answer
  • Which outcome is one of the negative consequences of anonymous communication over the Internet? It can lead to regulatory restri
    14·2 answers
  • 50) Universal Containers has an integration that runs nightly to update the Product (Product2) object in Salesforce with updated
    9·1 answer
  • Write the name of the tab, command group, and icon that is used to create multilevel lists.
    12·1 answer
  • Pig Latin is a nonsense language. To create a word in pig Latin, you remove the first letter and then add the first letter and "
    11·1 answer
  • What is the function of a CPU? simple words:D
    15·2 answers
  • Emma wants an artificial intelligence system with limited information on botony to identify a type of plant from an image. which
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!