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. C-style strings always end with a ____ character






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






3. ARC is susceptible to retain _____






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






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






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






7. Square bracket syntax for calling a method






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






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






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






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






12. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.






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






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






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






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






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






18. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.






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






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






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






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






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






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






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






26. The part of an Objective-C class specification that defines public methods (those declared in the class's interface) as well as private methods (those not declared in the class's interface).






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






28. _____ operators take 2 operands






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






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






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






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






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






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






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






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






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






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






39. a++; is an example of using a _____ operator






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






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






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






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






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






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






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






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






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






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






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







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