Find Jobs
Hire Freelancers

need a java programmer now

₹100-400 INR / hour

Closed
Posted almost 7 years ago

₹100-400 INR / hour

Consider the pseudo-code below for computing insurance premium. (i) Draw the program graph (ii) Compute the cyclomatic complexity (iii) Derive a set of basis paths that can be used to test the program (iv) Given that the baseRate is $500.00, create the test cases that will exercise all the branches for switch case C4 only. The test cases should show the inputs, the path taken and the expected output. [Hint: There should be only two test cases.] 1 program compute_insurance_premium() 2 integer driverAge, points 3 real baseRate, premium 4 Input(baseRate, driverAge, points) 5 safeDriveFactor = 0.0 6 premium = 0.0 7 switch (driverAge) { 8 case C1: 16 <= driverAge < 25 9 ageFactor = 3.0 10 if points < 2 then 11 safeDriverFactor = 40 12 end if 13 break; // End Case – C1 14 case C2: 25 <= driverAge < 45 15 ageFactor = 2.2 16 if points < 3 then 17 safeDriverFactor = 40 18 end if 19 break; // End Case – C2 20 case C3: 45 <= driverAge < 65 21 ageFactor = 1.5 22 if points < 5 then 23 safeDriverFactor = 80 24 end if 25 break; // End Case – C3 26 case C4: 65 <= driverAge < 100 27 ageFactor = 2.0 28 if points < 2 then 29 safeDriverFactor = 120 30 end if 31 break; // End Case – C4 32 default: 33 Output("Driver age out of range.") 34 } //End switch 35 premium = baseRate * ageFactor - safeDriverFactor 36 Output(premium)
Project ID: 14847388

About the project

15 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
15 freelancers are bidding on average ₹406 INR/hour for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
₹1,000 INR in 8 days
4.8 (133 reviews)
6.9
6.9
User Avatar
Dear Sir/Ma'm, I'll implement your pseudo-code to compute insurance premium. I have more than 3years of experience of java coding. Proposed Solution: I'll create the test case for switch case C4 and will exercise on given baseRate of $500.00. Resultant output should be printed or shown to user. I request you to discuss the project and have a look on my reviews. Sincerely, Zameer Faiz
₹100 INR in 40 days
4.6 (26 reviews)
6.9
6.9
User Avatar
i would like to offer you my expertise, as I have done number of my academic projects and I am a professional in the field
₹216 INR in 40 days
5.0 (12 reviews)
2.1
2.1
User Avatar
One of my day to day work
₹220 INR in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, how are you!. I'm new on this platform. I know that I have the right skills for the project, that's why I offer. I look forward to working with you, in advance, thank you.
₹100 INR in 38 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
₹100 INR in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Good day! I am interested in this job post. I can definitely execute the task on time and error-free. Below is a list of my specific skills related to this job post: - computer savvy, and familiar with different software applications (MS Office, Adobe, LaTeX) - can code in almost any programming language (C, C++, Java, Python, Android, many more) - can do desktop, web, and mobile applications development - very specific and attentive to details since I have already done research writing, data analysis and processing, and other similar tasks - typing speed of around 290cpm or 60wpm - knowledgeable in math, sciences, statistics, accounting, and economics fields So, I know that I am indeed perfect for this job! By the way, I am David, a computer science major in the University of the Philippines. I am currently a game developer in a startup company here in the Philippines. I am looking forward to working for you! Hire me, and let's start negotiating!
₹400 INR in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
₹550 INR in 30 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Bangalore, India
4.7
208
Member since Jan 29, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.