Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Psuedo Code
#1
I need help with this assignment... Not really sure what to do on it...
Thanks.


Quote:You are the technical consultant on the script for a science fiction film about Earth’s first encounter with intelligent life from a planet in another solar system. The visitors are traveling to Earth in a tiny spaceship only recently detected by NASA’s extraterrestrial monitoring facility. The spaceship is only days away from Earth and has begun sending a series of messages that the hero of the movie, a computer scientist, must decode to determine if the visitors’ intentions are good or evil. Shortly, the spaceship will be within range of the Laser Shield Defense System, a series of geostationary satellites secretly operated by the militaries of the permanent members of the UN Security Council, and originally designed to disintegrate rogue asteroids that could impact Earth. Unless the hero can decode the message in time, General Brasher is going to order the destruction of the spaceship.

As the plot thickens, noisy video transmitted by the spaceship reveals that the occupants appear to anatomically resemble insects on Earth. (Consequently, General Brasher refers to the extraterrestrials as Buggarians.) At this point in the script, the hero is supposed to decipher the message, but filming has come to standstill. A program to decode the message was written by the previous technical consultant, who quit last week in a dispute about ownership of the 3-D fractal holographic special effects engine written for the video game version of the movie. The scene with the Buggarian’s coded message has already been shot and can’t be redone due to legal dispute about the 3-D software. Perhaps coincidentally, the props department seems to have lost the laptop that contained the program to decode the message! The last message received (but actually programmed by the former technical consultant) from the extraterrestrial visitors is as follows.

The message :

220 241 255 245 052 313
311 052 312 303 052 312
252 245 052 205 241 251
253 243 052 203 253 302
251 244 303 301 053





The director doesn’t want to continue shooting without knowing what the coded message says, in case it is inappropriate. So, as the new technical consultant, your job is to save the script and determine if the message can be decoded. The good news is that you don’t have to actually write the program because the director knows the hardest part of the task is developing the algorithm, not writing the code. The bad news is that you and your team have just 24 hours to suggest an algorithm that could decipher the message, or the studio funding the picture will cancel production. If you can make a reasonable suggestion about how to decode the message, the studio will grant more time to actually write the program. Are you up to the challenge? There are many, many ways to approach this problem, so solutions will vary. Earth also needs to send a response back to the Buggarians. What message should your team recommend as the outgoing message to the extraterrestrials?

Expected Output:

Remember, your task is not to actually decode the message (although you may try). Programmers are faced with unusual problems all the time and their primary task is to think and develop a plan before actually writing any code. In this assignment you are in the same situation; focus on a solution, not the answer. Start by making a list of the clues you find and the assumptions you have. Submit a word processed document that describes how you would go about unraveling the mysterious message from the Buggarians. The format (paragraph, pseudocode, outline, flowchart, etc.) is up to you. Be sure to include your suggested response to the extraterrestrials (in English, for now).
[Image: iAHg.png]
I sound like Morgan Freeman
Reply


Messages In This Thread
Psuedo Code - by Minus-Zero - 07-24-2011, 05:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)