h1

Case 1 – Class Process Introduction and Java Arrays Review

Think-Design-Write Test-Code

This is a special case designed to walk you through the five step process used for all  assignments, called cases, in this course.  This one is to be completed in three class days.

3 Days

  • Description

You are applying for a position as a junior programmer at Mighty Corp, a small software company.  As part of the application process, and during the first interview, the You are asked  to create two functions that have the following signatures.

public int[] getIntersection(int[] arrayOne, int[] arrayTwo)

and

public int[] getUnion(int[] arrayOne, int[] arrayTwo)

The int array returned should be the either the intersection or union of the two int arrays that are passed as parameters.

  • Deliverables
    1. A UML class diagram of the class you will create
    2. A working solution
    3. A presentation of your teams solution to the problem
    4. An assessment case including:
      1. a situation description(this can not be intersection and union),
      2. a list of required deliverables
  • Resources
    1. UML
    2. UML Class Diagrams
    3. Set Theory
    4. Java Arrays
    5. Visual Paradigm
  • Leave a Comment