Vous êtes sur la page 1sur 2

2a.

There are many different types of programing languages. Some are simple and others are more
complicated. The programing that I chose to use was the bobble code that is used in MIT App Inventor,
because I am already familiar with the programing language. The program I coded is a location finder. It
uses the power of QR codes to help student find their location in Cardinal Wuerl North Catholic High
School. The video illustrates a few things. Firstly it shows how there is a canvas with a sprite on top of it,
then it shows how if the find my location bottom is pressed it brings up a QR scanner. Next it shows that
if a QR code that is linked to certain location on the map is scan it moves the sprite to that location and
displays the name of that location.

2b .
There were a few steps in the development process. One of the main ones was collaborative. It
involved finding a QR code Generator that allowed the linking of plain text to a QR code. The original
generator I used only allowed the linking of a URL (uniform resource locator) or File to A QR code. Wants
a generator was found it was used to link plain text to a QR code which allowed it to copy over to MIT
App Inventor. In MIT the plain text that is on the QR code is set as the location variable. Another step in
the development Process was accomplished independently. In this step I gave the plain text an action.
The action was to call the sprite to a location on the map (canvas). This was accomplished by using an if
then statement which called the sprite to a location when the location variable is a certain number.

2c.
In my code there are many different algorithms that do deferent things. One of which is the
algorithm calls the QR code scanner. This works with all the other algorithms by providing the means to
gather the information the other algorithms need. Another algorithms which calls the information that
was gathered through the scan. Sets it as the location variable. After this there is a series of nineteen
if/then statements, which would count as their own algorithms. In the if/then statement it asks if the
location is a certain number, and if it is the specified number a few things happen. One moves the
location of the sprite on the map, then if the location is on a different floor it also changes the canvas
background, lastly it changes the label to the name of the location.
2d.
There were only a few abstractions in my code. The abstractions showed in my code is
incorporated in mathematics, and make it possible to complete the action that is trying to be met the
easiest and simplest way. It uses variables to house the number that is used to figure out where the
sprite should be sent. Without the variable all of the places in the code that uses it would have to be
changed individually. This makes the code a lot simpler.

2e.

Vous aimerez peut-être aussi