What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms

Answers

Answer 1

Answer:

1. You want to use parameters

2. You don't want your program to run multiple times

3. You want to call that snippet of code throughout your program

hope this helped :D


Related Questions

Help with my Nintendo DS please I now it’s not school related but I need it for my little sister

Answers

Answer:Go to settings and do factory reset!

Explanation:


An identifier that allows multiple elements in an HTML document to be
styled in the same way

Answers

Answer:

CSS , (Possibly Divs)

Explanation:

I have picked CSS, and possibly Div's as my main explanation and answer here is why.

CSS - Cascading Style Sheets, this allows you to edit multiple elements in a HTML document, such as the color or any CSS attribute.

If you would like to learn more about CSS, and the multiple options that CSS provides such as Internal Styles, External Styles, lastly In-line styles. I highly recommend the resource "W3Schools".

DIV's - Divs are basically like a container, where you can input styles into this container that can effect those elements such as if I want the background-color, of the div it would effect all the elements inside that div. However, I said this could be a possibility since it isn't CSS where it is styled however you can group these elements to one div. You can also edit the CSS of the Div to effect it.

What improved image quality in televisions?
A: FM technology
B: AM technology
C: color CRTs
D: black-and-white CRTs
E: coaxial cables

Answers

Answer:

coaxial cables are the answer

The First Amendment of the Constitution is one of the most important parts of the Bill of Rights. What specific rights does this amendment guarantee to every American citizen?

Answers

Answer:

The First Amendment to the U.S. Constitution protects the freedom of speech, religion and the press. It also protects the right to peaceful protest and to petition the government

Explanation:

if this answer is correct make me as brainlelist

Answer:

its guarantees the freedom of speech, religion, and the freedom of the press.

Explanation:

The type of medium used to hide data in steganography is referred to as __________. This may be a photo, video, sound file, or Voice over IP, for example.

Answers

Answer:

:L

Explanation:

Answer:

symmetric cryptography

Explanation:

can some one please help

Answers

Answer:

the thing is black for me. retake?

Explanation:

PLEASE HURRY!!
Look at the image below!

Answers

The answer would be 2&5 because this is correct
The answer should be 2&5 I’m not 100% sure on this but it makes the most sense

Whenever you are designing a project for commercial use (making money) and need to use photographs with people in them you must obtain a__________release.

Answers

Answer:

Copyright

Explanation:

PLEASE ASAP!!

Today, most film editors manually cut and splice the actual film footage once it arrives.


O True
O False

Answers

The correct answer should be true, as their job is to *edit* the footage.

Answer:

True

Explanation:

edg2021

The film editor is such an important person on a film that he is often hired before the cast and other crew. This editor is responsible for revising the filmed footage until it becomes the finished film. The editor begins by reading the script to get familiar with the story. It is important for the editor to know the script because film scenes are generally shot and edited out of sequence. When footage begins to come in, the editor reviews the footage and production notes provided by the director and production team. These notes contain details about the footage and the director’s comments about the footage. The editor then uploads or transfers the footage to computers in the editing bay and begins editing the footage into finished scenes. The editing bay is the control room with editing equipment, computers, monitors, and sound system where film editors manipulate plot, sound, graphics, and score to produce a well-constructed scene. This is a painstakingly detailed and time-consuming task

Give short answers.
h.
How have computers affected education?
i.
What roles do computers play at home?

j.What effects have computers had on the practice and enforcement of law?

k. How have computers changed entertainment?

Answers

Answer:

H) Well it depends how you put it. I'm Doing virtual School for my education. And it is so easy when we have technology out their to provide the help that we need. So I think it has affected education pretty good. You can Also google the answers.

I) Looking up Answers at home

J) Parents can check up on their child's school work and see if they can help them. Also The law is involved in Education.

K) It depend's on how you put it

Explanation:

Short Answers

If you got band from a local library, what would be the reason for it besides shouting and talking? You're answer has to fit you're personality?

Answers

Answer:

I would get a band from the library because I check out ten books and returned them in a week. I also would just be in the library all the time and they would get frustrated. That or I would spend hours talking to a librarian about my favorite books and they would get fed up with me.

The Internet:

O A. only gives us access to our local communities.

O B. hinders our ability to influence people.

O C. limits us to local social networking sites.

O D. enables us to join global online communities.​

Answers

Answer:

D- it enables us to join global online communities.

Explanation:

Thanks to social media and other websites, content you produce can be seen all over the world.

Match the image to its type.


Rgb messes up taking pics from a iPhone 11 to a computer sorry it looks bad

Answers

Warm Colors:

Red flowersOranges

Cool Colors:

Blue skiesPurple butterflies

Neutral Colors:

Brown woodWhite birds

Reds, oranges, and yellows are considered warm, and greens, teals, blues, and purples are considered cool. Colors such as white, black, brown, or gray are all neutral.

If you would like to compare information on two different Web pages, you should _____.
scroll through the pages
the home page
use tabs
organize bookmarks

