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
soldi70 [24.7K]
3 years ago
8

How many iterations will loops execute?

Computers and Technology
1 answer:
Zanzabum3 years ago
3 0

Answer:

(a)20

(b)20

(c)15

(d)20

(e)10

(f)5

Explanation:

(a) In this loop it start from "0" and iterated up to the value of i= "19" because there is 1 increment in each iteration i.e(i++) so total iterations will executed 20.

(b) In this loop it starts from "1" and iterated up to the value of i="20" because there is 1 increment in each iteration i.e(i++) so total iterations will executed 20.

(c) In this loop it start from "5" and iterated up to the value of i= "19" because their is 1 increment in each iteration i.e(i++) so total  iterations will executed 15.

(d) In this loop, it starts from "20" and iterated up to the value of i= "1" because there is 1 decrement in each iteration i.e(i--) so total iterations will execute 20.

(e) In this loop, it starts from "1" and iterated up to the value of i="19" because there is 2 increment in each iteration i.e(i=i+2) so total iterations will execute 10.

(f) In this loop, it starts from "1" and iterated up to the value of  i= "19" because there is  twice the increment of value of i=i*2 so total  iterations will executed 5

You might be interested in
Which girl is he baddest 1. Shawty 2.Lisa 3.Ashley
Ainat [17]

Answer:

. . . . . . . S H A W T Y.. . .. . .

3 0
3 years ago
A data analyst creates a data frame with data that has more than 50,000 observations in it. When they print their data frame, it
Alexandra [31]

A list is an R-object that can have a wide range of different items inside of it, including vectors, functions, and even another list.

The head() function lets you display the first observations in a data frame. The method tail() prints the final observations in your data collection in a manner similar to that. Both head() and tail() print a top line called the 'header', which contains the names of the distinct variables in your data collection. The R language's transform() function is used to alter data. The first parameter is transformed into a data frame. A suitable variable name comprises of letters, numbers and the dot or underline characters. The variable name does not begin with a number but rather with a letter or a dot.

Learn more about variable here-

brainly.com/question/13544580

#SPJ4

7 0
1 year ago
Gary says, "Ports are where data enter a network before reaching a gateway. The data travel via transmission
m_a_m_a [10]

The correct explanation of why Gary is wrong is that Ports are where connectors attach to destinations, not where data enter the network.

<h3>What is a port?</h3>

A port is physical part of the computer system where the external devices are connected using cables.

Therefore, it serves as an interface between the motherboard and an external device of the computer.

From Gary statement about ports, he is wrong because, Ports are where connectors attach to destinations, not where data enter the network.

Learn more about ports here:

brainly.com/question/4804932

#SPJ1

3 0
2 years ago
Hilda is troubleshooting a problem with the encryption of data. at which layer of the osi reference model is she working?
Fittoniya [83]
The la<span>yer of the osi reference model that hilda is currently working on is: presentation
On Osi reference model, the presentation layer is created </span><span>to take care of the semantics and syntax of the information exchanged between two systems. The presentation layer will make sure that the receiver of the information will understand the data that being given.</span>
7 0
3 years ago
Clicking on the cube that appears in the top right of the 3D view window will: (1 point)
german

Answer:

The correct option is;

Toggle between orthographic and perspective views

Explanation:

On a game design program such as Unity 3D, when the cube with colored pointers that can be located on the 3D view window is clicked, it will bring about a switch between the perspective or 90 degrees and orthogonal views which enables the display of the object in three dimension that appears more like real life figures.

5 0
4 years ago
Other questions:
  • A deleted file or folder is not permanently deleted from a computer until which event occurs? The computer is restarted. The Rec
    13·2 answers
  • Write the following function without using the C++ string class or any functions in the standard library, including strlen(). Yo
    12·1 answer
  • Which access object(s may be used when creating a lookup field to select valu?
    8·1 answer
  • A motherboard has four DIMM slots; three slots are gray and the fourth is black. What type of memory is this board designed to u
    6·1 answer
  • Mobile phones that function as credit cards are called _____.
    11·1 answer
  • I want to get an output picture in python but it says this. I'm using turtle
    12·1 answer
  • How do you give people a brianly i am knew as u can tell
    6·2 answers
  • A(n) ________ attempts to slow down or stop a computer system or network by sending repetitive requests for information.
    6·1 answer
  • Summary on how drones can help manage the environment
    13·1 answer
  • What type of e-mail typically lures users to sites or asks for sensitive information?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!