Find Jobs
Hire Freelancers

assessmentEngine Class

$30-250 USD

In Progress
Posted about 9 years ago

$30-250 USD

Paid on delivery
Create a java class with the below requirements, it is part of a larger project and the code will be modified later. It will be run on a linux machine running java 8. This involves file paths, keep in mind you need to use the ‘/’ instead of ‘\’ in file paths. • 1 class called assessmentEngine • Constructor will have these parameters: o String classFolder – contains a complete path to a folder o String sourceFolder - contains a complete path to a folder o String errorFolder - contains a complete path to a folder o Int ID – an identifier that will be used later • Class will contain at least these public functions o void compile(String cn) – Will compile the source file with the name of cn stored the sourceFolder path. The corresponding .class file will be put into the classFolder o void compileAll() - Same as compile(String cn) except it will iterate through all source files in sourceFolder o Note: all compilation errors are to be stored in the errorFolder in a text file called [login to view URL] o Class run(String cn) – Will create an instance of the class file named [login to view URL] and return its class object o Class getBest() – This function will create an instance for each individual .class file in the classFolder. After an instance is created, use reflections to check the value of one its global variables named ‘double rsc’. Iterate through all instances, find which one has the largest rsc variable, then return that class object. o Any exceptions that occur during the creation of the compiled class (The target class has a divide by 0 for example) are to be stored in the errorFolder in a text file called [login to view URL] • Keep all opening and closing curley brackets on their own line • Comment code effectively (Nothing crazy, just so others know whats happening in your code)
Project ID: 7407345

About the project

17 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Davison, United States
5.0
3
Member since Aug 1, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.