Which the following is true of functions?

A. Programs written with functions more quickly

B. Function can help remove repeated code from a program

C. Replacing repeated code with a function will reduce the number of commands the computer needs to run.

D. Functions are called once but can be declared many times

Answers

Answer 1
The answer you are clocking for is B. Hope this helped!

Related Questions

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.

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

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:

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

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

Answers

Answer:

Kathryn Sullivan

Explanation:

October 1984

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

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

Answers

That’s true good luck

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.

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

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.

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

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.

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

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:

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

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

Define the Ctrl+A keyboard shortcut.

Answers

Carl+A selects all the text in the document

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

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 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

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:

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%

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?

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.

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:

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:

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.

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:

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
Other Questions
i need help with the picture down below. asap if you could. PLEASE HELPPPis this a good obituary??Napoleon Bonaparte passed away on May 5, 1821 at Longwood House, Longwood Saint Helena, Ascension and Tristan da Cunha when he was 51 years old.Napoleon was born on August 15, 1769 in Ajaccio, France. He was the fourth of eleven children from his parents, Carlo Buonaparte and Letizia Romolino. His educated began when he attended an all boys school until he turned ten. Once he turned ten, he entered in the military schools in France. Finally, he transferred to the College of Brienne. He received a great education throughout his years of school.Napoleon had gotten married twice. His first wife Empress Josephine, whom he had two children with, Napoleon II and Eugene de Beauharnais. Unfortunately, their marriage did not work and they separated. His second wife was Marie Louise, Duchess of Parma.Napoleon was known to be a successful military leader and led campaigns during the French Revolution period.He had a strong character, bright intelligence, and was even viewed as inspirational for individuals. He was like a hero since he provided stability and positive reforms during a negative time period. Napoleon was the first consul of France. While he was consul, he changed the French educational system, he created the Napoleonic Code, and made an agreement with the papacy. He wanted things to be better for France, as well as expand their territory to make other countries come apart of France. He successfully conquered Spain, Portugal, and Prussia.On May 5, 1821, Napoleon passed away from stomach cancer at 51. He peacefully passed away in his home and was buried Les Invalides, Paris, France. Napoleon Bonaparte made an impact on everyones lives. He was seen as a positive impact during the French Revolution. Napoleon Bonaparte will sadly be missed by individuals worldwide and we will always carry his memory in our hearts. If you have 128 oranges all the same size, color, and weight except one orange is heavier than the rest. Write down a C++ Code/Algorithm to search the heavy orange, in how many steps would you be able to find it out? Evaluate 11 1/2 +(4 2/3)x for x=6.A. 17 1/2B. 16 1/2C. 36 1/6D. 39 1/2 Please help!! answer choices and question below LINEAR EQUATIONS 2(x-1)=3(x+1) Solve the following inega) x - 5x +4> 02 people who report others questions are clearly unhappy with their lives.sorry but facts square root of 7-?............................. Why do I keep getting notifications but nothing's there Scientists find a wooden spoon and they want to use Carbon dating to out how old it is. If the amount of carbon left is 85% of its original amount, how old this artifact? (Note here that we are actually finding the age of the wood from which the spoon was made HELPPP ASAAPP!The____was an addition to the Monroe Doctrine. It stated that the United States would intervene to preserve the stability of any Central or South American country it felt was in danger of collapsing. someone please help me!!! ill give brainliest 2 - x = 13 what is the value x Which sentence best explains the relationship between pressure and thesolubility of a gas?A. The greater the pressure, the more gas that will dissolve.B. Solubility increases with pressure for some gases but not others.C. The lower the pressure, the more gas that will dissolve.D. Pressure has no effect on the solubility of gases. Usualmente, yo_______ por la noche. * bao me despierto me bao te baas is 9.22222 a irrational number What is the first step in evaluating the expression shown below?(12.9 3.1) 6.2 2 + 43A. Multiply 3.1 and 6.2B.Add 2 and 43.C.Subtract 3.1 from 12.9D.Subtract 2 from 6.2.HELPPPP who is Indian intelligent student, please answer my maths question You and a friend decide to sell cookies to raisemoney for a local fundraiser. After d days, youhave raised (5d + 6) dollars and your friend hasraised (6d + 2) dollars. Write an expression thatrepresents the total amount of money that youraised together