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 compiler feature that provides automated memory management






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






27. ______ operators take a single operand






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






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






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






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






32. Short for mutual exclusion semaphore. An object used to synchronize thread execution.






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






34. A memory-management technique in which each entity that claims ownership of an object increments the object's reference count and later decrements it; allows one instance of an object to be safely shared among several other objects.






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






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






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






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






39. The root class in Objective-C






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






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






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






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






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






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






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






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






48. ______ data types are always zero or greate






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






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







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