Cocoa Programming Skills Test
$495-500 USD
Pagado a la entrega
We require a 60 question objective type test on Cocoa Development. The test maker will be given sample tests on other subjects for reference. The test is targeted at programmers and should contain a good number of code based questions.
## Deliverables
Here are some example questions for you to see the format(from the iphone development test): Question:Which of the following code snippets can be used to ensure that your view controller is only shown in portrait mode? a)- (BOOL)willAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight); } b)- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationPortrait); } c)- (BOOL)willAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationPortrait); } d)- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } ans:b Question:Which of the following statements about views and windows are true? a)Your application should never need more than one instance of UIWindow. b)Windows provide the drawing surface for the user interface; view objects provide the actual content. c)Due to memory constraints in the iPhone you should never nest views more than 5 levels deep. d)Both window and view objects can be instantiated from a NIB file. ans:abd Question:Which of the following code snippets retrieve XML from a URL and begin parsing it? a)NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:url]; [parser setDelegate:self]; [parser parse]; b)XMLReaderSAX *streamingParser = [[XMLReaderSAX alloc] init]; [streamingParser parseXMLContentsAtURL:url parseError:&parseError]; c)XMLDocument *document = [XMLDocument initWithContentsOfURL:url error:&parseError]; d)None of the above. ans:a
Nº del proyecto: #3171739