RECRUITMENT System: 211420205167 CS8582-Object Oriented Analysis and Design

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

211420205167 CS8582-Object Oriented

Analysis and Design

RECRUITMENT system
AIM:

To develop a project RECRUITMENT SYSTEM using ArgoUML software and to


implement the software in Visual Basic and JAVA.

PROBLEM STATEMENT:
The recruitment system allows the job seekers to view the job opportunity
through Advertisement and helps to apply for the job. The Applicants apply for the job. Once
the applicant enrolls he/she receives an ID which helps in further correspondence. The
Registered applicants undergo through a process of Test and Interview. The HR Department
can also get the list of available candidates and shortlist for their company requirement. The
HR department selects the Applicant based on the performance in the Test and Interview.
Finally the recruited applicants are informed. This system makes the task of the job seeker
easier rather than waiting in queue for enrollment. This also reduces the time consumption for
both for the job seeker and organization. It generates results for the test taken up by the
candidates and the employers in the recruitment process in a periodical base. The
Organization is given rights to add or delete Applicant profiles, provide information about
company, publish results for test and job confirmation. HR Department is given rights to
access the recruiting information and if needed, make changes to them.

OBJECTIVES:
The main objective of this project is to overcome the job opportunity for job seekers
through the advertisement and help them to apply for the job. This project provides complete
information about the job and their company details. Separate modules have been created for
purchasing, viewing book details, and delivery details. The Registered applicants undergo
through a process of Test and Interview. The HR Department can also get the list of available
candidates and shortlist for their company requirement. The HR department selects the
Applicant based on the performance in the Test and Interview. Finally the recruited
applicants are informed. . This system makes the task of the job seeker easier rather than
waiting in queue for enrollment.
SCOPE:
The scope of the project is to design an recruitment system that will help in managing the
job details. The System provides an online interface to the user where they can fill in their
personal details and apply for the job. The Organization (HR-Department) concerned with the
recruitment process can make use of this system to reduce their workload and process the
application in a speedy manner. Provide a communication platform between the Applicant
and the Organization.
PROJECT DESCRIPTION:
Recruitment System is an interface between the Applicant and the Organization
responsible for the Recruitment. It aims at improving the efficiency in the Recruitment
process and reduces the complexities involved in it to the maximum possible extent. If the
entire process of ‘Recruitment' is done in a manual manner then it would takes several days
for the recruitment. Considering the fact that the number of applicants for recruitment is
increasing every year, an Automated System becomes essential to meet the demand. So this
system uses several programming and database techniques to elucidate the work involved in
this process.
211420205167 CS8582-Object Oriented
Analysis and Design

Requirements:

Functional Requirements:

1. Login
2. Attend call
3. Lookup service
4. Provide service

Software Requirements:

1. Windows 7
2. JDK
3. Eclipse
4. ArgoUML
Hardware Requirements:

1. Intel i5 4th gen processor


2. 4 gb RAM
3. 500 gb Storage unit.

Identified Actors:

1. Applicant
2. Organization
3. HR

Identified Use cases:


1. Advertisement
2. Apply for job
3. Test
4. Interview
5. Applicants

LIST OF MODULES:

1.Advertisement

2.Apply for job

3.Select applicants for interview

4.Test

5.Interview

6.Recuritment Applicant

MODULE DESCRIPTION:
211420205167 CS8582-Object Oriented
Analysis and Design

1.ADVERTISEMENT-

Description:
This Use Case is initiated by Organization. Notifies about the required job
vacancies.
Pre-condition:
Vacancy must exit
Post-condition:
Details about the vacancy are true
Basic flow:
1.HR informs about vacancy to Organization.
2. Organization announces the Advertisement.
Technical Service Layer:
Registration
Authentication
User Interface Layer:
This layer gives the user an interface to registration into the system.

2.APPLY FOR JOB


