Lab 6, Part 1, due November 14

The final two labs take the form of an Internet scavenger hunt. This is the first part. The second part will be given to you on Thursday, November 14.

Each answer below is identified by a two letter code followed by a number. Please record your answers on a sheet of paper with the associated answer code.

You will turn your answers in via the catalyst dropbox.

Google Trends

Google Trends shows the popularity of different search terms over time.

http://www.google.com/trends/

Use Google Trends to find the name of the city (and country) that most frequently searches for the terms "turing test".

GT1: ,

You can also use Google Trends to compare two terms, enter "myspace, facebook" (the comma between them is required) to compare the relative popularity of those two search terms over time. Note the year that Facebook overtook MySpace in search volume.

GT2:

Wolfram Alpha

Wolfram Alpha is a "computational knowledge engine". It is like web search engines in that you type in simple search terms and it gives you back results, but it is unlike web search engines in that it contains structured data which you can visualize and compare.

http://www.wolframalpha.com/

Enter "seattle population" to see population data for Seattle. Now try "us population" to see population data for the United States. Because Wolfram Alpha's data is structured, you can compare these two data sets, enter "seattle population divided by us population". What is the ratio of Seattle to US population for the year you obtained for answer GT2? (Hint: you can simply add "in 2008" to your query).

WA1:

Google Maps

As you all know, Google Maps provides maps, directions, satellite imagery, and all sorts of geographic goodness.

http://maps.google.com/

Find the satellite image for Av de Uruguay and Av de Costa Rica, Benidorm, Spain. To the east, you will see a large building that is in the shape of a letter in the alphabet. What is that letter?

GM1:

Search for Maspalomas, Gran Canaria. Look for some buildings south of the GC-500 and northwest of the golf course. Hint: These buildings are around some swimming pools ad one is exactly to the north of the other. They together resemble another letter in the alphabet. What is that letter?

GM2:

Now zoom out from Maspalomas, until you can see the continent that lies nearest to the island. What is that continent?

GM3:

Search for the intersection of W. Belmont Ave and N. Boyle Terrace in Chicago, IL. Look at the satellite image and find a building on the South west corner of the intersection that looks like a letter. What is that letter?

GM4:

Robozzle

Robozzle is a game where you solve puzzles by creating little programs to control a virtual robot.

Note: The game works in most browsers, but if you find that the game's behavior does not match with the tutorial description, try a different browser.

http://www.robozzle.com/

Do the tutorial puzzles to familiarize yourself with the game, and then select the "Easy to hard" category and choose the "very easy" puzzle (author: lendesg. Note that you might need to look through several pages to find the puzzle; people have uploaded new puzzles since we put together this lab, but last time we checked it was on page 5). Record each instruction of the program that you use to solve the puzzle.

Note: you may need to install Silverlight if you don't already have it installed. Silverlight is a plugin like Flash that enables interactive applications in your web browser. You can install Silverlight here.

RZ1:
RZ2:
RZ3:
RZ4:

Pseudocode

Below are five pseudocode programs. In the table below are five sets of input and output. You must determine which pseudocode program produces the output in the second row of the table when given the input in the first row of the table.

Inputn = 3n = 3n = 3 n = 30n = 3
Output3, 6, 9, 12, 152, 3, 4 2, 4, 6, 810, 8, 6, 41, 2, 4, 8
Program 1AOHFL
Program 2SMTIE
Program 3MZUNS
Program 4GPRLH
Program 5NENTN

Choose the letter in each column that corresponds to the program that matches the input/output pair for that column. For example, if Program 3 produced the output 2, 3, 4 when given input n = 3, then it would match the second column and you would choose the letter Z for that column. (Note: that's not the right answer.)

Write the matched letters in order from left to right below to spell out a word.

PC1:

  1. for i = 1 to n do {
        print i + 1
    }
  2. while (n < 16) do {
        print n
        n = n + 3
    }
  3. if (8n/2 > 6) then {
        print 2, 4, 6, 8
    } else {
        print 3, 6, 9, 12, 15
    }
  4. while (n < 7) do {
        print 2^(n-3)
        n = n + 1
    }
  5. while not (n < 12) {
        print n/3
        n = n - 6
    }

Piano Etudes

Piano Etudes is an interactive website where you can assemble musical fragments according to a set of transition rules.

http://turbulence.org/spotlight/pianoetudes/net.jasonfreeman.pianoetudes.PianoEtudes/wordpress/

Select one of the four etudes, and create a composition using the rules of that etude. Once you are satisfied with your magnum opus, click the "sharing" link on the left and select "Save and share my etude." After entering the musical pen name of your choice, you will be given a URL which you must submit via Catalyst Dropbox. In return, again via Catalyst (as a comment to your submission), you will be given a secret code which you will fill into PE1 below.

PE1:

To Be Continued...

That's the end of part one of the scavenger hunt. Part two will be handed out on November 14.