Section 6.9 of your textbook ("Debugging") lists three possibilities to consider if a function is not working.

Describe each possibility in your own words.

Define "precondition" and "post-condition" as part of your description.

Create your own example of each possibility in Python code. List the code for each example, along with sample output from trying to run it.

Answers

Answer 1

Answer:

www.dso hellooo miaralo


Related Questions

Why is it a good idea to restate in your own words what you heard someone say? It can reduce the chances of a miscommunication. It shows that you care about what the person has said. It lets you have a chance to talk instead of only listening. It demonstrates that you are correct.

Answers

Answer:

It can reduce the chances of a miscommunication.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties.

An effective communication can be defined as an act which involves conveying or disseminating information efficiently and effectively from an individual (sender) to another (recipient) without any redundancy. Thus, effective communication ensures that messages or information are transmitted properly, guarantees a feedback, lacks the use of harsh tones, ensures both parties are well understood, gives room for clarity etc.

Hence, it is a good idea to restate in your own words what you heard someone say because it can reduce the chances of a miscommunication.

This ultimately implies that, the recipient or receiver of a message should endeavor to repeat what he or she heard the sender say, so as to ensure the message was well received and to limit the chances of responding with a wrong feedback i.e miscommunication.

Call your function from Example 1 three times with different kinds of arguments: a value, a variable, and an expression. Identify which kind of argument is which.

Answers

Answer:

Example 1:

def function(num):  

   print(num*2)

Example 2:

function(5)

num = 2

function(num)

function(3-1)

Explanation:

Given:

See attachment for complete question

To start with Example (1)

def function(num):  

   print(num*2)

Note that; the above code segment which doubles the parameter, num could have been any other code

In Example (1), the parameter is num

For example (2):

We can call the function using:

#1. A value:

function(5)

In #1, the argument is 5; a value

#2. A Variable

num = 2

function(num)

In #2, the argument is num; a variable

#3. An Expression

function(3-1)

In #3, the argument is 3-1; an expression

1. lesa __________
2. didalna _______________
3 .rpeyr etlyr _____________
4. etrpoy _____________
5. rkyo ewn _____________
6. amya loagneu _____________
7. zfeorn___________________
8. msal etopry ________________
9. reyve nda gsni filt ________________________
10. tehreat lopoal ______________________
11. getas htgfir _______________
12. telsa __________________
13. diovc _____________
14. engilaenri _____________
15. atsfdofo ____________
16. rgwo pu i nhew ____________
17. tbulatyir lipcoe _______________
18. smjniae ncpiesrs __________________
19. migna ______________
20. dnaniai rgya

Answers

Penissss...?
Yes or no?

A business analyst compares 2017 daily sales to 2018 daily sales using descriptive statistics for each. In 2017, the standard deviation of daily sales was 73.87, while in 2018 the standard deviation of daily sales was 136.32. The analyst could conclude that ____________.

Answers

Answer:

The analyst could conclude that there was more variation in sales in 2018.

Explanation:

Given

[tex]SD_{2017} = 73.87[/tex]

[tex]SD_{2018} = 136.32[/tex]

Required

Conclusion about the standard deviations

In statistics, standard deviation gives the average variation in the data being measured.

The standard deviation of 2018 is more than that of 2017. This implies that, in 2018, there is more variation in daily sales compared to 2017

So, the analyst could conclude that there was more variation in sales in 2018.

which of the two attributes should have the name of javascript as its value?

Answers

I’m extremely sorry if this doesn’t help but here’s what I found:


JavaScript objects have two types of properties: data properties and accessor properties.




I also found this:



attributes : a collection of objects that belong to a built-in Attr class, with name and value properties. HTML attributes have the following features: Their name is case-insensitive ( id is same as ID ). Their values are always strings.

Andrew likes to purchase his school supplies online. What are two advantages of doing so?


A.
It is possible for his information to be accessed or stolen by a third party.

B.
All his personal information is sent digitally and does not change when transmitted.


C.
Because the information is sent digitally, there are an infinite number of different signals possible.

D.
Because the information is sent quickly, he can receive his order more quickly.

Answers

Answer:

bd

Explanation:

Answer:

The answer is B.All his personal information is sent digitally and does not change when transmitted. And D.Because the information is sent quickly, he can receive his order more quickly.

Explanation:

I took AP EX quiz.

can someone plz explain how python is related to flowcharts

Answers

Answer:

wha..

Explanation:

Unlike when writing in a programming language, there are no set rules that must be followed when writing pseudocode. What do you think are some good guidelines to follow when writing pseudocode? Why are these guidelines important?

