2. Define a function squareArea that computes the area of a square given side length

Answers

Answer 1

Code:

def squareArea(length):

 return length**2

Hope this helps :)


Related Questions

why is this python code giving me problems?
This is having the user input a decimal number and the code has to round it up to the 2nd decimal place. This code is giving me problems, please fix it.

num3 = int(input("Please input a decimal number:")

num3 = int(round(num3, 2))

print ("your decimal rounded to the 2nd decimal place is:", x)

Answers

Answer:

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

Explanation:

The given code in this program has syntax errors.

In the given code, at line 1, input will cast or convert to int. It will generate an error on the second line because integer numbers can't be rounded. In simple, integer numbers don't have decimals. So, to correct the line you must use float instead of int.

In the second line, you need also to emit the int casting (data type conversion), because you have already converted the input into the float. In line 3, the second parameter to print function is num3, not x.

So the correct lines of the python code are given below:

num3 = float(input("Please input a decimal number:"))

num3 = (round(num3, 2))

print ("your decimal rounded to the 2nd decimal place is:", num3)

 

When you will run the above bold lines of code, it will run the program successfully without giving you any syntax and semantic error.

Please help
One morning at 10:15 the employees start complaining that they cannot access the company’s intranet. You are the only tech support person in the office that day.


You do not have access to all the tools the rest of the support team has, but you do have access to the Web server, the network operating system, a workstation and operating system, and a command line interface. You check the Web server that runs the intranet and it is working fine. You can ping the address from your workstation, so you know it is working. But, like everyone else, you are not able to access the site itself.


What are some of the tools you would use to determine the problem? To illustrate this, use a search engine as a surrogate for the intranet site. Using tools you learned about in this lesson, discover as much as you can about the connection between your computer (at home or in the computer lab)

Look at each element of the connection (e.g., DNS data, IP address, number of hops to get to the Web site). Pick three of these elements that you think could be the cause of the imaginary problem and troubleshoot them on paper—write down the steps you take to test each element to determine the real problem. Pick one of them as the source of the trouble and repair that problem.

Answers

Answer:

First check the if the adapters on the router or site are connected (Ipconfig)

Next run a flush Dns to clear the sites dns logs (ipconfig/flushdns)

If non of that works you would run a restart on the server that is transfering data through the site.

If that doesn't work you will have to call a tech support from another company or your boss to tell him that there is nothing you can do and to ask for help!

Explanation:

Hopefully this helps! BTW I'm 13 so I wouldn't rely on my information that is personal what I would do though.

Ethan's family member pays for new systems software. Which of the following would best protect Ethan's laptop?
thumb drive
O anti-virus software
O photo-editing software
O a microphone
O thumb drive

Answers

Answer:

Anti-virus software

Explanation:

The reason being, if Ethan downloaded any files/extensions that aren't 100% safe, they might result in virus(es), if the proper protection for the software isn't in play.

Answer:

A

Explanation:

What do you mean by real time system? Why real time system needs to response within limited time?

Justify your answer with example.
plz ans quick

Answers

Real time system means that the system is subjected to real time, i.e., response should be guaranteed within a specified timing constraint or system should meet the specified deadline. For example: flight control system, real time monitors etc.

I neeed help pleaseeee

Answers

Answer:

C. Class

Explanation:

A img tag allows you to put an image. An img tag is not a attribute.

a p tag allows you yo make a paragraph. A p tag is not an attrbute.

A class attribute allows you to give an element a specific class. Styling the class in css will style all elements which have the class.

A src tag is used for referencing script and style locations. It is an attribute but not the one we are looking for.

Thus, The answer is C, a class.

What is the decimal equivalent to the binary number 101010111?​

Answers

Answer:

♡ madeline here ♡

your answer is 343

stay safe & know your loved

have a great day, fairy!

✧・゚: *✧・゚:・゚✧*:・゚✧・゚

Explanation:

Choose the correct function to convert the user’s response to the number 3.5. >>> answer = input("How much does the sample weigh in grams? ") How much does the sample weigh in grams? 3.5 >>> numberAnswer = (answer)

Answers

Answer:

The answer to the given question is given bellow in the explanation section:

Explanation:

<p>This is python code</p>

<p>In python when you enter input into the input function as given:</p>

<code> answer = input("How much does the sample weigh in grams? ") </code>

I will be taken as string.

So I have to convert this string to number format here the given data is float value i-e 3.5

so let convert it. using float function.

<code> answer = float (input("How much does the sample weigh in grams? ") )  </code>

Answer:

I think the answer is float

Explanation:

heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelp

Answers

Answer: B

Explanation:

David is selling his art work. He wants to figure out how much he should charge for each painting to make a 20 percent profit. He should _____.

use paper and pencil to figure out 20 percent of the cost for each painting
create a spreadsheet that lists past sales
create a spreadsheet that totals the cost and calculates 120 percent of the total cost
use a spreadsheet to find the total cost of paints and brushes

Answers

Answer:

create a spreadsheet that totals the cost and calculates 120 percent of the total cost

Gina has created a banking database. she wants to index the account opened date field. why would she do that?
A. to create a new record
B.to decrease the overall search time
C. to sort that field
D. to create a link to another table ​

Answers

Answer:

to decrease the overall search time

Answer:

The answer is B. To decrease the overall search time

Explanation:

I got it right on the Edmentum test.

What is the purpose of a hyperlink in a presentation?

Answers

Answer:The “hyperlink” function in PowerPoint allows users to advance from one slide to another slide in the presentation when they click on a predetermined word, shape, or image, thereby allowing for a more dynamic and interactive experience than can be obtained with serial presentation of slides alone.

Explanation:

2 examples of miniature storage media ?

Answers

Answer: Flash memory cards, USB drives and tiny hard disks.

Explanation:

Answer:

Flash memory cards, USB drives and tiny hard disks.

Explanation:

1. What is output to the screen by the following code?
int n= 10;
while (n > 0)
{
n--;
System. out. print (n%4 +
"");
a. 210.32 10321
b. 210321032
C. 1032103 210
d. 103 2 10321
e. 12 30 1230 12

Answers

Answer:

B is going to be your answer

Explanation:

The question of ________ arises when considering the way in which online marketers gather consumers’ information over the Internet without their consent.
() Research
() Theories
() Science
() Ethics

Answers

Answer: Ethics

Explanation:

If one point is 1/72 inch and 12 points make up 1 pica. How many picas in 1 inch? A. 4 B. 6 C. 8 D. 10

Answers

The answer would be B (6)

A hard drive is not working and you suspect the Molex power connector from the power supply might be the source of the problem

Answers

Answer:

Explanation:

This could be one of the possible problems if the hard drive is not spinning at all. When this happens it means that the hard drive is not receiving enough power. If it is truly the Molex Power connector then the simplest solution would be to replace the power connector which is easy enough since most power supplies will bring various extra molex power connectors. This only applies to older hard drives as newer models are much thinner and only require a sata cable to transfer data and receive power. If this does not fix the problem then the next possible cause could be a faulty power board.

How can reviewing a completed test prior to submitting it help you to earn the most points possible?

Answers

The act of reviewing a completed test prior to submission is usually called double - checking. This involves checking through selected answers that have been picked prior to making submission.

This action will help to check for possible errors which could have been made unknown to the user, Hence, errors committed by mistake.

Hence, a review of a completed test or assessment would help check for potential errors which could prove costly and hence, leading to more earned point in total.

Learn more :https://brainly.com/question/20194760

Has this app helped anyone else so much? like bruh I can find almost all the answers in here.​

Answers

Answer:

I don't start class until January, so I've just been answering lol

If someone wouldn’t mind answering the first question for me

Answers

1.

Keep the title boldUnderline important statementsColour the words (but the document shouldn't be too colourful)

What is this please hurry

Answers

that would be a comptoneter!

Answer:

C) Comptometer

Explanation:

I took this quiz also and got it correct :)

How will wireless information appliances and services affect the business use of the Internet and the Web? Explain.

Answers

Answer:

wireless information appliances and services affect the business use of the internet and the web in a positive way. Wireless information appliances and services affect the business use of the web and internet by allowing internet pretty much anywhere. Now days devices like cell phones can access almost everything a regular computer can access. The use of wireless information allows businesses to stay in constant contact with customers, employees, and suppliers.

Why must web designers select a common font?​

Answers

to ensure visitors can view it

to keep the page consistent

to make the page easier to read

To make sure people can correctly view what it is trying to say/ have the reader understand

Lee has aligned the text and numbers in his table. He realizes that even though the columns are visually separated, he can make the columns even more distinct.
Table is the same as the one in the previous slide, except the first column head is centered and the second and third columns are centered.
What would be the most helpful formatting option to accomplish this task?
Add color to the table.
Draw lines on the table.
Add borders to the table.
Insert lines into the table.
(WILL GIVE BRAINLYEST)

Answers

Answer:

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

Explanation:

Let look at each option:

Add color to the table

If we add color to the table it will be some what visible

Draw lines on the table

I think there is no need to draw lines as table has already lines.

Add borders to the table:

This is the correct answer, as adding border will separate each value and will make them clearly visible

Insert lines into the table.

I think this option is same as draw lines on the table.

Answer: Add borders to the table.

Explanation: Answer was marked correct on online review.


What is a new option in PowerPoint 2016 that provides the ability to add multiple pictures into a slide, complete with
transitions and captions?

O Screenshot feature
O Photo Album feature
Online Pictures command
O Format command

Answers

Answer:

photo album

Explanation:

Answer:

photo album

Explanation:

Keira is creating an app for her cross-country team. Users will input their race times and the output will be a graph showing their progress. Which Python module should Keira use to draw a line on the screen? a Design Graphics b Graphics Module c Math Module d Turtle Graphics

Answers

Answer:

D. Turtle Graphics

Explanation: In computer graphics, turtle graphics are vector graphics using a relative cursor upon a Cartesian plane. Turtle graphics is a key feature of the Logo programming language.

Turtle Graphics should Keira use to draw a line on the screen. Hence option d is correct.

What are graphics?

Graphics are defined as a visual representations or patterns on a surface, such as a stone, paper, canvas, wall, or screen, for the sake of education, entertainment, or information. Line, shape, color, texture, type, space, and image are the seven foundational components of graphic design. Each has advantages and disadvantages of its own. Logos, website designs, and even marketing materials can all use graphics.

Turtle Graphics is defined as a Python module that is already installed and gives users a virtual canvas on which to draw shapes and images. A fantastic technique to expose children to coding is through turtle visuals. Little ones may construct and change while learning using quick programs that only have five to ten lines of code.

Thus, turtle graphics should Keira use to draw a line on the screen. Hence option d is correct.

To learn more about graphics, refer to the link below:

https://brainly.com/question/11764057

#SPJ2

How does a 3D environment affect the audience's media experience ?

Answers

A 3D media environment simply describes a media production in a 3 dimensional space, with length, width and depth of the object being fully represented.

There is a vast difference between the visual offered by a 3D and 2D media as the depth of the object is missing in the 2D representation.

Hence, 3D media environments are more immersive as it produces much more realistic representation of images, hence increasing entertainment and the level of details.

Hence, the 3D environment offers more in terms of visual effects and pleasure.

Learn more : https://brainly.com/question/20380753

The blue section of the following Venn diagram could represent which of the following Boolean statements?

Answers

Answer:

Last option: Not statement

Explanation:

Anything outside the borders of the circles are considered the not Boolean statement since the circles represent or and the overlap represents and.

Hope this helps :)

A Venn diagram is a type of visual representation that uses circles to emphasize the relationships among certain objects or constrained groups of things.

What Venn diagram could represent boolean statements?

Circles with overlaps have some properties that circle without overlaps do not. Venn's diagrams are useful for showing how two concepts are related and different visually.

John Venn (1834–1923) popularized the Venn diagram, a common diagram type that illustrates the logical relationship between sets, in the 1880s.

Two circles in a box that lock together to form a Venn diagram represent one categorical assertion. The entire conversation universe is represented by the box, including the circles.

Therefore, Given that the overlap symbolizes and the circles represent or, anything outside their boundaries is seen as not being a Boolean statement.

Learn more about Venn diagram here:

https://brainly.com/question/29301560

#SPJ5

How are programs and algorithms related? A program is a part of an algorithm. They are not connected at all. An algorithm is a part of a program. They are the same. ​

Answers

Answer:

A program is a set of instructions that a computer executes.

An algorithm is a set of instructions that must be done in order to get some result.

If an algorithm is written in a programming language, then the program is an implementation of the algorithm.

An algorithm must not, however, be a program. An algorithm can also be performed manually (e.g. calculate 6431 + 8316 on paper or in your head).

Explanation:

What are the main security weaknesses of coaxial cable, twisted pair cable, and fiber optic cable? How might the router itself be a security risk, even if you were using UTP/STP cabling that was insulated to prevent electromagnetic radiation leaks that could be eavesdropped on? What steps might you take to improve security for cabled networks?

