Which of the following is true of functions?

A: Replacing repeated code with a function will reduce the number of commands the computer needs to run
B: Functions are called once but can be declared many times

C: Programs written with functions run more quickly

D: Functions can help remove repeated code from a program

Answers

Answer 1

Answer:

the answer is D

Explanation:


Related Questions

Help

Question #3
Multiple Choice
You designed a program to create a username using the first three letters from the first name and the first four letters of the last name. You
are testing the program, the last step in the process. For a user named John Smith, what username should the program create?
O johnsmith
John Smith
O JohSmit
johsmit

Answers

JohSmit would be the answer because it has first 3-4 letters with correct caps and all

click here for a answer

Answers

Answer:

the 3th one

Explanation:

You would like to search for information about storms but not tornadoes. What type of search strategy may be useful?

entering keywords into many different search engines
a Boolean search
a wild-card search
searching for synonyms

Answers

Answer:

boolean search

Explanation:

Answer:

Boolean Search

Explanation:

what does Iamo mean? i keep on hearing it and idk what it means

Answers

Answer:

laughing my ars e off

Explanation:

AAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH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answer:

1. define the task

2. input

3. process

4. output

5. check accuracy

Explanation:

have a lovely day <3

Directions and Analysis
Task 1: Typing an Essay
Select a favorite sport, contest, or game of your choice. Write an essay in standard form
(sentences, paragraphs, bullets, etc.) to include details, such as the sport or game's unique
characteristics, rules, tournaments, useful strategies, famous players, teams, etc. Your target
time for this task is 2,000 words typed accurately in 90 minutes. Ensure that you type while
maintaining the correct posture and finger placement.

Answers

Answer:

Sorry this is a typing test, too pysical for online help as for the words and time limit to reinforced learning, if content is the issue grab an article or paper and type that.

WHO WANTS TO PLAY AMONG US

Answers

Answer:

Explanation:

ME

Alright, Give me a code

Enzo is writing a paper about the similarities and differences between ancient Rome and modern America. Which text structure is he most likely to use? problem and solution comparison and contrast chronological order order of importance I NEED HELP BAD IT IS TIMED

Answers

Answer:

The correct answer is B.) comparison and contrast

Explanation:

just did the unit test review. you are welcome

Answer:

The correct answer is compare and contrast.

what is ever single animatronic in fnaf sl / fnaf 5

Answers

Answer:

Funtime Freddy.

Baby.

Ballora.

Ennard.

Funtime Foxy.

Minireena.

William Afton.

Explanation:

i am a HUGE fan of fnaf hoped this help

Answer:

my fav is grim foxy

Explanation:

baby

ballora

the litttle balarena sh ts

funtime freddy

bon bon

funtime foxy

the babies

endo dude

the macenics

Which monitor will you prefer in your school ; CRT or FPD ?why ?

Answers

Answer:

CRT

Explanation:

because this is very comfortable for me

PLZ ANSWER QUICKLY! TIMED!
Select all that apply.

Select all barriers to oral communication.


well organized

laziness

lack of time for preparation

accent

being unprepared

not paying attention

noise

Answers

Answer:

noise accent unpreparedness would be some examples

The barriers to oral communication are as follows:

AccentBeing unprepared.Noise.Not paying attention.

What is Oral communication?

Oral communication may be defined as the process of expressing your thoughts, feelings, emotions, etc. with the utilization of words spoken directly by mouth irrespective of any techniques or instruments.

It is one of the best and fastest ways of communication as compared to written and signed communication. It only involves an action of words that directly makes a communication influential.

Due to the direct utilization of words through mouths, it has numerous barriers that ultimately decrease its effectiveness. Some of its barriers are noise, accent, not paying actual attention to the speaker, being unprepared, etc.

All such barriers make the halt between the listeners and speakers. The words of the speakers not successfully reached on the ears of the listeners and thus its affects the overall communication.

Therefore, it is well described above.

To learn more about Oral communication, refer to the link:

https://brainly.com/question/13134402

#SPJ2

Select the education and qualifications that are most helpful for Insurance Services careers. Check all that apply.
leadership skills
critical thinking skills
knowledge of credit systems
research skills
O certification and licensure
bachelor's and master's degrees

Answers

Answer:

critical thinking skills

research skills

certification and licensure

bachelor's and master's degree

Explanation: edge 2020

The education and qualifications that are most helpful for Insurance Services careers are as follows;

Critical thinking skills.Research skills.Certification and license.Bachelor's and master's degrees.

Thus, the correct options for this question are B, D, E, and F.

What is the significance of Insurance Services careers?

The significance of Insurance Services careers is understood by the fact that it is one of the most lucrative sectors in the entire world. The demand for this sector is rapidly growing. It provides various opportunities in specific countries along with global levels like World Monetary funds, world banks, etc.

It is required for all sectors to have particular criteria and eligibility. So, if you are interested to make your career in Insurance Services you definitely have bachelor's and master's degrees along with certain certifications and licensure.

Therefore, the correct options for this question are B, D, E, and F.

To learn more about Insurance services, refer to the link:

https://brainly.com/question/25855858

#SPJ5

vkbfnkynbvkbj how do i unblocked websites on my school laptop?

Answers

Answer:

impossible

Explanation: sorry but too bad

Convert the following decimal numbers into equivalent binary numbers and then convert the binary answer back into equivalent decimal. Show all the steps of conversions.
• -8735

Answers

Answer:

[tex]-8375_{10} = -10001000011111_2[/tex]

[tex]-10001000011111_2 = -8735_{10[/tex]

Explanation:

Given

-8735

Required

Convert to binary and then back to decimal

To convert to binary, we divide by 2 and write down the remainder (ignore the negative sign, first)

8735 / 2 = 4367 R 1

4367 / 2 = 2183 R 1

2183 / 2 = 1091 R 1

1091 / 2 = 545 R 1

545 / 2 = 272 R 1

272 / 2 = 136 R 0

136 / 2 = 68 R 0

68 / 2 = 34 R 0

34 / 2 = 17 R 0

17 / 2 = 8 R 1

8 / 2 = 4 R 0

4 / 2 = 2 R 0

2 / 2 = 1 R 0

1 / 2 = 0 R 1

Write out the remainder from bottom to top

[tex]8735_{10} = 10001000011111_2[/tex]

Include the negative:

[tex]-8735_{10} = -10001000011111_2[/tex]

To convert to decimal, we simply multiply the individual digits with the base (in this case, it is base 2) raise to power of the index of that digit.

There are 14 digits in 10001000011111 and the rightmost digit is of index 0 and it increased to the left.

Ignore the negative, first; so, we have:

[tex]10001000011111_2 = 1 * 2^{13} + 0 * 2^{12} + 0 * 2^{11} + 0 * 2^{10} + 1 * 2^{9} + 0 * 2^{8} + 0 * 2^{7} + 0 * 2^{6} + 0 * 2^{5} + 1 * 2^{4} + 1 * 2^{3} + 1 * 2^{2} + 1* 2^{1} + 1 * 2^0[/tex]

[tex]10001000011111_2 = 1 * 8192 + 0 + 0 + 0 + 1 * 512 + 0 + 0 + 0 + 0 + 1 * 16 + 1 * 8 + 1 * 4 + 1* 2 + 1 * 1[/tex]

[tex]10001000011111_2 = 8192 + 512 + 16 + 8 + 4 + 2 + 1[/tex]

[tex]10001000011111_2 = 8735[/tex]

Include the negative sign

[tex]-10001000011111_2 = -8735_{10[/tex]

Please answer quickly :S

A keyboard would be considered _____. Select 2 options.




storage


an input device


hardware


software


an output device

Answers

Hardware and an input device

Answer: An input device and hardware

Explanation:

What is output by the following code segment? int x = 11; int y = 11; if (x != y ) { System.out.print("one"); } else if (x > y) { System.out.print("two"); } else if (y = x) { System.out.print("four"); } else { System.out.print("five"); }

Answers

The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.

Composition of a scene requires a lot of careful analysis.
The process of composing shots is known as what

Answers

Answer: framing

Explanation: i just took the test and i got it right hope this helps

4.2 Code Practice: Question 1
Can someone help me write the code in python language?

Answers

Answer:

number = int(input("Enter a number: "))

sum = number

c = 1

while (sum<=100):

   number = int(input("Enter a number: "))

   sum = sum + number

   c = c + 1

print("Sum: " + str(sum))

print("Numbers Entered: " + str(c))

Explanation:

Hope this helps lovely :)

What game is this? help me please

Answers

Answer:

animal jam

Explanation:

animals around the house

Does anyone know 7.1.3: Firework karel?

Answers

Answer:

Yess its from freelancer

Mr. Stevens is the principal of a high school. Why might he want to export data from a database of students’ exam scores?

Answers

Because a database would be accurate and professional

Mr. Stevens might create a presentation using other software on how students' scores have changed throughout a semester.

What are presentation method?

A presentation method is known to be the ways or process that a person uses deliver any kind of presentation.

Note that by creating a presentation using other software on how students' scores have changed throughout a semester, Mr. Stevens can export data from a database of students’ exam scores.

Learn more about database from

https://brainly.com/question/27246719

#SPJ2

Please help! I will award brainliest! its due today...












Which comment would best describe the code below?


Question 9 options:


// Rotates around the Y axis based on left/right arrow keys



// Rotates around the Z axis based on up/down arrow keys



// Rotates in an upward direction based on left/right arrow keys



// Moves object up/down based on the the left/right arrow keys

Answers

Answer:

The bottom is right I think

Explanation:

I am not really good at this stuff

The comment that would best describe the code below is // Moves the object up/down based on the left/right arrow keys. The correct option is d.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

It is well known that one of the hardest subjects to master is programming. It's understandable that some people find it challenging to learn how to code given how different it is from conventional educational methods, such as college degrees in computer science.

Therefore, the correct option is d, // Moves the object up/down based on the left/right arrow keys.

To learn more about coding, refer to the link:

https://brainly.com/question/13486133

#SPJ2

Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed.
import random

a = 6
b = 3

answer = a + b

print (str(a) + " + " + str(b) + " = " + str(answer))

Answers

I've included my code in the picture below. Best of luck.

The modifications to be done program is an illustration of random numbers using Python.

The random numbers from 1 to 10, will be generated using the random module

The modified program where comments are used to explain the lines of the programs are:

#This imports the random module

import random

#This generates a random number

a = random.randint(1,10)

#This generates another random number

b = random.randint(1,10)

#This multiplies both numbers

answer = a * b

#This displays the result of the program

print (str(a) + " * " + str(b) + " = " + str(answer))

At the end of the program, the program will print the product of both random numbers.

See attachment for sample run of the program

Read more about Python programs at:

https://brainly.com/question/22841107

Which visual aids can be used to present large amounts of numerical data from multiple sources? Check all that apply.

an illustration
a line graph
a topographical map
a bar graph
a pie chart
a climate map

Answers

Answer:

The correct answers would be B.) a line graph and D.) a bar graph

