01 Set value of Number to 10
02 Set value of Counter to 6
03 Set value of Total to 0
04 Add Counter to Total
05 If Counter is less than 1, jump to step 09
06 add Number to Total
07 Subtract 1 from Counter
08 Jump to step 05
09 End
Given the pseudocode algorithm above, what is the value of Total when step 09 is reached?
Need help writing a program that meets pseudocode and criteria .
Txt File below
input.txt file data
05 11/30/16
03 12/07/16
05 12/07/16
05 12/08/16
01 12/10/16
07 12/11/16
07 12/14/16
06 12/15/16
02 12/21/16
05 12/21/16
06 12/22/16
07 12/22/16
08 12/23/16
07 12/23/16
07 12/23/16
07 12/23/16
08 12/24/16
08 12/24/16
07 12/24/16
03 12/26/16
05 12/26/16
07 12/28/16
04 12/29/16
07 01/01/17
06 01/03/17
07 01/03/17
08 01/05/17
05 01/10/17
04 01/17/17
08 01/17/17
07 01/18/17
07...
2020-03 136.6 2020-02 137.4 2020-01 136.8 2019-12 136.4 2019-11 136.4 2019-10 136.6 2019-09 136.2 2019-08 136.8 2019-07 137.0 2019-06 136.3 2019-05 136.6 2019-04 136.0 2019-03 135.4 2019-02 134.5 Rounded to one decimal place, the inflation rate over the period February 2019 to February 2020 was
DATES PRICE INDEX 1974-01-01 26.574 1974-02-01 26.883 1974-03-01 27.195 1974-04-01 27.387 1974-05-01 27.657 1974-06-01 27.891 1974-07-01 28.098 1974-08-01 28.391 1974-09-01 28.687 1974-10-01 28.893 1974-11-01 29.110 1974-12-01 29.341 1975-01-01 29.523 1975-02-01 29.684 1975-03-01 29.786 1975-04-01 29.887 1975-05-01 30.007 1975-06-01 30.195 1975-07-01 30.454 1975-08-01 30.586 1975-09-01 30.737 1975-10-01 30.916 1975-11-01 31.114 1975-12-01 31.286 a) (5 points) Calculate the rate of inflation from January 1974 (1974-01-01) to January 1975 (1975-01-01). b)(5 points) Suppose that you earned $30,000 per year back in January of...
The data set below are the unemployment rates from April 2016 through March 2018. The mean unemployment rate is 4.5, the median unemployment rate is 4.5, and the standard deviation of 0.33. Describe the data set using these statistics. Does the data appear to be consistent on a monthly basis? Year/Month Unemployment rate 2016-04 5.0 2016-05 2016-06 2016-07 2016-08 2016-09 2016-10 2016-11 2016-12 2017-01 2017-02 2017-03 2017-04 MacBook Pro 2017-05 4.3 2017-06 4 2017-07 4.3 2017-08 4.4 2017-09 4.2 2017-10...
Question 22 3.5 pts 01 03 04 05 06 07 08 09 10 A student sets an object attached to a spring into oscillatory motion and uses a position sensor to record the displacement of the object from equilibrium as a function of time. A portion of the recorded data is shown in the figure above. The total distance traveled by the object between 0.35 s and 0.40 s is most nearly O cm 2 cm 4 cm 6 cm
In a digital communication system, probability density function
of the two level signal received in the receiver is:
PR(v) =
PS(v)*PN(v) =
[0.4δ(v+1) + 0.6δ(v-4)]*η(v). And ,
η(v) is the noise that added to the message sign as the
additive Gaussian noise with a value of zero and an effective value
of 3.
(* symbol means convolution process, in the solution of this
problem you can use the below Q function table.) ,
η(v) =
A) Plot the probability density...
price time month day year
149.3999939 1 01 02 13
146.5 2 01 03 13
147.3499908 3 01 04 13
150.3999939 4 01 07 13
148.1499939 5 01 08 13
147.8999939 6 01 09 13
149.6499939 7 01 10 13
153.3499908 8 01 11 13
153.3000031 9 01 14 13
152.5 10 01 15 13
153 11 01 16 13
155.5 12 01 17 13
156.3000031 13 01 18 13
148.5999908 14 01 22 13
150.3999939 15 01 23 13...
Algorithm
Please answer Number 6 right and clearly!
Thanks a lot
For Problems #4 through #6, consider the following pseudocode (ref: CLRSpp. 154-160): 01 HEAP SORT (A) 02 BUILD-MAX-HEAP (A) 03 for i A. length downto 2 04 exchange A [1] and Ali 05 A heapsize A heapsize 1 06 MAX-HEAPIEY (A, 1) 07 BUILD-MAX-HEAP (A) 08 A heapsize A. length 09 for i floor (A length/2) down to 1 10 MAX-HEAPIEY (A ,i) 11 MAX-HEAPIFY (A,i) 12 L 2*i...
Client #1 IP 160.16.0.3 MAC 00:01:02:03:04:22 Client #2 IP 160.16.0.11 Client #3 Web Server MAC 00:01:02:03:04:06 IP 160.16.0.10 IP 160.16.0.70 MAC 00:01:02:03:04:07 Interface Fa0/0 Interface Fao MAC 00:01:02:03:04:33 IP 160.16.0.1 IP 160.16.0.65 MAC 00:01:02:03:04:A1 MAC 00:01:02:03:04:11 1000000000 IP Router Ethernet Ethernet Ethernet Hub Hub Switch Refer to the network figure above, showing two Ethernet Subnets connected through an IP Router, for questions #1 to #5. For each device, both its Internet Protocol (IP) address and its MAC address (also called...
nonlinear. Here we want you to verify this property by computing the output of S, for the following two pairs of inputs. The S-box S is given as follows: 0-6. (10 points) One important property which makes DES secure is that the S-Boxes are S-box S S0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 14 04 13 01 02 15 11 08 03 10 06 12 05 09 00 07 1...