Find Jobs
Hire Freelancers

Basic Java Programming :JavaProjects

$30-50 USD

En curso
Publicado hace más de 11 años

$30-50 USD

Pagado a la entrega
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 del proyecto: 4021394

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
i am a Masters student in computer science and engineering with 5years java programming experience. Im ready to start this tasks
$40 USD en 0 día
5,0 (3 comentarios)
2,7
2,7
7 freelancers están ofertando un promedio de $34 USD por este trabajo
Avatar del usuario
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 en 0 día
5,0 (176 comentarios)
6,1
6,1
Avatar del usuario
Ready to do it. Thanks.
$50 USD en 1 día
4,9 (79 comentarios)
4,6
4,6
Avatar del usuario
Hi, I read your requirements carefully, i can handle this. Please see PMB!
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am sure I can do this and can deliver work on time.
$30 USD en 15 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
It sounds interesting. I am ready to do it.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 7 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Evansville, United States
0,0
0
Miembro desde dic 7, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.