Test your basic knowledge |

Objective C Programming Basics

Subjects : it-skills, apple
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. ______ operators take a single operand






2. This symbol denotes a method as being a class method






3. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






4. In C all functions pass their arguments by ____ which means the compiler makes local copies of those arguments






5. In Objective-C floats are more commonly used than ______






6. The general type for any kind of object regardless of class; defined as a pointer to an object data structure; can be used for both class objects and instances of a class.






7. Objective-C's protocols are really about communicating _____ _______






8. ARC is susceptible to retain _____






9. The direct or indirect report of external activity especially user activity on the keyboard and mouse.






10. There are ____ fundamental building blocks in Objective-C






11. ____ provide a concise & elegant method for defining a discrete set of values






12. Xcode sequence to examine an app for memory leaks or retain cycles






13. Square bracket syntax for calling a method






14. ______ data types are always zero or greate






15. Symbol used to denote a placeholder in a format string






16. A method that can operate on class objects rather than instances of the class.






17. Pointers are declared by placing a(n) ___ between the type declaration and the variable name






18. Objective-C methods are called using ____ _____






19. Property attribute that synthesizes both a getter and setter for the property






20. Any method that can be used by an instance of a class rather than by the class object.






21. The time when source code is compiled; constrained by the amount and kind of information encoded in source files.






22. C-style strings always end with a ____ character






23. Data types are divided into two main categories: integer and ______






24. A technique used in C-based languages where the operating system provides memory to a running application as it needs it instead of when it launches.






25. Initializer method traditionally begin with the _____ prefix






26. C-style strings are stored in an array of _____






27. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






28. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.






29. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______






30. The first index in an array is valued at ____






31. A protocol that's declared with the @protocol directive. Classes can adopt these - objects can respond at runtime when asked if they conform to them and instances can be typed by those that they conform to.






32. Property attribute that causes the setter to store a zeroing weak reference to the assigned value






33. Same as class object. (second way to say it.)






34. Finding the method implementation to invoke in response to the message






35. A remote message that doesn't return until the receiving application finishes responding to the message. Because the application that sends the message waits for an acknowledgment or return information from the receiving application - the two applica






36. An object that acts on behalf of another object.






37. A struct may contain multiple ____ consisting of different data types






38. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions






39. Placing a ____ before a normal variable name gives it's address






40. A set of method definitions that is segregated from the rest of the class definition.






41. Property attribute that synthesizes accessors that are not thread safe






42. Same as class object. (first way to say it.)






43. The part of an Objective-C class specification that defines public methods (those declared in the class's interface) as well as private methods (those not declared in the class's interface).






44. An object in another application - one that's a potential receiver for a remote message.






45. This symbol denotes a method as being an instance method






46. Xcode sequence to convert non-ARC apps to ARC






47. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.






48. When creating a class implementation file you begin with the _____ keyword and close with the @end keyword






49. 3 Common Float data types: float - _____ - CGFloat






50. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block