Question types

Start with

Question limit

of 45 available terms

Print test

45 True/False questions

  1. Create a new instance? (allocate new memory space for object)ClassName newInstanceName;


  2. methodsThe actions performed on the instance


  3. Initialize an object?newInstance = [newInstance init];


  4. Applying a method to an object?[instanceName release];


  5. .hheader file


  6. .cOBJECTIVE C source file


  7. Method declarations in interface?warning


  8. The range of value associated with each data type is???Instance Method


  9. classA set of instance variable and methods that have access to those variables. After a class is defined, instances of the class (that is objects) can be created. A blueprint.


  10. .cc .cppc++ language source file


  11. What is an object?A set of variables and associated methods. An object can be sent messages to cause one of it methods to be executed.


  12. Yellow exclamation markwarning


  13. Free memory of an object?[instanceName release];


  14. Print stuff in objective C?newInstance = [newInstance init];


  15. procedural programming languageA language in which programs are defined by procedures and functions that operate on a set of data


  16. Who pioneered the C programming language?Dennis Ritchie @ Bell Labs


  17. A constant NSString Object?@"Strings Rule" (The "@" symbol indicates an NSString object)


  18. .mC language source file


  19. + before method indicates?Instance Method


  20. Define a new variable for a new instance of class?ClassName newInstanceName;


  21. - before method indicates?Class Method


  22. Add an int to a NSString Object?@"Strings Rule" (The "@" symbol indicates an NSString object)


  23. GNU objective-c compiler?\n (backslash n)


  24. Combine three-line sequence to declare, allocate, and initialize?ClassName *newInstance = [[ClassName alloc] init];


  25. mainindicates it is creating a reference (or pointer) to an object


  26. integral valuesA unique occurence of class. A concrete representation of a class. Instances are objects, typically created by sending an "alloc" or "new" message to a class object


  27. Setters and Getters are referred to as?Declare the Methods


  28. Look in current directory?./ (period backslash)


  29. *object file (compiled file)


  30. In the @interface section you?Define the Methods


  31. .mmOBJECTIVE C++ source file


  32. What means a program ends normally?0


  33. Syntax for using methods in Objective-CNSLog(@"HelloWorld");


  34. instanceThe actions performed on the instance


  35. In the @implementation section you?Define the Methods


  36. How to combine alloc and init?gcc -framework Foundation filename -o progname


  37. Compile at Command Line?#import <Foundation/Foundation.h>


  38. Reference (pointer)Holds a memory address "pointing" to the location of the object's data in memory


  39. Import a system file?#import "myprog.h"


  40. Stop SignFatal Error


  41. .plperl source file


  42. newline character\n (backslash n)


  43. .oobject file (compiled file)


  44. Data EncapsulationFatal Error


  45. Import a file you created?#import <Foundation/Foundation.h>