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 object-oriented programming a procedure that can be executed by an object.






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






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






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






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






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






7. All objects are created on the _____






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






9. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






19. An object id with a value of 0.






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






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






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






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






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






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






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






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






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






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






30. In the Objective-C language the declaration of a group of methods not associated with any particular class.






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






32. The _____ function can be used to print a message to the console






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






34. ______ operators take a single operand






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. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles






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






38. In object-oriented programming - the method selector (name) and accompanying parameters that tell the receiving object in a message expression what to do.






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






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






41. ______ data types are always zero or greate






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






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






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






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






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






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






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






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






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







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