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. Same as class object. (second way to say it.)






2. The most flexible C data type: ______






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






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






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






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






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






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






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






10. The root class in Objective-C






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






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






13. A programming technique that hides the implementation of an operation from its users behind an abstract interface; allows the implementation to be updated or changed without impacting the users of the interface.






14. ______ data types are always zero or greate






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






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






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






18. ARC is susceptible to retain _____






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






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






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






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






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






24. Objective-C methods are called using ____ _____






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






26. A language such as C that organizes a program as a set of procedures that have definite beginnings and ends.






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. A ____ _____ is where you forget to free up memory






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






30. _____ operators take 2 operands






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






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






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






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






35. _____ data types can be both positive and negative






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






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






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






39. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method






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






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






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






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






44. All objects are created on the _____






45. ____ provide a concise & elegant method for defining a discrete set of values






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






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






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






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






50. Pointers are declared by placing a(n) ___ between the type declaration and the variable name







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