Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Java Fx and OOPS concepts. Style the 3 scenes in this app using separate stylesheets. The application Pizzashop will have all the choices
Using Java Fx and OOPS concepts. Style the 3 scenes in this app using separate stylesheets. The application Pizzashop will have all the choices for regular and feast pizza. 1. In the first scene, ask name, type (radiobutton) and size of pizza (radiobutton) and let the user add toppings (CheckBox, check for max toppings for each of the pizza type as in your Midterm). Show a logo on top left corner with all the title for your shop. 2. Once the user clicks a button in scene1, it takes him to scene 2 where the user sees his order details and a choice to choose his payment.(use radiobutton here). Once the user clicks a payment button in scene 2, it takes him to scene 3. 3. In scene 3, For debit and credit payment show a hyperlink window which takes the user to the respective payment sites, ex interac for debit., paypal for credit. and an image of cash for cash option. all the 3 screens need to be simple GUI with only the options and labels to fill the fields. Just like the login page of any website, with name, options and some checkboxes. All the creens 1) Design a system for jewelry shop. Jewelry shop offers 3 types of memberships: Premium, Gold and Silver. Premium, gold and silver members receive a discount of 10%, 8%, and 5%, respectively, for all jewelry provided.Customers without membership receive no discount. The system should capable to compute the total bill if a customer purchases x number of jewelry sets. a) Use OOP concept to design the system. b) Take input for all kinds of customers and print total bill for each customer. 2) Create a solution to offer a different kind of Courses for institute. All courses have a name, duration and course fee. Some courses are part time, where you have to store the timing for course. Some courses are full time. For full time course take a charge 10% more on the course fee. For part-time course, give 10% discount. Enter 2 example courses and print its total fees for 2 student. 3) Design a "distance calculator". Which calculates the distance between 2D and 3D points. a) Calculate the distance between 2 points in 2 dimensional space. b) Calculate the distance between 2 points in 3 dimensional space. c) Use OOP concept to design the system. d) Give at least 3 examples to show the distance for both spaces. 4) Design a system for insurance company. The company is providing 2 types of insurance. Life insurance and Endowment insurance. a) If a person chooses the "Life insurance" than the company pay the insurance amount to family members when a person is dead. A person who has taken this insurance need to pay yearly or monthly premium to an insurance company. Consider company is taking average lifespan of male 70 years and female 65 years. The yearly premium is calculated using following formula [This is not original formula which uses in real life.]. Consider premium rate as 25%. i) Yearly premium ii) (insurance amount premium rate) / (Male or Female average life span - Current age). Suppose, Person A (Male) is taking insurance of Rs 5,00,000, his current age is 30.So yearly premium will be (5,00,000* 0.25)/(70-30) = 3125 Rs Per Year. b) If a person chooses the "Endowment" plan than the company pay the insurance amount to the person when a person crosses defined age or pay the insurance amount to family members if the person dies before defined age. While taking policy a person decides to define age for the insurance policy. The yearly premium is calculated using following formula [This is not original formula which uses in real life.]. Consider premium rate as 30%. i) Yearly premium (insurance amount premium rate) / (defined age - Current age). ii) Suppose, Person A (Female) is taking insurance of Rs 5,00,000, his current age is 30 and choose defined age as a 65. So yearly premium will be (5,00,000* 0.30) / (65-30) 4285 Rs Per Year. c) Design system for above problem using all OOPS Concept. Take a example of minimum 5 insurance (Both plans) and calculate a premium for them. d) Also allow customer to pay monthly premium for both policies.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started