Answers

Answer:

Answered below

Explanation:

Coaxial cables weaknesses include; fluctuation of speed during heavy use, leaks at the point of connection and signal loss over long distances. Twisted pair cables are not durable enough and are susceptible to interference. Fibre optic cables are costly and need expertise to install.

Hacked or compromised routers can be infected with malwares that reroutes users to spam sites and also to ddos attacks.

Steps to protect cable networks include; network encryption, physical security, VPN usage, updating networks, auditing and mapping.

HELP PLEASE!!!! Which development method is best explained in this way: developing a system through repeated cycles and smaller portions at a time, enhancing and evolving the system over time?

Incremental method
Rapid prototyping method
Spiral method
Waterfall method

Answers

Answer:

Incremental method.

Explanation:

Software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.

An incremental model refers to the process in which the requirements or criteria of the software development is divided into many standalone modules until the program is completed.

Hence, an incremental method typically involves developing a system through repeated cycles and smaller portions at a time, enhancing and evolving the system over time.

In SDLC, a waterfall model can be defined as a process which involves sequentially breaking the software development into linear phases. Thus, the development phase takes a downward flow like a waterfall and as such each phase must be completed before starting another without any overlap in the process.

Also, a spiral model can be defined as an evolutionary SDLC that is risk-driven in nature and typically comprises of both an iterative and a waterfall model. Spiral model of SDLC consist of these phases; planning, risk analysis, engineering and evaluation.

Other Questions
What was the purpose of the War Production Board (WPB)? Does the size of a circular object affect the relationship between its circumference and its diameter?A. The size will affect the relationship between circumference and diameter because of circumference changes at a greater rate than the diameter.B. The size has no effect on the relationship between circumference and diameter because the ratio is always equal to C. The size has no effect on the relationship between circumference and diameter because the two values change independently.D. The size will affect the relationship between circumference and diameter because of the value changes as the circumference changes. right to speedy trial right to due processright to defense attorneyright to appealright to confrontationwhich one's are the Sixth Amendment and which one's are the Fifth Amendment??? What are some possible negative issues with the M'Naghter Rule? Select all that apply.- Fails to distinguish between violent defendants and one that no longer pose a danger to society.- Anyone who said they did not realize an action was wrong could use insanity plea.- Fails to differentiate between mental illness that are temporary or lifelong conditions.- Made it difficult to determine a defendants' thought process at time of crime. Select the correct answer.According to the Hindu scriptures of the Rigveda, how did the universe come into existence?. by taking birth from the golden wombB. by God's spoken wordsC. after ice came into contact with fireD. following a blast in spaceE. from a void There is no such thing as "the law" in that law comes from many different sources. What was the practice of sellingindulgences, that Luther protested? Explain the significance of the Nazi Holocaust. Which characteristic would likely be found in a junk food snack?A. low fat B. 0% DV of CholesterolC. 20% DV of Vitamin A D. high sodium Tell whether each equation has one, zero, or infinitely many solutions.If the equation has one solution, solve the equation.11. 6(x - 1) = 6x-110. 4(x-2) - 4x + 1013. 4x + 5 = 9+ 4x 6.12. 6n + 7-2n-14 = 5n + 115. 40-8x + 12) = -26-32x14.8(y + 4) = 7y + 38 The Valley High School student council is planning a dance. Theschool has 480 students. The lowest possible ticket price is $3.00,and they estimate that for every $0.20 increase in ticket price, 20 fewerstudents will attend. What ticket price will maximizethe student council's profit?SELECT ONE OPTION BELOW:$4.20 $3.90$3.50 $4.00 Which pair of rectangles are similar Two populations are not yet reproductively isolated if interbreeding results in Write 28/20 and 70/50 as fractions in simplest form. Then determine whether the ratios form a proportion. 1. Separate the number 58 into three parts sothat the second number is 2 less than thefirst number which is one half the thirdnumber. Find the percent decrease. Round to the nearest percent. From 153 pounds to 145 pounds What holidays come from other cultures?What food come from other cultures? Solve for x and find the missing anglesCB(8x - 1))((4x + 7A Help me with my Spanish! Plz I actually need help which question can be answered using the scientific process?A. Should people be made to reuse all bags?B. What is the effect of plastic bags on birds?C. Is it right to make people stop using plastic bags?D. Is the government doing enough to fight pollution?