Skip to content

Latest commit

 

History

History
181 lines (132 loc) · 8.63 KB

2013-04-22-nshipster-quiz-1.md

File metadata and controls

181 lines (132 loc) · 8.63 KB
title author category excerpt status
NSHipster Quiz #1
Mattt Thompson
Trivia
Test your knowledge of general programming knowledge, Cocoa APIs, and Apple trivia in this first-ever NSHipster Quiz. How NSHip are you?
swift
n/a

On April 9th, the first-ever NSHipster Pub Quiz was held in Berlin. Think of your traditional pub quiz crossed with "Stump the Experts", with questions about things that you know and care about: computers, programming, Apple trivia—that sort of thing. The event was hosted by UIKonf, and made possible by its organizers Chris Eidhof, Matt Patterson, and Peter Bihr. Thanks again to Chris, Matt, and Peter, and everyone who came out to make it such an amazing event.

All told, a whopping 50-some folks came out, composing a dozen or so teams of up to 6 people, with names such as "NSBeep", "alloc] win_it]", & "- Bug Fixes / - Performance Improvements". At the end of the evening, it was the CodeKollectiv team that claimed top prize, with a score of 30pts.

Here are the rules to play along at home:

  • There are 4 Rounds, with 10 questions each
  • Record answers on a separate sheet of paper
  • Each correct answer to a question gets you 1 point
  • 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

  1. What does NS stand for?
  2. When Steve Jobs introduced the iPhone, he made a prank call to Starbucks. How many lattés did he order to-go? a. 3000 b. 4000 c. 6000
  3. NSOperation has 4 properties used as keypaths for operation object states. What are they?
  4. On your answer sheet, draw a UITableViewCell with UITableViewCellStyleValue2.
  5. Which UIKit protocol contains the method –tableView:heightForRowAtIndexPath:?
  6. What is the storage type of BOOL? (i.e. typedef equivalent)
  7. When was the Unix Epoch? Hint: NSDate has an initializer referencing this.
  8. What is the current version of Xcode?
  9. What was the first article written on NSHipster?
  10. How many apps were on on the home screen of the first iPhone?

Round 2: APIs

You will be given the name of the class, and the description of the property or method from the documentation. You need to tell me the name of that method or property.

  1. UIView: "A flag used to determine how a view lays out its content when its bounds change."
  2. UIAccessibility: "A brief description of the result of performing an action on the accessibility element, in a localized string."
  3. UIColor: "Returns a color object whose RGB values are 0.0, 1.0, and 1.0 and whose alpha value is 1.0."
  4. UIAlertView: "Sent to the delegate when the user clicks a button on an alert view."
  5. UIButton: "A Boolean value that determines whether tapping the button causes it to glow."
  6. UITableView: "Reloads the specified rows using a certain animation effect."
  7. UITableViewDataSource: "Tells the data source to return the number of rows in a given section of a table view."
  8. UIWebView: "Sets the main page content and base URL."
  9. UIGestureRecognizer: "Sent to the receiver when one or more fingers touch down in the associated view."
  10. UIDictationPhrase: "The most likely textual interpretation of a dictated phrase."

Round 3: Picture Round

    1. What is this?

![Question 1]({{ site.asseturl }}/quiz-1/question-1.jpg)

    1. What is this?

![Question 2]({{ site.asseturl }}/quiz-1/question-2.jpg)

    1. What is this?

![Question 3]({{ site.asseturl }}/quiz-1/question-3.jpg)

    1. What is this?

![Question 4]({{ site.asseturl }}/quiz-1/question-4.jpg)

    1. WTF is this?

![Question 5]({{ site.asseturl }}/quiz-1/question-5.jpg)

    1. Who is this?

![Question 6]({{ site.asseturl }}/quiz-1/question-6.jpg)

    1. Who is this?

![Question 7]({{ site.asseturl }}/quiz-1/question-7.jpg)

    1. Who is this?

![Question 8]({{ site.asseturl }}/quiz-1/question-8.jpg)

    1. Who is this?

![Question 9]({{ site.asseturl }}/quiz-1/question-9.jpg)

    1. In this photo, Bill Gates & Steve Jobs are being interviewed at the D5 conference in 2007 by a man and a woman just off-screen to the left. Who are they? (One point for each person)

![Question 10]({{ site.asseturl }}/quiz-1/question-10.jpg)

Round 4: Name That Framework!

For each question, a list of three classes from the same framework have been listed without their two-letter namespace prefix. Name the framework that they all belong to!

  1. Color List, Matrix, Sound
  2. Composition, URL Asset, Capture Session
  3. Enclosure, Author, Feed
  4. Geocoder, Location, Region
  5. Merge Policy, Mapping Model, Incremental Store
  6. Analysis, Summary, Search
  7. Record, Person, MultiValue
  8. View, View Controller, Skybox Effect
  9. Central Manager, Descriptor, Peripheral Delegate
  10. Filter, Face Feature, Vector

Answers

Round 1: General Knowledge

  1. NeXTSTEP
  2. 4000
  3. isReady, isExecuting, isFinished, isCancelled
  4. textLabel detailTextLabel
  5. UITableViewDelegate
  6. signed char
  7. Midnight UTC, 1 January 1970
  8. 4.6.2 (4H1003)
  9. NSIndexSet
  10. 16

Round 2: APIs

  1. @contentMode
  2. @accessibilityHint
  3. +cyanColor
  4. -alertView:clickedButtonAtIndex:
  5. @showsTouchWhenHighlighted
  6. -reloadRowsAtIndexPaths:withRowAnimation:
  7. -tableView:numberOfRowsInSection:
  8. -loadHTMLString:baseURL:
  9. -touchesBegan:withEvent:
  10. @text

Round 3: Picture Round

  1. Apple I
  2. Apple eMac
  3. Apple Bandai Pippin
  4. Apple QuickTake
  5. New Proposed Apple Campus / "Mothership"
  6. Sir Jonathan "Jony" Ive
  7. Scott Forstall
  8. Bob Mansfield
  9. Susan Kare
  10. Kara Swisher & Walt Mossberg

Round 4: Name That Framework!

  1. App Kit
  2. AV Foundation
  3. Publication Subscription
  4. Core Location
  5. Core Data
  6. Search Kit
  7. Address Book
  8. GLKit
  9. Core Bluetooth
  10. Core Image

So how did you fare? Tweet out your score to see how you stack up to your peers!