Explanation:

I just did the assignment on edge 2020 and got it right

The visual aids that can be used to present large amounts of numerical data from multiple sources are;

A line graph A bar graph

What are the visual aids?

Visual aids are known to be objects of a visual means, such as graphs, photographs, etc.

Conclusively, They are often used along with spoken information. The visual aids that can be used to show large amounts of numerical data from different sources are line and bar graph.

Learn more about  visual aids  from

https://brainly.com/question/3610367

What is the name of the variable in this code?

1| fav_color = sprite.ask("What's your favorite color?")
2| sprite.say(fav_color)

fav_color

What's your favorite color?

sprite

ask

Answers

Answer:

fav_color

Explanation:

Answer:

fav_color

Explanation:

4.3 Code Practice: Question 1

Answers

I've included my code in the picture below. Best of luck.

Following are the program to the given question:  

Program Explanation:

Defining an "age" variable that uses the "int with input" method that inputs integer value from the user-end.After input value, a for loop is declared that uses the "age" variable and calculates its value, and prints the value with the message that is "**HUG**".

Program:

age=int(input())#defining an age variable that inputs integer value

for i in range(1, age+1):#defining a for loop that count input value  

print("**HUG**")#print message

Output:

Please find the attached file.

Learn more:

brainly.com/question/17796174

What is the main difference between a peripheral device and other types of devices? Choose the best answer.

A.
It only accepts input.
B.
It only provides output.
C.
It is attached externally to a computer.
D.
It does not need a computer to perform its function.

Answers

The answer is C: is is attached externally to a computer.

Without net neutrality, which of these situations might occur? (Select all that apply.) a cable company might charge different bandwidth rates for large corporations and individual consumers an online newspaper might find its website slowing down because a telecomm company does not like its politics a big movie studio might find its upcoming film streamed illegally a service provider might choose not to provide service in poor areas

Answers

Answer:

a. a cable company might charge different bandwidth rates for large corporations and individual consumers

b. an online newspaper might find its website slowing down because a telecomm company does not like its politics

d. a service provider might choose not to provide service in poor areas

Explanation:

Net Neutrality is the idea that internet service providers are not to discriminate against users or treat them unequally due to their content, the information they wish to share, their website, the type of device they are using, etc. This principle also ensures that users are not charged differently based on the reasons listed above, among others.

Without this principle put in place, internet service providers can decide to slow down people's networks, charge differently, or entirely block a network because the users do not measure up to some of their standards or criteria.

3.2 Code Practice: Question 1 from edhesive ( answer in python pls)

Answers

Answer:

value = float(input("Enter a number: "))

if value > 45.6:

  print("Greater than 45.6")

Jacob wants to track the profiles of users who visit his Web site. He would like to store the user’s age, income, and location. He should use a _____.


database

template

word processor

spreadsheet

Answers

Describe the spreadsheet. Spreadsheets were created as electronic alternatives to paper accounting worksheets.

