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






2. _____ data types can be both positive and negative






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






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






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






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






7. ______ data types are always zero or greate






8. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership






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






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






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






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






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






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






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






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






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






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






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






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






21. ARC is susceptible to retain _____






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






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






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






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






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






27. _____ operators take 2 operands






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






29. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met






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






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






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






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






34. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings






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






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






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






38. 3 Common Float data types: float - _____ - CGFloat






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






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






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






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






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






44. Property attribute where the setter stores the assigned value but does not perform any memory management.






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






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






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






48. Objective-C methods are called using ____ _____






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






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







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