Home > iOS Programming > Quizzes > Objective C Programming Basics
Objective C Programming Basics
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 14% Most missed: “A prototype for a particular kind of object; declares instance variables and def…”
Objective C Programming Basics
Time left 00:00
25 Questions

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

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

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

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

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

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

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

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

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

10. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.

11. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.

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

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

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

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

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

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

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

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

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

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

22. All objects are created on the _____

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

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

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