Test your basic knowledge |

Objective C Programming Basics

Subjects : it-skills, apple
  • 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 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.

2. Square bracket syntax for calling a method

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

4. A protocol declared as a category usually as a category of the NSObject class.

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

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

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

8. An object that acts on behalf of another object.

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

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

11. The most flexible C data type: ______

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

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

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

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

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

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

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

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

20. An object id with a value of 0.

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

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

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

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

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

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

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

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

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

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

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

32. ARC is susceptible to retain _____

33. The root class in Objective-C

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

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

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

37. ______ operators take a single operand

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

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

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

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

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

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

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

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

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

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

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

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

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