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

  1. Check how many perfect squares are in a given list

Input:

[22,9, 45, 82, 81, 21]

Output:2




  1. Get the maximum number out of the given integer 

 Example

 INPUT=257895334; OUTPUT=9




  1. Write a program to count the characters that are not words, integers, spaces  

Given a list, add 1 if the given number in the list is even and add 2 if the given number is odd in a given string


Consider the following relation with set of functional dependencies R(ABCDEF) AB->CD, CD->EF, BC->DEF, D->B, CE->F a) Identify the candidate keys in the above relation (with proper steps followed). b) Identify which normal form this relation is in and reason for the answer.


Consider the following schedule of transactions

R1(A) W1(A) R2(A) W2(B) W1(B) Commit1 Commit2

Which of the following properties are true for the above schedule and justify the reason for your answer

with explanation?

a) Conflict Serializable

b) View Serializable

c) Recoverable


On the form create two combo boxes, one for the country selection and another to select a town. Also, add two radio buttons for the user to select to display either a phone or postal code.


You are also required to create a menu system which will allow the user to exit the application under the file menu. Under the tools menu allow the form submission and option to display the average yearly petrol price report. The layout of the form is left to your discretion. Marks will be allocated to the presentation and effectiveness of the layout, but the following layout is displayed for your convenience.


The application must allow a user to select between two countries, namely South Africa and the United Kingdom. When a particular country is selected, present the available towns in the town combo box.



Given the number of people attending a pizza party, output the number of needed pizzas and total cost. For the calculation, assume that people eat 2 slices on average and each pizza has 12 slices and costs $14.95.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:

System.out.printf("Cost: $%.2f\n", cost);

Ex: If the input is:

4

the output is:

Pizzas: 1
Cost: $14.95

Hint: Use the ceil() method to round up the number of pizzas so that enough pizzas are ordered.


create hangman using ArrayList


Find the largest triangle between the two triangles given the height1, base1, height2, base2.here area of triangle=base*height/2


LATEST TUTORIALS
APPROVED BY CLIENTS