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. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






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






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






4. A ____ _____ is where you forget to free up memory






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






6. Square bracket syntax for calling a method






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






8. Objective-C methods are called using ____ _____






9. The root class in Objective-C






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






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






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






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






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






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






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






17. ARC is susceptible to retain _____






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






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






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






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






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






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






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






25. A protocol declared as a category usually as a category of the NSObject class.






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






27. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.






28. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.






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






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






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






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






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






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






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






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






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






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






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






40. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






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