Find Jobs
Hire Freelancers

need a java programmer now

₹100-400 INR / hour

Закрито
Опублікований 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)
ID проекту: 14847388

Про проект

15 пропозицій(-ї)
Дистанційний проект
Активність 7 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
15 фрілансерів(-и) готові виконати цю роботу у середньому за ₹406 INR/год.
Аватарка користувача
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 дні(-в)
4,8 (133 відгуки(-ів))
6,9
6,9
Аватарка користувача
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 дні(-в)
4,6 (26 відгуки(-ів))
6,9
6,9
Аватарка користувача
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 дні(-в)
5,0 (12 відгуки(-ів))
2,1
2,1
Аватарка користувача
One of my day to day work
₹220 INR за 10 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
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 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
₹100 INR за 40 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
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 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
₹550 INR за 30 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор INDIA
Bangalore, India
4,7
208
На сайті з січ. 29, 2011

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.