Answers

Answer:

Use Tabs

Explanation:

I had this lesson on odyessy ware and this was right the other guy is wrong

Answer:

Use Tabs is also correct on Edge nuity

Explanation:

i have Keyboarding and Apps

Name the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.

A. Harp
B. Violin
C. Viola
D. Clarinet

The subject is Music Technology.

Answers

Answer:

VIOLIN

Explanation:

The VIOLIN is the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.

I think the correct answer would be harp!! BRANLIEST plz

which part of the brain controls the movement of muscles​

Answers

Answer:

PLEASE MARK AS BRAINLIEST

Explanation:

Cerebellum

Cerebellum. The cerebellum (back of brain) is located at the back of the head. Its function is to coordinate voluntary muscle movements and to maintain posture, balance, and equilibrium.

Soft skills are more likely to be transferable than hard skills?

True or false

Answers

Answer:

The correct answer is true.

Explanation:

Examples of Soft skills are

Communication TeamworkPositive Attitude etc.                              

These skill can be applied to any job. That is why we have said that soft skill are transferrable.

Now let look at hard skill,

Hard skill like programming in python. Making the architecture of computer. These skill can not be transferred to a new job like authoring a book.

so, hard skills are not easily transferrable.

What is a resistor?
O A switch
O A light bulb
O A battery

Answers

Answer:

A Battery would be the correct awncer

In which situation is coauthoring of presentations primarily utilized?

A reviewer must be able to make changes to a presentation after an author creates it.
Multiple authors must be able to simultaneously make changes to a presentation.
Multiple reviewers have to be able to view one another’s changes after they are made.
One author and one reviewer work on a presentation at different times.

Answers

Answer:

A i belive

Explanation:

Answer:

B) Multiple authors must be able to simultaneously make changes to a presentation.

Explanation:

Co indicates being part of a whole. So this means that two or more authors are working on this project simultaneously. Such as co-management; two bosses working together in an equal position.

Can someone help me I am coding.

Answers

Answer:

i will help u

Explanation:

what did you want

For Internet Protocol (IP) v6 traffic to travel on an IP v4 network, which two technologies are used

Answers

Answer:

These technologies are: Dual Stack Routers, Tunneling, and NAT Protocol Translation.

Explanation:

Dual Stack Routers -  This is the process in which a router’s interface is attached with IPv4 and IPv6 addresses

Tunneling -Tunneling is used as a medium to help the different IP versions  communicate with the transit network.

NAT Protocol Translation -  This helps the IPv4 and IPv6 networks communicate with each other since they do not understand the IP addresses of each other since, they are different IP versions.

The two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

A datagram can be defined as a transfer unit that is associated with a packet-switched network.

Internet Protocol version 6 (IPv6) is a protocol used for packet-switched inter-networking.

The IPv6 is a protocol used for end-to-end datagram transmission through multiple Internet Protocol networks.

In conclusion, the two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

Learn more in:

https://brainly.com/question/14851068

Four students measured the mass of a piece of metal whose accurate mass is 34.75g. Their results are 34.2g, 33.75g, 35.0g, and 34.69g. Explain whether the results are precise or accurate​

Answers

Answer:

The given data are more precise than they are accurate

Explanation:

From the given measurements, we have;

The accurate mass = 34.75 g

The deviations from the accurate measurement is as follows;

34.2 g - 34.75 g = -0.55 g

33.75 g - 34.75 g = -1 g

35.0 g - 34.75 g = 0.25 g

34.69 g - 34.75 g = -0.06 g

For precision measurement, we find the average deviations as follows;

The sum of the deviations = -0.55 g - 1 g + 0.25 g - 0.06 g = -1.36 g

The average deviation = -1.36 g/4 = -0.34 g

For accuracy measurement, we find the average of the absolute deviations as follows;

The sum of the absolute deviations = 0.55 g + 1 g + 0.25 g + 0.06 g = 1.86 grams

The average absolute deviation = 1.86 g/4 = 0.465 g

Therefore, the magnitude of the average deviation is less than the magnitude of the absolute deviations, therefore, the given data are more precise than they are accurate

The data type of 17.3 should be ________________.

int
float
str
list
Please answer quick.​

Answers

Answer:

float

Explanation:

Answer:

17.3 should be a float

Explanation:

Float type is a data that is contain a decimal number

A common error by beginning programmers is to forget that array subscripts start with ________.
a. 0
b. the number of elements in the array
c. spaces
d. 1

Answers

Answer:.

Explanation:

select the correct option
and thanks

Answers

M cucumber
Should be the ans

Answer:

Cucumber

Explanation:

Cucumber has the largest portion. .08 kg/tray/day. The entire graph equals 100%, and the cucumbers take up 17.8% of it.

If you had three extra siblings, what would be your birth order and what personalities would you like them to have?

Answers

Answer:

mixed personalities l

that will be cool

Answer:

