Fundamentals of Objective-C Quiz: Part 1 – Theory

Fundamentals of Objective-C Quiz: Part 1 – Theory

This is the first in a two-part quiz on the fundamentals of Objective-C. In part 1, you’ll have your knowledge tested with a series of theory-based multiple-choice and true/false questions. In part 2, we’ll move on to pure code. Think you understand the fundamentals of Objective-C? Let’s find out.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Ricardo

    89% :) Very nice

  • http://adrusi.com adrusi

    74.07%

    not good, but not bad since I’m not an Objc dev.

    by the way, this quiz introduced a bit of foundation framework questions. remember that the alloc method is actually a method defined in NSObject, which is not a part of the core language.

  • Aditya

    Got 85.19%. Not bad, but could have been better.

  • Bob Wilson

    USELESS … Using iPad .. No button or link to begin ???

  • Bob Wilson

    88.9 – am happy (and surprised) I did that well…

    Thanks for making quiz avail. It emphasized my weak areas needing improvement. Thanks.

  • Neogene

    I score a 96.3% (26/27) the only question i did wrong was the one about the “without an gc objects allocated must be released”,

    This is true until xcode <4.2 because the beta of 4.2 includes the automatic reference counting feature.

    Soon or later an allocated should be released, or this means that the object lives for the whole application.

  • http://www.mcubedsw.com Martin Pilkington

    96.3% but I believe Question 18 is wrong, or at least badly worded. It states “Formal protocols in Objective-C are compiler-enforced”. The tests says this is true, when it in fact isn’t. Formal protocols are compiler checked, but not compiler enforced, as they only result in warnings.

    • Klaus

      That’s exactly what I was thinking.

    • http://jainmarket.blogspot.com rahul vyas

      Good catch Martin.

  • DavidPhillipOster

    Contrary to the test, Objective-C messages are checked by the compiler: in the message call:
    [NSString stringWithString:2]; for example, the compiler checks the types of the arguments, and reports a type error.

    Now in [foo performSelector:@selector(fum)];, the compiler does not check that foo’s type can actually execute “fum” but that is a different matter. The question as stated is not clear enough to warrant its answer.

  • http://jainmarket.blogspot.com rahul vyas

    Got 84.67 something. Not bad actually but need to improve myself.

  • Praveen M

    Nice questions.

  • http://www.ecubeapps.com Carlos

    Great job, thanks a lot!!

  • Steve

    Sigh….dream to make an iOS app has shuttered….

    An orc would have performed just as good as you! You scored 62.96%

  • Brian

    cool…more! i got job interviews coming up need the practice
    though i only scored 89 so have decided to cover my flat in virtual post it notes with objC rules :)

  • Wisdom

    You’re awesome enough to just walk into Mordor, aren’t you? You scored 100%

    :-) Didn’t even expect that after not touching Objective-C for over a year now.

  • oigen90

    92.59%

    Not bad for a couple weeks of learning. But, as for me, questions were very easy, even you’re not experienced developer.

    P.S. Hello from Ukraine :)

  • Joe

    Any clue when part two is available? I missed three of them, (88.89%) but that is because one was worded funny, and other is debatable as discussed by DavidPhillipOster already. So no Mordor yet.

  • http://www.techgaun.com brisha

    96.3 %

  • http://www.leakka.com Karoly

    92,59%, 2 bad answers.

    Thanks for the quiz, not taking the 2nd one.

  • Nitin Chauhan

    Good enough, I guess. You scored 81.48%. i have to improve myself more.

  • SRIKANATH

    Good enough, I guess. You scored 80.37%

  • Reshma

    Thanks for the quiz

  • Nick

    Few questions are in conflict with stuff that Stanford University teaches. Like this garbage collecting (old approach). And this ppl were there while making this language :S

  • Trying to learn

    85.19%