Find Jobs
Hire Freelancers

Basic Java Programming :JavaProjects

$30-50 USD

В роботі
Опублікований over 11 years ago

$30-50 USD

Оплачується при отриманні
The first Programming project is: Write a program to enter employee data, including Social Security number and salary, into an array. The maximum number of employees is 100, but your program should also work for any number of employees less than 100. Your program should use two exception classes, one called SSNLengthException for when the Social Security number entered - without dashed or spaces - is not exactly nine characters and the other called SSNCharacterException for when any character in the Social Security number is not a digit. When an exception is thrown, the user should be reminded of what she or he entered, told why it is inappropriate, and asked to reenter the data. After all data has been entered, your program should display the records for all employees, with an annotation stating whether the employee's salary is above or below average. You will also need to define the classes Employee, SSNLengthExceptoin, and SSNCharacterException. Derive the class Employee from the class Person in Listing 8.1 of Chaper 8. Among other things, the class Employee should have input and output methods, as well as constructors, accessor methods, and mutator methods. Every employee object should record the employee's name (as defined in Person), salary, and Social Security number, as well as any other data you need or think is appropriate. Listing 8.1: public class Person { private String name; public Person() { name = "No name yet"; } public Person(String initialName) { name = initialName; } public void setName(String newName) { name = newName; } public String getName() { return name; } public void writeOutput() { [login to view URL]("Name: " + name); } public boolean hasSameName(Person otherPerson) { return [login to view URL]([login to view URL]); } } The next programming project is: Traditional password entry schemes are susceptible to "shoulder surfing" in which an attacker watches an unsuspecting use enter their password or Pin number and uses it later to gain access to the account. One way to combat this problem is with a randomized challenge-response system. In these systems the user enters different information every time based on a secret in response to a randomly generated challenge. Considder the following scheme in whish the password consists of a five digit pin number(00000-99999). Each digit is assigned a random number that is 1,2,or 3. The user enters the random numbers that correspond to their pin instead of their actual pin numbers. for example, consider the pin number 12345. to authenticate the user would be presented with a screen such as: Pin: 0 1 2 3 4 5 6 7 8 9 Num:3 2 3 1 1 3 2 2 1 3 the user would enter 23113 instead of 12345 Write a program to simulate the authentication process. Store an actual pin number in your program. The program should use an array to assign random numbers to the digits from 0 to 9. Output the random digits to the screen, input the response from the user, and output whether or not the user correctly matches the pin number.
ID проекту: 4021394

Про проект

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

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

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

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
i am a Masters student in computer science and engineering with 5years java programming experience. Im ready to start this tasks
$40 USD за 0 день
5,0 (3 відгуки(-ів))
2,7
2,7
7 фрілансерів(-и) готові виконати цю роботу у середньому за $34 USD
Аватарка користувача
Hi, I'd like to do this project please and I want to do it right now. Let me know if you are interested so I can start. Thanks.
$30 USD за 0 день
5,0 (176 відгуки(-ів))
6,1
6,1
Аватарка користувача
Ready to do it. Thanks.
$50 USD за 1 день
4,9 (79 відгуки(-ів))
4,6
4,6
Аватарка користувача
Hi, I read your requirements carefully, i can handle this. Please see PMB!
$30 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I am sure I can do this and can deliver work on time.
$30 USD за 15 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
It sounds interesting. I am ready to do it.
$30 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I am a college student and have to write projects like this all the time and my programming is more likely to look like yours. Please let me know the deadlines you are looking at and I can get on this right away.
$30 USD за 7 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
Evansville, United States
0,0
0
На сайті з груд. 7, 2012

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

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