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. Objective-C binds methods and arguments at _____ instead of compile time






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






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






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






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






6. Property attribute where the setter stores the assigned value but does not perform any memory management.






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






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






9. Each class should have a ______ initializer a single method responsible for performing all of the object's setup and initialization.






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






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






12. An object id with a value of 0.






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






14. Initializer method traditionally begin with the _____ prefix






15. ARC is susceptible to retain _____






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






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






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






19. In object-oriented programming the hierarchy of classes that's defined by the arrangement of superclasses and subclasses. Every class (except root classes such as NSObject) has a superclass and any class may have an unlimited number of subclasses.






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






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






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






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






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






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






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






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






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






29. _____ 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'.






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






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






32. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.






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






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






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






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






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






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






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






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






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






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






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






44. A ____ ____ is a situation where you free memory and then accidentally continue to use it






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






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






47. ______ operators take a single operand






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






49. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'






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







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