Find Jobs
Hire Freelancers

need a java programmer now

₹100-400 INR / hour

Lezárt
Kiadva ekkor: több mint 6 évvel ezelőtt

₹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)
Projektazonosító: 14847388

A projektről

15 ajánlat
Távolról teljesíthető projekt
Aktiválva: 7 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
15 szabadúszó adott átlagosan ₹406 INR/óra összegű árajánlatot erre a munkára
Felhasználó avatár
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 8 napon belül
4,8 (133 értékelés)
6,9
6,9
Felhasználó avatár
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 40 napon belül
4,6 (26 értékelés)
6,9
6,9
Felhasználó avatár
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 40 napon belül
5,0 (12 értékelés)
2,1
2,1
Felhasználó avatár
One of my day to day work
₹220 INR 10 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
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 38 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
A proposal has not yet been provided
₹100 INR 40 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
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 5 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
A proposal has not yet been provided
₹550 INR 30 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

INDIA zászlója
Bangalore, India
4,7
208
Tagság kezdete: jan. 29, 2011

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.