Explain what iteration is and why we need it in code

Answers

Answer 1

Answer:

Explanation:

When a cycle of instructions is carried out in a repeated manner, it is called a loop. It is the replication of a process in a computer program, commonly executed with the use of loops. Iteration is essential as it lets a programmer streamline a design by declaring that definite steps will be repeated.


Related Questions

A digital computer has a memory unit with 26 bits per word. The instruction set consists of756 different operations. All instructions have an operation code part (opcode) and anaddress part (allowing for only one address). Each instruction is stored in one word ofmemory.

Answers

Answer:

hello your question is incomplete attached below is missing part of the  question

Determine how many bits are needed for the opcode

answer : 7 bits

Explanation:

Given data:

memory unit = 26 bits per word

Instruction set consists = 756 different operations

Determine how many bits are needed for the opcode

First we determine The number of bits required to represent 756 operations

= [tex]Log^{756} _{2}[/tex] = 9.56 ≈  10 bits

finally the number of bits needed for the opcode can be determined by

[tex]2^9 = 512 ,[/tex]   and [tex]2^{10} = 1024[/tex]

since 2^10 > 756 hence the number of bits will be 10 bits

If you sell homework answers can you get in police trouble

Answers

Answer: nah as long as u dont get caught u wont get into trouble

Explanation:

The different parts of a video game won't mesh if the designers don't?

Answers

Answer:

?

Explanation:

Is there a picture that can explain this better

What is output? Select all that apply.

c = 6

while (c > 0):
print (c)
c = c - 2

Answers

Answer:

6

4

2

Explanation:

First loop:

C = 6

6

C - 2 = 4

Second loop:

C = 4

4

C - 2 = 2

C = 2

2

C - 2 = 0

Is C higher than 0 now? No

If a salesperson were trying to sell this cabin, which word would be best to use to make its size seem most positive?

small
tiny
cozy
little

THE ANSWER IS C. cozy

Answers

cozy because it gives it more of a positive connotation

Answer:

c

Explanation:

other people said it

what is a feature only used in powerpoint

Answers

I think powerpoint is the only presentation maker in which you can use 3D objects

Answer:

Slide transitions

Explanation: cause i got right

i'm sure 100%

What feature is part of design for manufacturability (DFM)?

A.
using a large variety of tools
B.
using the minimum number of parts to form a product
C.
using the maximum number of parts to form a product
D.
creating different parts for the left and right sides of a product

Answers

Answer: I am actually pretty sure its C.

A technician is checking a customer's wireless network performance and has determined it was using 802.11g. The technician's recommendation is for the customer to upgrade to 802.11ac. Which of the following is the BEST reason to upgrade?

Answers

Answer:

Spped

Explanation:

Which type of storage disk and disk drive can you use in the given situation?

Amy wants to borrow an interesting movie from Bruce so that she can watch it in her leisure time. Amy can hand over a (BLANK) to Bruce to copy 900 MB file. Bruce needs to have a (BLANK) drive to record data on the used DVD.


BLANK 1

CD
hard disk
DVD

BLANK 2

DVD-RR
DVD-recordable
DVD-RW​

Answers

I : DVD

II:DVD-R

A DVD-RW would work too.

The types of storage disk drives that can use in the given situation are as follows:

Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a DVD-RW drive to record data on the used DVD.

What do you mean by Storage disk?

Storage disk may be defined as a type of hardware device that can be used to store and save digital data and applications which may be in the form of images, video, audio, etc. For example, CDs, DVDs, hard disks, pen drives, etc.

Hard disks generally store a large quantity of data like 120GB to 30.72 TB. But here the data required to be stored is only 900 Mb, so DVD is the most accurate choice for this storage. It stores 500Mb of data to 8.5 Gb. A single-layer HD-DVD stores up to 15GB of storage capacity.

Therefore, Amy can hand over a DVD to Bruce to copy a 900 MB file. Bruce needs to have a DVD-RW drive to record data on the used DVD.

