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






2. The most flexible C data type: ______






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






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






5. A variable that points to the memory address of another value






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






7. ARC is susceptible to retain _____






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






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






10. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.






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






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






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






14. The root class in Objective-C






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






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






17. Square bracket syntax for calling a method






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






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






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






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






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






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






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. In object-oriented programming the object that is sent a message.






26. ______ data types are always zero or greate






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






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






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






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






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






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






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






34. Property attribute where the setter stores the assigned value but does not perform any memory management.






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






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






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






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






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






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






41. Initializer method traditionally begin with the _____ prefix






42. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings






43. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership






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






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






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






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






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






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






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