accesscode-2-1 / unit-0

Unit 0 lessons and materials
5 stars 8 forks source link

HW due 3/27 #5

Open asaini opened 9 years ago

asaini commented 9 years ago

Welcome to HW3! All material used in this HW is located here

1. Recap: Strings and loops

Write a function uniqueCharacters which accepts as input a string S. Given the string S return a string S2 which contains all the distinct characters in S. The input string will only contain lowercase characters. The ordering of characters in the output string does not matter. Eg.

You are provided with a Person class. This class has private fields name, phoneNumber and city, along with their getter and setter methods.

The Roman General Julius Caesar used to correspond with his generals using a secret code. He devised a way of encrypting his messages using a simple encryption scheme now known as Caesar Cipher or Shift Cipher. You can read more about it here

You are given 3 classes

Write a program to simulate an election. Create a class called VotingSimulator. In the main method, you are required to do the following:

  1. Create an Election object, and given the Election a name
  2. Create a few Contender objects. Add these to the Election object. Make sure that the contender names are distinct!
  3. Create a ElectionManager object. Ask it to manage the Election object created above.
  4. Ask the ElectionManager to initiatePolling
  5. Follow the instructions on the console. After each round of polling you will be asked(within the console) whether you want to continue or not.
  6. Ask the ElectionManager to displayResults

    5. Weekly Requirements

After submitting your HW, please complete a HW Feedback form

Yuliya-Kaleda commented 9 years ago
  1. Unique Characters
  2. Java Classes
  3. a) Caesar Cipher b) Caesar Cipher
  4. Voting System
  5. To Be or Not to Be
lukesterlee commented 9 years ago
  1. Homework
jgarcia162 commented 9 years ago
  1. Homework
  2. Innovations for Tomorrow
sufeiiz commented 9 years ago
  1. Homework
  2. Occam's Razor
hanzchoi commented 9 years ago
  1. Unique Characters
  2. Java Classes
  3. Caesar Cipher
Amcbri15 commented 9 years ago

Homework Repo Medium Post

jaellys commented 9 years ago
  1. Homework -- may add bonus soon.
  2. In Case of Emergency: BnB. -- I'm one off on the Medium posts, will get it in ASAP.
ahhhlvin commented 9 years ago

Homework Medium Post

KMaragh commented 9 years ago

Homework [Medium Post]() --Will add soon

fattyduck commented 9 years ago

HW //I have finally found the issue and remade a repo without the other files Medium

abassawo commented 9 years ago
  1. Homework
  2. Medium Story Coming Soon
hyunj0 commented 9 years ago

HW_03-27 Medium

poojawins commented 9 years ago
  1. Homework_03_27
GMSyrimis commented 9 years ago

Homework Medium

alizinha commented 9 years ago
  1. Homework.
  2. "Everything You Wanted to Know about Pair Programming But Were Afraid To Ask" (my Medium.com piece).
m47bell commented 9 years ago

Homework

Medium Post

ramonaharrison commented 9 years ago
  1. Homework
  2. Blog post
MadelynTav commented 9 years ago

Homework Medium Post

hoshikoo commented 9 years ago
  1. Homework
  2. Medium
lighterletter commented 9 years ago

Homework Medium

AnthonyFermin commented 9 years ago
  1. Homework Repo
  2. Medium Post
eboves commented 9 years ago
  1. HomeWork
  2. Medium Post
tashsmit commented 9 years ago
  1. Homework
  2. Medium Post
hanzchoi commented 9 years ago

4.Medium post

jvvlives2005 commented 9 years ago
  1. Homework
  2. Medium
charlyn23 commented 9 years ago
  1. Homework
RosmaryFC commented 9 years ago
  1. Homework
  2. Medium Post
theaulait commented 9 years ago
  1. Homework
  2. Medium Post
rayacevedo45 commented 9 years ago
  1. Homework
ReinardCox commented 9 years ago
  1. Homework
  2. [Medium Post - Coming Soon!]()
annalinewyork commented 9 years ago

Homework Medium post

jorgereina1986 commented 9 years ago

Homework Medium

JLWork3 commented 9 years ago

Homework Medium Post