1.Consider the UML class diagram shown below for circle and rectangle class deri

1.Consider the UML class diagram shown below for circle and rectangle class derived from the
abstract Shape class. Implement the classes with variables and methods. Do not add or
remove anything from the design of the classes.
2. For this question, you are to use the modified FXGUITemplate code provided, and create a GUI
application that looks like the provided image using Button, Label, TextField, and Canvas objects.
PARTIALLY PROVIDED CLASS:
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class DrawCircle extends Application
{
// TODO:
// TODO:
// This is where you create your components
@Override
public void start(Stage stage) throws Exception
{
Pane root = new Pane();
Scene scene = new Scene(root); // set window size here
Canvas canvas = new Canvas(); // set canvas size here
stage.setTitle(); // set window title here
stage.setScene(scene);
// TODO:
stage.show();
}
public static void main(String[] args)
{
launch(args);
}
}
OBJECT DESCRIPTION:
The GUI application has the following features:
• The window is 400 by 400 and has a title of “Draw Circle”
• The background colour is “light blue”
• The circle’s colour is “green” with a “dark green” outline of width 5
• The circle is centred in the window
• The circle should be redrawn every time a new radius is entered and the button pressed
• Do not use a separate Circle model – just do everything in the one file
NOTE: This is a college-level project DO NOT use high-level programming use the basic which is required. Please DO NOT use any AI tool to write the code the code should be hand-written. Read and follow all the instructions properly and carefully. Please find attached a screenshot of the UML diagram and the preferred output.

It is your responsibility to check and make sure that you have uploaded both the

It is your responsibility to check and make sure that you have uploaded both the correct files.
Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets, convert text into image or languages other than English or any kind of manipulation).
Email submission will not be accepted.
You are advised to make your work clear and well-presented. This includes filling your information on the cover page.
You must use this template, failing which will result in zero mark.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.
Late submission will result in ZERO mark.
The work should be your own, copying from students or other resources will result in ZERO mark.
Use Times New Roman font for all your answers.make sure to avoid plagiarism as much as possible.
the outpot as image

We are working on a project to create a simple program on Android Studio and we

We are working on a project to create a simple program on Android Studio and we need a currency programmer with a file attached to you with all the conditions and the work of the project, and you must download the dolphin version 2021 project idea :
The idea of our project is to design a program to fight drug addiction, such as smoking, in which there are list of doctors and booking appointments and consultations in person to the clinic or remotely with what is called telemedicine

The Inhabitants of Old Ireland In a small town known as Ballybeg, north of Dubli

The Inhabitants of Old Ireland
In a small town known as Ballybeg, north of Dublin, there once lived
mystical creatures. In this town, there are three kinds of Inhabitants:
Werewolves, Fairies, and Humans.
Attributes
All Inhabitants have names that cannot change. They all have numeric
ratings for four basic attributes that describe their abilities: Strength,
Agility, Armour and Health Rating. These attributes can be raised or
lowered by one point at a time, within the range 0 to 10. The name and
basic attributes of an inhabitant are obvious and can be easily retrieved by
anyone. An Inhabitant is alive if their heath rating is greater
than 0, otherwise they are dead. An inhabitant cannot be brought back from the dead.
Every Werewolf belongs to either the “Blue Moon” or “Red Moon” pack. They are proud of their
allegiance and would never change it.
Each Werewolf has two Fairies that they consider their allies. However, the werewolves are not trusting
and can change their minds about which Fairies they align with.
A Human can be a Healer or a Hunter. A Healer is a friend of a single Werewolf and this does not change.
A healer starts with a magic rating that is randomly set between 0 and 10.
Abilities
Attack and Defense
When an Inhabitant other than a Hunter attacks, it produces a damage score equal to the average of its
strength, agility, and health. When a Hunter attacks, it does twice the normal damage.
When an Inhabitant defends itself against an attack, it will lose health points equal to the damage score
of the attack divided by its armor rating. If the damage score divided by the armor rating is less than 1,
than it will lose 1 health point.
Dead inhabitants cannot attack or defend themselves.
© Sam Scott and Karen Laurin, Mohawk College, 2021
Healing
When a Healer uses their magic, they can produce a healing score to help another Inhabitant.
The healing score is equal to their magic rating divided by 2, but the healer loses 1 point from
their magic rating. If its magic rating is 0 or less, it cannot heal. Dead Healers can’t heal.
A fairy can replenish a healer’s magic using a spell. The spell resets the healer’s magic rating
randomly to a value between 0 and 10.
The Design
Draw a UML class diagram for a set of classes to represent the inhabitants of the word described above.
Make sure to represent all instance variables, parameters, return values, and relationships between
classes. You can create your UML diagram on paper, using UMLet or draw.io. If you want to use a
different piece of software, check with your instructor first.
Use inheritance to eliminate code duplication and overriding to avoid if statements (e.g. don’t have an if
statement to check if the Inhabitant is a Hunter before reporting damage).
Use encapsulation to restrict access to the instance variables.
Include the minimum set of methods to implement the world as described above.
Include two constructors for each class: one that sets all instance variables, and one that sets just the
name (and the Werewolf friend for a Human) and fills in default parameters for everything else.
Include a toString method for every class that prints the class name, the name of the humanoid,
whether they are alive or dead, and all their ratings (health, strength, etc.). Make sure the output is easy
to read.
The Implementation
Implement the classes you designed in Java.
It would be a good idea to test each class by creating at least two instances (one for each constructor),
calling each method, and printing the results of each method to standard output. But this is not
required. For this assignment, you are developing the model but not the view.
Use automatic code generation as much as you can (“Insert Code” to create constructors, getters,
setters and toString methods).
Use the super and this keywords to eliminate code duplication wherever possible.
Check for errors in all methods (e.g. parameters out of range, null parameters, actions can’t be taken
when the Inhabitant is dead, etc.). If an error happens, print a meaningful error message to standard
output and return immediately from the method. Make sure you test the error cases.
Optional Extras
This is purely a design exercise, but maybe it could be turned into some sort of a game. For example, can
you simulate turn-based combat between a Werewolf and a Hunter? Can you make it graphical? Is there
anything else you can do to make the town of Ballybeg come to life
NOTE: This is a college-level project so DON’T use high-level programming and DON’T use any AI tool to write the code. Please read all the instructions properly write the code accordingly. Thank you!!

