Get help from the best in academic writing.

i need to code a tree sort for c++, without pointers or class

i need to code a tree sort for c++, without pointers or class. Help me study for my C Programming class. I’m stuck and don’t understand.

the code below is how I did selection sort, but now I need to do it with Tree Sort algorithm, I need to use that struct and vector. please do not use pointer, node, or class because I haven’t learn it. So the key is to code a Tree Sort algorithm for this project.

#include<iostream>#include <fstream>#include <vector>#include <string>#include <ctime> // clock(); CLOCKS_PER_SEC, clock_t
using namespace std;
//Create a new data type Studentstruct Student { string name; double score;
};/* Function Declaration*/void FillVector(string fileName, vector<Student> & studentsList);void DisplayStudent(vector<Student> & studentsList);void StudentSort(vector<Student> & studentsList);double getMilliSeconds(clock_t c);void outputStudentsSort(vector<Student> & studentsList);
int main(){ unsigned int t1, t2; string fileName; vector<Student> studentsList;
cout << “Enter name of the file: “; getline(cin, fileName);
FillVector(fileName, studentsList);
cout << “nData of students Found in the text file:” << endl; DisplayStudent(studentsList);
t1 = clock(); StudentSort(studentsList); t2 = clock(); cout << ” nTime = ” << getMilliSeconds(t2 – t1) << “milliseconds” << endl;
cout << “nData of students sort by scored :” << endl; DisplayStudent(studentsList); outputStudentsSort( studentsList);
system(“pause”); return 0;}//Function Definitionvoid FillVector(string fileName, vector<Student> & studentsList) {
ifstream inFS; string name; double score; Student newStudent;
//open file inFS.open(fileName);
if (!inFS.is_open()) { cout << ” Could not open the file ” << fileName << endl; cout << “Press any key …..” << endl; cin.get(); exit(0); }
//get information of the file while (!inFS.eof()) { inFS >> name >> score; newStudent.name = name; newStudent.score = score; studentsList.push_back(newStudent); }
//close file inFS.close();}void DisplayStudent(vector<Student> & studentsList) {
for (int index = 0; index < studentsList.size(); index++) { cout << studentsList[index].name << “t” << studentsList[index].score << endl; }}// Selection Sort by scorevoid StudentSort(vector<Student> & studentsList) {
int minIndex; double tempScore; string tempName; // One by one move boundary of usorted subarray for (int i = 0; i < studentsList.size() – 1; i++) {
minIndex = i; // minimal element index
for (int j = i + 1; j < studentsList.size(); j++) {
if (studentsList[j].score < studentsList[minIndex].score) { minIndex = j; } }
// Swap the found minimum element with the first element tempScore = studentsList[i].score; studentsList[i].score = studentsList[minIndex].score; studentsList[minIndex].score = tempScore;
tempName = studentsList[i].name; studentsList[i].name = studentsList[minIndex].name; studentsList[minIndex].name = tempName; }
}void outputStudentsSort(vector<Student> & studentsList) { ofstream OutFS; OutFS.open(“SelectionSortStudents.txt”);
for (int index = 0; index < studentsList.size(); index++) { OutFS << studentsList[index].name << “t” << studentsList[index].score << endl; } OutFS.close();}double getMilliSeconds(clock_t c) { double time; time = (double(c) / CLOCKS_PER_SEC) * 10000; return time;}
i need to code a tree sort for c++, without pointers or class

ECOM 201 SEU Project Management Covid 19 Pandemic Effects on Medawa Co Essay.

Avoid plagiarism (NO MATCHING RATIO)assignment must be supported by evidence and resources. Otherwise, your answer will not be valid. (about 3 or 4)Use font Times New Roman, Calibri or Arial.Use 1.5 or double line spacing with left Justify all paragraphs.Ensure that you follow the APA style in your project. Your project report length should be between 2500 to 3000 words.Up to 20% of the total grade will be deducted for providing a poor structure of assignment. Structure includes these elements paper style, free of spelling and grammar mistakes, referencing and word count.
ECOM 201 SEU Project Management Covid 19 Pandemic Effects on Medawa Co Essay

Florida International University Making Online Shopping Better Business Proposal

Florida International University Making Online Shopping Better Business Proposal.

