Wednesday, June 1, 2011

Exhibition

This is my final exhibition piece.


 
If/Else Statements

In programming, you can do many things just with a single line of code. But ‘if’ statements let you compare two options, and chooses one depending on whether its conditions are true or false. For example, if you were hungry, then you would eat. Otherwise, you wouldn’t. This is saying that if the ‘hungry’ condition was true, then you would eat. Otherwise, you would not do anything.
The ‘else’ part of this is just adding another option to the scene.  For example, if the hungry condition was false, then it would skip over the eating statement and you would exercise.
My project is a poster that depicts heaven and hell, and in between, the choices you make that determine where you might end up. It is similar to both a quiz and flowchart in the sense that it is asking you questions and depending on the answer you choose points you in a certain direction.
This illustrates my concept of if/else as it compares the two options, heaven and hell, and based on the questions which act as the conditions, determine which outcome you end up at. For example, if the question was “Have you ever stolen anything?” and your answer was no, then you would go up to the next question, else if you said no, then you would go down.
Therefore my project relates to real life as everyone makes choices everyday and this is represents my metaphor ‘Choices determine our path’.

Metaphor

My idea for a metaphor of if/else was to create a poster that displayed something that showed you could take multiple paths which led you to different results depending on the conditions you meet.

For example, this poster is a simple but good representation of if/else, as the flow chart has two different results, and depending on which answers you choose you either end up at 'change something' or 'keep doing whatever you're doing'.