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. a+b; is an example of using a _____ operator






2. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met






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






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






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






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






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






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






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






10. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages






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






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






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






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






15. ______ data types are always zero or greate






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






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






18. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






19. An object id with a value of 0.






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






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






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






23. In object-oriented programming the object that is sent a message.






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






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






26. A struct may contain multiple ____ consisting of different data types






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






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






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






30. Property attribute that synthesizes both a getter and setter for the property






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






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






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






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






35. Initializer method traditionally begin with the _____ prefix






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






37. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.






38. Objective-C methods are called using ____ _____






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. Pointers are declared by placing a(n) ___ between the type declaration and the variable name






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






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






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






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






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






46. _____ operators take 2 operands






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






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






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






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







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