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. In a home building analogy a ____ is the blueprint and the object is the house






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






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






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






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






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






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






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






9. _____ data types can be both positive and negative






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






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






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






13. Square bracket syntax for calling a method






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 _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.






16. Initializer method traditionally begin with the _____ prefix






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






18. The most flexible C data type: ______






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






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






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






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






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






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






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






26. ARC is susceptible to retain _____






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






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






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






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






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






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






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






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






35. Discovering the class of an object at runtime rather than at compile time.






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






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






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






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






40. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles






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






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






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






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






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






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






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






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






49. 7 Common Integer data types: BOOL - char- short - int - long - _____ - NSInteger






50. Objective-C methods are called using ____ _____







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