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 borrows much of its syntax from ______ one of the earliest object-oriented languages






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






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. The most flexible C data type: ______






5. All objects are created on the _____






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






7. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






27. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.






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






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






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






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






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






33. _____ data types can be both positive and negative






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






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






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






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






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






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






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






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






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






43. ______ data types are always zero or greate






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






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






46. In a home building analogy a ____ is the blueprint and the object is the house






47. There are ____ fundamental building blocks in Objective-C






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






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






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







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