NOTE 1: View the “Writing Algorithms ApplyingAnalysis and Deduction” presentation before attempting this assessmentactivity!

As you have studiedthroughout this course, algorithms are the basis of computer science. You werealso shown that all decisions in life are essentially an algorithm that anindividual deductively thinks through in order to solve a problem to gain aresult. View the Writing Algorithms Applying Analysis and Deduction presentationin Week 3 then answer the following questions in relation to what you havelearned about completing algorithms in this course.


How did you approachanalyzing the programming requirements in order to create your algorithm forthe solution?  How did you use deductive reasoning to logically movethrough the steps necessary to create pseudo-code processes to achieve aresult? Did your algorithm designs change as you logically stepped through theprocesses needed to reach the solution? If so, in what way? Explain yourreasoning.



NOTE 2: Complete this activity before attempting the Week 3 Victorian Mansion Activity!

CIS120 Victoria Mansion Activity: Background:

The town recluse hasinvited you to dinner at his lavish century-old Victorian mansion outside oftown; the dress is formal. When you arrive, you greet and are greeted by theother guests and house staff. After socializing, dinner begins in the diningroom underneath the sparkling crystal chandelier with dishes that dazzle everysense. Eventually all the guests, including you, retire to the beautifullyappointed and elegant drawing room. You lean back in a comfortable chair toenjoy after dinner refreshments and even better conversation and games.Eventually, despite your best efforts, you fall asleep from all the good foodand refreshment.

When you wake, you areseated in total darkness and briefly disoriented. Suddenly, a mellifluous voiceannounces that there is a new game in which you have the chance to win $100,000simply by finding the bag of cash behind a certain door in the room.  Onceyou have found the money, then you must find the door to the mansionscorridor.

However, its not aseasy as it sounds.  You are told there are four doorsin the round room in each of the cardinal directions(East, West, North, South).  Your chair is in the center of the room, butyou do not know which direction you are facing. Each door holds one of thefollowing special surprises behind it:

  • Door 1 leads to the corridor
  • Door 2 leads to a 40 foot drop to a cave floor underneath the mansion and death
  • Door 3 leads to the bag of cash
  • Door 4 leads to a vicious dog that would love to eat you.

You obviously haveonly one chance to pick the correct door with the money and then exit the roomthrough the correct door to the corridor.

Additionalinformation:

  • Once you stand, your chair will sink into the floor so you must remember how many steps you took from it to the wall and/or door because you must remember this to get back to your starting point.
  • You have no form of communication with the outside world (i.e. no cell phone, etc.).
  • The room is totally silent (i.e. no outside noises or noises from within the room).
  • When you pick a door, you must step through into a small vestibule and shut the door to see if you have chosen well.  One of the following will happen:
    • The floor will open, and you will drop 40 feet to the cave floor
    • A viscous dog will be released through a hidden panel
    • A panel directly in front of you will open with a bag of cash for you to grab
    • A door will open to the corridor and your escape
  • If you find door to the cash,
    • when you lift the bag, hundreds of razor sharp spikes will protrude from the walls of the main room so you cant feel your way to follow the wall to any other door. 
    • exit the vestibule and, remembering your steps, turn around and proceed back to the center of the room.
    • From this starting point, you will have to turn 90 degrees in either of two directions to exit the room through either the door to the corridor and success or the door to the 40 foot drop to the cave floor and death. Notice that you no longer will have the dog to worry about!
    • There is no light whatsoever in the room  total darkness.

Questions to Analyze:

  1. What algorithm would you create to find a door and what may be behind it?
  2. If you find the cash, what steps will you take to find the correct door out of the room and avoid the deadly spikes?
  3. Of all the information given to you, what is most important to take into consideration?
  4. How will you sense your surroundings?

Writing the Algorithm:

Use natural languageto write your algorithm. Applying deductive reasoning,write the algorithm using logic based upon your assumptions and the definedalternatives and outcomes provided in the exercise. 

Upload your assignmentas a Microsoft Word document (.docx) using the followingnaming protocol: LastnameFirstnameVictorianMansion.docx.



What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"