Answers

Answer:

Explanation:

Pseudocode may not have a set number of rules of guidelines but there are still some habits that should be followed. This includes having only one statement per line and add the END keyword to loops. Both of these rules/habits will drastically increase the readability of the pseudocode and allow you to know exactly where a certain loop starts and ends. Since loops can become difficult to read if they have a lot of code within them. Another good guideline to keep in mind is to simplify the code as much as possible do not add unnecessary pseudocode if it is not absolutely needed.

someone please help asap!!!!

Answers

Answer:

B

Explanation:

The cost should be on the form, not user-inputed

Umm I think Is B Plz Dont choose my answer if you feel like is wrong

while organizing his computer's power cords matt realize his printer power cord is frayed what should matt do to prevent damage and still able to use the printer​

Answers

Explanation:

You can take your time neatly wrapping the cable to reinforce it, but the best way to prevent any more damage is to wrap the split or fraying part of the cable several times with electrical tape, then work your way out from that spot. This immobilizes any breaks in the cable and helps prevent further damage. Just don't expect it to last forever.

Answer:

wrap the frayed part with electric tape

Explanation:

because it flows the electric currents or whatever

Complete the procedure for pasting content from a Word document in a message by selecting the correct term from
each drop-down menu.
1. Open a Word document, highlight the content to copy, and press
2. Click
of a new e-mail message, and then press Ctrl + V.

Answers

Answer:

Ctrl + C

in the body

Explanation:

Answer:

Ctrl+C

in the body

Explanation:

In three to four sentences, describe how you can listen actively.

Answers

Answer:

Looking at the speaker, paying attention. Jotting down notes

Explanation:

1. What are the advantages and disadvantages of the digital darkroom as compared to a regular darkroom?
2. What are layers? Why would a layer be used?
3. Which photo editing software program is the best? Why?
4. Some people argue that photography should represent the world as it is and that manipulations of an image with photo editing software ruins the truth of photography. Do you agree or disagree? Why?
5. What are the advantages of using a photo editing software program? What are the disadvantages?
6. Choose one photograph that you have taken that could be improved by photo editing. Describe what you would change in the photograph and what tools or features you would use to make the changes.
7. What are three different changes that a photo editing software program can make? Describe a situation in which each of the three changes might be made (you’ll have three situations each describing a change).
8. What are three different photo editing software programs? Describe each software program.
9. If you had the option to use any photo editing software program, which one would you choose? Why? What advantages would this software offer your particular style of photography or your skills?
10. What are some of the legal and ethical issues that could result from using manipulated photographs? Do altered photographs represent the “truth”?

Answers

Answer:

2.unsourced material may be challenged and removed. Layers are used in digital image editing to separate different elements of an image.

Which phrase suggests feedback?
Richard and his team recently developed a software application. They used the latest technologies in programming to code the software. A
team of developers coded the application another team tested it. The database team developed the backend. The client highly appreciated
Richard and his team. They also gave suggestions on some modules and said they would like to work with his team in the future.

Answers

Answer:

They also gave suggestions on some modules and said they would like to work with his team in the future.

Explanation:

This statement suggests feedback because, here the client gives Richard and his team some suggestions on what they can do with the modules. It implies that the client must have tested the software application and observed its functionality.

Answer:

gave suggestions

they said they would like to work with his team

Explanation:

Just took test 5/5

Which of the following is an example of metadata about a webpage?



The title of the webpage


The body of the webpage


An tag on the webpage


All of the above

Answers

the title of the webpage

An example of metadata with respect to the webpage is the title of the webpage.

The following information consider for the metadata is:

The website of metadata contains the title of the page and the meta description for each & every page. It gives the search engines as it has the significant importance related to the content and the motive of every individual page on the website.Also, it helps to measure whether the website is relevant and sufficient to show the search results.

Therefore, the other options are incorrect.

Hence, we can conclude that an example of metadata related to the webpage is the title of the webpage.

Learn more about the metadata here: brainly.com/question/14699161

Read the scenario below, and then choose the right type of computer for each person from the drop-down menus. Three of your friends are in the market to purchase a new computer. Sera does not have a big budget, but she needs a portable computer. Arturo is worried about viruses and has a high budget. Portability is not an issue. Kazuma wants a computer that does not cost too much and is easy to upgrade.

Answers

Answer:

- laptop running Windows

- desktop computer running a Mac OS

- desktop computer running Windows

Explanation:

just took it on edg

Answer:

1. Laptop Running Windows

2. Desktop Computer Running a Mac OS

3. Desktop Computer Running Windows

