Write a subnet calculator

Assignment Help JAVA Programming
Reference no: EM131651428

Assignment

In Java, write a subnet calculator. Please read over the general assignment requirements before starting this assignment.

Requirements for Assignment Submission

1. You must write a complete program that compiles and runs with command-line javac and java.

2. Incomplete programs or code fragments are unacceptable.

3. Your program must solve the particular programming task required for the assignment.

4. If a program requires multiple source files, they must all be included in the zip file submitted.

5. If the program requires source files that are not part of the built-in JDK package, then you must include them in the zip file.

6. Programs must compile correctly, and be fully tested before submission.

7. All programs must compile from ONE working directory (it can have several sub-directories within it).

8. All programs must include proper explanations and complete headers.

- Explain the code behaviours and/or objectives by using a comment or a block of comments before the appropriate code or block of codes. Doing so will ensure that you can fully understand your code three months later, and it will help other developers/maintainers know what you were thinking while writing the programs.

- The headers for these programs must be contained in a block of comments at the beginning of the programs and functions, including program/function name, description, expected inputs, expected outputs/results, called by whom, and will call what functions.

- All programs must also include (in .doc/.pdf files, not .docx) a complete test plan (e.g., in a table) with test items, inputs, expected outputs, actual outputs, and results/remarks.

Assignment Description:

For any IP address entered, display the Network class, the default (classfull) subnet mask, and the CIDR notation.
Also display how many hosts per subnet, the network address and broadcast address.
For instance, if you enter 199.212.55.7
The result should be:
Network Class: C
Subnet Mask: 255.255.255.0
CIDR: /24
Hosts per subnet: 254
Network Address: 199.212.55.0
Broadcast Address: 199.212.55.255
Bits in Host: 8
Bits in Network: 24
You also need to be able to specify an IP address with a VLSM (variable length subnet mask) or an IP address with a dotted decimal notation subnet mask.
For instance if you enter:
199.212.55.7/16 or 199.212.55.7 255.255.0.0 the result should be
Subnet Mask: 255.255.0.0
CIDR: /16
Hosts per subnet: 65534
Network Address: 199.212.0.0
Broadcast Address: 199.212.255.255
Bits in Host: 16
Bits in Network: 16

Reference no: EM131651428

Questions Cloud

Systematize the management of workers : Identify and briefly discuss the four basic principles. Which principle is most seen in your place of employment?
Calculate the equivalent units of production for materials : Polk Company manufactures basketballs. Materials are added at the beginning of the production process and Calculate the equivalent units of production
Marketing manager of a leading health care organization : As marketing manager of a leading health care organization, you are developing a marketing strategy to inform potential patients
Convert the data for each variable to a z value : Convert the data for each variable to a z value. Consider Mellon Bank Corporation headquartered in Pittsburgh. How does it compare to the average bank.
Write a subnet calculator : Write a subnet calculator and Explain the code behaviours using a comment or a block of comments before the appropriate code
Operational issues in small business administration : Operational issues in small business administration are never ease for small business owners. No matter how hard you try
Research your chosen product using the vendors website : Write a 3 page summary of your research. Research your chosen product using the vendor's website and product information brochures.
Develop a frequency distribution for the board values : Develop a frequency distribution for the board values for the scanner and the manual process.
Describe four potential advantages of budgeting : List and describe four potential advantages of budgeting and four potential disadvantages of budgeting

Reviews

len1651428

9/21/2017 1:00:18 AM

5. Test plan (20%) • If your program does not compile or run, you may receive a mark of "0" for the assignment. • If you use components and/or images from the work of others, you must have their permission to do so, and include proper citations in the program's headers. You also need to get the original author's agreement in writing, and put it in your program. • If you copy the work of others with only a small revision, you may receive a mark of "0" for the assignment. • If plagiarism is discovered, or reported and confirmed, you will receive a mark of "0" for the assignment.

len1651428

9/21/2017 1:00:06 AM

Deliverables: Source code Test plan with report instructions on how to compile and use your program Marking Scheme 1. Program compiles without errors (20%) 2. Correct program execution (20%) 3. Source code / programming style / readability (20%) 4. Documentation (explanations and headers) (20%)

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd