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






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






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






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






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






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






7. A memory-management technique in which each entity that claims ownership of an object increments the object's reference count and later decrements it; allows one instance of an object to be safely shared among several other objects.






8. Property attribute that synthesizes accessors that are not thread safe






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






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






11. Objective-C methods are called using ____ _____






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






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






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






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






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






17. a+b; is an example of using a _____ operator






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






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






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






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






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






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






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






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






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






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






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






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






30. _____ operators take 2 operands






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






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






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






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






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






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






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






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






39. Property attribute that synthesizes only a getter for the property






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






41. A compiler feature that provides automated memory management






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






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






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






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






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






47. An object id with a value of 0.






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






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






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







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