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






2. A compiler feature that provides automated memory management






3. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.






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






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






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






7. Pointers are declared by placing a(n) ___ between the type declaration and the variable name






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






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






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






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






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






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






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






15. Objective-C objects should use strong or weak ______






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






17. The most flexible C data type: ______






18. Initializer method traditionally begin with the _____ prefix






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






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






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






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






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






24. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.






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






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






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






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






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






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






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






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






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






34. ______ data types are always zero or greate






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






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






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






38. An object id with a value of 0.






39. Same as class object. (first way to say it.)






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






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






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






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






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






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






46. Objective-C methods are called using ____ _____






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






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






49. ______ operators take a single operand






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







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