Jorge, a sports statistician for soccer, has kept track of how many shots-on-goal each player on a team made in each game. This is recorded in the "SOG" column. Jorge also has the total number of goals each player made during each game. He now wants to create a custom function that will find the average number of goals a player made per shots-on-goal in each game. He will calculate the averages as percents and will call the function "PctPerShots. "


What code will Jorge’s function most likely include?


A. PctPerShots (SOG)

PctPerShots=SOG*goals/100


B. PctPerShots (goals)

PctPerShots=goals*SOG/100


C. PctPerShots (SOG, goals)

PctPerShots=SOG/goals%


D. PctPerShots (SOG, goals)

PctPerShots=goals/SOG%

Answers

Answer 1
The answer is A
Explanation it’s A

Related Questions

What are three ways to protect yourself from identity theft when using your smartphone or computer?.

Answers

Answer:

1. Always download the latest updates .

2. Don’t click on rogue links .

3.Secure your devices (long, complex password on your computer and phone, using Anti-virus/Anti-Malware program) .

Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object. Michelle can also write the properties of the custom object by using the _____.

Answers

Answer:

dot operator

Explanation:

Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object.Which of the following can help Michelle to access the properties of the custom object?

Selected b. Answer:Dot operator

i need help to fill in a few blanks with this coding homework. did some, but need help on the rest. the assignment is down below





# Cody Ryan, 4/28/2022, this is coding with loops

def main():

# Initialize variables
numGuesses = 0
userGuess = -1
secretNum = 5

name = input("Hello! What is your name?")

# Fill in the missing LOOP here.
# This loop will need run until the player has guessed the secret number.

userGuess = int(input("Guess a number between 1 and 20: "))

numGuesses = numGuesses + 1

if (userGuess < secretNum):
print("You guessed " + str(userGuess) + ". Too low.")

if (userGuess > secretNum):
print("You guessed " + str(userGuess) + ". Too high.")

# Fill in missing PRINT statement here.
# Print a single message telling the player
# That he/she guessed the secret number
# What the secret number was
# How many guesses it took

main()

Answers

Answer:

def main():

# Initialize variables

numGuesses = 0

userGuess = -1

secretNum = 5

name = input("Hello! What is your name?")

while ( userGuess != secretNum):

   userGuess = int(input("Guess a number between 1 and 20: "))

   numGuesses = numGuesses + 1

   if (userGuess < secretNum):

        print("You guessed " + str(userGuess) + ". Too low.")

    if (userGuess > secretNum):

         print("You guessed " + str(userGuess) + ". Too high.")

print("You guessed " + str(userGuess) + ". The correct number is " + secretNum + " after " + numGuess + " times.")

main()

Explanation:

add a While until userGuess == secretNum than we stop

Alan is working on a draft document. He wants the document to have more white space. He can do this by changing the line spacing. True False

Answers

It is a true statement that changing the line spacing will make the document have more white space.

What is a line spacing in word document?

This refers to the distance between upper and lower lines of text.

These line spacing are tools that make text much more readable because its places distance between the word lines.

By using a line spacing, there will be more spaces and white spaces on the word document.

Therefore, the statement is a correct statement.

Read more about line spacing

brainly.com/question/25277953

Sean is offered a job in New York City earning $120,000 a year, and a job in Salt Lake City earning $100,000 a year. What financial factor should he consider when determining which job to accept?

Answers

Answer:

Determine the travelling expenses first.

Explanation:

Since it is in two different places, the travelling costs would be different. This would create a big difference and is a factor to consider.

The  financial factor that he considers is that he will have more spending power if he stays in this City.

What is spending power?

The consumer purchasing power is known to be the length to which a consumer can spend money.

Note that based on the above scenario, The  financial factor that he considers is that He will have more spending power if Sean stays in this City.

Learn more about  financial factor  from

https://brainly.com/question/26504247

#SPJ2

The Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone. What reason does NOT contribute to this situation

Answers

The week security system is the reason which makes Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone.

Why Android operating system targeted more by attackers?

Android is the mobile operating system and mostly targeted by the hackers and attackers. The reasons by which it is often targeted by attackers are listed below.

Android is most famous operating system and most of the people has mobile phone bases on this system.The security level of android is week compare to Apple iOS and Windows Phone makes is easy to crack.The risk of malware and virus is more in android.

The week security system is the reason which makes Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone.

Learn more about the Android OS here;

https://brainly.com/question/4121093

#SPJ1

Fill in the blank to this question. The __________ encompasses the data that flow into the system, the data that flow out of the system, and the data stores that collect and organize the data that are maintained permanently.

Answers

Answer:

The __________ encompasses the data that flow into the system, the data that flow out of the system, and the data stores that collect and organize the data that are maintained permanently.

data flow

Explanation:

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem

Answers

Answer:

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem? The PC default gateway address is missing or incorrect. The PC has an incorrect IP address. The network cable connected to the user PC is faulty.

Explanation:

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem? The PC default gateway address is missing or incorrect. The PC has an incorrect IP address. The network cable connected to the user PC is faulty.

A possible cause of the problem is that the default gateway address of this personal computer (PC) is missing or incorrect.

What is a default gateway address?

A default gateway address can be defined as an internet protocol address that is designed and developed to allow a particular device to communicate with other networks and equipment, including the Internet.

In this scenario, a possible cause of the problem is that the default gateway address of this personal computer (PC) is missing or incorrect and as such must be provided or configured.

Read more on printers here: https://brainly.com/question/17100575

#SPJ2

What is the difference between basic auth and oauth.

Answers

Answer:

Basic auth is an authentication where username and password are sent with an HTTP request unencrypted (just base64 encoded).

OAuth is a scheme whereby you perform a login at an IAM server, which gets you a token, and then you provide the token with requests to another server.

Select the correct answer.
A company has recently learned of a person trying to obtain personal information of employees illegally. According to which act will be the person punished?
A.
I-SPY
B.
CFAA
C.
Digital Millennium Act
D.
SOPA

The answer is D.

Answers

Answer:

A: I-SPY

Explanation:

The I-SPY Act criminalises the unauthorised use of phishing, spyware and other techniques of utilising the Internet to gain sensitive personal information without the consent and knowledge of any person.


When you use a number such as 45 in a C# program, the number is a

a. figurative constant
c. literal variable
b. literal constant
d. figurative variable

Answers

Answer:

b it has to be if u look in and use a cauclator

If html is used to specify the content of the webpage, then what do you use css for?.

Answers

Answer:

css for styling.. means for making websites looks beautiful and attractive

Explanation:

html is like skeleton which defines websites structure whereas css is like cover to the skeleon.. css is responsible for fonts, colors, position of elements, responsiveness of websites.. it makes websites looks beautiful and prettier by adding background colors, hover effects, animation, etc

when jim needs to acces the corporate database, he sits at a terminal, which presents the user interface. the database, the transaction processing and the application programming are all resident on one seperate host computer. What type of database architecture is used at jim's company

Answers

The type of database architecture that is used at Jim's company is Centralized mainframe with terminal client.

What is mainframe computer terminal?

The mainframe model are known to be and up of centralized computers, that are placed on a secure weather controlled computer rooms.

Note that the it is made up of an End users interfaced and the Centralized mainframe with terminal client. is the type of system used in Jim's firm.

Learn more about database architecture from

https://brainly.com/question/25385643

A _________ , also known as a trapdoor, is a secret entry point into a program that allows someone who is aware of the door to gain access without going through the usual security access procedures.

Answers

The trapdoor is a method that breaches the security of the system and bypasses the authentication. The trapdoor is also called the backdoor.

What is a backdoor?

A backdoor or the trapdoor is the method of a security breach that bypasses the authentication check of the system to access the cryptographic systems through unauthorized means.

It is a secret entry point known by someone to gain entry by bypassing the security check for harming the system and is also used to test and debug programs.

Therefore, the correct blank is the backdoor.

Learn more about backdoor here:

https://brainly.com/question/14315309

#SPJ1

Cannot initialize sftp protocol. Is the host running an sftp server?.

Answers

Answer:

I believe it will resolve your issue

Explanation:

Most of the time it happened due to the password expired . So you need to make do right click on that WinSCP user's and you'll find the option Open in PUTTY, PFA.

A ____________________ is based on the use of one or more resource pools, in which identical IT resources are grouped and maintained by a system that automatically ensures that they remain synchronized.

Answers

A resource pooling architecture is based on the use of one or more resource pools, in which identical IT resources are grouped and maintained by a system that automatically ensures that they remain synchronized.

What is most likely to happen to the purchasing power of money over time?
• A. It will increase.

B. It will decrease.
C. It will stay the same.

D. It will go up and down.

Answers

Answer:

The answer is B. It will decrease

Explanation:

I took the test

The purchasing power of money over time will decrease. The correct option is B.

What is purchasing power?

The worth of a currency is determined by how many goods or services one unit of that currency can be used to purchase. Inflation may cause it to deteriorate over time. This is due to the fact that you may acquire fewer items or services as a result of increased pricing.

