NSHipster Quiz #5
This past weekend, I had the honor of speaking at NSNorth, in Ottawa, Ontario. The conference focused on the aspects of community, culture, and family in programming, and I cannot think of a conference in recent memory that better exemplified these themes, both in its speakers and attendees.
With the help of NSNorth’s organizers, Dan Byers and Philippe Casgrain, we were able to put together an NSHipster Pub Quiz. Because of time constraints, the format was a bit different than usual, with just 2 rounds instead of 4, and an activity sheet.
Nevertheless, the content was as challenging and the competition was as fierce as always, with the team led by (and named after) Jessie Char taking first place with an impressive 24 points.
As always, you can play along at home or at work with your colleagues. Here are the rules:
- There are 2 Rounds and an activity sheet, 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.
- In 2011, Apple deprecated OS X’s Common Data Security Architecture, leaving them unaffected by what recent vulnerability.
- According to rumors, Apple will be partnering with which company to add song recognition functionality to Siri in iOS 8?
- The White House expressed disappointment over a “selfie” of Boston Red Sox player David Ortiz and President Obama, due to allegations that it was a promotional stunt for which company?
- In Sony’s forthcoming Steve Jobs biopic, which actor was recently rumored to being approached by director Danny Boyle to play the lead role? For a bonus point: which actor was previously confirmed for this role, before director David Fincher backed out of the project?
- In Apple’s Q2 Earnings call, Tim Cook announced the company had acquired 24 companies so far in 2014, including Burstly, which is better known for what service for iOS developers?
- After a rumored $3.2 billion acquisition bid by Apple, which American record producer, rapper and entrepreneur has described himself as “the first billionaire in hip hop”? For a bonus point: what is his legal (i.e. non-stage) name?
- A widespread (and recently debunked) rumor of Apple announcing Lightning-cable-powered biometric ear buds was originally disclosed on which social network for Silicon Valley insiders?
- Oracle won an important victory in the U.S. Court of Appeals against Google in their suit regarding copyright claims of what?
- What hot new social networking app allows you to anonymously chat with patrons of its eponymous, popular American chain restaurant?
- If one were to sit down at a NeXTstation and open “/NextLibrary/Frameworks/AppKit.framework/Resources/”, they would find the file “NSShowMe.tiff”. Who is pictured in this photo?
Round 2: Core Potpourri
With the fluff out of the way, it’s now time to dive into some hardcore Cocoa fundamentals. How well do you know the standard library?
- What unit does a Bluetooth peripheral measure RSSI, or received signal strength intensity in?
- What is the return value of the following code:
UTType
?Create Preferred Identifier For Tag(k UTTag Class MIMEType, @"image/jpeg", NULL) - What function must be called before calling
Sec
on aTrust Get Certificate Count Sec
?Trust Ref - What UIKit class can be used to show the definition of a word?
- An
SCNetwork
can be created from three different sets of arguments. Fill in the blankReachability Ref SCNetwork
. (1 pt. each)Reachability Create With_______ -
mach_absolute_time()
returns a count of Mach absolute time units. What function can be used to convert this into something more useful, like nanoseconds? - How many arguments does
CGRect
take?Divide - What function would you call to generate a random integer between
1
andN
- What CoreFoundation function can, among other things, transliterate between different writing systems?
- What is LLVM’s logo? And, for a bonus point: What is GCC’s logo?
Activity Sheet: NSAnagram
First introduced in NSHipster Quiz #4, NSAnagram has become loved and hated, in equal parts, by those who have dared to take the challenge. Each question is an anagram, whose letters can be rearranged to form the name of a class or type in a well-known system framework (hint: Foundation, CoreFoundation, CoreLocation, StoreKit, and UIKit are represented here). Good luck!
- Farms To Rent
- Zest On Mine!
- A Stressful Nude
- Non-payment Attacks, Sir!
- Allegiant Ace, Conglomerated
- Mental Burlesque Ruts
- Ulcer Porn: OFF
- Forgive Traded Crap
- Cautionary Mini Dam
- Coil Infatuation… Coil
Answers
Round 1: General Knowledge
- Heartbleed
- Shazam
- Samsung
- Leonardo DiCaprio, previously Christian Bale)
- TestFlight
- Dr. Dre, a.k.a Andre Romelle Young
- Secret
- Java APIs
- WhatsApplebees
- A young Scott Forstall
Round 2: Core Potpourri
- decibels (dB)
public.jpeg
Sec
Trust Evaluate UIReference
Library View Controller Address
,Address
,Pair Name
mach_timebase_info()
- 5
arc4random_uniform
CFString
Transform - LLVM’s Logo is a wyvern, or dragon. GCC’s Logo is an egg (with a gnu bursting out of it)
Round 3: NSAnagram
NSFormatter
NSTime
Zone NSUser
Defaults SKPayment
Transaction CLLocation
Manager Delegate NSMutable
URLRequest CFRun
Loop Ref CGData
Provider Ref UIDynamic
Animator UILocal
Notification
How did you do this time? Tweet out your score to see how you stack up to your peers!