On page 410, you will see a sample case regarding Warby Parker.You work as a communication specialist at Warby Parker, reporting to co-CEO David Gilboa. Using the skills you’ve been practicing in this course, respond to this challenge:You’re helping Gilboa prepare a report about the company. Gilboa characterizes the report as a “public business plan,” in that it will discuss the company and its objectives, strategies, and operations without disclosing the sort of confidential international that a typical business plan includes. The target audience includes potential investors, employees, and business partners.To help overcome shoppers’ reluctance to buy eyewear online, Warby Parker offers Home Try-On, in which people can order five pairs of frames, keep them for five days a no costs, then decide which pair they would like to order. This gives shoppers lots of time to try on the frames they are considering and get the options of family and friends.On the job (Internal, Unsolicited Proposal)Write a 2-3 page internal proposal to your boss or supervisor. Select one of the topics below listed as A-D, and make sure to include it as one of your headings. Remember to include additional headings or sub-headings for each section in the proposal that explain this program- i.e. Background, Solution, Recommendation. Make sure to correctly identify and analyze your audience, as well as any possible secondary audiences. Usually, the person to whom you submit your proposal is in a position to order the implementation of the change recommended.Home Try-On: Making online shopping even better than in-store shoppingHome-Try On: Our tried and true way to eliminate the risk of buying eyewear onlineHome Try-On: Now you can try on five frames in the comfort of your own homeHome Try-On: How we can reduce a major perceived risk in the Warby business modelYou can use pages 406-406 in the textbook as a guideline.
Florida International University Making Online Shopping Better Business Proposal

Sandland Vineyard Case Study – product analysis

essay help online free Sandland Vineyard Case Study – product analysis. Paper details   This assignment is a part of a review of the Harvard Case Study: Sandlands Vineyards. Under the suggestion that Passalacqua should buy the winery and quit his job at Turley, write a product analysis on the Sandlands Vineyards’ Wine. This is the second part of the review and previous work of industry introduction has been done, so the assignment should focus on the product analysis.Sandland Vineyard Case Study – product analysis

Essential Uses Of Microorganisms Biology Essay

