Write a Java application and use a two-dimensional array that will store the three ratings of five TV shows.
SERIES NAME RATING 1 RATING 2 RATING 3 Big Bang Theory 9 8 5 Scandal 7 5 5 Modern Family 8 8 8 Dexter 10 7 8 Grand Designs 3 1 5 (6)
Q.2.2 Calculate and print the average of the TV rating for each TV show.
Q.2.3 Determine if the series will be continued for another season. If the average rating of the series is greater than or equal to seven then the TV network will continue with a new season.
Q.2.4 Print out each series name with the average rating and if there will be a series continuation.
Dim j = 0
While j = 0
j = j - 1
Console.Write(“Hello”)
j = j + 1
End While
Question: If this code is executed, How many times will “Hello” be printed out?
Given three integers j, k and m
Build a function (in any development language) called SeqSummation, that calculates the sequence of summation as per:
j + (j + 1) + (j + 2) + (j + 3) + … + k + (k − 1) + (k − 2) + (k − 3) + … + m
Explanation: increment from j until it equals k, then decrement from k until it equals m.
Function Description
Create the function SeqSummation.
SeqSummation takes the following parameter(s):
• j integer
• k integer
• m integer
Program Output
• the value of the sequence sum
Example
• SeqSummation (5,9,6)
• i = 5, j = 9, k = 6
• Sum all the values from i to j and back to k: 5 + 6 + 7 + 8 + 9 + 8 + 7 + 6 = 56.
• Output: 56
Question
Description: Write a sorting function, that takes in an array of numbers (size n) and outputs the array of numbers as a list, in sorted sequence (highest value to lowest value)
Notes:
• Use any development language you wish
• Do not use any language’s in-built sorting function (example Javascript array.sort). We’re asking you to write the full sorting algorhythm yourself
Example
• simpleSort({1,2,3,4})
Output:
• 4,3,2,1
Question 8b. Bonus: Name the sorting algorhythm
Create a windows application that contains two TextBox objects and two Button objects. One of the TextBox objects and one of the buttons are initially invisible. The first textbox should be used to input a password. The textbox should be masked to some character of your choice so that the characters entered by the user are not seen on the screen. When the user clicks the first button, the second TextBox object and button object should be displayed with a prompt asking the user to reenter his or her password. Now the user clicks the second button, have the application compare the values entered to make sure they are the same. Display an appropriate message indicating whether they are the same.
Your task is to write array implementation of a list with the following functions
Insert
Delete
Search
Sort
Note:No global declarations
Create a class called STRING, the class has two private member str and size of String and int type respectively. Provide a copy constructor for the class that initialize objects with other object. Write member function for the class that show the string and size for each object.
The following are the assumed existing equivalent currency rates corresponding to the US dollar ($1.00); Australia (Aus $), 1.09; Hong Kong (HK $), 7.81; Indonesia (Rupiah), 990.41; Japan (Yen), 234.93; Malaysia (Ringgit), 2.34; Philippines (Peso), 13.80. Prepare a program that will accept US dollar and currency to be converted as inputs, then compute the equivalent in the chosen foreign currency. Print the results.
(Use switch statement.)
What does win-win mean in the context of negotiation during the requirements engineering activity?
write program link list insert midle and delete ?