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. _____ data types can be both positive and negative






2. A message sent from one application to an object in another application.






3. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.






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






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






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






7. In object-oriented programming a procedure that can be executed by an object.






8. ______ data types are always zero or greate






9. Discovering the class of an object at runtime rather than at compile time.






10. The _____ function can be used to print a message to the console






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






12. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.






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






14. In object-oriented programming the object that is sent a message.






15. The time after a program is launched and while it's running. Decisions made at during this time can be influenced by choices the user makes.






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






17. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met






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






19. Three main categories of more complicated data structures:_______ - arrays and structs






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






21. If you are compiling an application with ARC (Automatic reference Counting) you _______ store Objective-C objects inside a struct






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






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






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






25. Objective-C binds methods and arguments at _____ instead of compile time






26. _____ allow you to add new methods to existing classes






27. An object of unknown class. Interface is published through protocol declaration.






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






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






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






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






32. a+b; is an example of using a _____ operator






33. In the Objective-C language the declaration of a group of methods not associated with any particular class.






34. _____ allow indirect access and modification of a variable's value.






35. In a home building analogy a ____ is the blueprint and the object is the house






36. A ____ ____ is a situation where you free memory and then accidentally continue to use it






37. The most flexible C data type: ______






38. To destroy an object set the variable that points to it to _____






39. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.






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






41. A programming technique that hides the implementation of an operation from its users behind an abstract interface; allows the implementation to be updated or changed without impacting the users of the interface.






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






43. a++; is an example of using a _____ operator






44. The process of setting or reading the value at an address pointed to by a pointer






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






46. Short for mutual exclusion semaphore. An object used to synchronize thread execution.






47. ______ operators take a single operand






48. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






49. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.






50. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.