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. Another name for a class that's defined solely so that other classes can inherit from it.






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






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






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






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






6. Initializer method traditionally begin with the _____ prefix






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






8. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.






9. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro






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






11. ______ data types are always zero or greate






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






13. An object id with a value of 0.






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






15. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.






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






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






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






19. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.






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






21. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.






22. Property attribute that synthesizes accessors that are not thread safe






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






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






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






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






27. The root class in Objective-C






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






44. Objective-C methods are called using ____ _____






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






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






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






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






49. Data types are divided into two main categories: integer and ______






50. An object in another application - one that's a potential receiver for a remote message.







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