Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You are required to write builds a record book for Projects being conducted at a department. A Project has an id, description, array list of members and start and end dates. In the Project class provide two abstract methods: getTeamSize(): that finds and returns the size of the team working on this project c and calculateCost(): that finds and returns cost of project. Provide a class ContractTeamProject that extends class Project

a. Provide an instance variable overheadCost (double). b. Override the calculateCost Method which calculates the project cost as a sum of all the member’ salaries and an additional surcharge at the rate of 11% of the salary amount plus the overheadCost

c. Override the toString to match the output .


You are required to write builds a record book for Projects being conducted at a department. A Project has an id, description, array list of members and start and end dates. In project class provide two abstracts methods: getTeamSize(): that finds and returns the size of the team working on this project c and calculateCost(): that finds cost of the project. Provide a class HourlyTeamProject that extends Project, Add an instance variable hourCost (double) that represents the utility bills cost charged per hour worked on this project by each team member. Provide a method getTotalHours() that returns the total number of hours worked by each member on this project. Override the calculateProjectCost method which calculates the total cost by following relation

     Total cost = total salary of all members + hoursCost * total hours on this project 


·        Ask the first name, middle initial and last name of the student.

·        Prompt the user to select between old student and new student by pressing either O (old student) or N (new student).

·        If O is pressed, ask the student to enter the following grades per term:

o  Prelim

o  Midterm

o  Prefinals

o  Finals

·        Compute the final grade of the student by using given formula: FG = ((Prelim * 20%) + (Midterm * 20%) + (Prefinals * 20*) + (Finals * 40%)). Display the full name of the student with his/her accumulated grade using the format given.

·        If N is pressed, ask the student to enter his/her average grade then display the full name grade.

·        Grade Format:

o  1.00 = 99 – 100

o  1.25 = 96 – 98

o  1.50 = 93 – 95

o  1.75 = 90 – 92

o  2.00 = 87 – 89

o  2.25 = 84 – 86

o  2.50 = 81 – 83

o  2.75 = 76 – 80

o  3.00 = 75

o  5.00 = Below 75

·        If an invalid letter is pressed, display an error message.


complete code of Rush Hour is a game for one player, in which the player takes up the role of

a taxi driver who must collect money by dropping passengers to their

destinations


Find latitude and longitude of utmost 20 countries, ordered by population, with a population greater or equal to the population limit given below and have atleast one currency exclusively for themselves. (countries like Madagascar, Sri Lanka but not India, USA). Use the country details from this dataset.

Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.

  • Assume radius of earth: 6371 km
  • Round length of each line and final result to 2 decimal points
  • If co-ordinates are missing for any country use 0.000 N 0.000 E

Population limit: 65847

Samuel owns a shoe factory where there are N different machines operated for N different purposes. Each machine has its own motor. In order to avoid resonance, the rotation speed of any 2 machines should at least differ by 2 units. The rotation speed can only be in integer units and the maximum rotation speed of any motor is X units. Given minimum rotation speed of any motor to be 1 unit, you have to help Sam find out the number of different ways he can configure the speed of the motor. Input Specification: input1: N, denoting the number of machines. input 2X, denoting the maximum speed of the motor. Output Specification: Your function should return the total number of configuration modulus 10^4.

Print this pattern consider input as 4




1




1 3 1




1 3 5 3 1




1 3 5 7 5 3 1




1 3 5 3 1




1 3 1




1

A new shop named Healthy Fruits has opened in a town, suppose they have hired you as a software engineer to make a program for them to store fruits names with prices lists, as well as for them to keep track of their sales. The program should display the following Menu to users.


1. Insert/Store Fruits names and prices



2. Display the fruit’s list (Fruit names with Prices)



3. Buy Fruits



4. Display the Sales/Bills of customers who have bought fruitssert":"\n"}]}


1. Write a program to enter 10 floating numbers in an array and display it.

2. Write a program to display largest and smallest element of an array defined in Q.No. 1.

3. Write a program to initialize one dimensional array of size 8 and display the sum and average of array elements

4. Write a program to read two matrices of order 3 * 2, add them and display the resultant matrix in matrix form.

5. Write a program to multiply two 3*3 matrix. 6. Write a program to read a string and check for palindrome without using string related function (a string is palindrome if its half is mirror by itself eg: abcdcba).


Discussion Assignment Unit 6


Number of replies: 19


Considering the Java program in section 6.3.3 “Dragging” of Eck (2019), describe what it does in response to specific operations of the mouse (mousePressed, mouseDragged, and mouseReleased), and how it does it.



You are encouraged to run the SimplePaint program for yourself to test its behavior. Then read through the program carefully to understand how that behavior arises.



Your Discussion should be at least 250 words in length, but not more than 750 words

LATEST TUTORIALS
APPROVED BY CLIENTS