NSHipster Quiz #6
On June 3rd, we organized the second annual WWDC edition of the NSHipster Pub Quiz. Keeping in its tradition, questions ranged from random Apple trivia to obscure technical questions. For the second year in a row, the event was graciously hosted by New Relic, whose beautiful downtown San Francisco offices gave the event a feeling of distinction and class. We’re also very thankful to Spotify & thoughtbot sponsor libations for the evening. Cheers!
With dozens of teams, comprised of developers from all around the world, the competition was fierce. But ultimately, it was a team known simply as nil
that took the day, with 54 points total.
For everyone that couldn’t make it to the event, here’s an opportunity to play along at home. Some ground rules:
- There are 3 Rounds, with 10 questions each
- Record answers on a separate sheet of paper
- Each correct answer to a question gets you 1 point (unless otherwise specified)
- Play with up to 5 friends for maximum enjoyment
- Don’t be lame and look things up on the Internet or in Xcode
Round 1: General Knowledge
Current events, miscellaneous tidbits, and random trivia. Following a time-honored traditions for NSHipster quizzes, the first round is always a mis-mash of people, places, and pop culture.
- On iOS 8, what magic phrase can be used to activate Siri, when the device is plugged in?
- What game, crestfallen by the runaway success of its clone, 2048, was at least slightly vindicated last night with an ADA win?
- Which alternative search engine was added to the latest release of Safari?
- Weeks after its announcement, Apple finally confirmed its $3B acquisition of Beats Electronics. What is the name of Dre’s Co-founder?
- Yosemite is, of course, the code name of OS X Yosemite, but this code name was used before. What was the product? (Hint: It was released in 1999 and had a top clock speed of 450MHz)
- What is the name of the valley in Yosemite that was flooded after construction of the O’Shaughnessy Dam in 1927, which provides drinking water to San Francisco?
- Much of the reason why Yosemite exists today is thanks to the Sierra Club and a Scottish-born naturalist. What is this gentleman’s name?
- 20 years ago, Apple launched a new experimental language. It had a syntax like this:
let x :: <integer> = 2;
. What was this language’s name? - What does a Swift eat?
- What is the birdwatching term for the overall impression or appearance of a bird based on its shape, posture, & flying style?
Round 2: So You Think You Can Swift?
Having only been introduced the day before, Swift was fresh on everyone’s minds, and the hot topic of conversation. To put everyone’s knowledge to the test, the following 10 exercises were posed to attendees.
For anyone revisiting this quiz months or years after the fact, this should be incredibly easy. But just imagine coming into these questions having only skimmed a few hundred pages of the Swift iBook (if at all). And now imagine that you’re a beer and a half into a late night during the week of WWDC. Now you can start to appreciate how grumpy this round made a lot of people.
- Declare a constant
d
equal to3.0
. - Declare a variable
s
of typeString
. - Interpolate the value of
d
into a String literal. - Set a var
b
to28
using an octal literal. - Declare an optional property of type
Int
namedx
. - Declare a Highlander
enum
of typeInt
, with an element named “One”. - Override viewDidLoad in a UIViewController Subclass.
- Declare a class C that adopting the NSCoding protocol.
- Alias
String
asRope
. - Declare a protocol method
m
, which returns both anInt
, and aDictionary
, withString
keys and any value.
Round 3: Music Round
Rounding out the competition was the venerable staple of pub trivia everywhere: the music round!
The theme of this music round is—you guessed it—songs used in Apple commercials. For each song, score yourself a point for the correct title, artist, and Apple product advertised.
Due to the peculiarities of embedded video, you may have to click through in order to hear the song. Don’t worry—the link is to the song itself, not the Apple ad, so you’ll at least have something to puzzle over.
Answers
Round 1: General Knowledge
- “Hey Siri”
- Threes
- DuckDuckGo
- Jimmy Iovine
- Power Macintosh G3 (Blue & White)
- Hetch Hetchy
- John Muir
- Dylan
- Insects
- Jizz
Round 2: So You Think You Can Swift?
let d = 3.0
var s: String
"\(d)"
var b = 0o34
var x: Int?
enum Highlander: Int { case One = 1}
override func view
Did Load() { ... } class C: NSCoding
typealias Rope = String
func m() -> (Int, Dictionary<String,Any>)
Round 3: Music Round
- iPod 3G: Jet — “Are You Gonna Be My Girl?”
- G4 Cube: The Jimi Hendrix Experience — “Purple Haze”
- iPod Shuffle: Caesars — “Jerk It Out”
- iTunes: Green Day — “I Fought The Law”
- iPod 4G (U2 Special Edition): U2 — “Vertigo”
- OS X (First-Run Experience): Honeycut — “Exodus Honey”
- iPod 1G: The Propellerheads — “Take California”
- iPhone 5s: Pixies — “Gigantic”
- iBook: Miles Davis — “Flamenco Sketches” (with voiceover by Jeff Goldblum)
- iMac “Sage”: Kermit The Frog — “(It’s Not Easy) Bein’ Green”
How did you do this time? Tweet out your score to see how you stack up to your peers!