Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

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

write a program that plots 5 different colored pixels anywhere on a graphics screen with a black background
What is the longest side in the shape made from the file datatest1.txt whose contents are shown below (just give to two decimal places)?
Write a menu-driven program that uses an array of queues to keep track of a group of executives as they are transferred from one department to another, get paid, or become unemployed. Executives within a department are paid based on their seniority, with the person who has been in the department the longest receiving the most money. Each person in the department receives $1000 in salary for each person in her department having less seniority than she has. Persons who are unemployed receive no compensation.

Your program should be able to process the following set of commands:

Join <person> <department> --> <person> is added to <department>

Quit <person> --> <person> is removed from his or her department

Change <person> <department> --> <person> is moved from old department to <department>

Payroll --> Each executive's salary is computed and displayed by the department in decreasing order of seniority
Develop a program to maintain a list of homework assignments. When an assignment is assigned, add it to the list, and when it is completed, remove it. You should keep track of the due date. Your program should provide the following services:
• Add a new assignment.
• Remove an assignment.
• Provide a list of the assignments in the order they were assigned.
• Find the assignment(s) with the earliest due date.
An electricity board charges the bill according to the number of units consumed and the rate as given below write a program in java to accept the total number of units consumed by a customer and calculate the bill assume that a meter rent of rs 500 is charged from the customer
Use regular expressions to describe all integer constants in Java. Java integer
constants can be in decimal, octal or hexadecimal notation. Octal constants are
made of a leading zero followed by digits from 0 to 7. Hexadecimal constants have
a prefix “0x” or “0X” followed by characters which are either digits or letters
from A to F, lower or upper case.
Write a program in Java 2 input the names of n cricketers and the number of one day matches they have played till date into two separate one dimension arrays sort the array size in alphabetically order of names using selection sort then display the names and find the number of players who have played more than 200 matches
Give an example graph in which Dijkstra’s algorithm gives the wrong answer in the presence of a negative cost edge but no negative-cost cycle
Write a Java program to create a two-dimension array (m x m) A[][] such that A[i][j] is true if i and j are prime and have no common factors, otherwise A[i][j] becomes false.
A mother has children of varying ages in need of t-shirts. The mother has to distribute t-shirts with the following requirements:

Each child should get at least one t-shirt.
A child with an age higher than adjacent children should get more t-shirts than them.
How should the mother distribute such that total number of t-shirts is minimized?
LATEST TUTORIALS
APPROVED BY CLIENTS