To learn more about Storage Disk, refer to the link:

https://brainly.com/question/14762201

#SPJ2

the difference between page break and section brek​

Answers

Page break- A point that is marked where the page is about to end and the new page is about to begin.


Section break- break between two paragraphs, or extra space between two sections.

I hoped that helped.
page breaks partition only the body text

of the document, whereas the section

breaks partition both the body text of

the document, as well as partition page

margins, headers, and footers, page

numbers, and the like.

Robert is risk manager at TPT Bank has been asked to implement an updated badge reader system for addressing access control risk. Even though the risk was migrated, Robert observes some remaining risk linked with access control. What type of risk has been observed by Robert

Answers

Answer:

Disruption of computer service

Explanation:

Access control is a method or technique used by network administrators to organize and limit access to resources in a network. In a computer network, there several threats and risk experienced by users and technician, that threatens the confidentially of information and other resources.

The configured badge reader system needs data and draws bandwidth. When this bandwidth is in use, it reduces the network efficiency and computer services causing low productivity in the organization.

One advantage of putting information into a database is that you can filter the data.
O True
O False

Answers

Answer:

True.

Explanation:

One of the purposes of databases is to allow data lookup through queries, which is basically filtering data, using efficient algorithms too.

Answer:

True

Explanation:

Before entering an intersection, the safest searching process is to search ________. right, left, right, center left, center, right, left again center, right, center, right center, right, left, center again

Answers

Answer:

left, center, right, left again.

Explanation:

Generally, in accordance with the highway traffic laws and regulations, it is important and necessary that when entering an intersection even with a green traffic light signal, all drivers should check left, center, right, then left again so as to do a confirmation that there isn't any danger from oncoming vehicles or anyone else. If this is strictly adhered to by road users such as drivers, there would be a great reduction in the number of road crashes or accidents.

In a nutshell, before entering an intersection, the safest searching process is to search left, center, right, then left again.

Safety is very important. Before entering an intersection, the safest searching process is to search Left, Center, Right, and Left.

There is a safe process to take when entering an intersection.  When you have obeyed or yield to the sign facing you on the Intersection , you must then slow down and maybe stop if possible to let the other vehicles or pedestrians cross first and later on you drive ahead.

An intersection is also know as at-grade junction. This is simply the junction where two or more roads converge, diverge or meet and they are often at the same height. Looking Left, Center, Right, and Left is important before crossing an intersection.

Learn more about Road intersection from

https://brainly.com/question/24945907

Which statement best describes the pros and cons of lack of regulation for cloud-based technology? Lack of regulation enables people to collaborate without the extra cost of paying a service provider; however, there is an increased opportunity for cybercrime. Lack of regulation speeds up the process of invention, but requires individuals to back up their own data. Lack of regulation encourages open innovation, but is not always secure. Lack of regulation encourages greater collaboration, but can lead to increased cost from price increases.

Answers

Answer:

3.) Lack of regulation encourages open innovation, but is not always secure.

Explanation:

Got it right in Introduction to Careers in Arts, A/V Technology and Communications

Makayla is cre iting a brochure for her computer consulting company. She designed the layout and placed a banner containing the
company name in the center of the page. Being unsatisfied with the effect, she has decided to move the text box containing the name
to the top of the page. In 3-5 sentences, describe the procedure Makayla will use to move the banner.

Answers

The procedure depends on the software and methods she uses.

In photoshop or InDesign she might need to fdrag and drop the title to the new location.

In Word/Publisher she has to cut and paste the title to the new location or to drag the box to the top.

the data type that can hold one of two values- true or false
A.Boolean
B.string
C.integer
D.character

Answers

Answer:

A. BOOLEAN

Explanation:

A. Boolean is the answer

WILL GIVE BRAINLIEST!!!!!!
what is the first time an American female participated in a space walk.

Answers

