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

Each customer will type in a code representing the structure of his or her order, and your program will display (to standard output) a summary of the order components along with the total cost. An order code is exactly nine characters long, representing five required items. The order code positions, from left to right, represent the following elements:

Five required items:

1. 'A' represents a burrito ($3.00), and 'B' represents a burrito bowl ($4.00).

2. 1 represents black beans (no additional charge), and 2 represents pinto beans (no

additional charge).

3. 1 represents white rice (no additional charge), and 2 represents brown rice ($0.50 extra).

4. 1 represents chicken ($2.00 additional), 2 represents carnitas ($2.50 additional), and 3 represents steak ($3.50 additional).

5. 1 represents mild salsa (no additional charge), 2 represents medium salsa (no additional charge), and 3 represents hot salsa (no additional charge).


from a clinic management system construct a uml diagram, class diagram,object diagram .



You are to write a program that will allow the user to select from a menu of 3 movies available to watch. The menu should look like the following:

  1. Movie 1: Venom: Let There be Carnage
  2. Movie 2: Halloween Kills
  3. Movie 3: Vivo

If the user asks to watch Movie 1, ask for the number of tickets to buy and print the total to pay. The price per ticket for Movie 1 is $8.

If the user asks to watch Movie 2, then the program must ask for his/her age before it proceeds. If the user is younger than 18 years old, the program must print a message saying "Sorry you must be 18 or older to watch this movie." If the user is 18 or older, then proceed to ask how many tickets the user wants and print the total to pay. Price per ticket for Movie 2 is $10.

If the user asks to watch Movie 3, ask for the number of tickets to buy and print the total to pay. The price per ticket for Movie 3 is $6.50.



Write a program to ask the user to input a value responding a score on a test. The value should be between 0 and 100 inclusive. Using the IF control structure to output a message containing the letter grade corresponding to the score using the following table.


Score                                    Letter grade

0-40                                      F

41-55                                    D

56-70                                    C

71-85                                    B

86-100                                  A


Riya took part in a maths quiz competition. To win the prize money she has to solve a tricky question at the end.For a given list of integers, write a program where all the integers in a given index range to be added.
She will be given M multiple ranges, where she should print the sum of numbers for each corresponding range.

Note: The limits in the range are both inclusive.

Input
The first line f input is space-separated integers.
The second line of input is a positive integer M denoting the number of index ranges.
The next M lines contain two space-separated integers of the range.

Output
The output should be M lines.
Each line contains an integer that represents the sum for the corresponding ranges.

Sample Input1
1 3 4 5 6
5
3 5
Sample Output1
12

[Please test the sample test cases and send the screenshots].

a) Create a java project named school

b) Add two classes, namely student and lecturer

c) In student class, create the following methods:

i. calculate_stud_age – This method should take year of birth of the student as a

parameter and calculate and return the student’s age

ii. calculate_ave_mark – This method should take three marks of the student ,

Math, English and Physics marks as parameters and return the average mark

d) In the lecturer class, create the following methods:

i. get_name – This method should take a string (name of the lecture) and

an integer (experience of the lecturer in years). This method should

output/display the name of the Lecture together with his/her designation

based on the years of experiences determined by the following:

Professor – if experience is >= 20 years

Associate professor – if experience is >=15 years

Senior lecturer – if experience is >= 10 years

Associate lecturer – if experience is >=5 years

Junior lecturer – if experience is <5 years


 Discuss the IPv4 Datagram with the help of suitable examples


Compare and contrast the medium access protocols and elaborate any one of them


Error control and Flow control is critical in effective frame transfer in a data link layer. Discuss the types of errors in detail and suggest suitable solutions for the same


Compare the Go-back N protocol with the rest of the protocols for effective frame transmission in Data link Layer


LATEST TUTORIALS
APPROVED BY CLIENTS