Unevenly growing prices in an inflationary environment unavoidably lower some customers' purchasing power, and this depreciation of real income is the single biggest cost of inflation.

For both those who receive and pay fixed interest rates, inflation might over time affect their ability to make purchases.

Therefore, the correct option is B. It will decrease with inflation.

To learn more about purchasing power, visit here:

https://brainly.com/question/14892961

#SPJ2

Is a spreadsheet a good tool for writing a letter? Choose the answer: Yes or No

Answers

Answer:

No... Spreadsheets are commonly used for research, outlining, tables, and etc.

Explanation:

Screenshot provided.

If the following code is executed, what is the output? a = 1 b = 2. c = '3' d = (1, 2., '3') e = [4, 5., '6'] print type(b+c)

Answers

Answer:

TypeError

Explanation:

b = 2

c = '3'

- b is of type integer because it is storing an Integer.

- c is of type string, since '3' is a string.

Since they are of different types, you can't add/ concatenate them. To add them you would need to change the string ('3') to an integer to get 5. Or you would need to convert 3 into a string to get '32' or '23'.

i cracked a school computer screen on purpose and one on accident what will happen now?

Answers

Answer:

You will probably have to pay a fee of replacement, or pay for the whole computer.

Explanation:

John created a small video for an audition. He wanted to retain the quality for his client. Which compression technique will ensure that the video does not lose any information?
A. Lossless
B. Lossy
C. DCT
D. MPEG

Answers

MPEG, MPEG stands for Moving Picture Experts Group, they can retain quality and he can store it and not lose any information.

A network engineer is analyzing reports from a recently performed network baseline. Which situation would depict a possible latency issue

Answers

An increase in the ping response periods (host to host time) might be depicting a possible latency issue.

What is a latency issue?

In computers, a latency issue is a problem capable of delaying digital communications in the network.

Latency issues are a subject of concern and there are several alternatives to improve this aspect of digital networks.

Latency issues are associated with the time in which data can be captured and processed in the network.

Learn more about latency issues here:

https://brainly.com/question/27013190

Which of the following is an example of machine learning?

Answers

Answer: auto correct

Explanation: The iPhone can determine what you are going to type because of your past history.

An example of machine learning is autocorrect. The correct option is c.

What is machine learning?

Machine learning is a branch of artificial intelligence that is widely described as a machine's ability to mimic intelligent human behavior.

Autocorrect is a word processing technology that detects misspelled words and utilizes algorithms to identify the words most likely to have been intended before editing the text.

In the context of machine learning, autocorrect relies solely on Natural Language Processing (NLP). It is programmed to fix spellings and errors when inputting text, as the name implies. Auto-Correction spellchecks your keyboard dictionary as you type, automatically fixing misspelled words. Simply enter text into a text area to use it.

Therefore, the correct option is C, autocorrect.

To learn more about machine learning, refer to the link:

https://brainly.com/question/16042499

#SPJ2

the essential idea behind digital cite zen shop is that ____.

Answers

Answer:

"Digital Citizenship is the status that all online users should own including students. With this citizenship comes freedoms and responsibilities which should be understood in their entirety. Similar to the real world citizens, online users have to follow the rules and try to make use of all its benefits safely"

Explanation:

Which of the following is NOT a specialized cloud mechanism? A. Automated Scaling Listener B. Load Balancer C. Multi-Device Broker D. Resource Array

Answers

Answer:

C...i think so sorry if im wrong

Explanation:

I think A…… sorry if wrong

You are searching for an item in an array of 40,000 unsorted items. The item is located at the last position. How many comparisons do you need to do to find it

Answers

It depends on what algorithm you’re using.
If you’re going item by item, you’ll be looking at O(n) or O(40000)
Give me a reply if you want to know more, such as if you did binary search what the Big O notation is

Which wireless technology will John use to provide wide-range cellular service that focuses on indoor coverage, low cost, long battery life, high connection density, and has a low-power wide-area network

Answers

Wireless technology is the method used to communicate and transfer data without wires and cables. John will use Narrowband IoT to provide cellular services.

What is Narrowband IoT?

Narrowband Internet of things is a Low power WAN technology developed for cellular services, and devices are used to balance power consumption and spectrum efficiency in providing coverage.

Narrowband IoT gives increased coverage, has long battery life and is not expensive as other networking systems, and has low power wide region networking.

Therefore, John should use Narrowband IoT.

Learn more about wireless technology here:

https://brainly.com/question/14618006

#SPJ1

write a recursive bool valued function containsvowel that accepts a string and returns true if the string contains a vowel

Answers

Answer:

Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. A string contains a vowel if: The first character of the string is a v…

Explanation:

A:

bool containsVowel (string s) { bool hasVowel=false; if (s.length()==0) return false; else if (s[0]=='a'|| s[0]=='e'|| s[0]=='u'|| s[0]=='o'|| s[0]=='i'|| s[0]=='A'|| s[0]=='E'|| s[0]=='U'|| s[0]=='O'|| s[0]=='

You are using Automator, System Report, and Disk Utility as some of the tools for managing a fleet of laptops. Which operating system do these computers use

Answers

Answer:

macOS

Explanation:

Q:

You are using Automator, System Report, and Disk Utility as some of the tools for managing a fleet of laptops. Which operating system do these computers use?

A:

macOS

You've been hired to create an application. This application requires that you ask for and record the user's first name, last name, and age in years. What would you do to ensure that the data that is entered is valid

Answers

Answer:

Notification must take place at least four times during the process—upon receipt of the application, when the application is evaluated against the requirements for the job

Explanation:

Notification must take place at least four times during the process—upon receipt of the application, when the application is evaluated against the requirements for the job

Other Questions
The sky in the west was full of pale yellow light. louise stood outside with her hands in the pockets of leon's green army jacket that was too big for her. the funeral was over, and the old men had taken their candles and medicine bags and were gone. she waited until the body was laid into the pickup before she said anything to leon. she touched his arm, and he noticed that her hands were still dusty from the corn meal that she had sprinkled around the old man. when she spoke, leon could not hear her. which detail in this excerpt indicates that leon and his family still carry out traditional pueblo practices? the funeral service and the candles the sky in the west and the pale yellow light the body in the pickup and the army jacket the medicine bags and the sprinkled cornmeal 37 A grocery store clerk arranged 72 boxes of pasta on 3 shelves. If he placed the same number of boxes on each shelf, how many boxes did he place oneach shelf? What feature might Samantha have used to sort these shapes into the same group The side length of a square is modeled by s=A, where A is the area of the square. Graph the function. What is the side length of a square with an area of 35 square units? Order the following pH values from most acidic to least acidic (most basic).5.77.01.29.1 An increase in blood carbon dioxide content causes hemoglobin to ________. release all bound carbon dioxide molecules bind more oxygen molecules bind more H release more oxygen molecules denature The table displays the scores of students on a recent exam. Find the mean of thescores to the nearest 10th.Score Number of Students755807857906954 Write a 250-300 word essay on what you think Buddha would think of ourculture today. What would he think about fast food, drive thru windows, ondemand TV, text messaging, lottery tickets... What would he think about ourneed for instant gratification. Will post C later: Transformations, Congruence, and Similarity Please Hurry). What was not a role that women played in World War II? A) Taking care of there families while men served in the military. B) Enlisting in the military. C) Campaigning for female congressional candidates who promised to end the war. D) Working in Civilian jobs, some typically held by men.. Math question, me need help In which quadrant does lie given that sin < 0 and cos < 0? Thank You!Quadrant IQuadrant IIQuadrant IIIQuadrant IV please help due in 30 minutes!! This is worth 10 points if I dont complete it its a 0 Los atletas _____muy rapido todo el tiempo The __________ helps measure a company's ability to meet its obligations, pay dividends, expand operations, and obtain financing. It is computed by taking cash flow from operations divided by average total assets. Can someone please help me? :( What piece of legislation, one of the most complex areas of federal civil law, was established in 1974 mainly to protect the employee pension system from employer fraud How does the author point out a weakness inthe argument for using the broad term "AsianAmerican"?A7. After a brief1 came here, I'dached to theby explaining that it is unclear who fallsunder the "Asian American" umbrella andproviding examples of reasons why peoplereject the termBby providing examples of people whochoose to call themselves "Asian Americans"because they were born in the United Statesuld probably beng or the U. S. t he doesn't mindund everyone's justby explaining that most Asian Americansnever get the opportunity to learn aboutAsian American history until collegeDby providing examples of people who like touse both the term "Asian American" andanother term specific to their ethnic identity How were whites punished by law for supporting the integration of classrooms?They were fined for attending integrated classrooms.They were suspended from school.They were arrested for participation in protests.They were removed from class. 21-25 Use the form of the definition of the integral given in Theorem 4 to evaluate the integral.23. [tex]\int_{-2}^{0}\left(x^{2}+x\right) d x[/tex]