Essential Uses Of Microorganisms Biology Essay. Microorganisms play an important role in our life: helps us to digest our food, decompose wastes and participate in various cycles. They are diverse and have adapted to inhabit different environments including extreme conditions, such as hot vents under the ocean to the ice caps; known as extremophiles. There are more microorganisms present in us than there are cells, and the various microorganisms are bacteria, viruses, fungi and protozoa. Many people link microorganisms as death and diseases causing agents; also usually compared to dirt. Although some microorganisms are responsible for causing diseases, most microorganisms’ original hosts are not the human body so are not pathogenic, but commensal. This essay will discuss the numerous beneficial microorganisms that carry out processes in biotechnology, agriculture, industries and environment; necessary to sustain life. Firstly, essential uses of microorganisms can be seen in the environment, as they play a vital role in many of the nutrient cycles. For instance, carbon fixation during the carbon cycle by autotrophic bacteria, such as cyanobacteria, synthesize organic molecule using CO2 from the atmosphere to be used by other organisms and release oxygen for our consumption. In addition, microorganisms are vital participants of the food chain since they act as decomposers; breaking down dead organisms and organic materials and releasing minerals for uptake by living organisms and CO2 back into the atmosphere to be used by photosynthetic organisms. Microorganisms, known as methanogens, influence the carbon cycle by converting CO2 in their cells to methane and releasing it into atmosphere; thus increasing methane concentration whereas methanothrophs consume methane from the atmosphere, leading to a decrease in the greenhouse gas and global warming (Prescott, 1999). Involvement of microorganisms in the nitrogen cycle demonstrates that they are not just beneficial for humans, but are significant to plants as well; especially diazotrophs. Plants and diazotrophs have developed a symbiotic relationship, for example, Rhizobium present in the nodules on legume roots, fixes nitrogen enabling the plant to flourish in nitrogen-deficient grounds. Microorganisms are crucial for all three steps of nitrogen cycle: firstly, Nitrosomonas and Nitrosococcus convert ammonium ions to nitrite and Nitrobacter convert nitrite to nitrate during nitrification; secondly, during denitrification Pseudomonas denitrificans reduces nitrate to nitrogen gas and thirdly nitrogen fixation, with the diazotrophs reducing nitrogen from the air into ammonia which are utilized by the plants to synthesize DNA and amino acid. Another microorganism interacting with the plants are mycorrhizal fungi, which forms a symbiotic relationship with plant roots. This association is beneficial for plant as fungal hyphae increases surface area enabling the plant roots to absorb more nutrients; also advantageous to fungi since they gain sugars produced by plants during photosynthesis (Atlas Bartha, 1998). Moreover, microorganisms digest harmful chemicals, such as pollutants and chemical wastes produced by the industry through a process known as bioremediation; thus protecting the environment and human health. In this process, microorganisms grow over a solid substrate to form a biofilm, through which the fluid containing the contaminants are poured through, so that the enzymes produced by the microorganism can degrade the contaminant and the resulting fluid is non-toxic. In a similar process microorganisms aid sewage water treatment: primary treatment, such as screening, results in sludge which is digested by anaerobic microorganisms; during secondary treatment microorganisms enable floc formation, biodegradation and neutralization of toxins when passed over the microbial films, e.g., Geobacter sulfurreducens purifies contaminated water by precipitating metals such as uranium (Hofkin, 2010). Applications of microorganisms in the food industry, mainly in the production of dairy products are another example where microorganisms are beneficial to humans. Lactobacillus bulgaricus and Streptococcus thermophilus converts lactose in milk into lactic acid causing the milk to coagulate, during fermentation (reduction and oxidation of organic molecules), and form yoghurt in the process. Furthermore, probiotic yoghurt with live bacteria’s is also produced nowadays, to maintain the balance of microbial flora in our gut and prevent the growth of pathogens. Fermentation of milk by lactic acid bacteria also causes the milk to coagulate and form curd; then additional organisms is added to form the various cheeses, such as Penicillium camemberti to produce Camembert. Another example is the addition of Streptococcus lactis and Leuconostoc citrovorum to cream during fermentation to produce lactic acid, which causes thickening of the cream, and gives rise to the flavour that is attributed to sour cream. Furthermore, microbes such as yeasts which help us in the process of bread making, alcohol production and food preservation are also part of our diet. For example, marmite and vegemite are made from “spent brewer’s yeast” and are rich in vitamins. Additionally, Fusarium graminearum, a type of fungus has been developed into meat substitute for human consumption. The success of the food industry is partially due to the careful selection and addition of beneficial microorganisms, leading to a variety of cultured food for a wide range of people (Hofkin, 2010). Understanding microbe’s genetics has enabled us to use microorganisms in genetic-engineering techniques, such as gene cloning, and has given numerous benefits to the biotechnological industry. Microorganisms, such as bacteria, viruses and bacteriophages, act as cloning vectors to transfer specific sequence of gene, into the plasmid of the bacterial cell using restriction enzymes. The purpose of the restriction enzyme is to bind to the inverted palindrome in both chromosomal and vector DNA; thus cleaving the DNA and producing sticky ends. The sticky ends of both DNA are joined together by DNA ligase producing a recombinant DNA; used to transform the bacteria host cell. The bacteria can be induced to produce the protein which these genes encode as the vector is replicated and divides to produce new cells. Since the vector contains a selectable marker, maybe coding for antibiotic resistant gene, the bacterial cells which has taken up the recombinant DNA can be identified. Proteins from recombinant technology can be used to produce medicines, synthetic vaccines and other vital substances, such as insulin for diabetic individuals. Application of microorganisms in the medical industry is beneficial to human health, but also to the economy because huge amount of medicines produced using microorganisms, such as insulin from E.coli, lowers the cost of production (Hofkin, 2010). Retrovirus, acts as a vector in gene therapy to treat ADA deficiency; patient’s ADA-deficient lymphocytes is cultured in the laboratory and infected with the retrovirus that contains the normal ADA gene, creating a recombinant retroviruses. During the replication of the retrovirus, its own DNA containing the normal ADA gene is inserted into the host’s DNA causing the patient’s lymphocytes to synthesize ADA (Hofkin, 2010). Another application of recombinant techniques in the biotechnology industry, is the production of heat stable enzymes from thermophiles; organisms that live in an extremely hot environment. For instance, DNA polymerase produced from Thermus aquaticus and Thermococcus litoralis is used in the PCR and DNA fingerprinting, has enabled tracing of the fate of genes in plant and animal populations and improved gathering of evidence at crime scenes. Similarly, another enzyme, which breaks down lignin, obtained from Phanerochaete chrysosporium is used in the paper industry to bleach paper without the production of dioxin; thus preventing pollution (Hofkin, 2010). Application of genetic-engineering techniques in agriculture is the production of transgenic plants, using Agrobacterium tumefaciens to introduce cloned genes, such as resistant to environmental stress. This is achieved by replacing the genes in T-DNA of Ti plasmid that causes the crown gall tumour with the gene of interest and a selectable marker gene, usually resistance to kanamycin. The T-DNA is then incorporated into the plant genome when exposed to A. tumefaciens, and these cells grown in a medium containing kanamycin and carbenicillin. Transgenic plants have led to the development of biodegradable plastics and medical products such as production of vaccines from altering transgenic plants (Prescott, 1999). Another example of benefits of microorganism in agriculture is their use as biological pest control, for example, Bacillus thuringiensis produce Bt-toxin which is lethal for insects if ingested, but non-pathogenic to humans and other animals; Bt-toxin gene is genetically engineered into crops to increase their yield. Some viruses are also microbial biopesticides, baculoviruses, and they specifically target caterpillars, by releasing nucleocaspsids – causes the insect to die – when ingested; therefore they are efficient pest control without huge environmental side-effects (Hofkin, 2010). Usually microorganisms are associated with causing cancer, but recent developments have highlighted they could be used in treating cancer. William B. Coley showed that the tumors relapsed when cancer patients were injected with various pathogens, such as Coley’s toxin. Recent research findings have revealed that Mycobacterium bovis can be used in treating bladder cancer, as the BCG strain in microorganism kills the tumor (Chakrabarty, 2003). Similarly, recent development has suggested that Bdellovibrio bacteriovorus could be used as antibiotics, since they ingest E.coli, Salmonella spp. and other disease causing gram-negative bacteria, without affecting the humans (Rendulic et al., 2004). An additional important application of microorganism in medical industry is using bacteriophage to make antibiotics for curing anthrax. Schuch and his colleagues (2002) obtained enzyme, PlyG, from the bacteriophage; its function is to lyse the bacterial wall of B. anthracis. Their research revealed that PlyG was a strong lytic enzyme, as even when applied externally they still lysed the B. anthracis strains; and that 80% of B. anthracis infected mice was saved when injected with the enzyme. Another example of importance of microorganism in medical industry is synthesis of steroid hormones, for instance Rhizopus nigricans, which convert sterol compound into the hormones through bioconversions. Also, antibiotics are produced by the secondary metabolites of microorganisms, for example Streptomyces griseus produces streptomycin and penicillin is produced from Penicillium, when its growth is prevented due to less nutrients. (Prescott, 1999). Human’s digestive system, include different species of friendly bacteria which are vital for metabolism of food, production of enzymes and vitamins to aid digestion (e.g., ß-galactosidase, amylase), demolition of disease-causing microorganisms and regulation of intestinal acidity. Non-pathogenic bacteria, such as Lactobacillius spp., forms a symbiotic relationship with most multicellular organisms and is essential to the maintenance of our health, as they ensure that pathogenic bacteria is prevented from growing; aids our immune system in the process. Similarly, microorganisms existing in ruminants’ digestive system break down cellulose into monosaccharaides releasing usable energy in the process; and the ruminant also use the microorganism as a source of amino acids and other products (Hofkin, 2010). Microorganisms being used in various researches throughout history, led to the advancement of science and technology. For example, using pathogenic and non-pathogenic strains of Streptococcus pneumoniae by Frederick Griffith to show that there was genetic material through the principal of transformation; and then Avery, MacLeod and McCarty used the same microorganism to show that DNA was the transforming principle. Another crucial experiment was HersheyEssential Uses Of Microorganisms Biology Essay

