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

Give a tight bound on the number of times the z = z + 1 statement is executed. i = 2 while ( i > 1 ) { i = floor(i/2) z = z +

1 }
Computers and Technology
1 answer:
Alinara [238K]3 years ago
4 0

Answer:

zero ( 0) times.

Explanation:

In the code;

i = 2

while ( i > 2){

     i = floor( i/2 );

     z = z + 1;

}

the variable " i " is assigned the integer " 2 ", then the while statement loops with a condition of a greater " i " value and divides the value by two for every loop.

But in this case, the while statement is not executed as the value of " i " which is 2 is not greater than but equal to two.

You might be interested in
An assembly line is an example of which of the following facility layouts?
ikadub [295]

Answer:

Product layout

Explanation:

In configuration of facilities, the four layouts used are the process, product, cellular and fixed-position layouts.In process layout, operations that have similar functions are placed together. Example is a machine shop in manufacturing scenario.Product layouts are applied where there is repetitive assembly and processes.For example in flow shops where large volume of products are produced in a short time. Products that are very large or too heavy use fixed position layouts.Example is ship building or dam construction which require on-spot job performing.Cellular layouts is an equipment layout that will ease the process of cellular manufacturing.For example in group technology, parts of similar designed are identified to be grouped with processes that have similar characteristics to avoid re-arranging of layouts.

6 0
3 years ago
The audience for a web banner would be
DENIUS [597]

Answer:

there are many answers for this question, it could be talking about having a web banner made, in that case, the audience would be online businesses, media pages on you tube or other websites, and advertisers, but the audience for viewing one is anyone who visits the web page, so it would the audience would be the the audience of the website

Explanation:

6 0
3 years ago
can you guys plz answeer this i need help rrly bad and plz no viruses or links or answers that have nun to do with this
leva [86]

Answer:

You literally posted a download it’s too risky.

Explanation:

5 0
2 years ago
Microsoft Windows is an example of ?
Ede4ka [16]

Answer:

an application software

Explanation:

4 0
4 years ago
What letters identify moisture-resistant latex rubber insulation? 
Debora [2.8K]
I believe the answer is B.RUW
3 0
3 years ago
Other questions:
  • What type of address is the ip address 198.162.12.254/24?
    10·1 answer
  • Mario wants to make his document accessible to technology users. He first needs to access the Accessibility Checker. He can do t
    14·1 answer
  • Some have argued that Unix/Linux systems reuse a small number of security features in many contexts across the system, while Win
    12·1 answer
  • In a presentation outline, each slide must represent a main point in the outline.
    5·2 answers
  • Hey!! Can u help me please!!​
    12·2 answers
  • :|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|
    5·2 answers
  • Which of the following is a database concept that allows for storage and analysis for a dozen to billions of data points?
    7·1 answer
  • Am nevoie de un referat pe tema ,,Asezarea in Pagina '' la informatica
    6·1 answer
  • Which federal legislation requires lending companies to notify consumers of changes in rates and fees?
    12·1 answer
  • Write a program that allows the user to enter three separate strings: a city name, a state name, and a ZIP code.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!