Explanation:

1. Sera does not have a big budget, but she needs a portable computer. Laptop Running Windows

2. Arturo is worried about viruses and has a high budget. Portability is not an issue. Desktop Computer Running a Mac OS

3. Kazuma wants a computer that does not cost too much and is easy to upgrade. Desktop Computer Running Windows

I hope this helps.<3

Have a nice day.<3

Use the drop-down menus to complete the steps to share a presentation through OneDrive.
1. Go to the File tab, and select
2. A Windows screen will open, asking you to upload a copy of your presentation to
3. If you do not upload the presentation, another user cannot edit the file
4. After uploading the document, select the editing rights to give to the recipient.
5. Enter the email address of the user you want to receive the presentation, and click
V

Answers

Answer:

Share

OneDrive

In real time

Send

Explanation:

Use the drop-down menus to complete the statements about the Spelling and Grammar dialog boxes.
Press the key to access the Spelling and Grammar dialog box.
To accept Outlook's suggestion to correct an error, click the
button.
To leave a possible error intact for just one occurrence, click the
button.

Answers

Answer:

F7

Change

Ignore once

Explanation:

The other answer is no help.

b. What significant values have you learned while learning the tools and utensils?

Answers

Attempts to use computer technologies to enhance learning began with the efforts of pioneers such as Atkinson and Suppes (e.g., Atkinson, 1968; Suppes and Morningstar, 1968). The presence of computer technology in schools has increased dramatically since that time, and predictions are that this trend will continue to accelerate (U.S. Department of Education, 1994). The romanticized view of technology is that its mere presence in schools will enhance student learning and achievement. In contrast is the view that money spent on technology, and time spent by students using technology, are money and time wasted (see Education Policy Network, 1997). Several groups have reviewed the literature on technology and learning and concluded that it has great potential to enhance student achievement and teacher learning, but only if it is used appropriately (e.g., Cognition and Technology Group at Vanderbilt, 1996; President’s Committee of Advisors on Science and Technology, 1997; Dede, 1998).

file:///media/fuse/drivefs-0142e6928396ed2afff070ead0fbbbcd/root/JerooLessonFourLabA_1.pdf
my teacher told said to clean the whole map in jeroo and plant the flowers all around how do i do it?

Answers

Answer:

it says page does not exist

Explanation:

What does perseverance mean?
A. an interest in discovering the unknown
B. helping someone recover from an injury
C. a willingness to keep trying
D. an ability to communicate with others

Answers

ansewer is C a willingness to keep trying
The answer is Definitely C.

hi good morning how are you all
I hope you all are fine
ok now question is what is LAN?
have a nice day

Answers

Answer:

Local area network

Explanation:

d6odyiitdidditsitstiistssitdditzdditidztsto

It’s a local area network, a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building.

What does IDLE stand for

Answers

Answer:Integrated Development and Learning Environment

Explanation:

Integrated Development and Learning Environment

All of the following are examples of software, except:

Question 4 options:

Video games


Speakers


Web browsers


Photo editors

Answers

Speakers is your answer

The speaker is not an example of the software. Then the correct option is B.

What is the software?

Software is a collection of instructions, data, or computer programs used to run computers and carry out particular activities. Software instructs a computer on how to run, to put it another way.

It's a general phrase for programs, scripts, and apps that operate on computers, cell phones, laptops, and other intelligent watches. Hardware, or the actual components within a computer that does the job, competes with software.

All of the following are examples of software, except the speaker.

The actual parts of an electronic system, such as a computer, include the hardware, wiring, and other parts. Speaker is a hardware device. Then the correct option is B.

More about the software link is given below.

https://brainly.com/question/1022352

#SPJ6

So far , All of the input that we have seen comes directly from the user with your partner brainstorm other ways an app might get the information that it needs

Answers

Answer:

An app can get information from the device itself like diagnostic data or location.

Explanation:

How did Bill Gates benefit from free enterprise? Need a paragraph please. Will give the branliest!!

Answers

Answer:

Bill Gates used his skills and brains to build a business. In conclusion, Bill Gates was very successful with his industry thanks to free enterprise. He, along with his employees and friends, created and almost perfected the software known as Microsoft. The free enterprise system provides the right to private enterprise, which allowed him to choose his own business and to run it without governmental influence. Because he could create his own business and design his own products, Gates was able to specialize in technology.

Explanation:

How do ACLs work on a router?

Answers

Answer:

An ACL is a list of permit or deny rules detailing what can or can't enter or leave the interface of a router. Every packet that attempts to enter or leave a router must be tested against each rule in the ACL until a match is found. If no match is found, then it will be denied.

