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 to calculate kinetic energy

Create a program that takes in a student first name and average mark obtained, the system should the group the students using the first vowel in their name. For example if the student name is Jena, then the student belongs to group E and if the name was Jack then the student belongs to group A[HINT: Make use of the indexOf() and contains() methods from the string class]. The program should further categorize the mark is follows:

 

 Marks obtained

Grade Level

Message

80 – 100

1

Magnificent!!

70 – 79

2

Excellent!!

60 – 69

3

Good work!!

50 – 59

4

Good!!

0 – 49


Fail – Try again next Year!!

Greater than 100 or

less than 0

X

Invalid Marks!!, Marks too high. Or Invalid Marks!!, Negative marks not allowed.

 

Sample run 1:

Enter student full names: Johnathan

Enter average mark obtained: 88

Output: Hi Johnathan, you were placed in group O

Grade Level: 1

Comment: Magnificent!!

 



Using a loop create a program that will prompts the user for two numbers and then print out summation list of all the between the two given numbers, starting fron the small number to the big number. For negative numbers use brackets when printing the summation.


Using a loop create a program that will prompts the user for two numbers and then print out summation list of all the between the two given numbers, starting fron the small number to the big number. For negative numbers use brackets when printing the summation.

Sample Run1

Enter two numbers: 1 10

Output1: Sum = 1+2+3+4+5+6+7+8+9+10 =55


Sample Run2

Enter 2 numbers:-33

Output2: Sum=(-3)+(-2)+(-1)+0+1+2+3=0


Create a program that takes in a student first name and average mark obtained, the system should the group the students using the first vowel in their name. For example if the student name is Jena, then the student belongs to group E and if the name was Jack then the student belongs to group A[HINT: Make use of the indexOf() and contains() methods from the string class]. The program should further categorize the mark is follows:

 

 Marks obtained

Grade Level

Message

80 – 100

1

Magnificent!!

70 – 79

2

Excellent!!

60 – 69

3

Good work!!

50 – 59

4

Good!!

0 – 49


Fail – Try again next Year!!

Greater than 100 or

less than 0

X

Invalid Marks!!, Marks too high. Or Invalid Marks!!, Negative marks not allowed.

 

Sample run 1:

Enter student full names: Johnathan

Enter average mark obtained: 88

Output: Hi Johnathan, you were placed in group O

Grade Level: 1

Comment: Magnificent!!



Using a while loop create a program that calculates the monthly salary of  N employees[where N is the number of employees that's entered by the user]. If the employee worked less or equal to 160 hours, the employee will be paid N$240.00 per hour. For any hours greater than 160, the employee is paid N$320.00 per hour.

Sample Run1      

Enter number of employees(N):3                         

Hours worked 1: 160                                               

Hours worked 2: 200                                                           

Hours worked 3: 80 

Output1:                                                     

Salary 1: N$38400.00

Salary 2: N$51200.00                                                        

Salary 3: N$19200.00                      

Sample Run 2

Enter number of employees(N):0 

Output2: 

No employees provided to do calculations

Sample Run 3

Enter number of employees(N):-4 

Output 3:

Number of employees cannot be negative


The Vending Machine

PART I : Program Functionality

The program / Application approach is entirely up to you, so long as it follows the description

above. In addition innovation and creativity will be an added advantage, however below are

guidelines to follow:

1.  Planning in forms of Pseudocode and Flowcharts           

2.  Two stage authentication for owner

3.  Data storage using data Structures such Arrays etc.

4.  Receipt information calculations and formatting 

5.  Change calculations and print out 

6.  Management options by Admin

7.  Customer options and interactions

PART II: Program formatting and presentation

The source code will be marked according to the following indicators.

9.  Good modular designs within same program file, different methods per functionality

10. Good comments

11. Ability to explain a portion of the code as may be required by the evaluator         


Complete with necessary functions this example code to implement a solution to the producer consumer problem discussed in class using Posix threads and semaphores. Assume that there is only 10 producer and 10 consumer. The output of your code should be similar to the following and it must run in infinite loop


What are the strategic options for legacy system evolution? When would you normally

replace all or part of a system rather than continue maintenance of the software?


Write code for a CharacterSequence class so that is compatible with both the given main and FrequencyCounter files.


LATEST TUTORIALS
APPROVED BY CLIENTS