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 Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.






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






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






4. ______ operators take a single operand






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. _____ allow indirect access and modification of a variable's value.






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






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






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






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






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






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






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






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






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






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






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






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






19. The most flexible C data type: ______






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






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






22. All objects are created on the _____






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






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






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






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






27. ______ data types are always zero or greate






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






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






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






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






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






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






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






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






36. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.






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






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






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






40. _____ operators take 2 operands






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






42. An object id with a value of 0.






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






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






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






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






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






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






49. Initializer method traditionally begin with the _____ prefix






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







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