Park University Philosophy of Humor Discussion Questions

Park University Philosophy of Humor Discussion Questions.

1.What are the key differences and contrasts in the four main theories of humor Morreall lists in Comic Relief? Your answer MUST be original and must discuss the ethical issues and/or comparisons between each theory. Answer all parts of the question in at least 3-4 substantive paragraphs.
2.In Unit 1, we discussed Grice’s Rules of Conversation. In your own words, list and briefly explain the theories, and discuss how humor can violate the rules. Answer all parts of the question in at least 3-4 substantive paragraphs.
3.We have discussed several humor theories. What type of humor do you personally most enjoy or prefer? Which theory or theories most relate(s) to your humor preferences? Why do you think you like this type of humor?  Answer all parts of the question in at least 3-4 substantive paragraphs.
4.Martin (Psychology of Humor) lists several types of jokes or uses of humor. Choose two (2) of his examples and discuss which theory or theories they most reflect. DO NOT write an actual joke.  Your answer must DESCRIBE the type(s) of humor, a pun, for example, and the theory or theories they might use. 
here is the answer for the first question

Theory 1
At the point when individuals are asked what’s significant in their lives, they regularly notice humor. Couples posting the qualities they prize in their mates typically put “sense of humor” at or close to the top. Philosophers are worried about what is significant throughout everyday life, so two things are astonishing about the thing they have said about humor.
The first is the manner by which little they have said. From antiquated occasions to the twentieth century, the most that any remarkable rationalist expounded on chuckling or humor was a paper, and a couple lesser-referred to masterminds, for example, Frances Hutcheson and James Beattie composed that much. The word humor was not utilized in its present feeling of amusingness until the eighteenth century, we should note, thus conventional conversations were about chuckling or satire. The most that significant logicians like Plato, Hobbes, and Kant expounded on giggling or humor was a couple of passages inside a conversation of another point. Henri Bergson’s 1900 Laughter was the main book by a prominent rationalist on humor. Martian anthropologists looking at the measure of philosophical composition on humor with what has been composed on, say, equity, or even on Rawls’ Veil of Ignorance, may well infer that humor could be avoided with regards to human existence absent a lot of misfortune.
Theory 2
On the off chance that self-examination and abrupt greatness are excessive for chuckling, nor are they adequate for laughter. Hutcheson says that we can feel better than lower creatures without giggling, and that “some ingenuity in dogs and monkeys, which comes near to some of our own arts, very often makes us merry; whereas their duller actions in which they are much below us, are no matter of jest at all.” He additionally refers to instances of pity. A courteous fellow riding in a worn out mentor poor people in the road, for instance, will feel that he is in an ideal situation than they, yet such sentiments are probably not going to delight him. In such circumstances, “we are in greater danger of weeping than laughing.”
To these counterexamples to the Superiority Theory we could add more. Now and again we chuckle when a comic person shows amazing abilities that we need. In the quiet motion pictures of Charlie Chaplin, Harold Lloyd, and Buster Keaton, the saint is frequently caught in a circumstance where he looks damned. Yet, then, at that point he escapes with a cunning gymnastic trick that we would not have considered, significantly less had the option to perform. Snickering at such scenes doesn’t appear to necessitate that we contrast ourselves and the saint; and in the event that we do make such a correlation, we don’t get ourselves prevalent.
Theory 3
The Relief Theory is a hydraulic clarification in which laughter does in the sensory system what a pressing factor help valve does in a steam evaporator. The hypothesis was portrayed in Lord Shaftesbury’s 1709 exposition “An Essay on the Freedom of Wit and Humor,” the main distribution wherein humor is utilized in its advanced feeling of entertainment factor. Researchers at the time realized that nerves associate the mind with the receptors and muscles, yet they believed that nerves conveyed “animal spirits”— gases and fluids like air and blood. John Locke (1690, Book 3, ch. 9, para.16), for example, portrays creature spirits as “fluid and subtile Matter, going through the Courses of the Nerves.”
Shaftesbury’s clarification of laughter is that it discharges creature spirits that have developed pressing factor inside the nerves.
Theory 4
The second record of humor that emerged in the eighteenth century to challenge the Superiority Theory was the Incongruity Theory. While the Superiority Theory says that the reason for giggling is sensations of predominance, and the Relief Theory says that it is the arrival of anxious energy, the Incongruity Theory says that it is the impression of something mixed up—something that disregards our psychological examples and assumptions. This methodology was taken by James Beattie, Immanuel Kant, Arthur Schopenhauer, Søren Kierkegaard, and numerous later logicians and clinicians. It is presently the predominant hypothesis of humor in way of thinking and brain research. 
Park University Philosophy of Humor Discussion Questions