Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8. Google Inc. is looking to recruit three of the Boston runners. The criteria for selection are as follows: Average final marks in bachelor's degree

image text in transcribed

8. Google Inc. is looking to recruit three of the Boston runners. The criteria for selection are as follows: Average final marks in bachelor's degree (store up to 2 decimal places). The fifteen candidates have the following grades: 82.30%, 85.10%, 77.77%, 69.93%, 93.03%, 88.61%, 55.99%, 87.49%, 88.00%, 91.20%, 66.79%, 76.65%, 55.89%, 90.01%, and 87.9%. I. I Ability to communicate as one of the three values-"excellent", "average", and "poor". The fifteen candidates have the following ability to communicate, respectively: poor, poor, average, average, average, poor, excellent, excellent, excellent, average, excellent, average, excellent, excellent, poor II Innovation as one of the two values- "brilliant" and "average" (store as a Boolean; brilliant- true and average false). The fifteen candidates have the following innovative abilities brilliant, average, average, average, brilliant, brilliant, average, brilliant, average, brilliant, average, brilliant, brilliant, average, average Ability to regulate one's own skill as a probability value between 0 and 1.0-1.0 implies excellent regulatory capabilities and 0.0 implies no skills to regulate (store as a double). The fifteen candidates have the following regulatory abilities: 0.5, 1.0, 0.8, 0.0,1.0, 0.7, 0.8, 0,9,0.5, 0.6, 0.3, 0.2, 0.5, 0.3, 0.8. IV. Store these values for the fifteen candidates in an extended AddressBook class. In general, Google will not consider a candidate with average marks of less than 85%. Google will consider a candidate with average marks of less than 85% only if the candidate at least has 0.5 regulatory abilities and at least 'average' ability to communicate. Google will only consider a candidate with poor communication ability if the candidate has a 'brilliant' innovation capability. Write a program that will help Google to programmatically determine eligibility of the fifteen candidates for these positions, and print the output on the console Candidate Attributes + private boolean innovation + private double grade + private double regulation +private String communication Operations +public boolean isInnovative() +public Candidate(String fn, String In, double grade, String comm, boolean innov, double reg) +public double getGrade +public double getRegulation + public static ArrayList getEligibleCandidates(Candidatel] cands) + public String getCommunicationO) +public void setCommunication(String comm) +public void setGrade(double grade) +public void setInnovation(boolean innov) +public void setRegulation(double reg)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions