Assignment 3
Due Thursday, April 19 at 1:20pm on Canvas
Note: All homework assignments are to be done individually
Optional: Install Eclipse on your home computer or laptop following the tutorial. If you run into problems visit me during office hours for one-on-one help.
Assignment 3.1: Binary-Decimal Review Homework (10 pts)
- Complete this worksheet by converting any binary numbers to the decimal system and any decimal numbers to the binary system.
- This assignment will be good practice for your quiz (hint! hint!)
- When you are finished, upload your assignment to Canvas
Assignment 3.2: Your Future Goals (10 pts)
- Where do you see yourself in 5 years, 10 years, 20 years, and 50 years?
- Objective: Write a program to print this information out onto the screen.
- Open a new Java project in Eclipse and name it FutureGoals
- Add a new class also named FutureGoals
- Alter the block comment at the top of your program to contain your name and section information like so:
/** * @author YourNameHere
* CIS 36A
*/ - Create 4 System.out.println statements with an answer to the above 4 questions.
- Each question needs to be printed on a separate line with a ;.
- When finished, upload your FutureGoals.java file to Canvas.
- To find this file, you will (most likely) need to look under Documents -> Workspace -> FutureGoals->src -> FutureGoals -> FutureGoals.java
- However, if you close Eclipse and re-open it, it will remind you where your workspace is (i.e. where it is saving your files).
- When you are finished, run your program and you should get output similar to the following (but not identical).
- You should print out YOUR answers to the questions.
In five years, I expect to have graduated from college.
In ten years, I will be working at Google. In twenty years, I will be married with 3 kids. In fifty years, I will be retired and cruising the Carribean.
Assignment 3.3: Writing Your Name (10 pts)
- For this project write a Java program that displays your name in
banner-sized letters to the console (video screen). For example, the
output of the program for the name J Parrish would be:
J PPP AA RRR RRR IIII SSSS H H
J P P A A R R R R II S H H
J PPP AAAA RRR RRR II SSSS HHHH
J J P A A R R R R II S H H
JJJJ P A A R R R R IIII SSSS H H
Assignment 3.4: Pair Programming (10 pts)
- Introduction to Pair Programming: a professionally developed video (10 minutes)
- Watch the above video and answer the questions on this worksheet
- For all classwork, we will be working in pairs for the rest of the quarter
- Upload your completed worksheet to Canvas when you are finished as a .doc, .docx, .odt, or .pdf.
|