Write pseudocode to decode a message

Assignment Help Mathematics
Reference no: EM131578122

Question: Write pseudocode to decode a message that has been encoded using the algorithm

• take three consecutive letters,

• reverse their order,

• interpret each as a base 26 integer (with A=0; B=1, etc.),

• multiply that number by 37,

• add 95 and then

• convert that number to base 8. Continue this processing with each block of three consecutive letters. Append the blocks, using either an 8 or a 9 to separate the blocks. Finally, reverse the number, and replace each digit 5 by two 5's.

Reference no: EM131578122

Questions Cloud

Find a formula for the least common multiple : The least common multiple of two positive integers x and y is the smallest positive integer z such that z is an integer multiple of both x and y.
Explain the gcd algorithm : Write (and run on several different inputs) a program to implement Euclid's extended GCD algorithm. Be sure to return x and y in addition to the GCD.
What is malone bank profit or loss from speculation : What is Malone Bank's profit or loss from speculation if the spot rate 60 days from now is indeed $0.78?
What is the equivalent annual worth of the savings : what is the equivalent annual worth of the savings?
Write pseudocode to decode a message : Write pseudocode to decode a message that has been encoded using the algorithm.
Review the case of bob and alice : Bob and Alice want to choose a key they can use for cryptography, but all they have to communicate is a bugged phone line. Bob proposes that they each choose.
Find the integral values of the given equation : It is straightforward to solve, for x, any equation of the form x +n a = b.
Set of inequalities that describes the situation : Write an objective function and a set of inequalities that describes the Situation.
Record the conversion using the book value approach : Swifty Corporation has outstanding 1,700 $1,000 bonds, Record the conversion using the book value approach

Reviews

Write a Review

Mathematics Questions & Answers

  Graph the function on the graph for the same values of x

Graph the function y = 5x on the same graph for the same values of x. Include a second y axis for 5x and change it to a logarithm axis.

  Comparing and contrasting the logistics systems

In preparation for your overall logistics White Paper Recommendation to the CEO, she has asked you to give her a "taste" of the different kinds of logistic.

  Find her finance charge and the new balance

Find her finance charge and the new balance on November 1.

  Is there significant evidence at 1 level that mean amount

a bank wonders whether omitting the annual credit card fee for customers who charge at least 3000 in a year will

  Confidence interval for the population mean.

At the 0.05 level of significance, is there a difference between these two juices for this particular question?

  Find the height of the building to the nearest foot

The angle of elevation to the top of a building changes from 20 degrees to 40 degrees as an observer advances 75 feet toward the building. Find the height of the building to the nearest foot.

  What mileage will allow you to stay within your budget

a car rents for $35 per day plus .18 per mile you are on a daily budget of $71. what mileage will allow you to stay within your budget?

  Suppose bob bought an suv that originally had tires with a

suppose bob bought an suv that originally had tires with a diameter of 26 inches but then replaced them with larger

  Numbers in descending order

In a form two class, 5% of the students can play football, ¼ can play volleyball, 0.1 can play basketball and 3/5 can play tennis. Arrange this numbers in descending order.

  Complete the proof of the inverse function theorem

Assignment 3. For each of the following, give an example of a function that satisfies the desired properties, or prove that no such function exists. Complete the proof of the inverse function theorem

  What are the benefits and limitations of the resource

What are the benefits and limitations of the resource-Here you are able to provide a detailed analysis (20%) of the item, discussing benefits and limitations. You will make links to curricula documentation within this analysis, i.e. Early Years Lea..

  What is the domain and range of each function

Examine several newspapers and magazines and describe at least three examples of functions that you find. What is the domain and range of each function?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd