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. The _____ function can be used to print a message to the console






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






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






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






5. Objective-C is a _____ of the C language






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






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






8. 7 Common Integer data types: BOOL - char- short - int - long - _____ - NSInteger






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






24. In the Objective-C language the declaration of a group of methods not associated with any particular class.






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






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






27. Initializer method traditionally begin with the _____ prefix






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






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






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






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






32. A compiler feature that provides automated memory management






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






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






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






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






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






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






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






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






41. ARC is susceptible to retain _____






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






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






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






45. ______ operators take a single operand






46. Objective-C methods are called using ____ _____






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






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






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






50. The time when source code is compiled; constrained by the amount and kind of information encoded in source 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