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






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






3. ______ data types are always zero or greate






4. ARC is susceptible to retain _____






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






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






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






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






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






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






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






12. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.






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






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






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






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






17. Square bracket syntax for calling a method






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






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






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






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






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






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






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






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






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






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






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






29. _____ operators take 2 operands






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






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






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






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






34. The most flexible C data type: ______






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






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






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






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






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






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






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






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






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






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






45. _____ data types can be both positive and negative






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






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






48. ______ operators take a single operand






49. All objects are created on the _____






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







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