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. C-style strings always end with a ____ character






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






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






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






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






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






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






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






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






10. _____ data types can be both positive and negative






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






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






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






14. Xcode sequence to examine an app for memory leaks or retain cycles






15. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






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






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






27. Square bracket syntax for calling a method






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






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






30. A protocol that's declared with the @protocol directive. Classes can adopt these - objects can respond at runtime when asked if they conform to them and instances can be typed by those that they conform to.






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






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






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






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






35. All objects are created on the _____






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






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






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






39. Initializer method traditionally begin with the _____ prefix






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






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






42. Each class should have a ______ initializer a single method responsible for performing all of the object's setup and initialization.






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






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






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






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






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






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






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






50. ______ operators take a single operand







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests