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






2. In a home building analogy a ____ is the blueprint and the object is the house






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






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






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






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






7. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions






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






9. Placing a ____ before a normal variable name gives it's address






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






11. A ____ ____ is a situation where you free memory and then accidentally continue to use it






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






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






14. ______ operators take a single operand






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






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






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






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






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






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






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






22. The first index in an array is valued at ____






23. The _____ function can be used to print a message to the console






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






40. A class is said to do this when it declares that it implements all the methods in the protocol.






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






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






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






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






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






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






47. Property attribute that causes the setter to store a strong reference to the assigned value






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






49. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block






50. Finding the method implementation to invoke in response to the 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