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. 3 Common Float data types: float - _____ - CGFloat






2. 7 Common Integer data types: BOOL - char- short - int - long - _____ - NSInteger






3. Symbol used to denote a placeholder in a format string






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






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






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






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






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






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






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






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






12. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






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






19. The root class in Objective-C






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






21. Objective-C methods are called using ____ _____






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






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






24. The time when files compiled from different source modules are linked into a single program. Decisions made by the linker are constrained by the compiled code and ultimately by the information contained in source code.






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






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






27. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






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






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






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






31. Any variable that's part of the internal data structure of an instance; declared in a class definition and become part of all objects that are members of or inherit from the class.






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






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






34. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






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






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






46. A ____ ____ is a situation where you free memory and then accidentally continue to use it






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






48. To destroy an object set the variable that points to it to _____






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






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







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