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
Dima020 [189]
3 years ago
11

The following algorithm computes the average height for a list of basketball player heights. Initialize a variable sum to 0. For

each height in the list: Convert height from feet & inches format to total inches Add height to sum. Return sum divided by the total number of heights. Which building blocks are involved in this algorithm?
Computers and Technology
2 answers:
Simora [160]3 years ago
8 0

Answer:

Sequencing and Iteration

Explanation:

An algorithm is a set of instructions that enable us to solve a problem. There three main pieces of algorithm:  sequencing, selection and iteration.

<u>Sequencing</u> implies the order of the execution. In this example, it can be seen as initializing the variable <em>sum</em> before calculating the height.

<u>Iteration</u> implies the repetition. In this example, it can be seen as converting each height.

<u>Selection</u> is another building block that is used if there are conditions/different paths in the algorithm.

prisoha [69]3 years ago
6 0

Answer:

Sequencing and Iteration

Explanation:

Sequencing is a part of all programs, as it's just the fact that computers execute programs in a particular sequence (like top to bottom line in a simple program).

Iteration on the other hand is when we use loops to repeat code in a program.

You might be interested in
Which of the following is a rule of thumb for cell phones or smartphone etiquette ?
zimovet [89]
Do not text whilst at the dinner table or cross the road (even a Zebr crossing) while texting.
3 0
3 years ago
1. Describe an application where a series circuit might work better than a parallel circuit
Solnce55 [7]

If you have a light bulb and you want to be able to switch it on and
off, then you must connect the switch and the light bulb in series
across the battery.

If you connect the switch and light bulb in parallel across the battery,
then the light bulb will shine all the time, and PLUS ... when you flip the
switch to ' ON ', sparks will shoot out of the switch, the wires will get hot
and smoking, and the battery will instantly empty itself. 

So this is an application where the series circuit might work better than
the parallel one.


8 0
3 years ago
Read 2 more answers
A _________ is the broadcast of various types of media over the web.
Dmitry [639]
News Report.
I hope this helps! :)
4 0
3 years ago
Read 2 more answers
PLS HURRRYYYYYY!1!1!1!1!1
Lina20 [59]

movieID = 132 Int

movieCost = 4.95 Float

movie ='Star Wars' string

movieAwards = ('Oscar', 'Golden Globe', 'Director's Guild') tuple

movieStars = ['Carrie Fisher', 'Harrison Ford'] list

movieRatings = {5:'language', 3:'violence'} dictionary

If you want these explained , can do in replies :)

4 0
2 years ago
Read 2 more answers
Your phone's battery dies -- no Internet for you! When you get home hours later, you plug in the charger and turn your phone bac
shutvik [7]
IP address i believe, not 100% positive
4 0
3 years ago
Other questions:
  • Suppose we provide a new implementation of the transport layer protocol tcp providing the same functionality using different alg
    14·1 answer
  • Virtual private network requires a secure remote connections<br><br> true or false?
    11·1 answer
  • A powerful computer that acts as a hub for other computers is a called a ______.
    6·2 answers
  • What was the first fully computer animated feature film?
    13·1 answer
  • How can you remove heat from a computer?
    10·1 answer
  • Can anyone please help with this programming code in python num= 7 if num &gt; 3: print(“3”) if num &lt; 5: print(“5”) if num ==
    6·1 answer
  • Urgent ..algorithm and flowchart to check weather a number is odd or even ???​
    8·2 answers
  • How would you open the web browser in Linux and still have access to the Linux terminal?
    14·1 answer
  • Which of the following is not a common input device?
    6·1 answer
  • By the mid-1990s, how did revenue generated from video games compare to revenue generated from movies?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!