7.5 code practice edhesive plssss

Answers

Answer 1

Answer:

def GPAcalc(user_grade, w):

   

   if(user_grade == "A" or user_grade == "a"):

       return 4 + w

       

   elif(user_grade == "B" or user_grade == "b"):

       return 3 + w

       

   elif(user_grade == "C" or user_grade == "c"):

       return 2 + w

       

   elif(user_grade == "D" or user_grade == "d"):

       return 1 + w

       

   elif(user_grade == "F" or user_grade == "f"):

       return 0 + w

       

   else:

       return "Invalid"

       

   if(weighted == 1):

       print(g + 1)

       

def calculateAverage(n):

   sum = 0

   for x in range (n):

       print()

       letterGrade = input("Enter your Letter Grade: ")

       weight = int(input("Is it weighted? (1 = yes)(0 = no) "))

       grade = GPAcalc(letterGrade, weight)

       print("Your GPA score is: " + str(grade))

       sum += grade

   average = sum/numClasses

   return average

       

#Main

numClasses = int(input("How many Classes are you taking? "))

sum = 0

average = sum/numClasses

print()

print("Your weighted GPA is a " + str(calculateAverage(numClasses)) + ".")

Explanation:

yes

Answer 2

In this exercise, using the knowledge of computational language in python, we have that this code will be written as:

The code is in the attached image.

We can write the python  as:

def GPAcalc(user_grade, w):

  if(user_grade == "A" or user_grade == "a"):

      return 4 + w

  elif(user_grade == "B" or user_grade == "b"):

      return 3 + w

  elif(user_grade == "C" or user_grade == "c"):

      return 2 + w    

  elif(user_grade == "D" or user_grade == "d"):

      return 1 + w

      elif(user_grade == "F" or user_grade == "f"):

      return 0 + w      

  else:

      return "Invalid"      

  if(weighted == 1):

      print(g + 1)

def calculateAverage(n):

  sum = 0

  for x in range (n):

      print()

      letterGrade = input("Enter your Letter Grade: ")

      weight = int(input("Is it weighted? (1 = yes)(0 = no) "))

      grade = GPAcalc(letterGrade, weight)

      print("Your GPA score is: " + str(grade))

      sum += grade

  average = sum/numClasses

  return average

numClasses = int(input("How many Classes are you taking? "))

sum = 0

average = sum/numClasses

print()

print("Your weighted GPA is a " + str(calculateAverage(numClasses)) + ".")

See more about python at brainly.com/question/13437928?

7.5 Code Practice Edhesive Plssss

Related Questions

why is it necessary to use standard furniture in a computer lab​

Answers

to avoid poor posture which may lead to strain injury.

what's the best console do you guys think

Answers

Answer:

PS5

Explanation:

becuase its not hard to use

The _____________ loop executes a process statement before a decision.

Answers

Answer:

The Iteration

Explanation:

Iteration is also known as repetition. It is used to execute a process (or statement) multiple times. Repetition statements are sometimes referred to as loops.

Hope this helped :) :3

Describe the translation that maps ABCD onto A'B'C'D' A. Left 6, up 5 B. Left 6 down 5 C. Right 6, up 5 D. Right 6, down 5 Pls don't do this just for the points.

Answers

Answer:

D. Right 6, down 5

Explanation:

Given

See attachment for plot

Required

Determine the translation from ABCD to A'B'C'D'

Using point A and A' as points of reference, we have:

[tex]A = (-1,1)[/tex]

[tex]A' = (5,-4)[/tex]

First, A was translated right by 6 point.

The translation rule is:

[tex](x,y) \to (x+6,y)[/tex]

So:

[tex]A=(-1,1)[/tex] becomes [tex]A=(-1+6,1)[/tex]

[tex]A=(-1+6,1)[/tex]

[tex]A=(5,1)[/tex]

Next, the plot was translated downward by 5 points.

The translation rule is:

[tex](x,y) \to (x,y-5)[/tex]

[tex]A=(5,1)[/tex] becomes: [tex]A' = (5,1-5)[/tex]

[tex]A' = (5,-4)[/tex]

Hence, D is correct

state three advantage and disadvantages of Laser printer ​

Answers

Explanation:

advantages

Fast printouts - faster than ink-jet or dot-matrix

disadvantage

Toner is more expensive than ink-jet cartridges

One reason it is important to write code that is readable is that
A it makes the code execute faster, which makes the code run better.
B it saves space on the page for important comments.
C it makes it easier to copy when you want to send the code to others.
D it makes it easier to follow when revisions or updates are called for.
Hurry plz

Answers

Answer:

The answer is D:)

Explanation:

D) it makes it easier to follow when revisions or updates are called for.

Answer:

It is most likely:

D. It makes it easier to follow when revisions or updates are called for.

Explanation:

2. Daduan is explaining to a colleague the various arithmetic operators that Python has available. Which of the following symbols should he use to explain what a modulus operation is?

Answers

Answer:

The symbol that represents the modulus operator is %

Explanation:

In Python programming language, the % sign is used to perform modulus operation.

Take for instance:

2 modulus 3 will be written as: 2%3.

The result of the operation is to return the remainder of the division.

So, the above expression will return 2 because 2 divided by 3 is 0 remainder is 2

1
Type the correct answer in the box. Spell all words correctly.
Which software can managers use to discuss financial performance with the help of slides and charts?
Managers can use a ____
software to discuss financial performance with the help of slides and charts.
Reset
Next

Answers

Answer:

Microsoft PowerPoint software

Explanation:

PowerPoint is the worlds mosth popular program to create slides and charts for the office stuffs .

The basic functions of Brake Control Valves is?

Answers

Answer:

This valve is necessary for optimizing front-to-rear bias, also referred to as brake balance. It is a spring-loaded component that activates when fluid pressure builds when you step on the brake pedal. Then, the valve's plunger unseats and fluid rushes into the calibrated range.

Liza is setting up a new Wi-Fi router to use Wi-Fi 5. What is the standard the router I using?
The router is using____, one of the new features added to this standard is___.
Blank 1: 802.11n, 802.11g, 802.11ac
Blank 2: MU-MIMO, MIMO, Mixed-MIMO

Answers

Answer: i have no idea

Explanation:

Im not smart

*BRAINLIEST FOR BEST ANSWER NO LINKS OR I WILL REPORT YOU!*

You receive a direct message from a friend's account that has a video and just the words "here". You don't remember talking to your friend about videos and your friend usually writes more or at least includes an emoji or two. What should you do?

A. Post the link to your social media account and ask if anyone has seen it.

B. Send it back to your friend and ask if they send the message.

C. Watch the video. It's probably funny.

D. Ask your friend in person or through another account if they sent it.

Answers

Answer:

D.

Explanation:

That sounds like the most reasonable option to me. Or even meet the friend physically and ask.

List three ICT tools that are commonly used in the education system​

Answers

Answer:

Social Media

Computer

Whiteboard

Explanation:

Plz hurry it time
How do you exit the current pass through the loop and go back to the "for n in range (5)" line?
forn in range(5)
Squaren 2
if square mm 9:
print(square)
print("Done")
Оexit
O quit
O break
continue

Answers

Answer:

I guess just write "for I in range(1):

Answer:

the answer should be "break" if I remember correctly

Explanation:

Data from RAM may be placed where to free up space? Log file Swap file Word file Print spool file

Answers

Answer:

Swap file

Explanation:

What are some ways tables can be inserted into a document? Check all that apply

•drawing table
•using a dialog box
•using quick tables
•using the save options
•converting an image to a table
•adding an excel spreadsheet

Answers

Answer:

drawing tableusing quick tablesconverting an image to a table.

Answer:

its 1. 2. 3. 6.

Explanation:

The ideal body position for your legs after you've adjusted your seat is with your knee ___.

Answers

Answer:

is slightly crooked when pressing the pedals. This answer has been confirmed as correct and helpful

Explanation:

Hope it helps

The ideal body position while driving for the legs have adjusted from the seat with the knee slightly crooked when pressing the pedals. Thus, option B is correct.

What is the importance of correct body posture?

The body posture is important for the proper blood flow, maintaining and supporting the health of the muscles, tendons, and ligaments.

The complete question is given in the image attached.

The correct body posture to opt while driving helps in the formation of correct control over the vehicle. The correct posture is maintained with the bottom touching the back of the seat and legs adjusted with the seat and the knee slightly crooked when pressing the pedals. Thus, option B is correct.

Learn more about body posture, here:

https://brainly.com/question/12975862

#SPJ2

Today, scientists agree that good research is ethical in nature and is guided by basic respect for human dignity and safety. However, as you read in the Tuskegee Syphilis Study, this was not the case. Discuss any THREE (3) the ethical violations in the study

Answers

Answer:

Ethical violations in the Tuskegee Syphilis Study

1)  Discrimination. Syphilis was recognized as a disease with a major impact on the afro-descendant and in poor conditions population. The studied population was not treated fairly, they were selected from a vulnerable group. Against the bioethical principles of justice.

2) The ethical principle of beneficence was violated since the participants did not have a real benefit from their participation and in the case of the sick people, they had no option to be treated (in 1947 penicillin was already used as a treatment).

Due to the ignorance of the study, the general population was affected by the transmission of the infectious disease.

3) There was no informed consent against the autonomy principle of clinical Ethic. People were studied for about 40 years (1932 - 1972) with no information about it.

Explanation:

It was a study conducted by the Public Health Service in the city of Tuskegee (Alabama). The objective was the study of the natural progression of syphilis.

The controversies regarding this study were related to the fact that it was conducted in an African American and literate population that was not informed and did not have access to treatment.

Why is it important to do research prior to making a purchase? What types of sources can be helpful (or not helpful!)
when making a spending decision?

Answers

Answer:

It is important to do research before making a purchase to avoid buyers remorse. It can be expensive to return an item as you can be charged shipping and restocking fees. Before jumping in and trying to find an item it is useful to stop and ask yourself "what do I want this item for?" this gives you a list of requirements to look for. Manufacturer's specifications are useful for finding out hard facts like how wide a fridge is or what colour ink a pen has. Subjective opinions on a product are also important as they can highlight common issues people are having with an item and if you are likely to encounter the same problems if you purchase the same item. The most unhelpful sources of information about an item are sponsored placements since most of the opinions presented will be a list of the manufacturer's talking points which are going to be biased towards showing the product in a positive light.

It is important to do research earlier to make a purchase as needed for making a spending plan, and prioritize what needs to purchased first.

What is the spending decision?

A spending decision is one that is need to be made before making or going out for any purchases and it's important to plan in advance to avoid any problems in buying.

The quality, quantity of the item to purchase,  manufacturing defects, and other fees that are applicable on the purchase need to be evaluated properly in advance in order to make a purchase. A comparison is also needed to make before buying.

Find out more infimaion about the purchase.

brainly.com/question/5168855

Which are examples of types of audio media that can support a presentation? Check all that apply.

music
recordings
movies
photographs
podcasts
sound bites

Answers

Answer:

music: A

recordings: B

movies: C

sound bites: E

Explanation:

ong

convert one billion byte into one gigabyte​

Answers

Answer:

One gigabyte (GB) is about 1 billion bytes, or 1 thousand megabytes. A computer might have 4 GB of RAM. A flash memory card used in a camera might store 16 GB.

Is an automatic computer check to ensure that the data entered is sensible and reasonable.It does not check the accuracy of data.

Answers

Answer:

Validation is an automatic computer check to ensure that the data entered is sensible and reasonable. It does not check the accuracy of data. ... The computer can be programmed only to accept numbers between 11 and 16. This is a range check.

1. Summarize the main idea of the article. 2. If you were given the option, which side of the argument would you support and WHY? (Give at least one fully supported reason that is mentioned in the article) (At least 3 sentences)

Story : Issue Overview: Should we have zoos? - Newsela Article

Answers

Answer:

have a nice day

Explanation:

what is the checksum of 148​

Answers

Answer:

The summary on the given topic is summarized in the explanation portion below.

Explanation:

A means to ensure that somehow a machine data communication or transfer has no bits missing are termed as Checksum. These would be determined in many extremely difficult directions but there's no response.Whereas if checksum appears unacceptable or inaccurate, the machine is compared mostly with documentation it gets or collects and lends it a position.

Can someone give me a song I can make a dance too not a school related question

Answers

try an anime song and move around like a noodle, no im just kidding try shawn mendes he has rlly good songs

Answer:

The 7 Seas

by F-777

Explanation:

this song is pirate themed, its hyped, its electro, lil-medium bass beats, full length song, no lyrics and is one of mah FAVS ofc it might be hard to dance too, im not sure what your tastes are so its hard for me to make a good suggestion, either way the song is still good to listen to OwO

What is the alternative name of home page ?​

Answers

Answer:

Home page is also known as start page

Explanation:

start page is another name for homepage

Take the nine elements of digital citizenship. Deduce and describe an example of each of the nine elements. The examples must clearly show situations where an individual exhibited good cyber citizenship or was clearly not displaying good digital citizenship.

Answers

Answer:

Answer:

cyber bullying

rights

technology

speech

education

study

issues

Explanation:

Differentiate between Baud rate and Bandwidth. Also give their differences.

Answers

Answer:

The bandwidth of a digital signal is the number of bits transmitted per second. The baud rate is the number of signalling elements transmitted per second.

In simple systems each signalling element encodes one bit, so the two values are the same. In more complex systems, the number of bits encoded per signalling element may be greater than one, so the bandwidth will be some multiple of the baud rate.

¡Hola! He visto en muchos comentarios de Twitter "svd" cuando alguien dice "dale fav a este Tweet y siganse entre ustedes" y en los comentarios ponen "svd". ¿Qué significa?

Answers

Answer:Valor singular de descomposición

Explanation:

What Is entered into the system as input?

Answers

Answer:

Input is something put into a system or expended in its operation to achieve output or a result. The information entered into a computer system, examples include: typed text, mouse clicks, etc. Output is the information produced by a system or process from a specific input.

Explanation:

Network forensics might deal with what? Retrieving photos from a PC Analyzing text messages Investigating a data breach Defragmenting a hard drive

Answers

Answer:

Investigating a data breach

Explanation:

A data breach usually involves data exfiltration over a computer network. the other options involve data being stored on a device locally which isn't volatile data like text messages, photos or rearranging data in defragmentation all of which does not require a network.

Other Questions
If you were a senator, would you agree with senator lodge or president Wilson A variable needs to be eliminated to solve the system of equations below. Choose thecorrect first step.3x 4y = -43- 4x 4y = -36Subtract to eliminate y.Subtract to eliminate x.Add to eliminate x.Add to eliminate y. why do people follow the crowd ? write an intro paragraph. PLZ help!! Soil is the result of weathering? 9.The refractive index of water will change with its temperature due to the change indensity of its molecules.a. Trueb. False 2- estmuloestimuloestimulCual es el significado What new places did Rome add between 270 and 100 BC? Select all that apply. AmericaEnglandSpainArcticGaul (southern)South AmericaSicilyItaly (northern)GreeceChinaAsia MinorMacedonia Pls help everything dew in 20 minutes!For the second part i gust need the information. Also the planet is Saturn. The x - coordinate of A' is _____ . The y - coordinate of A' is _____Help Please ;-; Simplify:sec x sec x(sin x)2 A square piece of sheet metal has an area of 25 square meters. How long is each side? 25.68 = 2x 6.32find what x=pls help i will give brainly! pls do step-by-step explanation for brainly Which of the following is the explicit rule for a geometric sequence dea recursive formula of a = 138,- for which the first term is 7?O A. an = 13.70-1O B. an = 761301-1O c. an= 7.130+1D. an = 13.70+1 u. Muy lulus en el diario? No, hay cero fotos.6 NmerosFill in the blanks with the correct number words.ModeloHay doce (12) pasajeros en el autobs.1. Hay(24) horas en un da.2. Cuntas escuelas hay? Hay|3. El nmero de palabras es4. Hay|(29) chicos en la escuela.5. LOS(7) cuadernos son de la jo7ConjugarComplete the chart with the correct forms of ser in the present tense A Program is an Algorithm a set of directions for the computer to follow. True False Find the value of b.A. 14B. 15C. 64D. 289 Which of the following allows computers to communicate with each other? RAM NIC Hard drive Floppy disk How to get the pc accelerate pro virus off my computer What is the problem, if any, with the following code?The desired output is [3,19].>>> aList = [19,3]>>> aList[O] = aList[1]>>> aList[1] = aList[O]>>>aListThere is no problem.You need a temporary variable to hold the value 3.You need parentheses around 0 and 1, as in aList(0) and aList(1).You need to import list to use a list. Athena deposits $500 into a savings account that earns 5.4% simple interest. She will not make any additional deposits or withdrawals. How much interest will Athena earn at the end of 3 years?