GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Calculate the z-score for each test.  Round your answers to…

Calculate the z-score for each test.  Round your answers to 2 decimal places. Test A:  A score of 82 on a test with a mean of 70 and a standard deviation of 8. [one] Test B:  A score of 82 on a test with a mean of 75 and a standard deviation of 4. [two] Based on the z scores, which test score is better?  [better]

Read Details

Use the given values of n and p to find the maximum usual va…

Use the given values of n and p to find the maximum usual value μ + 2σ for a binomial distribution. Round your answer to one decimal place. n = 246, p = 0.15

Read Details

The table below shows the soft drinks preferences of people…

The table below shows the soft drinks preferences of people in three age groups. cola root beer lemon-lime Under 21 years 40 25 20 between 21 and 40 35 20 30 over 40 years 20 30 35 If one of the 255 subjects is randomly selected, find the probability that the person is over 40 years of age.  Round your answer to 3 decimal places.  

Read Details

A researcher was interested in comparing the resting pulse r…

A researcher was interested in comparing the resting pulse rates of people who exercise regularly and the pulse rates of those who do not exercise regularly. Independent simple random samples of 16 people who do not exercise regularly and 12 people who exercise regularly were selected, and the resting pulse rates (in beats per minute) were recorded. The summary statistics are as follows. Use a 0.025 significance level to test the claim that the mean resting pulse rate of people who do not exercise regularly is greater than the mean resting pulse rate of people who exercise regularly.

Read Details

What will be the output of the code below? import copyx = [[…

What will be the output of the code below? import copyx = [[“bananas”, “bread”], [“milk”, “eggs”]]y = xz = copy.deepcopy(y)y[1] = [“yogurt”, “cheese”]z[0][1] = “cheries”print(x)

Read Details

Assume file1.txt exists and the following code reads file1.t…

Assume file1.txt exists and the following code reads file1.txt and copies its content to file2.txt path1 = “file1.txt”path2 = “file2.txt”f = open(???, ‘r’, encoding=”utf-8″)text = f.read()f.close()f = open(???, ???, encoding=”utf-8”)???f.close() Which group of code snippet(s) could replace the ???’s in order to accomplish copying the content of file1.txt to file2.txt?

Read Details

Consider a dataframe df with information of employees, inclu…

Consider a dataframe df with information of employees, including name, phone, email. An employee is missing if their name is missing, and  if their phone or email is missing. How can we find how many employees are missing?

Read Details

Assume you want to parse the html code from the course offic…

Assume you want to parse the html code from the course office hours page  “https://cs220.cs.wisc.edu/sum25/office_hours.html” and will respond to requests by returning an HTML file. Which of the options below could replace the ??? in the code to successfully save the HTML code to a file on the user’s machine? import requestsfrom bs4 import BeautifulSoupdef download(url):    try:        r = requests.get(url)       f = open(“office_hours.html”, “w”, encoding=”utf-8″)       f.write(???)        print(“Success!”)    except requests.HTTPError:        print(“Error!”)download(“https://cs220.cs.wisc.edu/sum25/office_hours.html”)

Read Details

What will be the output of the following code: def authentic…

What will be the output of the following code: def authentication(user):    try:         if user != “Administrator”:            raise PermissionError(“User does not have permission”)            print(“Access denied!”)        else:            print(“Access granted”)    except Exception as e:       print(e)authentication(“Maintainer”)

Read Details

What will be the output of the following code: scores = {“An…

What will be the output of the following code: scores = {“Anna”: 10, “Jennifer”: 50, “John”: 30}print(scores[“Jane”])

Read Details

Posts pagination

Newer posts 1 … 37,360 37,361 37,362 37,363 37,364 … 96,702 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top