Description:
This Use Case is initiated by Applicants. Online forms are filled by the
Applicants and submitted to the organization.
Pre-condition:
Online form must exist.
Post-condition:
Forms filled are stored in an Information System for processing. The filled
forms are sent to the HR. The HR produces the list of eligible Applicants.
Basic flow:
1. HR processes the filled forms.
2. HR selects the list of eligible Applicants.
Technical Service Layer:
Login Forms
Authentication
User Interface Layer:
This layer gives the user an interface to login into the system.
3.SELECT APPLICANTS FOR INTERVIEW
Description:
This Use Case is initiated by HR. The lists of selected Applicants are
Informed. The Test and Interviews are conducted by the HR of the region that has the
vacancy.
Pre-condition:
Applicants must meet eligibility criteria.
211420205167 CS8582-Object Oriented
Analysis and Design

Post-condition:
Applicants clears interview process OR does not clear interview process.

Basic flow:
1.HR schedules the interview process
2. HR conducts test and interview for the applicant via online system.
3.Who clear the interview process are selected.
Technical Service Layer:
Authentication
User Interface Layer:
This layer gives the user an interface to selection into the system.

4.INTERVIEW

Description:
This Use Case is initiated by the HR. An Interview will be conducted by the
HR
Pre-condition:
Applicant is selected for the Interview.
Post-condition:
Applicant clear or not clear the Interview.
Basic flow:
1. The applicants undergo the Interview process
2. He/ She clear or not clear the Interview.
Technical Service Layer:
Login
Authentication
User Interface Layer:
This layer gives the user an interface to login into the system.
5. RECRUITED APPLICANTS

Description:
This Use Case is initiated by the HR. The selected applicants are recruited by
HR.
Pre-condition:
Applicant is selected for the Test and Interview.
Post-condition:
Applicant clears Test and Interview.
Basic flow:
1. The applicants clear the Test.
2. The applicants clear the Interview.
Technical Service Layer:
Login
Authentication
211420205167 CS8582-Object Oriented
Analysis and Design

User Interface Layer:


This layer gives the user an interface to login into the system.

UML DIAGRAMS

USECASE DIAGRAM

CLASS DIAGRAM
211420205167 CS8582-Object Oriented
Analysis and Design

SEQUENCE DIAGRAM

COLLABRATION DIAGRAM
211420205167 CS8582-Object Oriented
Analysis and Design

STATECHART DIAGRAM

ACTIVITY DIAGRAM
211420205167 CS8582-Object Oriented
Analysis and Design

COMPONENT DIAGRAM

DEPLOYMENT DIAGRAM

PACKAGE DIAGRAM
211420205167 CS8582-Object Oriented
Analysis and Design

IMPLEMENTATION & TESTING


Applicant.java
package Recruitment;

import java.util.Scanner;

public class Applicant