Explanation:

PLEASE MARK ME AS BRAINLIEST

4. Sameer appointed as journalist in big news channel. News channel has its own podcast. Explain to Sameer how podcast is useful to him and subscriber of news channel in Digital journalism.

Answers

Answer:

How podcast is useful to Sameer:

1. Since the news channel has its own podcast, it will increase traffic in this channel once the contents are what people like. This will help Sameer to be more efficient in service delivery.

2. It will be useful to Sameer if he engages his audience, as a podcast provides this opportunity.

3. Podcast helps organize thoughts and would improve Sameer's public speaking skills.

4. Sameer could use the podcast in the news channel to build a strong relationship with his listeners.

How podcast is useful to the subscriber of a news channel:

1. The subscriber could do other things at the same time as they are listening to a podcast.

2. For places where listening would only be possible for example in the car, an audio podcast would be an excellent option.

3. A subscriber can replay podcasts and hear them anytime, this shows the convenient nature of podcasts.

4. Subscribers could listen to podcasts in places where the internet may not be available.

Explanation:

Digital journalism utilizes technology like the internet to post content.

A podcast is a form of digital journalism where audio discussion or a program that would have been televised is recorded and posted on the internet where subscribers can download and listen to it through a dedicated news channel. Though video podcast exists, most are in audio format.

Complete the statement below using the correct term.


One problem with _____
is that often many copies of the same document are made.

Answers

One problem with PRINTER is that often many copies of the same document are made.
printers or a printer !

Plz tell the answer I I'll mark u as the brainliest

Answers

Answer:

oo 89 po yyuyuyoioo9ii5645487)89)89)89)89)80(98(98(98(87)()

Explanation:

okkkkkk

Other Questions
LIEA5S3. What is 4/5x 25?a. 5b. 10C. 15d. 20 Graph each of the following. Label the axis of symmetry and the vertex. y=2x^2-4x+1 y=2x^2+8x+6Plz help!!! 6x + y = -1y=-3x - 4 How is energy tansferred between stages of the carbon cycle? Something that is made out of natural resources for human use is called Can you please help me?Graph the following equations on the coordinate plane. Which music style usually has a lead singer, backup vocalists, and studio musicians tocreate a consistent sound for all recordings? Which statement about a burning match is an inference?A. The flame is yellow.OB. The match is turning black.OC. Oxygen is being consumed.OD. The match is getting shorter. I WILL MMARK YOU AS BRAINLIESTBased on this passage from the speech, what is President Reagans purpose? SOMEONE PLEASE HELP ME WITH THIS I NEED TO PASS THIS PLEASE:/ Why is it necessary to see a similar pattern of change in fossils from several places in order to conclude that an extinction happened? Why was the Confederate forces interested in New Mexico? bir ift ve bir tek rakam kullanarak yazlabilecek en kk 2 basamakl doal say kat How did the aftermath World War 1 affect the people? BRAINLIEST & 20 POINTS & 5 STARS W/ A THANKS!!How did Portugal receive the title of First Global Empire?A. Portugal was the first European country to have multiple colonies.B. Portugal was the first European country to overtake a European colony.C. Portugal was the first European country to have colonies on four different continents.D. Portugal was the first European country to settle a foreign colony.How did the Industrial Revolution motivate Europe to colonize andexpand?A. The people of Europe were an especially curious people--they wanted their government to explore new lands.B. The ship-building industry drove the need to send ships somewhere overseas, and to use the ships to transport cargo.C. The Industrial Revolution was just the first step politicians took toward finding more people to control.D. Additional resources were needed to feed the ever-multiplying factories all over Europe--and to make their owners rich. Which of the following statements explains the importance of enzymes that check for and repair mistakes during DNA replication?AThe enzymes replace the DNA with RNABThe enzymes speed up the rate of RNA synthesis.CThe enzymes prevent many genetic mutations from being expressedDThe enzymes remove many recessive gene copies from the nucleus. Find the slope of the line that passes through the points (-6, -2) and (-7, -2) Question 4(Multiple Choice Worth 1 points)(05.07 MC)Read and choose the option with the correct words to complete the sentences.A mi hermanastra y a m ________ preguntar a nuestra abuela:Abuela, ________ el aniversario de tu boda? nos gusta; te gusta me gusta; le gustan me gustan; le gusta nos gustan; te gustan Hi, how are you? Help me with this question! please! What does Impeachment mean. Explain in 1 sentence Which of the following cell types is haploid?O body cellO sperm cellO skin cellO liver cell