Answer:

Kathryn Sullivan

Explanation:

October 1984

Match the order in which you should develop a plan:
1. develop
2. approve
3. present
match them from:
first
second
third

Answers

Develop

Present

Approve

Brainliiest please?

Define the Ctrl+A keyboard shortcut.

Answers

Carl+A selects all the text in the document

Mr. Petrucci, owner of the local pizza parlor, supports a free pre-K program in the community even though he does not have children in the school system, and he trains the high-school students who work in the pizza shop about customer-service skills and how to make pizza. What is a research-based reason he might do this?

A. There is a direct correlation between early-childhood education and decreased drop-out rates and local petty crimes.

B. He knows that teachers receive lower salaries than many local business owners so they should be supported in their chosen profession.

C. He feels it is a citizen's duty to support education for the betterment of the community even if it does not directly affect him or her.

D. He knows that the federal government does not pay for the pre-K programs, and he wants to help the kids.

Answers

Answer:  B

Explanation:

The Start menu on Windows computers changes based on actions performed by their users.

Answers

That’s true good luck

Alexandra wants to create a math game in which users have to correctly answer mathematical problems. She wants the game to solve a randomly created problem and then indicate if the player's answers are correct or incorrect. How is Alexandra getting the program to solve mathematical problems?

Answers

Answer:

The way Alexandra will get the program to solve mathematical problems is for her to write an algorithm, so that the computers can follow  series of step-by-step instructions to get the equation solved

Explanation:

From the question, we are informed about Alexandra who  wants to create a math game in which users have to correctly answer mathematical problems. She wants the game to solve a randomly created problem and then indicate if the player's answers are correct or incorrect. In this case the way Alexandra will get the program to solve mathematical problems is for her to write an algorithm, so that the computers can follow  series of step-by-step instructions to get the equation solved. An algorithm  in computer is often created as function, it can be regarded as a step-by-step instructions that are put in place to carry out specific task. This can range from simple process to complex operation, simple operation such as addition or multiplication of numbers and complex operation that involves playing of video file that is compressed.

Why do you usually find domain names instead of IP addresses in a URL? Select one: a. An IP address would make your web page load more slowly b. A domain name is easier to remember C. An IP address is not guaranteed to get you to the right server computer d. Domain names are free, while IP addresses are very expensive ​

Answers

Answer:

b

Explanation:

for exaple brainly.com is easy to remember instead of 104.17.73.91

An ad with a cartoon toothbrush is likely targeting ____.
O A. adults
B. dentists
C. people over 65
O D. young children

Answers

Answer: D, Young Children

Explanation:

answer: young
children
explanation: kids have bad hygiene

What pets are on Terraria and how can you get them?

Answers

Answer:

There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.

Explanation:

Answer:

You can get some from the traveling merchant, others can be found by simply playing the game. Most bosses drop pets in master mode, and the EoW and BoC rarely drop pets in normal mode

Explanation:

Compare and contrast the advantages and disadvantages of the Windows, Apple and Linux operating systems.

Answers

In apple, you may do other things that windows can not provide. Yet, Windows are good aswell since it has better things than apple. I’m so sorry if i’m wrong.

What pets are on Terraria and how can you get them?

Answers

Answer:

There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.

Explanation:

There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.

Answer:

Depends on version

Explanation:

Check ther official website entering your vertion in ther

How is it my story book and my science world book? ​

Answers

Answer:

there could be stories about science in the science world book??

Explanation:

Which technique will you use to make listening to audio a pleasant experience?
Audio _____ is the smooth shift of one audio file into another.

Answers

Don't quote me on this, but I *think* the answer is "Audio transition/transitioning is the smooth shift of one audio file into another." I hope I was able to help and I apologize if I was wrong. ♡♡

Answer:

Sample response: Good thriller has beginning, middle, and end. Reader has to care about the characters. A character should be mysterious so readers are interested. Crime is a good way to talk about human condition. Good thrillers change people’s point of view in some way.

Explanation:

When do you use a for loop instead of a while loop? (There may be more than one answer.)

You know how many times you want the loop to run.

To do number calculations.

To repeat code.

When there is a defined start and end.

Answers

Answer:

- You know how many times you want the loop to run.

- When there is a defined start and end.

Explanation:

Required:

When to use for instead of while loop?

First, it should be noted that both for loop and while loop are used for iteration. However, depending on the scenario; there is preference on one to the other.

The basic syntax of for loop is:

[tex]for(start;end;condition)\{\}[/tex]

The condition could either be increment or decrement

The basic syntax of while loop is:

[tex]while(condition)\{\}[/tex]

The condition could be any condition whatsoever

Analyzing the options one after the other.

1. How many times the loop to run.

The for loop is preferred here because of the simplicity of the for loop.

2. & 3. Both the for and while loops are used for code repetition and to perform number calculations

4. Defined start and end.

From the syntax of the for loop

[tex]for(start;end;condition)\{\}[/tex]

A for loop has a definite start and end in its basic syntax and is more preferable to use instead of a while loop.

Hence, 1 & 4 answer the question

Other Questions
Give an example of an official in public service who failed to show probity, and explain youranswer. : Which expression is equivalent to 1/5 divided by 1/2? A- 1/5 x 1/2B- 1/5 x 2/1C - 5/1 x 2/1 D 5/1 x 1/2PLZZ HELP I NEED IT NOWW A personal financial statement is also called which of the following? Which group of people felt the economic issues associated with the recession before the stock market crashed?rancherschildrenfarmersretailers based on the thesaurus entry, which word would best replace the underlined word without changing the overall meaning of this sentence? what cause the conflict between russia and austria hungary What is the least number of degrees you could rotate a regular pentagon (5 equal side lengths) around its center so that it appears to be unchanged? 7.(03.02) What is the factored form of 3x2 + 5x 12? (1 point) (3x + 3)(x + 4) (3x - 1)(x 4) (3x + 4)(x - 3) (3x 4)(x + 3) In the Constitutional Convention the delegates faced many disagreements about representation in congress. The delegates agreed on the Virginia Plan and the New Jersey Plan which became known as the ____________ Compromise. The delegates also agreed that 3/5ths of the slave population should count for representation and for taxes which became known as the ________ Compromise. which of the following describes the beginning of the heros journey ? commonlit NEED HELP ASAP PLZZZZ Please help me with 4-6 ASAP I will give 30 points PLZ HELP WILL GIVE BRAINLIEST Which of the following best describes how the types of cell reproduction relate to major groups of organisms?Group of answer choicesMeiosis only occurs in organisms that reproduce sexually.Meiosis only occurs in plants and fungi.Mitosis occurs only in animals with backbones.Mitosis occurs only in organisms that have cell walls. PLS HELP!! Which of the following events in "The Adventures of Theseus" builds the tension and drives the plot forward?A. Theseus enters the Labyrinth.B. Theseus is taunted by others.C. Theseus is recognized by his father.D. Theseus forgets to raise the white sail. How did the use of an initiative increase direct democracy? It gave voters the power to remove an elected official from office. It allowed voters to decide if a proposed bill should become law.It gave voters the power to propose and vote on a law.It allowed voters to avoid pressure from party bosses. Which of the following BEST completes this diagram?Representation depends on a states size in square miles.Representation based on a states populationRepresentation appointed by executive branchRepresentation approved by judicial branch please help i need it now 2 drop down :900 or 1,900 You purchase a music store for $115,000. The estimated monthly revenue is $5500 and you expect monthly costs are $3200. Let R represent revenue during the first t months . Write a linear model for R I dont know how to find out if this is a solution or not New home construction is at an all-time high, due to increased demand the cost of new homes has gone up 15%,In which phase of the business cycle is the economy?