Question types

Start with

Question limit

of 93 available terms

Print test

92 Matching questions

  1. Property attribute that synthesizes both a getter and setter for the property
  2. Protocols are adopted by adding a _____- _______ list of protocols inside _____ ______ after the _______ _________ in a class's _______ block
  3. ____ provide a concise, elegant method for defining a discrete set of values
  4. The most flexible C data type: ______
  5. Create a CGRect object called r3 with an origin (top-left corner) of (100, 200), a width of 10 and a height of 20 using a struct literal formulation
  6. Each class should have a ______ initializer, a single method responsible for performing all of the object's setup and initialization. Typically it is the initializer with the largest number of arguments.
  7. In a home building analogy, a ____ is the blueprint and the _____ is the house
  8. What is the intention of the Objective-C command: typedef double NSTimeInterval;
  9. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations
  10. Xcode sequence to examine an app for memory leaks or retain cycles
  11. Zeroing weak referencing should be used for _____ and _____ to prevent inadvertent retain cycles
  12. The root class in Objective-C
  13. Write an Objective-C statement to create a literal array of integers named fibo containing 1, 1, 2, 3, 5
  14. To destroy an object, set the variable that points to it to _____
  15. Rather than using arrays in Objective-C, we often are able to use it's collection classes of ____, ____ and _____ with _____ for strings
  16. The 6 main categories of operators are: ____, _____, _____, ______, _______ and _______
  17. Objective-C is a _____ of the C language
  18. A compiler feature that provides automated memory management
  19. ARC is susceptible to ____ _____
  20. A retain cycle occurs when...
  21. A ____ _____ is where you forget to free up memory
  22. Given: a Java command: graduationParty.addAttendeeWithDish("Aunt Jane", "deviled eggs"); Re-write in Objective-C.
  23. The process of setting or reading the value at an address pointed to by a pointer
  24. Initializer method traditionally begin with the _____ prefix
  25. Square bracket syntax for calling a method
  26. A _______ method is one that is likely to be unsupported in the future (although it may work in the present). It's use should be discontinued.
  27. The _____ function can be used to print a message to the console
  28. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: _____ and _______
  29. a+b; is an example of using a _____ operator
  30. All objects are created on the _____
  31. This symbol denotes a method as being a class method
  32. ARC
  33. Correct the error: NSMutableArray items = [[NSMutableArray init] alloc];
  34. _____ allow indirect access and modification of a variable's value.
  35. Procedures (like verbs) are processes that manipulate or transform data, and in Objective-C these 3 elements are _____, ______, and _____
  36. Data types are divided into two main categories: _____ and ______
  37. ______ operators take a single operand
  38. This symbol denotes a method as being an instance method
  39. Three main categories of more complicated data structures (beyond simple or 'primitive' data types)
  40. Given: [graduationParty addAttendee: @"Aunt Jane" withDish: @"deviled eggs"]; The 'receiver' is _______; the 'selector' is _________; the 'argument(s)' is(are) _______
  41. Property attribute that synthesizes only a getter for the property
  42. _____ allow you to add new methods to existing classes.
  43. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity, operating at times like a proverbial 'black-box'.
  44. To create a "Command Line Tool" type project from a template you must choose _____ from the ______ menu in the template selection area
  45. Integer data types come in _____ and _____ variants
  46. When creating a class header file, you begin with the _____ keyword and close with the _____ keyword
  47. C-style strings always end with a ____ character
  48. Rewrite as a 'foreach' construction:for(int i = 0; i < [items count]; i++){NSLog(@"%@", items objectAtIndex:i]);} Use an NSString called 's' as the variable.
  49. In the correct statement: int a = 5; 'int' is the ______, 'a' and '5' are the _______ and '=' is the ______. 'a' is known as the variable _______
  50. Objective-C methods are called using ____ _____
  51. NSMutableArray *items = [[NSMutableArray alloc] init]
  52. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of _____, _____, _____, and ______
  53. True or false: char s1[5] = "test"; is a correct declaration/initialization for a C-style string
  54. In computer science, the mathematical concept of "order of operations' is known as the "order of ______"
  55. Write an Objective-C statement to create an array named myList to hold 10 integers
  56. There are ____ fundamental building blocks in Objective-C
  57. If you are compiling an application with ARC, you _____ store Objective-C objects inside a _____
  58. Consider: [NSString alloc]. 'alloc' is an example of a(n) ______ method rather than a(n) _______ method
  59. Placing a(n) ____ before a normal variable name gives it's address
  60. Xcode sequence to convert non-ARC apps to ARC
  61. Pointers are declared by placing a(n) ___ between the type declaration and the variable name
  62. C-style strings are stored in an array of _____
  63. A variable that points to the memory address of another value
  64. In a format string, the place holder for an object is ______
  65. Objective-C binds methods and arguments at _____ instead of _______ time
  66. What is the result of the following code: int a=10; int b=&a; b=15;
  67. In C, all functions pass their arguments by ____, which means the compiler makes local copies of those arguments
  68. Property attribute that causes the setter to store a copy of the assigned value
  69. 7 Common Integer data types
  70. KVC
  71. Given: if(n % 2 == 0)isEven = YES; else isEven = NO; Rewrite using a ternary operator formulation
  72. KVO
  73. When creating a class implementation file, you begin with the _____ keyword and close with the _____ keyword
  74. a++; is an example of using a _____ operator
  75. Objective-C's protocols are really about communicating _____ _______
  76. Correct the error: NSMutableArray items = [[NSMutableArray alloc] init];
  77. Create a CGRect object called r3 with an origin (top-left corner) of (100, 200), a width of 10 and a height of 20 using a helper function formulation
  78. _____ operators take 2 operands
  79. Property attribute that synthesizes accessors that are not thread safe
  80. Symbol used to denote a placeholder in a format string
  81. A struct may contain multiple ____ consisting of ______ data types
  82. The first index in an array is valued at ____
  83. Instance variables are ________ in iOS if ________ are used
  84. 3 Common Float data types
  85. A ____ ____ is a situation where you free memory and then accidentally continue to use it
  86. Objective-C borrows much of its syntax from ______, one of the earliest object-oriented languages
  87. Property attribute where the setter stores the assigned value but does not perform any memory management. Should only be used for storing non-object data (int, float, etc). Objective-C objects should use strong or weak attributes instead
  88. _____ data types can be both positive and negative, while ______ data types are always zero or greate
  89. True or false: In Objective-C, floats are more commonly used that doubles
  90. Property attribute that causes the setter to store a strong reference to the assigned value
  91. Property attribute that causes the setter to store a zeroing weak reference to the assigned value
  92. Alternative code for: if(venue == nil){[organizer remindToFindVenueForParty];}
  1. a Key-value coding
  2. b init
  3. c Binary
  4. d CGRect r3 = CGRectMake(100, 200, 10, 20);
  5. e @interface...@end
  6. f for(NSString *s in items){ NSLog(@"%@", s)};
  7. g Edit>Refactor>Convert to Objective-C ARC
  8. h NSObject
  9. i int fibo[ ] = {1,1,2,3,5};
  10. j %
  11. k [graduationParty addAttendee: @"Aunt Jane" withDish: @"deviled eggs"];
  12. l delegates ... data sources
  13. m comma-separated....angled brackets... superclass declaration....@interface
  14. n readonly
  15. o ...two objects directly or indirectly refer to each other using strong references.
  16. p Sets an 'alias' for double to better communicate the intent of a section of code.
  17. q struct
  18. r printf( )
  19. s signed and unsigned
  20. t fields...different
  21. u Product>Profile>Leaks>Profile
  22. v ampersand (&)
  23. w Replace 'items' with '*items'
  24. x [receiver message];
  25. y int myList[10];
  26. z runtime...compile
  27. aa nonatomic
  28. ab Application...Mac OS X
  29. ac assign
  30. ad deprecated
  31. ae designated
  32. af true
  33. ag Automatic Reference Counting
  34. ah NSArray, NSSet and NSDictionary with NSString
  35. ai dereference (dereferencing)
  36. aj retain cycles
  37. ak cannot...struct
  38. al Swap the locations of init and alloc
  39. am Changes the value of a to 15
  40. an Smalltalk
  41. ao Protocols and Categories/Extensions
  42. ap
  43. aq Categories
  44. ar value
  45. as pointers, arrays and structs
  46. at dangling pointer
  47. au BOOL, char, short, int, long, long long, NSInteger
  48. av Signed...unsigned
  49. aw Pointers
  50. ax strong
  51. ay chars
  52. az memory leak
  53. ba Key-value observing
  54. bb class...object
  55. bc Unitary
  56. bd null
  57. be ARC
  58. bf %@
  59. bg C operators, functions, and methods
  60. bh developer intent
  61. bi copy
  62. bj square brackets
  63. bk superset
  64. bl class...instance
  65. bm weak
  66. bn asterisk (*)
  67. bo +
  68. bp if(!venue){[organizer remindToFindVenueForParty];}
  69. bq readwrite
  70. br -
  71. bs CGRect r3 = {{100,200}, {10, 20}};
  72. bt nil
  73. bu float, double, CGFloat
  74. bv assignment, arithmetic, comparison, logical, bitwise and membership
  75. bw data...procedures
  76. bx isEven = (n%2 == 0)? YES : NO;
  77. by binary
  78. bz @implementation...@end
  79. ca unitary
  80. cb precedence
  81. cc Encapsulation
  82. cd C types, structures, enums, and objects
  83. ce heap
  84. cf datatype, operands, assignment operator, identifier
  85. cg integer and floating-point
  86. ch Add a semicolon to the end of the message
  87. ci true (C appends a null value automatically)
  88. cj Enumerations
  89. ck graduationParty...addAttendee:withDish...@"Aunt Jane" & @"deviledEggs"
  90. cl zero
  91. cm pointer
  92. cn 9