Which statement is true? Select 3 options.

A function must have a return value.
A function can use variables as parameters.
The definition of a function must come before where the function is used.
A function can have more than one parameter.
The definition of a function can come before or after it is used.

Answers

Answer 1

Answer:

A,C, AND E

Explanation:

i got it wrong for the anwser

Answer 2

The statements that are true are as follows:

A function must have a return value.The definition of a function must come before where the function is used.The definition of a function can come before or after it is used.

Thus, the correct options for this question are A, C, and E.

What is Function?

A Function may be defined as a kind of expression, rule, or law that significantly determines a relationship between one variable which is known independent variable and another variable which is known as the dependent variable.

Each and every function must possess a return value. Apart from variables, there are several other parameters on which functions have to be worked on. So, the definition of a function must exist prior to its utilization. However, the actual definition of function may also exist after its utilization as well.

Therefore, the correct options for this question are A, C, and E.

To learn more about Functions, refer to the link:

https://brainly.com/question/22340031

#SPJ2


Related Questions

Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.

numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer:

14.0

Explanation:

The loop converts each answer to a float. The accumulator variable adds the values entered.  

2.0 + 5.0 + 1.0 + 6.0 = 14.0

Answer:

14.0

Explanation:

Edge 2021

BRAINLIEST

When using design templates, these elements will be determined for you.
bullets
background
color scheme
content
title
font

Answers

Answer:

background

color scheme

font

I think thats all

Explanation:

Please give me Brainly

When using design templates, the elements that will be determined for you are color scheme and background. The correct options are b and c.

What is designing a template?

The template is creating a document that has a copy of itself. Design templates are ready-made layouts and written materials that can be altered.  For example, if you have a template of office content, then you can use it for another word document. You don't have to start from scratch.

In order to maintain consistency among users and media, templates are frequently created to adhere to certain rules or specifications. You can make new templates for later use, or utilize pre-designed templates from template libraries and websites.

Therefore, the correct options are b, background, and c, color scheme.

To learn more about template, refer to the link:

https://brainly.com/question/28193778

#SPJ2

What is the difference between soft copy output devices and hard copy output devices​

Answers

the output printed on the paper is called hardcopy output. some examples are printer and plotter.

the output produced on display screen and audio sound is called soft copy output. some examples are moniter and speaker.

The ideal hash function:

A. Should be unfeasible to find two inputs that map to the same output
B. Should be unfeasible to learn anything about the input from the output
C. Basically we don’t want people to figure out what was said
D. All the above

Answers

I believe the answer is A
Hope this helps

why make people act meaner online the. in person ​

Answers

Because they are scared to say something in real life. Behind a screen they are protected

A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False

Answers

Answer:

A. true

Explanation:

because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over

Before he buys a new smartphone, Tim can best use data to

evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.

Answers

It’s A or the first one, kinda like process of elimination, the second and third one are obviously eliminated first so then it’s just between a and d. But a makes more sense as to he has to buy one either way

Answer:

A.) Evaluate which phone he should get

Explanation:

Edge2020

Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?

answer = subtract(15,3)

def Subtract(numA, numB):
return numA - numB

def Subtract(numA, numB):
return numB - numA

def subtract(numA, numB):
return numA - numB

def subtract(numA, numB):
return numB - numA

Answers

Answer:def subtract(numA, numB):

   return numA - numB

Explanation:

i got the right answer but i was willing to get it wrong for the right anwser for you

The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:

def subtract(numA, numB):

       return numA - numB

Thus, the correct option for this question is C.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.

You must follow the process as follows while framing a program:

def subtract(numA, numB):

         return numA - numB

Therefore, the correct option for this question is C.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

Microsoft Word, Google Chrome, and Windows Media Player are examples of

Answers

Answer:

They are all examples of software.

what are some tips to stay focused in school, and to complete work faster? ​

Answers

Answer:

Sometimes listening to music or chewing gum.

Explanation:

When I need to focus, I like listening to music and sucking on a hard candy or chewing gum.

Pls give Brainliest!!

Answer:

What I do to focus in school is to try and ignore everything that is going on around you. ( what your classmates are doing ) Drown out the noise with music if your allowed to listen to music. Ask the teacher is you can go somewhere quieter

Explanation:

Hope this helps, Have a Wonderful Day!!

Help me pls!!


Look at the following assignment statements:

food1 = "water"
food2 = "melon"

What is the correct way to concatenate the strings?

newFood = word1 == word2
newFood = word1 + word2
newFood = word1 * word2
newFood = word1 - word2

Answers

new food = word1 + word2 will connect both words together with no space in between. The value of newFood will now be "watermelon"

Answer:

new food = word1 + word2

Explanation:

What are the steps to customize a slide show?

Go to Slide Show tab, select Hide Slide, select the slides to hide, and save.
Go to Slide Show tab, select Set Up Slide Show, select show type Custom, and save.
Go to Slide Show tab, select Custom Slide Show, select slides to be shown, and save.
Go to Slide Show tab, select Custom Slide Show, select Record Slide Show, and save.

Answers

Answer: Third one

Explanation: I got it right

Answer:

Third one

Explanation:

Other Questions
plz help asap!!!!!!! [tex]\pi - 1[/tex]rational or irrational A deposit of $1000 is made in a bank account that pays 24% interest per year compounded quarterly. Approximately how much money will be in the account after 10 years 5.As shown in the diagram below, lines m and n arecut by transversal p.mn72If mZ1 = 4x + 14 and mZ2 = 8x + 10, lines mand n are parallel when x equalsA. 1B. 6C. 13D. 17 If you dont know Spanish please use google translate Please conjugate the verbs. And put it into the blanksTengo, tienes, tiene, tenemos, teneis, tienen to calculatw the power produced by a force, the size of the force must be known. What else needs to be known to calculate the power 9. If f(x) = 5x-4 and f(2a) =156 , then what is the value of a? Which of the following is true in regard to the major world cities?Most are found in areas that not suitable for agriculture They are concentrated below the tropic of CancerThe fastest-growing cities are in areas with the highest standards of livingMost primate cities are located in the United States and western EuropeMost are located on rivers or seacoasts The cost of 24 pounds of cat food is $54. What is the cost per pound of cat food?O $2.20O $2.50O $2.00O $2.25 can someone help me on my spanish work sheet i will cash app you money like fr Find the unit rate. Round to the nearest hundredth, if necessary. $120 for 16 ft2 WILL MARK BRAINLIEST IF CORRECTWhich type of stress causes fault-block mountains?compressionshearingsubductiontension How do animals transport materials? i am 6 letter word that starts with r and ends with t. i contain just 2 vowels and synonmys are strong and powerful Determine the slope of the line that passes through the points M(-3,5) and N(1,8). Represent the slope in decimal form. If the point (2,3) lies on the line 4y = ax +5 , then a -(a) 7/2(b) 1(o) -2(d) none of these Sasha traveled 200 miles in 4.5 hours at this rate how many miles can you travel in 10 hours round your final answer to the nearest mile Is Donald Trump still president, cuz people keep confusing me (ALSO PLEASE DON'T GET POLITICAL) (This isnt a question from school, its a personal question from me) Sam has started mowing lawns to save money for a new bike that costs $190. He charges $20 per hour for mowing lawns, and $35 per hour for gardening. However, he has to pay his dad $120 for the use of his lawnmower. Which of the following equations could be used to find the number of hours Sam has to work to buy his bike if m represents the number of hours he mows lawns, and g represents the number of hours he spends gardening? Group of answer choices The residual for a predicted relative abundance when the rainfall was 3 inches is 1.25. What is the actual relative abundance when the rainfall was 3 inches