The Inhabitants of Old Ireland In a small town known as Ballybeg, north of Dubli

The Inhabitants of Old Ireland
In a small town known as Ballybeg, north of Dublin, there once lived
mystical creatures. In this town, there are three kinds of Inhabitants:
Werewolves, Fairies, and Humans.
Attributes
All Inhabitants have names that cannot change. They all have numeric
ratings for four basic attributes that describe their abilities: Strength,
Agility, Armour and Health Rating. These attributes can be raised or
lowered by one point at a time, within the range 0 to 10. The name and
basic attributes of an inhabitant are obvious and can be easily retrieved by
anyone. An Inhabitant is alive if their heath rating is greater
than 0, otherwise they are dead. An inhabitant cannot be brought back from the dead.
Every Werewolf belongs to either the “Blue Moon” or “Red Moon” pack. They are proud of their
allegiance and would never change it.
Each Werewolf has two Fairies that they consider their allies. However, the werewolves are not trusting
and can change their minds about which Fairies they align with.
A Human can be a Healer or a Hunter. A Healer is a friend of a single Werewolf and this does not change.
A healer starts with a magic rating that is randomly set between 0 and 10.
Abilities
Attack and Defense
When an Inhabitant other than a Hunter attacks, it produces a damage score equal to the average of its
strength, agility, and health. When a Hunter attacks, it does twice the normal damage.
When an Inhabitant defends itself against an attack, it will lose health points equal to the damage score
of the attack divided by its armor rating. If the damage score divided by the armor rating is less than 1,
than it will lose 1 health point.
Dead inhabitants cannot attack or defend themselves.
© Sam Scott and Karen Laurin, Mohawk College, 2021
Healing
When a Healer uses their magic, they can produce a healing score to help another Inhabitant.
The healing score is equal to their magic rating divided by 2, but the healer loses 1 point from
their magic rating. If its magic rating is 0 or less, it cannot heal. Dead Healers can’t heal.
A fairy can replenish a healer’s magic using a spell. The spell resets the healer’s magic rating
randomly to a value between 0 and 10.
The Design
Draw a UML class diagram for a set of classes to represent the inhabitants of the word described above.
Make sure to represent all instance variables, parameters, return values, and relationships between
classes. You can create your UML diagram on paper, using UMLet or draw.io. If you want to use a
different piece of software, check with your instructor first.
Use inheritance to eliminate code duplication and overriding to avoid if statements (e.g. don’t have an if
statement to check if the Inhabitant is a Hunter before reporting damage).
Use encapsulation to restrict access to the instance variables.
Include the minimum set of methods to implement the world as described above.
Include two constructors for each class: one that sets all instance variables, and one that sets just the
name (and the Werewolf friend for a Human) and fills in default parameters for everything else.
Include a toString method for every class that prints the class name, the name of the humanoid,
whether they are alive or dead, and all their ratings (health, strength, etc.). Make sure the output is easy
to read.
The Implementation
Implement the classes you designed in Java.
It would be a good idea to test each class by creating at least two instances (one for each constructor),
calling each method, and printing the results of each method to standard output. But this is not
required. For this assignment, you are developing the model but not the view.
Use automatic code generation as much as you can (“Insert Code” to create constructors, getters,
setters and toString methods).
Use the super and this keywords to eliminate code duplication wherever possible.
Check for errors in all methods (e.g. parameters out of range, null parameters, actions can’t be taken
when the Inhabitant is dead, etc.). If an error happens, print a meaningful error message to standard
output and return immediately from the method. Make sure you test the error cases.
Optional Extras
This is purely a design exercise, but maybe it could be turned into some sort of a game. For example, can
you simulate turn-based combat between a Werewolf and a Hunter? Can you make it graphical? Is there
anything else you can do to make the town of Ballybeg come to life
NOTE: This is a college-level project so DON’T use high-level programming and DON’T use any AI tool to write the code. Please read all the instructions properly write the code accordingly. Thank you!!

