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. To destroy an object set the variable that points to it to _____






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






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






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






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






6. A tool that lets you graphically specify your application's user interface. It sets up the corresponding objects for you and makes it easy for you to establish connections between these objects and your own code where needed.






7. In the Objective-C language an object that belongs to (is a member of) a particular class; created at runtime according to the specification in the class definition.






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






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






10. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.






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






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






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






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






15. Objective-C is a _____ of the C language






16. Instance variables are optional in iOS if ________ are used






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






18. Square bracket syntax for calling a method






19. In object-oriented programming the hierarchy of classes that's defined by the arrangement of superclasses and subclasses. Every class (except root classes such as NSObject) has a superclass and any class may have an unlimited number of subclasses.






20. Property attribute that synthesizes only a getter for the property






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






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






23. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.






24. Any class that's one step below another class in the inheritance hierarchy.






25. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.






26. A language such as C that organizes a program as a set of procedures that have definite beginnings and ends.






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






28. ______ data types are always zero or greate






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






30. Objective-C objects should use strong or weak ______






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






32. _____ operators take 2 operands






33. In a format string the place holder for an object is ______






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






35. A class is said to do this when it declares that it implements all the methods in the protocol.






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






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






38. Another name for a class that's defined solely so that other classes can inherit from it.






39. A compiler feature that provides automated memory management






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






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






42. In object-oriented programming an expression that sends a message to an object. In the Objective-C language they are enclosed within square brackets and consist of a receiver followed by a message (method selector and parameters).






43. Property attribute that causes the setter to store a copy of the assigned value






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






45. ______ operators take a single operand






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






47. Property attribute that causes the setter to store a strong reference to the assigned value






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






49. The most flexible C data type: ______






50. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods