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. Property attribute that synthesizes accessors that are not thread safe






2. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles






3. A compiler feature that provides automated memory management






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






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






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






7. The most flexible C data type: ______






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






9. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.






10. ______ data types are always zero or greate






11. All objects are created on the _____






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






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






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






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






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






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






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






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






20. The root class in Objective-C






21. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.






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






23. ARC is susceptible to retain _____






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






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






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






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






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






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






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






31. The name of a method when it's used in a source-code message to an object or the unique identifier that replaces the name when the source code is compiled.






32. An architecture that facilitates communication between objects in different address spaces.






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






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






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






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






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






38. A logical subdivision of a program within which all names must be unique. Symbols in one do not conflict with identically named symbols in another.






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






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






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






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






43. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method






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






45. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages






46. Objective-C methods are called using ____ _____






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






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. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of C types - _____ - enums and objects






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