I uploaded the file that contains everything about the project you have to read

I uploaded the file that contains everything about the project you have to read it before you read what I will say here because here I will just inform you how to do every step of the project
———————————————————————————————————————————————————–
1. The Kaggle Dataset
in this step, I already did it and deleted the unnecessary columns from the Excel file that he asked you to delete i will upload it to you after I accept your bid
———————————————————————————————————————————————————–
2. Programming your tool
in the coding part, our doctor already gave us the code in GitHub but we have to modify it
and of course, if you want you can create your own code from scratch
here you will find the code
https://github.com/basit388/cs210/tree/master/Tree… ?
The class (Node) in GitHub represents (NodeBST) in the PDF file I uploaded so you have to create a new class called (NodeBST) using Java copy the (Node) class in GitHub and then add the new fields and methods that he asked in the PDF File for example (the examples is copied form the PDF File )
int JobID
String Title
————————————————————————————————————————————————————
The class (BST) in GitHub represents (BST) in the PDF file I uploaded so just copy it from GitHub and add the new methods and fields he asked for in the PDF File.
————————————————————————————————————————————————————
In addition to the above, write a public Main Class containing the main method that reads data from the CSV (Excel File) file, processes the information, and displays the results.
ALL 3 classes must be copied in ONE java file called Main.java
—————————————————————————————————————————————————————
4. Data Collection:
in the fourth step of the project, you have to use the Java program and insert the number he asked you to insert and then write the search time and remove time in the table shown on the PDF.
I think in this part you have to convert the PDF file to a Word File so that you can write on it
—————————————————————————————————————————————————————–
5. Conclusions
in the last step, you only have to answer the questions according to the search and remove time in the table.
—————————————————————————————————————————————————————–
I hope I did great explaining the PDF File

I uploaded the file that contains everything about the project you have to read

I uploaded the file that contains everything about the project you have to read it before you read what I will say here because here I will just inform you how to do every step of the project
———————————————————————————————————————————————————–
1. The Kaggle Dataset
in this step, I already did it and deleted the unnecessary columns that he asked you to delete i will upload it to you after I accept your bid
———————————————————————————————————————————————————–
2. Programming your tool
in the coding part, our doctor already gave us the code in GitHub but we have to modify it
here you will find the code
https://github.com/basit388/cs210/tree/master/Tree… ?
The class (Node) in GitHub represents (NodeBST) in the PDF file I uploaded so you have to create a new class called (NodeBST) using Java copy the (Node) class in GitHub and then add the new fields and methods that he asked in the PDF File for example (the examples is copied form the PDF File )
int JobID
String Title
————————————————————————————————————————————————————
The class (BST) in GitHub represents (BST) in the PDF file I uploaded so just copy it from GitHub and add the new methods and fields he asked for in the PDF File.
————————————————————————————————————————————————————
In addition to the above, write a public Main Class containing the main method that reads data from the CSV file,
processes the information, and displays the results.
ALL 3 classes must be copied in ONE java file called Main.java
—————————————————————————————————————————————————————
4. Data Collection:
in the fourth step of the project, you have to use the Java program and insert the number he asked you to insert and then write the search time and remove time in the table shown on the PDF.
I think in this part you have to convert the PDF file to a Word File so that you can write on it
—————————————————————————————————————————————————————–
5. Conclusions
in the last step, you only have to answer the questions according to the search and remove time in the table.
—————————————————————————————————————————————————————–
i hope i did great expleaning the PDF File

For the submission: need Main.java file, 2 test files (test_1.txt and test_2.txt

For the submission: need Main.java file, 2 test files (test_1.txt and test_2.txt) along with your test strategy test_strategy.txt .
For the algorithm: They have taught BFSDFS, Topological Sort, Greedy Algorithms, Huffman Coding, Dijkstra’s Algorithms and Minimum Spanning Trees.