3.4 Code Practice: Question 2

Answers

Answer 1

Answer:

n = float(input("Enter the Numerator: "))

d = float (input("Enter the Denominator: "))

if (d != 0):

  print ("Decimal: " + str(n/d))

else:

  print("Error - cannot divide by zero.")


Related Questions

Identify the benefit of modeling to communicate a solution.
o provides a graphical representation of a solution with symbols
creates tasks
predicts outcomes to problems
shows the interrelationship between all parts of the solution

Answers

Answer:

The answer to this question is given below in the explanation section. The correct option is shows the interrelationship between all parts of the solution.

Explanation:

The correct option for this question is that the benefit of modeling is to show the interrelationship between all parts of the solution.

Because, in modeling, you define all the parts of the system and interconnection and interrelationship between these parts. It will help in understanding the model and the behavior of the model for certain events or inputs. Modeling helps-in communicating solutions to clients, developers etc.

Modeling helps in building an early prototype of a system or of product.

Modeling also provides a graphical representation of a solution with symbols. it is the structure of modeling of something and it is not a benefit of modeling. Modeling does not predict outcomes to problems in absence of inputs. Modeling does not help in creating tasks it helps in understanding the structure of the system.

Which characters in the function shown represent the arguments?
=MAX(B2:B6,C4,100)

A) =
B) MAX
C) (B2:B6,C4,100)
D) ( ,

Answers

Answer:

c

Explanation:

Answer:

C

Explanation:

Which of the following takes place during the research phase? (choose all that apply)
software requirements are gathered
software requirements are implemented in code
software requirements are analyzed
software requirements are detailed in a specification document

Answers

Answer:

a

c

d

Explanation:

Answer:

A and D

Explanation:

Edge 22

A database record can best be described as:
А
a collection of data about a limited topic, organized into rows and columns.
B
a collection of data that can be sorted and searched using search algorithms.
С
a category of information in a table.
D
a collection of information consisting of one or more related fields about a specific entity.

Answers

Answer:

The answer to this question is given below in the explanation section

Explanation:

The correct option to this question is D.

A database record can be best described as the collection of information consisting of one or more related fields about a specific entity. Because a database record represents a record about a specific entity for example a student record studying in a school. A student is a specific entity in the database and it has one or more related fields, for example, name, class, courses in which enrolled etc.

others options are not correct because:

A: a database record is a collection of data about a specific entity and it is not about a limited topic.

B: all database records can be sorted and searched using search algorithms but it is not necessarily because you can search data sometimes using quarries etc.

C: a database record is not a category of information in a table but it is a collection of one or more related field about a specific entity.

Answer:

c

Explanation:

Samuel plans to use images of babies for a calendar. Which options should he choose?
A.
seek permission from the parents of the baby but do not mention the commercial use
B.
seek permission from no one, as it is the imageer’s duty to capture images
C.
seek permission from parents before using the baby’s image for commercial gains
D.
seek permission from the parents of the babies without telling them about where it will be used

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is (C) -seek permission from parents before using the baby’s image for commercial gains

Because Samuel using images of babies for a calendar and use it for commercial purpose. So, she needs to seek permission from parents before using the baby's image for commercial gains. It is also required for her to tell babies' parents about the use of pictures commercially.  

Other options are not correct because legally and ethically she is bound to take permission from babies' parents before using it commercially.

what is a technology that exists inside another device called

Answers

Answer: embedded technology

Explanation: just took the test

Answer:

A

Explanation:

Embedded technology

yall please help me in online school i only have 1 week to do it

its online by the way which is why it says computers and technology

Answers

Answer:

we cant see anything

Explanation:

Answer:

add meh back

Explanation:

pls

You want to create a computer that processes data very fast. What do you need to achieve this goal?

a bigger cooling unit
large CPU caches
more ALUs
a bigger hard drive

Answers

Answer:

large cpu cache

Explanation:

trust me

Evan is borrowing a friend's laptop to check out some groovy music files. What can Evan look for to quickly identify
music files?
a messaging app
the hardware
the file extensions
the systems software

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is the file extension. Because, by knowing the file extension, you can easily understand and know what the file is. If Evan checking out some groovy music files then he will definitely look at the file format to know that is it the music file or not.

Other options are not correct because:

messaging app function is to send the message, receive and store the message while hardware does not have any relation to identifying the music file and system software is an example of an operating system that also does not help the Evan for looking at music file on the laptop.

Answer:

It is C bruddahs

Explanation:

Write a program to find the total ASCII value of vowels in a given string (one word / a phrase / a sentence). The ASCII value of vowels in the given string is calculated by adding the ASCII value of all the vowels in the string. Also, display the individual count of each vowel( number of times each and every vowel appears in the string.

Answers

In python 3:

def vowelAscii(txt):

   vowels = "aeiouAEIOU"

   total = 0

   lst = ([])

   for i in txt:

       if i in vowels:

           total += ord(i)

           if i not in lst:

               lst.append(i)

               print(f"{i} appears {txt.count(i)} time(s) in the string with an individual ASCII value of {ord(i)}")

   return f"The total ASCII value of the vowels in {txt} is {total}."

print(vowelAscii("hello, I'm learning python"))

This is what I managed to come up with. The last line is testing the function. If you need anymore help, just ask. Best of luck.

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
select all that apply
Select the strategies below that are likely to increase audience attention.

Match special effects to content.
Use lots of different animation styles on each slide.
Use consistent transitions.
Use similar animation styles on each slide.
Avoid the use of animations.
Vary the use of transitions for each slide.

Answers

Answer:

All except the last one I hope

Explanation:

full detail about computer and its history


Answers

Answer:

The computer as we know it today had its beginning with a 19th century English mathematics professor name Charles Babbage. He designed the Analytical Engine and it was this design that the basic framework of the computers of today are based on. ... It was called the Atanasoff-Berry Computer (ABC).

Explanation:

what aspect should you consider before adding pictures to documents

Answers

Answer:

make sure you have the correct picture

Explanation:

it might vary to what document your working on

Which statement describes what happens when a user configures No Automatic Filtering in Junk Mail Options?

No messages will ever be blocked from the user’s mailbox.
Messages can still be blocked at the server level.
Messages cannot be blocked at the network firewall.
Most obvious spam messages will still reach the client computer.

Answers

Answer:

The last one

Explanation I think it is D because all of the other answers are saying what happen if you filter it.

The majority of obvious spam messages will continue to reach the client's computer. The correct answer is D.

What is junk mail?

Email spam, also known as junk email, spam mail, or plainly spam, is an unrequested email sent in mass. The name is derived from a Monty Programming languages sketch that includes the name of a canned pork product is mentioned. Spam is pervasive, unavoidable, and monotonous.

Back out of the Folder or any message folders users are viewing to access the Mailboxes view. The Junk folder is located beneath the Drafts and Sent directories in the Mailboxes view.

The Junk Email Filter settings can be changed in the Junk E-mail Dialogue box. Click Junk in the Deactivate group on the Home tab, and then click Garbage E-mail Options.

Most obvious spam messages will still reach the client's computer. Then the correct option is D.

More about the junk mail link is given below.

https://brainly.com/question/28354330

#SPJ6

Which media choices give you the most benefits? What are those benefits?

Answers

Answer:

Electronic media

Explanation:

1 make you popular

A programmer created a piece of software and wants to publish it using a Creative Commons license. Which of the following is a direct benefit of publishing the software with this type of license?

A

The programmer can ensure that the algorithms used in the software are free from bias.
B

The programmer can ensure that the source code for the software is backed up for archival purposes.

C

The programmer can include code that was written by other people in the software without needing to obtain permission.
D

The programmer can specify the ways that other people are legally allowed to use and distribute the software.

Answers

Answer:

The answer to this question is given below in the explanation section. However,  the correct answer is D.

Explanation:

This question is about publishing software under a creative commons license. The direct benefit of publishing the software under commons creative license is that the programmer can specify the ways that other people are legally allowed to use and distribute the software.

Because under this type of license, the publisher can publish their work under copyright law.  So they can control and specify the ways that how other people can use and distribute it legally.

While other options are not correct, because of its programmer responsibility that source code is free from error and bias, take backup for archival purposes. People can't include anything without obtaining permission etc.

The direct benefit of publishing the software with this type of license is option D.

The following information should be considered:

It is the programmer that represent the ways where the other people are permitted for using and allocating the software. Also under this license, the publisher could publish the work as per the copyright law.The source code should be free from error & bias, backup for archival purpose, without giving the permission represent the responsibility of the programmer.

Therefore we can conclude that the correct option is D.

Learn more: brainly.com/question/22701930

Would X-ray waves carry a lot of energy? And do they have a high frequency?

Answers

Answer:

X-rays are very high frequency waves, and carry a lot of energy. They will pass through most substances, and this makes them useful in medicine and industry to see inside things.

How do you change the behavior of the VR Robot?

Answers

Answer:

You can not do it

Explanation:

Answer:

To be able you have to change some of the robots codes, within the game.

Explanation:

what's my favorite color

black

red

purple

yellow

orange

Answers

Answer:

.

Explanation:

Which of the following statements are true regarding cognitive impairments? Select 3 options.
Speech input devices help those who are cognitively impaired understand the contents of the screen.
Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility.
To improve cognitive accessibility, the developer should focus on a clear and consistent design.
Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar.
Cognitive issues are learning disabilities caused by genetic disorders.

Answers

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

Cognitive impairment is the condition of a person having difficulty in concentrating, learning, recalling from memory, or making functional decisions. Depending on the severity, cognitive impairment may be classified as severe or mild

Symptoms includes, loss of memory, asking the same questions or telling the same story frequently, unable to recognize people they already know, or places they have already been to, having problems with vision and being unable to plan or see tasks through

Answer:

The correct options are;

Delivering content in different ways, such as using video, animations, and text, helps promote cognitive accessibility

To improve cognitive accessibility, the developer should focus on a clear and consistent design

Even though there are different causes for cognitive impairment, many of the resulting functional issues are similar

Explanation:

discuss two basic types of monitors CRT and LCD give me in short ​

Answers

Difference Between CRT Monitor and LCD Monitor is that CRT monitor is a desktop monitor that contains a cathode-ray tube. ... While An LCD monitor is a desktop monitorthat uses a liquid crystal display to produce images. These monitorsproduce sharp, flicker-free images

Easy 10 point but can u plz help me

Answers

Answer:ITS TRUe

Explanation:there ya go :^

Cloud storage refers to the storage of data on ______.

Answers

Answer:

server

Explanation:

The storage of the data on the server of the web app is known as cloud storage.

The information regarding cloud storage is as follows:

It is the model of cloud computing in which the data is stored on the internet via the cloud computing provider that managed and operates the data storage.Also, it removes the purchasing & managing of the data storage infrastructure.

Therefore we can conclude that the storage of the data on the server of the web app is known as cloud storage.

Learn more about the data here: brainly.com/question/10980404

Name the different views in word​

Answers

Answer:

Print Layout, Full-Screen Reading, Web Layout, Outline, and Draft are 5 different views in Word.

Hope this helps!

What is the definition of a noob? Please help. Define it in your own words but in an appropriate way, thank you very much!

Answers

Answer:

A person that is different from others by the way they look, act, ect.

what is amoeba cell do? max amount of points so pls answer​

Answers

Answer:

Ameoba is an organism which is unicellular and is a free-living cell. it is also a eukaryotic organism ( it has well-defined, membrane-bound cell organelles).

An amoeba cell has to carry out all the functions needed for its survival such as injection of food, digestion of food, excretion of waste, etc

An Amoeba cell is a unicellular organism. It is eukaryotic and has well-defined, membrane-bound cell organelles. Amoebas function as their own living body, so they create energy, move around, and throw out waste on their own.

Suppose you have a word processing application on your smartphone, your tablet, and your laptop. You are at home, and you need to write a paper for a class. A would be easiest to use for writing your paper.

Answers

Answer:

laptop

Explanation:

have a good day

How would you describe the relationship between blocks of code and commands?
HELP​

Answers

Answer:

Code and Commands have similar programs coding has only one thing to do or done but commands can be told anytime by an input device.

Explanation:

hope this helps.

What kind of money is a gold certificate considered to be?

commodity
fiat
representative
currency

Answers

The kind of money a gold certificate is considered to be is: C. representative.

What is a gold certificate?

A gold certificate can be defined as a certificate of ownership that is issued by a public treasury and held by the owner of a gold instead of holding the real gold itself.

In the United States of America, a gold certificate is typically issued exclusively to the Federal Reserve System (Fed) by the US Treasury.

In conclusion, the kind of money that a gold certificate is considered to be is representative.

Read more on money here: https://brainly.com/question/25959268

#SPJ5

The kind of money a gold certificate is considered to be is representative. Thus, option C is correct.

What is a gold certificate?

A gold certificate can be defined as a certificate of ownership that is issued by a public treasury and held by the owner of a gold instead of holding the real gold itself. In the United States of America, a gold certificate is typically issued exclusively to the Federal Reserve System (Fed) by the US Treasury.

Money is a good that is widely recognized as a means of economic exchange. It serves as the means for expressing values and prices. It is the primary indicator of wealth because it moves from person to person and nation to country, facilitating trade.

Therefore, the kind of money that a gold certificate is considered to be is representative.

To learn more on money, click here:

brainly.com/question/28784237

#SPJ5

X = 0
end = int(input("Pick a number: "))
for num in range(1, end, 2):
#missing line
print(x)
X 10.
This program should print the sum of all the ODD numbers between 1 and the user's number pick the "end" variable)
Write the missing line that will make that possible.
I think its print(1 + end) but If its wrong can I please have feedback cause I'm struggling with this 1.

Answers

The missing line would be x+= num

This means that every time a number is selected from the range it is added to the value of x.

Other Questions
Which of the following versions of the underlined portion of sentence 11 best accomplishes this goal?The writer wants sentence 11 (reproduced below) to serve as evidence that reinforces the argument of the passage.In the 1980s, a brief attempt to relocate the goats was met with public outcry.A) (as it is now) B) had no impact on the mound of erosion in the religionC) resulted in observable effectsD) proved difficult as the goats retreated to areas that were challengingE) resulted in noticeable improvements in the park's environment There are 84 turkey and 63 ham sandwiches to be places on trays. Each tray should have only one kind of sandwich, and all trays have the same number of sandwiches. If you place the greatest possible number of sandwiches on each tray, how many trays will you have with turkey and how many with ham? After reading the story, complete the worksheet below. There are 6 questions after the table.Assignment: Fill out the graph below as it relates to the plot of TSLOWM.CauseDaydreamInterruption The sound of a car engine reminds him of a boat engine.Navy HydroplaneHis wife complains that he is speeding.SurgeryCourtroom SceneAir PilotFiring SquadNone Paul can spend no more than $24 on his pizza order. Each pizza costs $10 and there is a $4 delivery fee. How many pizzas can he order? The object fell 10 meters in 1.5 seconds.The above statement is an example of 2( 3y8 ) = 8 what is y? You are peasant of the third estate. Write a letter to the king to describe your difficulties and what you think he should do to make life better for you does anyone have gost of tsunami training to look for people to play with this Friday playstation if c u means 20cd determine the value of 4 how to do maths how to do maths Why do most metals exist in nature as minerals rather than as pure metallic elements? Find the area, in square units, of ABC plotted below.A(0,7)B(7,-2)D(2, -3)C(-3,-4) A company has the following ratios: Current ratio: 2.1 to 1.0 Accounts receivable turnover ratio. 350 to 1 Debt/ equity ratio. 20.0 to 1 Interest coverage ratio 7.0 to 1 Inventory turnover ratio 9.0 to 1 The industry averages are: A company has the following ratios: Current ratio: 4.1 to 1.0 Accounts receivable turnover ratio. 8 to 1 Debt/ equity ratio. 4.0 to 1 Interest coverage ratio 9.0 to 1 Inventory turnover ratio 8.0 to 1. Based on the above items, please compare and contrast the ratios between the company and the industry. Required:Analyze reasons why there could be differences and the overall financial position of the company. Also, what of the ways the company could finance the company without significant negative changes to the above financial metrics (ratios)? Tmas *Does anybody get this like is it 1234 or 5 I will mark brainlisest just please HELPPPPPPP Plz ASAP What is the male sex cell that results from meiosis?zygotespermeggbacteria When a number Is decreased by 20% of itself, the result is 24. What is the number? Help me on this please Draw a response to explain how the convection currents model connects with the climate in one of the areas below:Amazon Rain Forest Sahara Desert Antarctica Global Ocean CurrentsExplain the model you drew in question 1. Be sure to identify which area you selected in your opening sentence. pls someone help i am so desperate!! The author Darnell Littal belleves that "Beyond bad markets and economic news, the number one reason that mergersfall is the absence of a well-understood Is anyone good at drawing here. Can someone give me an example of drawing of a sculpture that can be viewed from all angles pls need asap