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. Property attribute where the setter stores the assigned value but does not perform any memory management.






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






3. a+b; is an example of using a _____ operator






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






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






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






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






8. ______ operators take a single operand






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






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






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






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






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






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






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






16. All objects are created on the _____






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






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






19. Any method that can be used by an instance of a class rather than by the class object.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






34. The most flexible C data type: ______






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






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






37. Objective-C methods are called using ____ _____






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






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






40. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.






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






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






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






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






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






46. The root class in Objective-C






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






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






49. ______ data types are always zero or greate






50. Square bracket syntax for calling a method







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