What facilitates user tracking on your website?

Search Engine Analyses Simple audience and behavior analytics are provided by Analytics. The demographics of users, the devices they used to access your site, and whether they have previously visited can all be segmented. Additionally, it can monitor a website's traffic volume and advertising effectiveness.

What collects visitor data from websites?

As a conventional analytics system, it provides statistics and information about the traffic to a website, including page visits, sessions, time on page, bounce rates, and much more. Analytics can demonstrate how visitors engage with your website because it is a conventional analytics tool.

To know more about  Spreadsheets visit :-

https://brainly.com/question/8284022

#SPJ1

Other Questions
Please at least help me cause I have no ideaSolve for v2[tex]a \: ave = \frac{v2 - v1}{t2 - t1} [/tex] What is causing the rising number of skin cancer cases attributable to tanning beds? Check all that apply. A. People do not understand that using a tanning bed is dangerous. B. More young people are using tanning beds. C. Using tanning beds is extremely popular. D. More people are using tanning beds than smoking. E. Using a tanning bed is more dangerous than laying out to get a tan. Plzz, Helpppp!!!!!!! Triglycerides in animals' bodies are usuallysolid fats, and those in plants are usually oils.However, many animals living in the Arctic andAntarctic have a greater number of triglyceridesthat are oils than do other animals. What advan-tage would the storage of body fat as oil insteadof solid fat be to animals that live in freezingclimates? Question on pictures ^^^^^^^^ a lizard drinks water that contains H-2. The H-2 decays and approximately 6.25% remain after 30 seconds. What is the 1/2 life for H-2? que es cojer ? que es una pregunta Average score in the first 7 tests is 82. How much do you need to score to get an average of 85? In tilton school there are The times for Erins five laps around the track were 56.6 seconds, 57.9 seconds, 57.5 seconds, 65.3 seconds, and 65.7 seconds. Using rounding to the nearest whole second as the only estimation technique, what is the total estimated time for Erins five laps in seconds?300303304320 Please I need help badly I also have stuff on my account When serving a tennis ball, a player hits the ball when its velocity is zero (at the highest point of a vertical toss). The racquet exerts a force of 443 N on the ball for 4.30 ms, giving it a final velocity of 45.7 m/s. Using these data, find the mass of the ball. Read the excerpt from Act IV of Hamlet. Claudius: Follow her close; give her good watch, I pray you. [Exit HORATIO.] O! this is the poison of deep grief; it springs All from her father's death. O Gertrude, Gertrude! When sorrows come, they come not single spies, But in battalions. First, her father slain; Next, your son gone; but he most violent author Of his own just remove: the people muddied, Thick and unwholesome in their thoughts and whispers, For good Polonius death; and we have done but greenly, In hugger-mugger to inter him: poor Ophelia Divided from herself and her fair judgment, Without the which we are pictures, or mere beasts How does the excerpt reveal character development? Claudius exhibits sincere mourning for his friend Polonius. Claudius exhibits sensitivity toward Ophelia and regret for his actions. Claudius shows his resolve to help Ophelia by suggesting medical attention. Claudius shows his regret for previous behavior by seeking forgiveness. Suppose you observe a star orbiting the galactic center at a speed of 1300 km/skm/s in a circular orbit with a radius of 18 light-days. Calculate the mass of the object that the star is orbiting. Humans are frequently the cause of invasive species. We introduce plants or animals for personal reasons, e.g. planting bass in a trout lake. Research and list 10 examples of invasive species in our area, Utah. If you cant find enough in Utah, you can expand it to the West. Write the organism Where is it located in Utah? Why it was introduced What are the long-term effects (is or could be) What control measures are being taken to keep them from spreading. PLEASE HELP ME ASAP!! What is the main purpose of an interpretive essay about a piece of literature?A. To prove a claim made in the textB. To persuade readers to agree with a claim made about a piece of literatureC. To convince readers to agree with an evaluation of the work's qualityD. All of the above A botanist wants to see how different colored light waves influence the growth of pea plants. She puts the same number of seeds into three identical pots with the same kind and amount of soil. She then gives them the same amount of water every three days for the length of the experiment. One pot is placed into a dark windowless closet. Another pot is left on the windowsill, and the third is placed under a lamp with a green bulb. She records the height of each plant every day for three months. 1. It is mentioned that the researcher used three identical pots. Describe two features of the pots which will ensure their identicality. 2. Draw a diagrammatic illustration of the botanist experimental setup making sure that the experimental and the control groups are clearly shown. 3. Write the procedure in the passive voice (reporting fashion) 7. Which is an exclamative sentence?He's so cute!Isn't he cute?How cute he is!n bit is an abbreviation of_____