{
int i;
String app_name[]= new String[10];
String app_gender[]= new String[10];
String app_phone[]=new String[10];
String app_mail[]=new String[10];
String app_addr[]=new String[10];
void apply()
{
for(i=0;i<5;i++)
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter the Applicant "+(i+1)+" Name: ");
app_name[i]=sc.next();
System.out.println("Enter the Applicant "+(i+1)+" Gender: ");
app_gender[i]=sc.next();
System.out.println("Enter the Applicant "+(i+1)+" Mobile Number: ");
app_phone[i]=sc.next();
System.out.println("Enter the Applicant "+(i+1)+" Mail ID: ");
app_mail[i]=sc.next();
System.out.println("Enter the Applicant "+(i+1)+" Address: ");
app_addr[i]=sc.next();
}
}
void applicantdetails()
{
for(i=0;i<5;i++)
{
System.out.println("====================================================
=====");
System.out.println("Applicant ID: "+(i+1));
System.out.println("Applicant Name: "+app_name[i]);
System.out.println("Applicant Gender: "+app_gender[i]);
System.out.println("Applicant Mobile Number: "+app_phone[i]);
System.out.println("Applicant Mail ID: "+app_mail[i]);
System.out.println("Applicant Address: "+app_addr[i]);
System.out.println("====================================================
=====");
System.out.println("");
}
}
}
211420205167 CS8582-Object Oriented
Analysis and Design

Organiztion.java

public class Organization


{
String Name="NewTechPvt.Ltd.";
String Mail="admin@NewTech.com";
String Mobile="7010747741";
String Address="No.2,Rajaji Street,Guindy,Chennai-28";
void orgDetails()
{
System.out.println("__________________________________________________________
________");
System.out.println("Organization Name: "+Name);
System.out.println("Organization Mail ID: "+Mail);
System.out.println("Organization Mobile Number: "+Mobile);
System.out.println("Organization Address: "+Address);
System.out.println("__________________________________________________________
________");
System.out.println("");
}
}

HRDepartment.java
public class HRDepartment
{
String[] Emp_name = {"Vignesh","Deepak","Irfan"};
int[] Emp_id = {101,150,195};
String[] Emp_gender = {"Male","Male","Male"};
String[] Emp_mobile = {"9003746342","962987542","9566740288"};
String[] Emp_mail =
{"vignesh@NewTech.com","deepak@NewTech.com","irfan@NewTech.com"};
void empDetails()
{
for(int a=0;a<=2;a++)
{
System.out.println("*********************************************************")
;
System.out.println("HR "+(a+1)+" Name: "+Emp_name[a]);
System.out.println("HR "+(a+1)+" ID: "+Emp_id[a]);
System.out.println("HR "+(a+1)+" Gender: "+Emp_gender[a]);
System.out.println("HR "+(a+1)+" Mobile Number: "+Emp_mobile[a]);
System.out.println("HR "+(a+1)+" Mail ID: "+Emp_mail[a]);
System.out.println("*********************************************************")
;
}
}
}
211420205167 CS8582-Object Oriented
Analysis and Design

Recruitment.java
public class Recruitment
{
public static void main(String args[])
{
int j;
int[] tmarks=new int[10];
int[] failed=new int[10];
int[] selected=new int[10];
int[] evaluate=new int[10];
int[] recruited=new int[10];
int[] rejected=new int[10];
Random ra=new Random();
Applicant ap = new Applicant();
Organization org=new Organization();
System.out.println("Applicant Details:");
ap.apply();
ap.applicantdetails();
System.out.println("Organization Details:");
org.orgDetails();
System.out.println("HR Department Details");
HRDepartmenthr=new HRDepartment();
hr.empDetails();
for(j=0;j<5;j++)
{
tmarks[j]=ra.nextInt(100);
if(tmarks[j]>=50)
{
selected[j]=j+1;
System.out.println("Applicant ID selected for Interview: "+(j+1));
evaluate[j]=ra.nextInt(2);
if(evaluate[j]==1)
{
recruited[j]=j+1;
System.out.println("Recruited Applicant ID: "+(j+1));
}
else
{
rejected[j]=j+1;
System.out.println("Rejected Applicant ID: "+(j+1));
}
}
else
{
failed[j]=j+1;
System.out.println("Failed Applicant ID: "+(j+1));
}
}
}
}
211420205167 CS8582-Object Oriented
Analysis and Design

OUTPUT:
211420205167 CS8582-Object Oriented
Analysis and Design

Testing:

To perform the testing for the code generated open eclipse ide and create a project
with a package containing a class file and java test unit file. Write the coding which is to be
tested and test the code for a correct input and incorrect input. Thus the code is tested.

Authentication.java

import java.util.*;

public class Authen

{
public static void main(String args[])
{ String user_name = "teresa";
String password = "tere123";
if(user_name.equals("teresa") && password.equals("tere123"))
{
System.out.println("Authentication Successful");
}
else
211420205167 CS8582-Object Oriented
Analysis and Design

{
System.out.println("User name/ Password not matching");
}
}}
Junit test case:

package Testing;

import static

org.junit.Assert.*; import

org.junit.Test;

public class JunitTest

{@Test public void test()

{Registration test=new Registration();

assertSame(sum, total);

}}

Valid input:

Conclusion:

Thus the above project for Recruitment System was designed using various UML
diagrams with the help of CASE tools software, code generation was done and implemented
and tested using eclipse IDE.

You might also like