Home › Mobile Job Application

Mobile Job Application

Application for a Position as Mobile Developer for RustyBrick

Below you will find several questions that will aid us in selecting the the most compatible developer for the position and the company. We are asking you to provide answers to a dozen questions under three main categories; contact information, work experience, and programming skills.

Please do your best to answer the questions below in a detailed and clean manner. We suggest printing out this application and working out the answers offline. Then, when you are ready, enter them in and submit. Thank you for your interest in RustyBrick and we look forward to your responses.

STEP 1. CONTACT INFO

First Name:
Last Name:
Phone:
E-mail:

STEP 2. WORK EXPERIENCE

Copy and paste your resume or email it to jobs@rustybrick.com:


Please list the mobile apps/sites you've worked on:


Please supply references:


STEP 3. PROGRAMMING QUESTIONS

Answer all questions in Objective C / Cocoa unless indicated otherwise. If you do not know Obj-C, then we are not looking for you.
  1. Given a NSArray of size N in which every element (NSNumber) is between 1 and N. Write a method, (NSArray*)removeDuplicates, that returns the array without any duplicates #'s.


  2. What is the proper way to clean up memory of the following objects?
     NSString *style = @"Red";

    ClassName *c1 = [[ClassName alloc] initWithStyle:str];

    vs

    ClassName *c2 = [ClassName classWithStyle:str];



  3. Write a method, (void)openInMobileSafari:(NSURL*)url, that opens the passed url in Mobile Safari. (Extra Credit: program in an alert that would confirm they want to quit the app.)


  4. Using your Object-Oriented Programming knowledge, write the following classes and relate them using parent-child relationships: Phone, Cell Phone, and Cordless Phone. Show how a child would call a parent's method. Show how overloading works. Indicate the syntax for class variables.


  5. Given the following database structure, write an SQL query to retrieve a list of order ids and their totals (including shipping amount). Only show records prior to June 1, 2003. Also, sort the results so that the newest orders are first. This should be written to work in SQLite. ANSI compliant SQL is ok too.
    HINT: requires GROUP BY statement or subselect
    OrdersOrderItems
    id
    date
    shipping_amount
    order_status
    customer_id
    id
    order_id (Orders.id)
    product_id
    price
    quantity

    The output should look something like this:
    +-----------+------------+
    | OrderID   | OrderTotal |
    +-----------+------------+
    | 13230     | $55.00     |
    | 54455     | $40.00     |
    | 59694     | $33.04     |
    | 39495     | $21.05     |
    | 59349     | $12.55     |
    +-----------+------------+
    



  6. A programmer successfully wrote the above query and returned the information in a NSDictionary, orders (Do not show the code for this). orders is keyed using the order ids. It's value is the amount of the order.
    Write a loop that outputs orders in an HTML table or UITableView class.


  7. Given the following database structure, write an SQL query to retrieve a list of the 5 most popular states that had orders.
    OrdersCustomers
    id
    date
    shipping_amount
    order_status
    customer_id (Customers.id)
    id
    first_name
    last_name
    city
    state

    The output should look something like this:
    +-----------+------------+
    | State     |  # Orders  |
    +-----------+------------+
    | NY        |  55        |
    | CA        |  40        |
    | NJ        |  33        |
    | FL        |  21        |
    | MO        |  12        |
    +-----------+------------+
    



Connect With Us

Send Us a Message

Do you wish to give us feedback on one of our apps, send us a message or explore a proposal? Fill out the form below and we'll get back to you pronto!

Visit Us

250 West Nyack Road, Suite #200 West Nyack, NY 10994
Get Directions

Call Us Toll Free

877-GO-RUSTY
877-467-8789

Telephone

845-369-6869

Fax

845-228-8177