SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
iOS 5 App Development Basics
Start Test
Study First
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. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. Used to test an app without needing an actual physical device
iOS Simulator
h
<type> <variableName>;
Object-oriented programming
3. Data type for true/false type variables
bool
label.text=@'Hello World!';
||
Cocoa Touch
4. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
5. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
mutators
void
6. A ______ is where you edit a view and assign a controller to it.
@
1024 x 768
scene
Home button
7. Implements a logical AND condition
Object-oriented programming
scene
pipe
&&
8. Files used to create a class
NSMutableString
Hold down the Option key and point to the other label. The distance will be shown
NSObject
interface and implementation files
9. Typical header syntax for a button that will be applying the 'moveMe' action in an app
parameter
IBAction)moveMe:(id)sender;
hash
Determine how controls resize/reposition themselves when a device changes orientation
10. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
id
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Home button
hash
11. _____ are methods that we can connect to events.
png
Actions
nonatomic
The Console area of the Debug area
12. ______ enable applications to store multiple pieces of information in a single object
pound
Collections
subclass
@synthesize directive
13. Symbol often denoting a 'pointer'
view controller
Jump Bar
*
ption+Command+Return
14. strong and nonatomic are examples of ...
attributes
%d
com.basicversity
below
15. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
16. Directive to include other interface files that an application might need to access
import
self
+
@synthesize directive
17. Used to indicate any type of object
UITextView
nibfile
Option+Command+4
id
18. The '@' symbol is shorthand for creating one of these
NSString
Touch Up Inside
Command+1
y *= 5;
19. @property directives should be placed ____ (above or below) any IBActions in the header file
above
@2x
Integrated Development Environment
onscreen 'widgets' a user can interact with
20. Piece of information provided to a method when it is messaged
parameter
count++;
Command+R
contentSize
21. Extension for an iPhone/iPad app
NSDate
CGAffineTransform
2
xcodeproj
22. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
disclosure
CGAffineTransform
[[<class name> alloc] init];
23. getters
protocols
accessors
Attributes Inspector
class
24. Two-way selection logic block
NSArray
variable
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
25. Recommended image type for button graphics
NSDictionary
png
view controller
convenience
26. Class of collection data type which stores information as object/key pairs
scene
NSDictionary
mutators
%@
27. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
[<object variable> <method name>: p1];
token
subclass
28. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
class
retain
Single View Application
IBAction)moveMe:(id)sender;
29. Closes an interface file
onscreen 'widgets' a user can interact with
@end
NSString
First Responder
30. Implements a logical OR condition
||
NSURL
productivity
implicitly declare a matching instance variable
31. Storage place for a piece of information specific to a class
accessors
self
instance variable
strong
32. Alternative selection mechanism when many conditions exist
Human Interface Guide
NSDictionary
graduationParty ... addAttendee:withDish
switch
33. Negation symbol
%
hash
!
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
34. Shortcut for writing: x = x - 1;
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
x--;
Human Interface Guide
Object library
35. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
bool
modal
Command+1
36. Size of iPhone retina icon image in pixels
114 x 114
strong
label.text=@'Hello World!';
inspector and library
37. Expression to create a random number in [0 -20];
x--;
rand( )%21
graduationParty ... addAttendee:withDish
utility
38. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
NSString *userName;
implementation file
Utility apps
%1.2f
40. Class that allows URL management
NSURL
Command+R
image view
Size Inspector
41. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
IBOutlet
UILabel *myLabel = [[UILabel alloc] init];
controller
do not
42. ______ are variables that can store a ____ to an object.
Outlets ... pointer
convenience
nibfile
rand( )%21
43. Dimensions of iPad (in points)
Identity Inspector
Xcode
1024 x 768
Cocoa Touch
44. What do the Autosizing settings of the Size Inspector do?
<type> <variableName>;
#import <UIKIT/UIKIT.h>
Determine how controls resize/reposition themselves when a device changes orientation
Home button
45. Storage location for a piece of information
IBAction
nil
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
variable
46. Objective-C is an extension (super set) of...
@
%1.2f
C
implicitly declare a matching instance variable
47. Development approach (design pattern) to structure iOS applications
Model-View-Controller
wrap
First Responder
The Console area of the Debug area
48. Tests to see whether two values are equal
NSDate
UIPicker
graduationParty ... addAttendee:withDish
==
49. Used to display image file resources and show simple animations
image view
UILabel *myLabel = [[UILabel alloc] init];
@
nil
50. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
label
myImage@2x.png
header
Seques .... relationships
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests