GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

A necropsy was performed on a dog who previously had present…

A necropsy was performed on a dog who previously had presented at your clinic with a cough, labored breathing, ascites, and exercise intolerance. The following worms were found to be responsible for the observed clinical signs.  What nematodes are they?

Read Details

Use IntelliJ to write a java program named “FootTrafficFinal…

Use IntelliJ to write a java program named “FootTrafficFinal” that follows the instructions below. When your program is complete, upload the .java file to the CANVAS Final Exam dropbox.    Problem Description: Stores frequently monitor how many people come into their stores. You are going to write a program that monitors how many people came into the store a given day.  Follow the instructions below to code the FootTrafficFinal program.   Main Method: Call the getNumOfDays method to get the number of days you want to evaluate customer traffic data (numOfDays)  Call the generateTrafficData method to create an integer array with customer traffic data (footTraffic). Call the writeTrafficData method to write the customer traffic data into a text file (“traffic.txt”).  Call the readTrafficData method to create an ArrayList of integers (trafficData) using a text file with with customer traffic data as an input and print the average number of people entering the store. Call the printHistogram method to display customer traffic data as a histogram.  The main method is where you will catch all exceptions thrown by methods. For a FileNotFoundException, print the message “File not found.”   Other Methods: getNumOfDays() method. This method does not receive any parameters. It prompts the user: “Enter the number of days to evaluate customer traffic data (1 – 100 inclusive):” The method loops until the user enters a valid integer between 1 and 100 inclusive. It returns the number of days as numOfDays. generateTrafficData() method. This method receives numOfDays. It generates the amount of people entering the store and stores it in an integer array (footTraffic).    Specifically, it uses Math.random() to generate traffic data between 1 and 100.  So, for example, if numOfDays is 3, then this method creates an integer array with a size of 3, generates 3 integers between 1 and 100,  and stores each number in the array.  It returns the array as footTraffic. writeTrafficData() method. This method receives the footTraffic array. It writes the data to a file called “traffic.txt”. It returns nothing. It writes each number from the array to its own line in a file named “traffic.txt”.  It throws a FileNotFoundException. readtrafficData() method. This method receives the name of the file to read as a String named fileName and returns an ArrayList.  The String filename gets “traffic.txt” passed from the main method. The method creates an ArrayList of integers called trafficData that contains the contents of the traffic.txt file.  It also calls the calcAvgTraffic method. It returns the trafficData ArrayList. This method throws a FileNotFoundException. calcAvgTraffic() method. This method receives the trafficData ArrayList. It calculates the average number of people entering the store and prints this information to the console, rounding 2 decimal places.  For example, if trafficData is [4, 2, 6, 5], then it outputs: The average number of people entering the store per day is 4.25 printHistogram() method. This method receives trafficData and it returns nothing. It prints a histogram that depicts the number of people enter the store each day.  For example, if TrafficData is [4, 2, 6, 5], the output should be: People entered on Day 1 ****People entered on Day 2 **People entered on Day 3 ******People entered on Day 4 ****

Read Details

Identify the Source  (1 point) – Clearly state the title of…

Identify the Source  (1 point) – Clearly state the title of the work from which the passage comes. State the Author  (1 point) – Provide the name of the author of the passage. (1 point) Analyze Theme and Significance (3 points) – Discuss the central theme of the passage and its overall significance within the work. Consider the author’s intended message and how the passage contributes to the larger meaning of the text. Avoid mere summary—do not simply recount the plot. Instead, focus on interpretation and analysis. Your discussion of the theme and significance must be at least three (3) complete sentences, offering thoughtful insights into the author’s purpose and the passage’s deeper meaning.  Passage: “For this, that now was coming, he had very little curiosity. For years it had obsessed him; but now it meant nothing in itself. It was strange how easy being tired enough made it.” “Now he would never write the things that he had saved to write until he knew enough to write them well. Well, he would not have to fail at trying to write them either. Maybe you could never write them, and that was why you put them off and delayed the starting. Well he would never know, now.” 

Read Details

Which term refers to the practice of having more than one sp…

Which term refers to the practice of having more than one spouse simultaneously?

Read Details

The gender inequality that women suffer has several differen…

The gender inequality that women suffer has several different economic consequences but no long-term psychological effects.

Read Details

Men are more sexually active than women. 

Men are more sexually active than women. 

Read Details

One parent families were very common throughout most of huma…

One parent families were very common throughout most of human history. 

Read Details

Two of the strongest predictors for our views about pornogra…

Two of the strongest predictors for our views about pornography are:

Read Details

According to GSS data, people who say they are not religious…

According to GSS data, people who say they are not religious are more likely than those who are very religious to support legal abortion for any reason. 

Read Details

Symbolic interaction focuses on the way families contribute…

Symbolic interaction focuses on the way families contribute to economic inequality. 

Read Details

Posts pagination

Newer posts 1 … 30,858 30,859 30,860 30,861 30,862 … 83,296 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top