Get $500+ of the best After Effects files, video templates and music for only $20!
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.

Add Comment

Discussion 20 Comments

  1. Ricardo says:

    89% :) Very nice

  2. adrusi says:

    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.

  3. Aditya says:

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

  4. Bob Wilson says:

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

  5. Bob Wilson says:

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

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

  6. Neogene says:

    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.

  7. 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.

  8. DavidPhillipOster says:

    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.

  9. rahul vyas says:

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

  10. Praveen M says:

    Nice questions.

  11. Carlos says:

    Great job, thanks a lot!!

  12. Steve says:

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

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

  13. Brian says:

    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 :)

  14. Wisdom says:

    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.

  15. oigen90 says:

    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 :)

  16. Joe says:

    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.

  17. Karoly says:

    92,59%, 2 bad answers.

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

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.