I already have 4 step brothers, 2 real brothers, 1 step sister, and a half sister, so 3 more people would be a lot. If I got to pick their personalities and gender, I would want 1 more sister and 2 more brothers. I would watn a more alt brother, a more fem brother, and an indie sister. Kinda just an aesthetic type for them.

Major innovations made from the establishment of abucus to the 5th computer generation

Answers

Answer:

Cogs and Calculators

It is a measure of the brilliance of the abacus, invented in the Middle East circa 500 BC, that it remained the fastest form of calculator until the middle of the 17th century. Then, in 1642, aged only 18, French scientist and philosopher Blaise Pascal (1623–1666) invented the first practical mechanical calculator, the Pascaline, to help his tax-collector father do his sums. The machine had a series of interlocking cogs (gear wheels with teeth around their outer edges) that could add and subtract decimal numbers. Several decades later, in 1671, German mathematician and philosopher Gottfried Wilhelm Leibniz (1646–1716) came up with a similar but more advanced machine. Instead of using cogs, it had a "stepped drum" (a cylinder with teeth of increasing length around its edge), an innovation that survived in mechanical calculators for 300 hundred years. The Leibniz machine could do much more than Pascal's: as well as adding and subtracting, it could multiply, divide, and work out square roots. Another pioneering feature was the first memory store or "register."

Apart from developing one of the world's earliest mechanical calculators, Leibniz is remembered for another important contribution to computing: he was the man who invented binary code, a way of representing any decimal number using only the two digits zero and one. Although Leibniz made no use of binary in his own calculator, it set others thinking. In 1854, a little over a century after Leibniz had died, Englishman George Boole (1815–1864) used the idea to invent a new branch of mathematics called Boolean algebra. [1] In modern computers, binary code and Boolean algebra allow computers to make simple decisions by comparing long strings of zeros and ones. But, in the 19th century, these ideas were still far ahead of their time. It would take another 50–100 years for mathematicians and computer scientists to figure out how to use them (find out more in our articles about calculators and logic gates).

Explanation:

Debugging is finding and fixing problems in an algorithm or program. True
or False.
False
True

Answers

The correct answer is True

Debugging is finding and fixing problems in an algorithm or program is True statement.

Debugging is indeed the process of finding and fixing problems, errors, or bugs in an algorithm or computer program.

When a program does not produce the expected output or behaves unexpectedly, programmers use debugging techniques to identify and resolve the issues.

This involves analyzing the code, checking for syntax errors, logical errors, and unexpected behavior, and making the necessary corrections to ensure the program functions correctly.

Thus, the given statement is True.

Learn more about Debugging here:

https://brainly.com/question/9433559

#SPJ6

How does entertainment relate to coding?

Answers

Answer:

not sure if this is the type of answer you're looking for but: Entertainment can relate to coding because in TV shows and movies, there is lots of editing. Especially with cartoons. Inorder to make these, we have to use coding. This can even relate to real life plays and preformenses depending on how much technology you use to preform them.

which of the following types of correspondence is used to inform the reader of new information such as a policy change

Answers

Answer: Memo

Explanation: Have a good day, pls mark me brainliest <3

Other Questions
A person whose job is to seek out thebetterment of a company is known aswhat?A. SpyB. CompetitorC. TrusteeD. Antitrust Can someone help me please The table shows the balance of Steven's savings account over time. Assuming there are no withdrawals, if you graph the relationship for Steven's monthly balances, which points will lie on the resulting line? Solve the equation.W+3/3 = - 4 starting in the 15th century leaders in China and Japan decided to cut off contact with other countries which is not a reason for doing this Write (2x10) + (9 x 1) + (7 x 0.10 ) + (8 x 0.001) in standard form. which element has chemical properties that are most similar to potassium? a. calcium b. cesium c. nitrogen d. sulfur write short note on jhyali pitne. compare the reproductive strategies of a short lived species such as a starfish and a long lived species such as a hippopotamus Which of the following is the name for the long runway that extends out from themain stage in a kabuki theater? *kerenhashigakarikurokoyu-kyo en PLEASE PLEASE PLEASE HELP!! how many times does 10 go into 2280 In addition to fighting in the army how did Europeans colonies contribute to the war effort? Why do many people object to globalization?They object because of the reductions in wages brought about by globalizationThey want to protect the domestic industries that are vital to their homelands.They understand how much environmental damage can be caused by international competition.They feel that globalization mainly serves the interests of the United States at the expense of poor countries. Identify the three body regions targeted by strength training exercises. What are modifiers in a sentence? words or phrases that transition from one idea to the next words or phrases that describe something else words or phrases that evoke emotions words or phrases that illustrate a point Juan is three times as old as Gabe and Gabe is six years older than Catherine. If the sum of their ages is 149, how old is each person? Define a variable, write an equation, solve the equation, and answer in a complete sentence. (Remember to clearly show your work on your work page.) 4(x - 1) + 5x = 6x - 16Please help me solve the equation Please help me! thank you! Change 'As I was unable to help in any way,I gave her some money'into simple sentence