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. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.






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






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






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






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






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






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






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






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






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






11. Initializer method traditionally begin with the _____ prefix






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






13. ______ operators take a single operand






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






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






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






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






18. The root class in Objective-C






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






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






21. An object id with a value of 0.






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






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






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






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






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






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






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






29. Square bracket syntax for calling a method






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






31. ______ data types are always zero or greate






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






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






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






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






36. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings






37. Objective-C methods are called using ____ _____






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






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






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






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






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






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






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






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






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






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






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






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






50. ARC is susceptible to retain _____







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