Cocoa Programming Skills Test

Cerrado Publicado Aug 26, 2008 Pagado a la entrega
Cerrado 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

Reescritura de artículos Redacción Ingeniería Gestión de proyectos Redacción de investigaciones Arquitectura de software Verificación de software Escritura técnica

Nº del proyecto: #3171739

Sobre el proyecto

2 propuestas Proyecto remoto Activo Sep 17, 2008

2 freelancers están ofertando un promedio de $425 por este trabajo

gopisoft

See private message.

$425 USD en 14 días
(63 comentarios)
5.8
polatok

See private message.

$425 USD en 14 días
(0 comentarios)
0.0