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
FinnZ [79.3K]
3 years ago
15

5. What are looping or interactive statements? which

Computers and Technology
1 answer:
tankabanditka [31]3 years ago
8 0
Looping statements are statements which execute one or more statements repeatedly a several number of times. Specifically when you need to execute a block of code in less time, less memory and etc, the looping concept is necessary.


Python provides many different ways for executing loops. While all the ways provide similar basic functionality, they differ in their syntax and condition checking time...

The while loop: used to execute a block of statements repeatedly until a given a condition is satisfied. (And when the condition becomes false, the line immediately after the loop in program is executed.)

The for loop: used for sequential traversal

(Includes)
- looping through a string
- Break statements
- Continue statements
- range() functions
- else statements
- nested loops


You might be interested in
You want to send an email message to your friend to describe your meeting with Michal. However, you incorrectly type the name as
Gemiola [76]

Answer:

Option B.

Explanation:

The delete key is used to delete the symbol after the insertion point.

Here, Michal is typed as Michael.

So, to delete the letter e from Michael, put the insertion point before e.

If you put insertion point after the letter e or before the letter l, l gets deleted.

In no case, you can put the insertion point after the letter l.

So, option B is correct.

4 0
3 years ago
The owner of BrainPower Tutoring needs an application that clients can use to request an appointment. The application should all
Svet_ta [14]

Answer:

Four buttons are needed for this application

Explanation:

The user activities such as entering the user name, subject, preferred appointment time and phone number are done using a text box. Typically, a text box is used to display, or accept as input, texts from the user.It is a graphical control element intended to enable the user to input text information to be used by the program.

Only activities such as submission of requests, Printing appointment request, clearing the screen and exiting the application, will require the user to click on a button. The buttons should be properly labelled and made to function on click/trigger.

6 0
3 years ago
Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dy
Naddik [55]

Answer:

The answer is "1.25"

Explanation:

{CPU \ time}= {instructions \times  CPI \times  cycle\  time}

\therefore\\\CPI= \frac{CPU \ time}{instructions \times cycle \ time} \\\\cycle \ time = 1 \\\\ns = 10^{-9} s \\

Also for this context, it executes the time =  CPU time. So, the compiler A, we has

CPI_{A}= \frac{CPU \ time_{A}} {instructions_{A} \times cycle \ time}= \frac{1.1 s}{10^{9} \times 10^{-9} s}= 1.1

For compiler B, we have

CPI_{B}= \frac{CPU \ times_{B}} {instructions_{B} \times cycle \ time}

         = \frac{1.5\ s}{ 1.2 \times 10^{9} \times 10^{-9} \ s}\\\\= \frac{1.5}{ 1.2 }\\\\= 1.25

3 0
3 years ago
¿Como ha impactado el transporte y su perfeccionamiento la vida de las personas?
Jobisdone [24]

Answer:

Las instalaciones y actividades de transporte afectan los patrones de desarrollo de la comunidad.

Explanation:

7 0
2 years ago
Write an expression whose value is the concatenation of the three strigs name1, name2, and name3, separated by commas
krek1111 [17]

Answer:

name1+","+name2+","+name3

Explanation:

Given

name1, name2 and name3

Required

Concatenate, separated by comma (,)

To concatenate, we simply use the + operator.

So, the expression is:

name1+","+name2+","+name3

3 0
3 years ago
Other questions:
  • Which type of software is created and updated by a worldwide community of programmers and is available for​ free?
    14·1 answer
  • What type of organism forms the base of food webs?
    9·1 answer
  • What is the supernatural condition called whereby a human transforms into a wolf?
    13·2 answers
  • The ip address 172.16.80.125 is written in binary notation as:
    5·1 answer
  • What best describes deflation?
    9·2 answers
  • FIGURE A-2—Use the information in this chart to answer Question 2.
    11·1 answer
  • How many images are necessary for stereoscopy to work?
    6·1 answer
  • Q-3 A technician is setting up a computer lab. Computers on the same subnet need to communicate with each
    9·1 answer
  • refers to a problem-solving approach that requires defining the scope of a system, dividing it into its components, and then ide
    12·1 answer
  • Which of the following is an example of a tax?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!