theaulait / unit-0-assessment

Unit 0 assessment for C4Q

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Unit 0 Assessment

###Installation & Submission

  1. Fork this repository to your GitHub profile
  2. Clone your forked copy into your Desktop
git clone git@github:YOUR_USERNAME/unit-0-assessment.git
  1. Import project into IntelliJ
  2. Read the Person, Place, and Unit0Tests classes
  3. Fix the empty methods in Unit0Tests
  4. Add your changed files, commmit your changes, and push the changes to your forked repo

###Instructions

  • You must fix all of the methods in Unit0Tests
  • There are 2 optional bonus methods
  • The name of the method implies what the method should do
  • Some of these methods require that the method return signature change.
    • For example, returnPrimitiveBooleanTrue() should return boolean, not Object

###Hints

  • You can use the main method to test your methods!
  • Pay close attention to the method signatures and return values!
  • You can use Google, StackOverflow, and the entire Internet :)
  • Correct capitalization and spelling matter!
    • printHelloWorld should print exactly Hello World
    • Names of cities, people, ... should be spelled and capitalized exactly as they are in the method signature!

###Definitions

  • The sum of a and b: a + b
  • A number is odd if it is not divisible by 2
    • ex: 3 is odd because 3 / 2 == 0 is false
  • A number is even if it is divisible by 2
    • ex: 4 is even because 4 / 2 == 0 is true
  • a is a multiple of b if a % b == 0 is true

About

Unit 0 assessment for C4Q


Languages

Language:Java 100.0%