CSC 210 PROJECT

CSC 210 PROJECT 9
FALL 2020
Project 9 Instructions
1. Due Date & Time: 12-13-2020 at 11:59 PM
WHAT TO SUBMIT
Submit 1 zip file containing 1 JAVA file below to iLearn by the deadline. [80 points total]
● JAVA Files:
○ CONSTANT.java (provided – no need to make change),
○ StandarDevAndHist.java, (30 points)
○ DecAndBin.java (provided – no need to make change),
○ Binary.java (30 points)
Please make sure you remove package in your java file! It is required for auto-grading.
● 1 File: Make a document that shows the screen captures of execution of your programs and learning points in Word or PDF. [20 points – 10 points for StandardDevAndHist and 10 points for DecAndBin]
———————————————————————————-
Decimal And Binary conversion [30 points]
Problem Description:
1. Create a class for Binary as used in DecAndBin class.
2. Implement all the below listed concepts in your class. Read lecture slides for reference.
Execution Results (when a “decAndBinTest.txt” file was given as below)
C:\Users\ilmiy\.jdks\openjdk-14.0.2\bin\java.exe “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\lib\idea_rt.jar=53281:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\bin” -Dfile.encoding=UTF-8 -classpath C:\Users\ilmiy\IdeaProjects\project5\out\production\project5 DecAndBin
Enter n:5
00000000 00000101
Enter binary:111
7
true
00000000 00000001
00000000 00000011
00000000 00000100
00000000 01111111
00000000 10000000
00000000 00000101
7
5
255
25
CSC 210 PROJECT 9
FALL 2020
Contents of “decAndBinTest.txt”
1 1
1 3
1 4
1 127
1 128
1 5
2 111
2 101
2 11111111
2 00011001
You can read about Decimal to Binary conversion and the other way around (Please check the lecture)

Binary to Decimal Conversion


https://www.binaryhexconverter.com/decimal-to-binary-converter
Standard Deviation and Histogram [30 points]
You already know how to calculate sum and mean. You can extend this to the data from a file (data2.txt)
Calculate Standard Deviation (check the lecture & https://www.mathsisfun.com/data/standard-deviation-formulas.html )
Here is the execution result using data2.txt
Total count is 100
Sum of all the data is 48050
The average of the data is 480.5
The standard deviation of the data is 274.935610643656
1 – 100 :***********
101 – 200 :******
201 – 300 :***********
301 – 400 :*****************
401 – 500 :******
CSC 210 PROJECT 9
FALL 2020
501 – 600 :*************
601 – 700 :*********
701 – 800 :**********
801 – 900 :***********
901 – 1000 :******
Part 3: Comment your code
Every Java file you write in this assignment will require you to include descriptive comments.
In this assignment, you are tasked with writing a descriptive
1. Headers
2. Comments
You can write comments in two ways:
• Single-line comments using the // notation.
• Multi-line comments using the /* and */ notation.
a. Include a proper header at the top of every Java file. Figure 1
Header Format
/*
* Assignment
* Description: * Name:
* ID:
* Class: CSC 210-

* Semester:
*/
Replace each tag (such as ) with the appropriate text.
You should adhere to this format as closely as possible. You do not need to include the <> symbols in your header fields. b. Only if you work with a Study Buddy, include your Buddy’s name in your header at the top of every Java file. Figure 1
Header Format
/*
* Assignment
* Description: * Name:
* Teammate:
* ID:
* Class: CSC 210-

* Semester:
CSC 210 PROJECT 9
FALL 2020
*/
Replace each tag (such as ) with the appropriate text.
You should adhere to this format as closely as possible. You do not need to include the <> symbols in your header fields.
Figure 1
❐Part 4: Reflection 500 words + screen capture of executions [20 points] (submit as a separate file)
*Points will be deducted for less than 500 words.
Explain your algorithm for part 1 and 2. – How did you extract each character and covert it? How did you implement board display and winner calculation?
Order Now

Calculate a fair price for your paper

Such a cheap price for your free time and healthy sleep

1650 words
-
-
Place an order within a couple of minutes.
Get guaranteed assistance and 100% confidentiality.
Total price: $78
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, how can I help?