1.This is Dania, I’m writing this to remind you where you have begun to where you are right now. Hopefully,
...
efully, the last two steps of getting your license were taking the required classes and passing the tests. Maybe you are still working on getting your degree and know what to do next or even working towards your workforce goals. If so, welcome to the working world. I hope you were able to find jobs quickly and good opportunities. I hope you find it enjoyable along the way I know it was challenging at first, but I knew that you are going to make it through it all.
View More
2.ssay 1: Person I Admire
Purpose
This essay assignment is the culmination of all your previous work in this module. You have
...
in this module. You have already engaged in the beginnings of the writing process of this essay. You have:
Brainstormed ideas (see Chapter 11 in SMG) about the essay in the Discussion Board.
Condensed your ideas down into manageable points around a working thesis.
Displayed knowledge of Description essays from Learning Activities
Drafted a Writing Activity (WA2) about this Description essay.
Consulted with a writing tutor to find areas of strength and areas of improvement.
Finally, you will now compose the final draft of a description essay that:
contains a clear thesis
identifies clear points to support your thesis
engages in critical thought about the subject chosen
uses 2-4 main ideas (points) that support your overall essay thesis
allows you to expand on your chosen topic
This essay assignment represents the first steps in writing any written essay for any academic course. The idea of thesis and support are the cornerstones of all essays. They represent the last part of the writing process. However, you may still revise your essay before final submission. This form of essay writing is the basis for all other academic writing pursuits. This skill translates to almost all careers that require critical thinking, critical reading, and responding in writing. Practicing "how to" write an essay carries over into any field's task of "what" you need to write. This skill will help with all formal writing.
Task
Write a 900-word essay, in MLA format, about a person or fictional character in whom you have an interest.
Select a subject (person or fictional character you admire)
Look to your Discussion (D1) and Writing Activity 2 (WA2) for your subject
The person may be current or historical
Some fictional characters have positive traits that can be identified.
Select several (2-4) traits about the person or character that you admire and write about these. These will be the essay's main ideas.
Biographical information should be used only to support claims.
Your essay should focus on the traits you admire. Do not write a biography or tell a story.
Example of what not to do: This person was born in 1979. They were born in middle Tennessee. They went to elementary school is 1985. They graduated in 1998.
Instead, follow this example: This person was born in middle Tennessee. Entering elementary in school in 1985 was hard for them. They never felt that they belonged in kindergarten. However, they persevered, learning that school was a place for them to grow and be themselves.
Focus on the "why" you admire them instead of a list of traits. In the above example, perseverance and learning to be themselves are the traits the writer of the essay admires.
Organize your main ideas to establish the essay's pattern of organization.
Your main ideas (traits you have chosen) need to be clearly organized.
Decide in what order you wish to discuss these main ideas (traits)
This organization needs to be presented in your introduction, preferably as the last sentence of your introduction in the thesis statement.
Note: your thesis is generally the last sentence in your introduction, but it not a requirement.
Follow this structure throughout the rest of the essay.
Always check to see if your main ideas/topic sentences, in each paragraph, relate back to your thesis statement.
Compose 5 well-developed paragraphs that support a clear thesis statement that is arguable.
5 paragraph minimum
introduction paragraph
introduces your essay and presents your thesis
three body paragraphs
Each paragraph contains one of your chosen admirable traits about your subject
expressed in a topic sentence in your paragraph
Each trait needs to transition to the next one in the next paragraph
look to your chosen pattern of development
conclusion paragraph
rephrases your traits into one last paragraph
reflects the earlier thesis, but with the knowledge of your traits expressed throughout the essay
This essay is a basic form of an argument essay. The essay should make an argument such as that the person or character selected is worthy of admiration because of the traits selected.
Criteria for Success
A successful essay:
Meets basic requirements of the assignment
Has been written by the student submitting the essay, for this class, and for this semester,
Does not contain plagiarism of any kind
Academic dishonesty is an offense of the NSCC Student Code of Conduct, punishable by a failing grade or zero
Has a clear thesis, main ideas, and pattern of organization
Has been carefully edited and proofread to minimize grammatical and other editing errors
These can be remedied by editing and with Writing Tutor visits and peer reviewing
Follows MLA style and guidelines (spacing, indent, margins, etc. )
The essay will be graded with the Grading Rubric for Essays. Please familiarize yourself with this rubric before you submit your essay. Here is the condensed version of the rubric:
View More
3.I need a statistics test done, it is on hypothesis testing, and confidence interval. This is a 2 HOUR TIMED
...
R TIMED TEST, with 9 questions. I know what types of questions will be on the test, but I CANNOT INCLUDE THEM UNTIL WE ARE READY TO BEGIN THE TIMER. Please see my attached images, the first one on confidence intervals makes up questions 1-7, the second is a variation of these initial confidence interval questions, and the last picture shows the format of the last 2 questions on hypothesis testing. This gives you plenty of time and the questions are rather straight forward. I NEED SOMEONE ABLE TO BEGIN NOW. THE FINAL DEADLINE IS 11PM PST Thanks
View More
4.
Take me as someone who has always had an interest in air pollution, but doesn't have the time to learn
...
earn about it independently. I am hiring you to learn all that you can about it and put together a report that will summarize all the information so that I can learn as much as I can in as little time as possible. Here is what you need to include in your report:
An explanation of air pollution. What is air pollution? //
Explain 4 causes of air pollution.
Explain 2 sources of air pollution. What are the toxins or pollutants that contaminate the air?
Explain at least 5 effects of air pollution on human health and/or the environment.
Explain 3 solutions to stopping air pollution. What can be done by the government or private organizations?
Work cited page should also be included, listing all the sources you used to get your information.
THIS REPORT SHOULD BE TYPED AND ORGANIZED IN 5 OR MORE PARAGRAPHS. READ THE RUBRIC BELOW CAREFULLY TO UNDERSTAND HOW THIS PROJECT WILL BE GRADED!!
WORKS CITED PAGE
General guidelines for citing sources:
List entries alphabetically by author (if no author list title first)
Separate entries with periods
General format:
Author, last name first. "Webpage title." Website title. Date published/updated. Organization/publisher. Date accessed. < URL >
Example:
Landsberger, Joseph. “Citing Websites." Study Guides and Strategies . 12 May 2005. University of
X. 13 May 2005. < http://www.studygs.net/citation.htm >.
These websites will format your citations for you: http://citationmachine.net/ & http://easybib.com/
**You should use google slides or powtoons to put together your information. You should have a minimum of 6 slides not including the title slide with your name.** DUE FRIDAY, APRIL 3, 2020
Rubric
Criteria
Points
Information Included
Three or more required elements are missing (not including additional facts).
(20 points)
1 or 2 required elements are missing (not including additional facts).
(30 points)
All required information is present, but no additional information is given.
(40 points)
All required information is present, including two additional facts.
(50 points)
_________
Quality of information
Information has little or nothing to do with the main topic OR sections do not provide any supporting detail or explanation.
(5 points)
Information clearly relates to the topic, but some sections are lacking detail and explanation.
(10 points)
Information clearly relates to the main topic and all sections include some supporting detail and explanation.
(15 points)
Information clearly relates to the main topic and all sections include significant supporting details and explanation.
(20 points)
________
Format
Title page is not present at all AND/OR there are errors in typing, spacing, no picture, etc.
(5 points)
Product has improperly formatted title page AND/OR no picture or not creative.
(8 points)
Product has incorrectly formatted title page and has pictures.
(12 points)
Product has a title page in the proper format, has pictures and is creative.
(15 points)
________
Spelling/Grammar
5 or more grammatical, spelling or punctuation errors present throughout the product.
(2 points)
3-4 grammatical, spelling or punctuation errors present throughout the product.
(3 points)
1-2 grammatical, spelling or punctuation errors present throughout the product.
(4 points)
No grammatical, spelling or punctuation errors present throughout the product.
(10 points)
________
Works Cited
Works Cited page not present.
(2 points)
All sources are documented with 3-4 errors in format OR Works Cited is not done a separate page.
(3 points)
Works Cited is done on a separate page and all sources are documented with 1-2 errors in format.
(4 points)
Works Cited is done on a separate, properly headed page with all sources documented in proper Works Cited format.
(5 points)
________
Total
_____/100
View More
5.Greetings. I need help asap when it comes to a computer science project that I have to get done soon.
...
. I'm really close to completing it and I'm really stuck on this one situation and I don't know how to solve it. So right now I'm making a guessing game and every time you play the program tells the user how many guesses it took for them to get the answer. And what I need to do is to make sure that I get and isolate the lowest amount of guess and put it into the statistics function so that way it can print out the lowest amount of guesses that I got. Right now it isn't working and I really don't know why as it seems to be mostly adding up all the guesses until the last few. Here's my code:
#include
#include
#include
#include
void haiku(){
printf("Welcome to the game.\n");
printf("Guess a number within range.\n");
printf("Win cool prizes here.\n\n");
}
int compare(int guessiso){
int lowestvalue=0;
int biggervalue=0;
if(guessisooperand){
printf("It's lower.\n");
count++;
isolatedcount++;
}
else if(user0){
lowguess=compare(x);
x=one_game(count);
count=x;
printf("Do you want to play again?\n");
scanf("%d",&usertwo);
userthree=usertwo;
gamecount++;
}
statistics(gamecount,x,lowguess);
}
View More
6.Q2.BMPractice.5th
Your email address (npack@myhsa.net) will be recorded when you submit this form. Not you? Switch account
* Required
Write your FIRST name:
...
Not you? Switch account
* Required
Write your FIRST name: *
Write your LAST name: *
1. Which best describes the difference between single cell and multicellular organisms? *
1 point
a. Single-cell organisms can perform all processes in one cell, but multicellular organisms need many cells to do specialized functions together.
b. Single-cell organisms need one cell to function, but multicellular organisms need lots of cells who all have the same job.
c. Single-cell organisms need many cells to do specialized functions together, but multicellular organisms can perform all processes in one cell.
d. Single-cell organisms need multiple cells with similar structures, but multicellular organisms need only one cell.
2. How does your brain move your arm? *
1 point
a. The brain sends a message to your bones to move your arm
b. The brain sends a message to your nerves to move your arm
c. The lungs send a message to your muscles
d. The muscles send a message to your brain
3. Which correctly explains the difference between the respiratory and circulatory system? *
1 point
a. The respiratory system includes your lungs and the circulatory system includes your heart
b. The respiratory system takes in oxygen and the circulatory system breaks down food
c. The respiratory system takes in water and carbon dioxide, but the circulatory system does not
d. The respiratory system includes the brain and the circulatory system includes to lungs
4. Which of the following is a learned behavior? *
1 point
a. Dimples when you smile
b. Ability to sing
c. Freckles
d. Hair color
5. These are all examples of: *
1 point
Captionless Image
a. Evaporation
b. Radiation
c. Transpiration
d. Percipitation
6. Which of these does NOT make a new material? *
1 point
a. Burning a wooden log
b. Iron nail rusitng
c. Ice melting
d. Mysterious color change
Explain why: *
This is a required question
7. What would you want to put your drink it to keep it cold? *
1 point
Metal (good conductor)
Plastic (bad conductor)
Explain why: *
8. How does the sun play a role in the water cycle? *
1 point
a. Heats water and turns it into water vapor gas
b. Cools gas to make water droplets and clouds
c. Creates strong winds
d. Causing it to rain
9. What will happen when a metal chair is left outside in the hot sun? *
1 point
a. Increase in weight
b. Decrease in weight
c. Increase in size
d. Decrease in size
10. What would the weight of the lemonade be if the water is 3.0 grams, the ice is 2.5 grams, and the mixture is 0.25 grams? *
1 point
a. 5.75 g
b. 5 g
c. 6.25 g
d. 10.1 g
View More
7.Macroeconomic powerpoint presentation on Inflation vs deflation. Below is the Assignment description: This course has a Final Project which is
...
: This course has a Final Project which is in the form of a PowerPoint presentation (you may also use Google Slides). You can choose a topic from this semester or something you come up with yourself, but your presentation must be about economics and be original (i.e. not just material verbatim that you have pulled from your text/readings or off the internet). Of course, you can still insert charts, graphs, videos, graphics and excerpts from outside sources (as long as you cite those sources!) I want to see your commentary and analysis, in your own words. IMPORTANT: Copying the work of others and representing it as your own (ex. copy and paste off of the internet or your text, OR using someone else's work and just changing a few words) is Plagiarism, a serious academic offense. I have enabled the Turnitin plagiarism checker for this assignment, to help you identify potential areas of plagiarism. Papers that are substantially plagiarized will NOT be accepted for grading. Although the format is a Power Point, I want to emphasize that this is NOT like your typical Power Point, which is basically an outline for a live presentation. Your project must be substantially loaded with content. The first slide should be your Introduction slide, the next 10-15 slides should be informational slides, the second to last slide should be your conclusion (which summarizes your presentation) and the last slide should be the reference slide. Make sure you review the rubric below BEFORE you start your project, so that you are clear on how your project will be graded. NOTE: The due date is Wednesday, 12/16. A 20% late penalty will be assessed every day for assignments submitted past this date. PLEASE contact me if you have any questions about the requirements of this project, plagiarism, citations...or any other concerns! Rubric: Final Project Presentation Criteria Ratings Pts Introduction 5.0 pts Excellent/Good 3.0 pts Satisfactory/Needs Improvement 1.0 pts Unsatisfactory 5.0 Content 35.0 pts Excellent/Good 25.0 pts Satisfactory/Needs Improvement 15.0 pts Unsatisfactory 35.0 Conclusion 5.0 pts Excellent/Good 3.0 pts Satisfactory/Needs Improvement 1.0 pts Unsatisfactory 5.0 Organization 15.0 pts Excellent/Good 10.0 pts Satisfactory/Needs Improvement 4.0 pts Unsatisfactory 15.0 References and Citations 10.0 pts Excellent/Good 7.0 pts Satisfactory/Needs Improvement 3.0 pts Unsatisfactory 10.0 Total points: 70.0
View More
8.Hello, I have a problem calculating probability for a certain thing that happened. I'll try and make it sound like
...
it sound like a math problem.
The problem :
What are the chances of a 4 sided die landing on 1 twice and on 2 twice out of 4 rolls. The solution I came up with originally was (2/4) x (2/4) x (2/4) x (2/4) . Which I realized was wrong as this allowed the die to land on 1 four times in a row. So then I came up with this soultion (which i still think is wrong) (2/4) x (2/4) x (1/4) x (1/4) . So the reasoning behind this is : The first roll obviously has a 50% chance to roll on either 1 or 2. Second roll is the same. BUT, lets say both of them land on 1, and now it HAS to land on 2 the remaining two times. So my problem is with the current solution that I have is what if the die lands on 1 on the first roll, then on two for the second one. then the third roll would still have a 2/4 AKA a 50% chance of landing on either one. I'm sure the last roll is 1/4 but I just dont know if the order matters on the rolls. This has been driving me crazy the last hour. Please help if you can thanks
View More
9.CASE STUDY - 1
Mr. JD. is an 37-year-old African-American man visiting the
...
he first time. He was
Recently released from state prison where he served an 18-year term for murder and armed robbery. His visit is part of a plan for aftercare arranged by the HIV Liaison Nurse in the prison. He denies practicing any behaviors that could put him at high risk for HIV disease, including having had sex with men or injecting drugs, while in prison or before he was imprisoned. He was first diagnosed with HIV infection five years ago.
Mr. J.D. was married before he was arrested, but he was divorced 15 years ago. Although he has two adult children, Mr. J.D. has no contact with his children or former wife. He believes that they moved out of state. His parents are both deceased. He also lost contact with his five brothers and sisters. Currently, Mr. J.D. lives in a short-term, subsidized, group residence for newly released inmates. While in prison he completed high school and earned a GED diploma.
In prison he also learned basic computer skills and answered telephone calls for the state's tourist bureau, which was staffed by inmates. He plans to enroll in a community college to learn more about computers. He has job interviews scheduled for several telemarketing companies.
His medical history is unremarkable except for sexually transmitted diseases. Shortly after he was arrested he was diagnosed and treated for urethral gonorrhea. His physical examination is Unremarkable.
1. Read the case and Identify biological variables.
2. Identify Psychological variables.
3. Identify Social variables
Case – 2
Jane is a middle class American housewife and a bar attender. She is a HIV infected woman who feels isolated and experiences’ shame and stigma in the community she is living. Her economic and social resources are inadequate to meet her needs. She has three children and her role as care giver, wife and mother is lost or limited. She fears transmitting HIV to her family members by contact. She is depressed and confused to disclose her illness to children. She feels disappointed for the loss of reproductive choice due to some gynecological problems associated with HIV. Her husband is a drug addict and jobless, dependent on the family.
1. Read the case and Identify biological variables.
2. Identify Psychological variables.
3. Identify Social variables
Case – 3
A 65year old HIV couple from Thailand is living alone in a suburban village with no family support available. . They were depressed due to isolation, internalized shame and perceived stigma. They have several issues with health such as sleeping problems, Arthritis, Diabetes. Sometimes the couple was reluctant for medication due to many medicines in a day. They are confined to home due to mobility problems. Though they are covered under Social security system but it is not sufficient to fulfil their needs due to rising medical needs.
1. Read the case and Identify biological variables.
2. Identify Psychological variables.
3. Identify Social variables
Case - 4
Kathy met a man, he was charming and handsome. They talked for hours the first night they met. She told him about her last relationship and how it ended with the police taking her boyfriend away after he brutally attacked her. The charmer told her, that he had been single for many years after his partner died of AIDS. She asked him straight up what his HIV status was and he told Kathy "he was clean and healthy". They began seeing each other regularly. She was falling for this guy and him for her. They played safe at first. But as time passed and their relationship grew stronger and began to relax. They had an active social life and enjoyed each other and going out with friends. Life was very good until February 11, 2010.
She discovered a hospital document that had her partners name on it. The document was mixed in with some old holiday cards he had collected and saved over the years. The paper was dated 2002 and stated her partner was HIV poz and had been for 10 years prior. She was devastated! Over the 2+ years they we were together and had the 'HIV poz' conversation many times and he always said how happy he was to be 'clean'. Kathy was tested 2 days later and the results came back positive. Kathy moved out that afternoon- it was her birthday. I am heart broken, confused and angry. Being lied to by someone she loved so much just adds to the pain of having to deal with the news of being HIV poz.
1. Read the case and Identify biological variables.
2. Identify Psychological variables.
3. Identify Social variables
View More
10.I have 5 questions I am stuck on. Please help!
1. Enter the correct answer in the box.
Facundo crochets and sells
...
chets and sells baby blankets, b. Each blanket requires 3 skeins of yarn, and the total number of skeins Facundo uses, y, varies directly as the number of blankets he crochets, b.
Write an equation that models this relationship.
2. The weight of an object, w, varies inversely as the square of its distance from the center of Earth, d. When an astronaut stands in a training center on the surface of Earth (3,960 miles from the center), she weighs 155 pounds. To the nearest tenth of a pound, what will be the approximate weight of the astronaut when she is standing on a space station, in orbit 240 miles above the training center?
3. The square of g varies inversely as h. When g = 16, h = 2. What is the value of h when g = 40?
4. The number of days, d, it will take Manny to read a book varies inversely as the number of pages, p, he reads per day. If k is the constant of variation, which equation represents this situation?
5. The battery life for Bruhier’s cell phone is longer when he has fewer apps running. When only one app is running, the battery will last for 16 hours. When four apps are running, the battery will only last for 4 hours.
View More
11.A bank claims that omitting the annual credit card fee for customers who charge at least $2500 in a year
...
year will increase the amount charged on its credit card. The bank makes this offer to a random sample of 225 of its credit card customers. It then compares how much these customers charge this year with the amount that they charged last year. The mean increase in the sample is $560, with sum of squares SS= $1,417,250. Is there significant evidence at 1% level that the mean amount charged increases under the no-fee offer? First, in the blank below report the observed value of the test statistic (e.g., observed z, observed t, or observed χ2 you will use for hypothesis testing
2. Enter the critical value for the statistic and degrees of freedom. Do we reject H0 or fail to reject
View More
13.From the standpoint of what we have learned about making inductive reasoning stronger and the need for comparing groups in
...
or comparing groups in observational and randomized controlled studies, examine Michelle Bachman’s claim about vaccines linked in the video segment:
“There's a woman who came up crying to me tonight after the debate. She said her daughter was given that vaccine (HPV). She told me her daughter suffered mental retardation as a result of that vaccine. There are very dangerous consequences. It's not good enough to take, quote, 'a mulligan' where you want a do-over, not when you have little children's lives at risk.
She told me that her little daughter took that vaccine, that injection, and she suffered from mental retardation thereafter. It can have very dangerous side effects. The mother was crying what she came up to me last night. I didn't know who she was before the debate. This is a very real concern and people have to draw their own conclusions."
Why is this argument a good candidate for a questionable cause fallacy? What is Bachman’s premise? What is her conclusion?
Answer here.
Premise: ??
Conclusion: ??
View More
15.Bob Farrell works for a company that manufactures small appliances. Bob is paid $2.00 for each toaster, $4.60 for each
...
er, $4.60 for each microwave oven, and $1.55 for each food blender he assembles. If he produced 54 toasters, 38 microwave ovens, and 75 blenders, what were his total weekly gross earnings (in $)?
Jerry King is a server in a restaurant that pays a salary of $24 per day. He also averages tips of 18% of his total gross food orders. Last week he worked 6 days and had total food orders of $2,963.50. What was his total gross pay for the week (in $)?
Solve the problem using 6.2%, up to $128,400 for Social Security tax and using 1.45%, no wage limit, for Medicare tax.
Calculate the monthly Social Security and Medicare withholdings (in $) for the employee as the payroll manager for a cargo and freight company. (Round your answers to the nearest cent.)
Lee Sutherlin is a self-employed electrical consultant. He estimates his annual net earnings at $35,600. How much Social Security and Medicare must he pay (in $) this year?
View More
16.
For a reducing balance loan what happens when you pay a extra repayments aggressively at the start. How does it
...
rt. How does it make u pay less interest and have less interest:
Vn+1 = 1.00405Vn - 1817.35, Vo= 34400
The term of the loan is 30 years with monthly payment of 1817.35 at an interest rate of 4.86 p.a
Pls tell me the answer regarding this particular equation
Q2) How much of the principal has been repaid? Fv - Vo is this the correct formula
Q3) Superannuation
Something like if u add money without tax why does it benefit your super account
I’m sorry to disturb you but I was hoping you could help as tmrw is my last writing lesson for my sac
View More
17.Gun Sales fall by $100 million due to the 'Trump slump' CNBC 9/12/17
"American Outdoor Brands, one of the largest gun
...
e of the largest gun manufacturers in the United States, experienced a 48.5 percent decrease in firearms revenue this quarter compared with the same time last year, The Guardian reports. Sales fell $100 million as a result of what has been called the "Trump slump."
The political climate has influence over gun sales. The expectation of many Americans that Hillary Clinton, the vocal pro-gun-control candidate, was going to win the presidential election in November is considered largely responsible for last year's surge.
People buy firearms at the highest rates when they fear regulations will be enhanced. The mass shooting at an Orlando nightclub shooting in June of 2016 also spurred record sales. According to the FBI's National Instant Criminal Background Check System (NICS), over 27.5 million firearm background checks for gun transactions were processed in 2016. That was over 4 million more than the previous year, and double the number of transactions in 2008."
Based on this article which of the following is true about the supply and demand of guns from 2016 to 2017
A)There was a decrease in demand for guns, and a decrease in the quantity supplied of guns
B)There was a decrease in quantity demanded, and a decrease in quantity supplied of guns
C)There was a decrease in the supply and guns and a decrease in the quantity demanded for guns.
D)There was a decrease in supply and a decrease in demand for guns.
View More
18.To gain experience with the operations involving binary search trees. This data structure as linked list uses dynamic memory allocation
...
list uses dynamic memory allocation to grow as the size of the data set grows. Unlike linked lists, a binary search tree is very fast to insert, delete and search.
Project Description
When an author produce an index for his or her book, the first step in this process is to decide which words should go into the index; the second is to produce a list of the pages where each word occurs. Instead of trying to choose words out of our heads, we decided to let the computer produce a list of all the unique words used in the manuscript and their frequency of occurrence. We could then go over the list and choose which words to put into the index.
The main object in this problem is a "word" with associated frequency. The tentative definition of "word" here is a string of alphanumeric characters between markers where markers are white space and all punctuation marks; anything non-alphanumeric stops the reading. If we skip all un-allowed characters before getting the string, we should have exactly what we want. Ignoring words of fewer than three letters will remove from consideration such as "a", "is", "to", "do", and "by" that do not belong in an index.
In this project, you are asked to write a program to read any text file and then list all the "words" in alphabetic order with their frequency together appeared in the article. The "word" is defined above and has at least three letters.
Note:
Your result should be printed to an output file named YourUserID.txt.
You need to create a Binary Search Tree (BST) to store all the word object by writing an insertion or increment function. Finally, a proper traversal print function of the BST should be able to output the required results.
The BST class in the text can not be used directly to solve this problem. It is also NOT a good idea to modify the BST class to solve this problem. Instead, the following codes are recommended to start your program.
//Data stored in the node type
struct WordCount
{
string word;
int count;
};
//Node type:
struct TreeNode
{
WordCount info;
TreeNode * left;
TreeNode * right;
};
// Two function's prototype
// Increments the frequency count if the string is in the tree
// or inserts the string if it is not there.
void Insert(TreeNode*&, string);
// Prints the words in the tree and their frequency counts.
void PrintTree(TreeNode* , ofstream&);
//Start your main function and the definitions of above two functions.
Sample Run
Please type the text file name: Lincoln.txt
Please give the output text file name: mus11.txt
You are done! You can open the file "mus11.txt" to check.
Press any key to continue
------------------------------------------------------------------------------------------------------------------------------------------------
lincoln.txt---
The Gettysburg Address
Gettysburg, Pennsylvania
November 19, 1863
Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in
Liberty, and dedicated to the proposition that all men are created equal.
Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and
so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate
a portion of that field, as a final resting place for those who here gave their lives that that nation
might live. It is altogether fitting and proper that we should do this.
But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground.
The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add
or detract. The world will little note, nor long remember what we say here, but it can never forget what
they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they
who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great
task remaining before us -- that from these honored dead we take increased devotion to that cause for
which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not
have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government
of the people, by the people, for the people, shall not perish from the earth.
------------------------------------------------------------------------------------------------------------------------------------------------
mus11.txt
1863 1
Address 1
But 1
Four 1
Gettysburg 2
God 1
Liberty 1
November 1
Now 1
Pennsylvania 1
The 3
above 1
add 1
advanced 1
ago 1
all 1
altogether 1
and 6
any 1
are 3
battle-field 1
before 1
birth 1
brave 1
brought 1
but 1
can 5
cause 1
civil 1
come 1
conceived 2
consecrate 1
consecrated 1
continent 1
created 1
dead 3
dedicate 2
dedicated 4
detract 1
devotion 2
did 1
died 1
earth 1
endure 1
engaged 1
equal 1
far 2
fathers 1
field 1
final 1
fitting 1
for 5
forget 1
forth 1
fought 1
freedom 1
from 2
full 1
gave 2
government 1
great 3
ground 1
hallow 1
have 5
here 8
highly 1
honored 1
increased 1
larger 1
last 1
little 1
live 1
lives 1
living 2
long 2
measure 1
men 2
met 1
might 1
nation 5
never 1
new 2
nobly 1
nor 1
not 5
note 1
our 2
people 3
perish 1
place 1
poor 1
portion 1
power 1
proper 1
proposition 1
rather 2
remaining 1
remember 1
resolve 1
resting 1
say 1
score 1
sense 1
seven 1
shall 3
should 1
struggled 1
take 1
task 1
testing 1
that 13
the 9
their 1
these 2
they 3
this 4
those 1
thus 1
under 1
unfinished 1
vain 1
war 2
what 2
whether 1
which 2
who 3
will 1
work 1
world 1
years 1
View More
19.Plagiarism is the presentation of the words, ideas, or opinions of someone else as your own. (2) You are guilty
...
are guilty of plagiarism if you submit as your own the words, ideas, or arrangement of material found in sources, such as books, magazines, or pamphlets (including Cliff's Notes), without crediting the source. (3) The ideas and opinions of someone else, even though expressed in your own words, must be acknowledged in the text or in a footnote. (4) You are also guilty of cheating/plagiarism if you copy the work of a fellow student, friend, or relative who is no longer in school or an essay from an internet source and submit it as your own. (5) A student who allows such copying is also guilty of plagiarism.
(6) Penalties English classes for cheating/plagiarism include:
an F grade (0) for the work involved:
an automatic F in conduct;
oral and/or written reprimands and/or referrals that will become part of your permanent record.
(7) Colleges and universities don't play around with kids who plagiarize. (8) A student at the state university was accused of plagiarism last year. (9) The practice of obtaining essays from internet sources is increasing. (10) In order to protect the validity of a degree. (11) Colleges are taking serious measures to punish those students who "buy" papers. (12)Two common penalties are suspension and expulsion. (13) A guilty student may be suspended for a certain amount of time (a year or a semester). (14) If a student is expelled, he/she may never again return to that institution or to any accredited college or university in the nation.
Question:
Read this text to identify one example of plagiarism. Then identify one consequence of plagiarism at the college level. Be sure your response uses examples from the text.
View More
20. When to balance dice are rolled, there are 36 possible outcomes. Find the probability that the sum is
...
is a multiple of three or greater than eight.
A certain game consist of rolling a single fair die and pays off as follows nine dollars for a six, six dollars for a five, one dollar for four and no payoffs otherwise.Find the expected winnings for this game.
A fair die is rolled four times. A 6 is considered success While all other outcomes are failures find the probability of three successes.
A pet store has nine puppies including 4 poodles 3 terriers and 2 retrievers. If Rebecca an errand in that order each select one puppy at random without replacement find the probability that Aaron select a retriever given that from last Rebecca selects a poodle.
Experience shows that a ski lodge will be for (166 guests) if there is a heavy snowfall in December, well only partially full (52 guests) With a light snowfall. What is the expected number of guests if the probability for a heavy snowfall is 0.40? I assume that heavy snowfall and light snowfall are the only two possibilities.
A pet store has six puppies Including two poodles two Terriers and to retrievers. If Rebecca and Aaron in that order each select one puppy random with replacement (They both may select the same one) Find the probability That Rebecca selects a terrier and Aaron selects a retriever.
Three married couples arrange themselves randomly in six consecutive seats in a row. Determine (A) the number of ways the following event can occur, And (B) the probability of the event. (The denominator of the probability fraction will be 6!=720, The total number of ways to arrange six items ). Each man was that immediately to the right of his wife.
A coin is tossed five times. Find the probability that all our heads. Find the probability that at least three are heads.
A certain prescription drug is known to produce undesirable facts and 35% of all patients due to drug. Among a random sample of a patient using a drug find the probability of the stated event. Exactly 5 have undesired effects.
10,000 raffle tickets are sold. One first prize of 1600, for second prizes of 800 each, And 9/3 prizes of 300 each or to be awarded with all winners selected randomly. If you purchase one ticket what are your expected winnings.
Suppose a charitable organization decides to Raise money by raffling A trip worth 500. If 3000 tickets are sold at one dollar each find the expected net winnings for a person who buys one ticket. Round to the nearest cent
Three men and seven women are waiting to be interviewed for jobs. If they are selected in random order find the probability that all men will be interviewed first
A fair diet is rolled. What is the probability of rolling on our number or a number less than three.
The pet store has 15 puppies, including five poodles, five Terriers, and five retrievers. If Rebecca and Aaron, in that order, select one puppy at random without replacement, find the probability that both select a poodle
Beth is taking a nine question multiple-choice test for which each question Has three answer choices, only one of which is correct. Beth decides on answering By rolling a fair die And making the first answer choice if the die shows one or two, The second If the die shows three or four, and the third if the die shows five or six. Find the probability of the stated event. Exactly 6 correct answers
For the experiment of drawing a single card from a standard 52 card deck find (a) the probability and (b) the odds are in favor that they do not drive six
View More