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. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






2. The root class in Objective-C






3. ______ data types are always zero or greate






4. A language such as C that organizes a program as a set of procedures that have definite beginnings and ends.






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






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






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






8. All objects are created on the _____






9. Square bracket syntax for calling a method






10. ______ operators take a single operand






11. Three main categories of more complicated data structures:_______ - arrays and structs






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






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






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






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






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






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






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






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






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






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






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






23. The part of an Objective-C class specification that defines public methods (those declared in the class's interface) as well as private methods (those not declared in the class's interface).






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






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






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






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






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






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






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






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






32. _____ data types can be both positive and negative






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






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






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






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






37. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method






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






39. Initializer method traditionally begin with the _____ prefix






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






41. Same as class object. (second way to say it.)






42. A compiler feature that provides automated memory management






43. In a format string the place holder for an object is ______






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






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






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






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






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






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






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







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