Description
all the details on the file
Unformatted Attachment Preview
The project should be submitted by the due in the following form:
Page #1
COSC 352.001 – Organization of Programming Languages
Fall / 2017
Project-1
Due: Wednesday, September 06, 2017, 01:00 PM
Student: First Name Family Name
Instructor: Vojislav Stojkovic
Points:
Page #2
Description/text of the problem
Page #3
Algorithm
Data structures
Explanations - Discussion - Assumptions (if any)
Page #4
Program-Code
Page #5
Test examples
Write in the Dr. Racket programming language functions:
(a) Graph
to define a graph.
A graph is a listof (node listof nodes)
(b) neighbors
neighbors(node, graph) = list of nodes
neighbors: node graph -> list of nodes
to compute node’s neighbors in graph.
(c) find-route
find-route(node, node, graph) = list of nodes or false
find-route: node node graph -> list of nodes or false
to compute a list of nodes, starting with the origination node and ending with the destination
node in a graph.
If there is no path, the value of function is false.
Test the program for the graph
Example
G has no neighbors: empty
A has the list of neighbors (B E)
Hint
(define Graph
etc.
)
(define (neighbors a-node a-graph)
etc.
)
(define (find-route origination destination graph)
etc.
)
Test
(define Graph
'((A (B E))
(B (E F))
(C (D))
(D ())
(E (C F))
(F (D G))
(G ())))
(find-route 'A 'G Graph) -> (list 'A 'B 'E 'F 'G)
(find-route 'C 'G Graph) -> #f
Purchase answer to see full attachment
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Hi,Your code is done.Can yo...
Completion Status:
100%
Review
Review
Anonymous
Goes above and beyond expectations!
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
CS 221 Password Strength Meter and Default Password Generator Password Project
Two parts, Password Strength Meter, and Default Password Generator. The source code and requirments in the attachments
CS 221 Password Strength Meter and Default Password Generator Password Project
Two parts, Password Strength Meter, and Default Password Generator. The source code and requirments in the attachments
America Public University Programming Fundamental Months of The Year
You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly ...
America Public University Programming Fundamental Months of The Year
You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site:https://www.python.org/downloads/.You will code the following and submit it in one file. Use the information in the Lessons area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area.Create a comment block (starts at line 1 in the code) with the following information: """Your Name Course Name, Section (example: ENTD200 B002 Spr15) Instructor name Week # Date completed"""Problem 1: Create a list (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the number)Problem 2: Create a loop to print the number and the months of the year from the list. The output should like this: Month 1 is January Month 2 is February …. …. Month 12 is DecemberOptional 1 Month 1 is January, ...Happy new year ( Do not use if-then)The output will look like thisMonth 1 is January , ...Happy New Year!Month 2 is February, ...Happy Valentine!Month 3 is MarchMonth 4 is AprilMonth 5 is MayMonth 6 is JuneMonth 7 is July, ...Happy Fourth of July!Month 8 is AugustMonth 9 is SeptemberMonth 10 is October, ...Happy Halloween!Month 11 is November, ...Happy Thanksgiving!Month 12 is December, ...Merry Christmas! Optional 2 Modify the Payroll and/or the MPG program from week5/6 to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected. The output will be something like this for the payroll Payroll for week xyz James Bond ....... 21,500 Al Bundy ....... 500 Johnny English ….. 1,200 Total Payroll ....... 23,200 For the MPG will be something like MPG for zyz truck Week 1 ..... 12 Week 2 ..... 33 Week 3 ..... 27 MPG Ave ..... 24
ITS 632 University of The Cumberlands Intro to Data Mining Project Paper
ITS 632FINAL DATA MINING PROJECTA. The ProjectThis project has 2 parts:• 1st part is for everyone as your Weekly Assignm ...
ITS 632 University of The Cumberlands Intro to Data Mining Project Paper
ITS 632FINAL DATA MINING PROJECTA. The ProjectThis project has 2 parts:• 1st part is for everyone as your Weekly Assignment.• 2nd part is optional if you want to make up your midterm score.You can get up to 20 points added to your exam score.To make it easier on you I will allow you to submit it as a group. The groups can be up to 4 people.But you can submit is alone too. Just let me know your groups in advance.You can use Decision Trees which we cover or other more sophisticated methods like RandomForests or Logistics Regression (These two algorithms might generate better results.)• Part1: You will develop a Classification/Prediction model that predicts whether or not apatient has a disease or is healthy (Part 1).• Part2: You will do same for individual diseases. If a patient has that disease or not.B. Data1. You are provided with an Excel file that has 11 Worksheets.2. The first one (Hormones_Diseases) has the Hormones vs Diseases table. This table listsall Hormonal Measurement values of babies (patients) and their relationship (correlationlevel) with each disease. These are coming from doctors (Endocrinologists) who areexperts on these diseases but they are the ones who need help to better diagnose thepatients. So, use these correlation or relationship values as starting points or givingweights to your attributes (hormones) but do not completely ignore the other hormonesthat show no relationship. After all the data might suggest that some of those blank onesare good predictors in predicting whether or not a genetic disease exists.3. The Up and Down arrows here shows the direction and strength of these relationship andcorrelation between diseases and hormones according to the doctors. For example,↓↓↓↓ means this hormone is strongly but negatively correlated with this diseasewhere ↑ means they are mildly but positively correlated. Blank ones are not consideredcorrelated by the doctors but they also think they are important. We already removed 3hormones which they deemed no importance at all. Again, please do not ignore thehormones that are blanks. Make sure you give more importance to the ones with morearrows (using weights is one option, positive value for Up and negative for Down).4. The other 10 Worksheets are the measurements of the hormonal levels of each hormonefor the patients that has that disease. For example, all the patients in 2) 21OHD-C Diseaseworksheet has the 21OHD-C Disease and these are their measurements. All otherworksheets are same way.C. Data Preparation1. For Part 1: you will need to create a Dataset where Patients are listed in tabular formatand their information (attributes) as columns and 1 final attribute which is the class. Icreated a worksheet as a last worksheet titled Dataset Format to help you get started butyou can choose your own format. (you can either create this dataset by copy/paste withTranspose or create a small Macro if you know VBScript) (if you are not going to do Part2, you do not need to have a column called Disease.)2. For Part 2: If you are going to Part2, you can either;a. Create a Classification Model that predicts the Disease (Disease is the class attributeand this is a multi-class problem).b. It would be simpler if you develop a Classification Model just like in Part 1, but thistime train and test it with only data that has this disease and some from Healthy.c. Or you can keep the ones that has the disease as “yes” in Sick? attribute and changeeveryone else to no including patients who have other diseases. (meaning that theydo not have that certain genetic diseases)D. Project & Submission1. Part 1: Develop a Classification Model that predicts whether or not a patient has adisease, improve your model to achieve better predication accuracy & submit following:a) A report that describes the Classification Algorithm you choose and Parametersettings, the Accuracy and Confusion Matrixb) The final code either as Jupyter Notebook (preferably) or .py file(s) (Make sure youexplain any dependencies since I need to run your code and see the same results)c) The dataset you created from Excel file and used in your model training and testing.2. Part2: Submit the same only this time develop a Model that predict if the patient hascertain disease as explained in section A. Project above.
Java (Designing a Web Server)
Hi, I need help with this code.1. Comment the Codes.2. Compile and Run Code successfully.Note: ignore the challenge questi ...
Java (Designing a Web Server)
Hi, I need help with this code.1. Comment the Codes.2. Compile and Run Code successfully.Note: ignore the challenge questions.
San Jose City College Reverse Function Project
Description** This bonus assignment can give you a max of 60 points, which is equal to one whole module worth ;)Write a vo ...
San Jose City College Reverse Function Project
Description** This bonus assignment can give you a max of 60 points, which is equal to one whole module worth ;)Write a void function that takes a linked list of integers and reverses the order of its nodes. The function will have one call-by-reference parameter that is a pointer to the head of the list. After the function is called, this pointer will point to the head of a linked list that has the same nodes as the original list, but in the reverse of the order they had in the original list.Note that your function will neither create nor destroy any nodes. It will simply rearrange nodes. Place your function in a suitable test program.Watchvideo 13-7 (Links to an external site.)for a run through of the lab. https://www.youtube.com/watch?v=wDOZ1GXepmwGivenYou are given the following five files:main.cppnode.hnode.cpplinkedlist.hlinkedlist.cppWhat to SubmitSubmit two files for this lab:linkedlist.hlinkedlist.cppRequirementsImplement the reverse function in linkedlist.cppYou may add more functions that are needed to implement the aboveYour code will not cause any runtime errors such as segmentation faultsTipsUse visual aids to help you understand your plan for the functionConsider boundary casesYou might want to "rewrite" or "copy/type out" other functions that are already implemented to solidify your understanding with linked list firstI had to use three pointers to accomplish this. Maybe you will beat me ;)Test Casesmain.cppSuggestion: Change main.cpp to add more ways to test your reverse function implementation.DemoJust finished adding nodesCurrent linked list: 4 3 2 1 0 Just finished reversing the linked listCurrent linked list: 0 1 2 3 4
Similar Content
IT 252 Colorado Technical University Swing Application
You will reuse some of the code developed in the earlier projects to implement a sophisticated Swing application that allo...
CIS 1051 Temple University Python Worksheet
Loops and Functions
Andrew Rosen
For each of the following problems, write a function that solves the problem.
Demo each f...
King Faisal University Starbucks System SQL Programming Project
Project Title
Project Number:
Project Members:
1.
2.
3.
Enterprise Data Management Class Project
Supervised By:
Yonis G...
University of Arizona Custom Functions Programming MATLAB Homework
Follow instructions in the attached word document. Create a separate function file for each of the following problems. You...
Using Netbeans(is kind of Java)
Program description: you
will write a program that evaluates and compares the profitability of several
businesses and re...
Java Programming Project Online Ordering System Application
Word document containing design (Part 1, Part 2, Part 3)Developing applications requires much forethought and planning. Th...
Issc363 Assignment
As a security consultant for Fortune 500 companies, my work would be to monitor and oversee the company’s network securi...
Car Sales Analysis With Speakers Notes
Linear regression is a statistical method to estimate a estimate the best fit linear regression line. The variables which ...
Mail
...
Related Tags
Book Guides
Pride and Prejudice
by Jane Austen
The Remains Of The Day
by Kazuo Ishiguro
What Happened
by Hillary Clinton
Jane Eyre
by Charlotte Brontë
The Mayor of Casterbridge
by Thomas Hardy
Dr Jekyll And Mr Hyde
by Robert Louis Stevenson
I Cant Make This Up - Life Lessons
by Kevin Hart
Sharp Objects
by Gillian Flynn
A Separate Peace
by John Knowles
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
CS 221 Password Strength Meter and Default Password Generator Password Project
Two parts, Password Strength Meter, and Default Password Generator. The source code and requirments in the attachments
CS 221 Password Strength Meter and Default Password Generator Password Project
Two parts, Password Strength Meter, and Default Password Generator. The source code and requirments in the attachments
America Public University Programming Fundamental Months of The Year
You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly ...
America Public University Programming Fundamental Months of The Year
You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site:https://www.python.org/downloads/.You will code the following and submit it in one file. Use the information in the Lessons area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area.Create a comment block (starts at line 1 in the code) with the following information: """Your Name Course Name, Section (example: ENTD200 B002 Spr15) Instructor name Week # Date completed"""Problem 1: Create a list (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the number)Problem 2: Create a loop to print the number and the months of the year from the list. The output should like this: Month 1 is January Month 2 is February …. …. Month 12 is DecemberOptional 1 Month 1 is January, ...Happy new year ( Do not use if-then)The output will look like thisMonth 1 is January , ...Happy New Year!Month 2 is February, ...Happy Valentine!Month 3 is MarchMonth 4 is AprilMonth 5 is MayMonth 6 is JuneMonth 7 is July, ...Happy Fourth of July!Month 8 is AugustMonth 9 is SeptemberMonth 10 is October, ...Happy Halloween!Month 11 is November, ...Happy Thanksgiving!Month 12 is December, ...Merry Christmas! Optional 2 Modify the Payroll and/or the MPG program from week5/6 to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected. The output will be something like this for the payroll Payroll for week xyz James Bond ....... 21,500 Al Bundy ....... 500 Johnny English ….. 1,200 Total Payroll ....... 23,200 For the MPG will be something like MPG for zyz truck Week 1 ..... 12 Week 2 ..... 33 Week 3 ..... 27 MPG Ave ..... 24
ITS 632 University of The Cumberlands Intro to Data Mining Project Paper
ITS 632FINAL DATA MINING PROJECTA. The ProjectThis project has 2 parts:• 1st part is for everyone as your Weekly Assignm ...
ITS 632 University of The Cumberlands Intro to Data Mining Project Paper
ITS 632FINAL DATA MINING PROJECTA. The ProjectThis project has 2 parts:• 1st part is for everyone as your Weekly Assignment.• 2nd part is optional if you want to make up your midterm score.You can get up to 20 points added to your exam score.To make it easier on you I will allow you to submit it as a group. The groups can be up to 4 people.But you can submit is alone too. Just let me know your groups in advance.You can use Decision Trees which we cover or other more sophisticated methods like RandomForests or Logistics Regression (These two algorithms might generate better results.)• Part1: You will develop a Classification/Prediction model that predicts whether or not apatient has a disease or is healthy (Part 1).• Part2: You will do same for individual diseases. If a patient has that disease or not.B. Data1. You are provided with an Excel file that has 11 Worksheets.2. The first one (Hormones_Diseases) has the Hormones vs Diseases table. This table listsall Hormonal Measurement values of babies (patients) and their relationship (correlationlevel) with each disease. These are coming from doctors (Endocrinologists) who areexperts on these diseases but they are the ones who need help to better diagnose thepatients. So, use these correlation or relationship values as starting points or givingweights to your attributes (hormones) but do not completely ignore the other hormonesthat show no relationship. After all the data might suggest that some of those blank onesare good predictors in predicting whether or not a genetic disease exists.3. The Up and Down arrows here shows the direction and strength of these relationship andcorrelation between diseases and hormones according to the doctors. For example,↓↓↓↓ means this hormone is strongly but negatively correlated with this diseasewhere ↑ means they are mildly but positively correlated. Blank ones are not consideredcorrelated by the doctors but they also think they are important. We already removed 3hormones which they deemed no importance at all. Again, please do not ignore thehormones that are blanks. Make sure you give more importance to the ones with morearrows (using weights is one option, positive value for Up and negative for Down).4. The other 10 Worksheets are the measurements of the hormonal levels of each hormonefor the patients that has that disease. For example, all the patients in 2) 21OHD-C Diseaseworksheet has the 21OHD-C Disease and these are their measurements. All otherworksheets are same way.C. Data Preparation1. For Part 1: you will need to create a Dataset where Patients are listed in tabular formatand their information (attributes) as columns and 1 final attribute which is the class. Icreated a worksheet as a last worksheet titled Dataset Format to help you get started butyou can choose your own format. (you can either create this dataset by copy/paste withTranspose or create a small Macro if you know VBScript) (if you are not going to do Part2, you do not need to have a column called Disease.)2. For Part 2: If you are going to Part2, you can either;a. Create a Classification Model that predicts the Disease (Disease is the class attributeand this is a multi-class problem).b. It would be simpler if you develop a Classification Model just like in Part 1, but thistime train and test it with only data that has this disease and some from Healthy.c. Or you can keep the ones that has the disease as “yes” in Sick? attribute and changeeveryone else to no including patients who have other diseases. (meaning that theydo not have that certain genetic diseases)D. Project & Submission1. Part 1: Develop a Classification Model that predicts whether or not a patient has adisease, improve your model to achieve better predication accuracy & submit following:a) A report that describes the Classification Algorithm you choose and Parametersettings, the Accuracy and Confusion Matrixb) The final code either as Jupyter Notebook (preferably) or .py file(s) (Make sure youexplain any dependencies since I need to run your code and see the same results)c) The dataset you created from Excel file and used in your model training and testing.2. Part2: Submit the same only this time develop a Model that predict if the patient hascertain disease as explained in section A. Project above.
Java (Designing a Web Server)
Hi, I need help with this code.1. Comment the Codes.2. Compile and Run Code successfully.Note: ignore the challenge questi ...
Java (Designing a Web Server)
Hi, I need help with this code.1. Comment the Codes.2. Compile and Run Code successfully.Note: ignore the challenge questions.
San Jose City College Reverse Function Project
Description** This bonus assignment can give you a max of 60 points, which is equal to one whole module worth ;)Write a vo ...
San Jose City College Reverse Function Project
Description** This bonus assignment can give you a max of 60 points, which is equal to one whole module worth ;)Write a void function that takes a linked list of integers and reverses the order of its nodes. The function will have one call-by-reference parameter that is a pointer to the head of the list. After the function is called, this pointer will point to the head of a linked list that has the same nodes as the original list, but in the reverse of the order they had in the original list.Note that your function will neither create nor destroy any nodes. It will simply rearrange nodes. Place your function in a suitable test program.Watchvideo 13-7 (Links to an external site.)for a run through of the lab. https://www.youtube.com/watch?v=wDOZ1GXepmwGivenYou are given the following five files:main.cppnode.hnode.cpplinkedlist.hlinkedlist.cppWhat to SubmitSubmit two files for this lab:linkedlist.hlinkedlist.cppRequirementsImplement the reverse function in linkedlist.cppYou may add more functions that are needed to implement the aboveYour code will not cause any runtime errors such as segmentation faultsTipsUse visual aids to help you understand your plan for the functionConsider boundary casesYou might want to "rewrite" or "copy/type out" other functions that are already implemented to solidify your understanding with linked list firstI had to use three pointers to accomplish this. Maybe you will beat me ;)Test Casesmain.cppSuggestion: Change main.cpp to add more ways to test your reverse function implementation.DemoJust finished adding nodesCurrent linked list: 4 3 2 1 0 Just finished reversing the linked listCurrent linked list: 0 1 2 3 4
Earn money selling
your Study Documents