Share
Explore BrainMass

Java

Implement the SCAN, C_SCAN, and LOOK disk scheduling algorithms in Java.

Implement the SCAN, C_SCAN, and LOOK disk scheduling algorithms in Java. Namely, the first command-line parameter must be the current head position. The list of cylinder requests must be read from the standard input, you can use input redirection for reading it from a file. Assume that the total number of cylinders on disk is 20

Authentication and Authorization Paper

I need some help with the following assignment: XYZ Company has contracted you to secure an Apache server or Microsoft Internet Information Server (IIS). Explain how you would secure the server and describe the system settings that you would employ for the server. Be sure to include methods for authentication and methods for

Web Security Issues

Would you please help me to get started on a 2 - 3 page paper discussing methods to address client (user) security issues. Include ways that a Website can be attacked by malicious users such as Java script insertion, SQL insertion, hidden field manipulation, header manipulation and cookies Precautions: How can worms and vi

Java Simulation of Cat and Mice Battle

Write a Java program that simulates the battle between a cat and mice. Cat Kills 1 mouse a day, and does not reproduce. Mice have a chance to reproduce as long as required conditions are met. Reproduction only happens when mice are over 1, and 1 of each sex is present. Simulation continues as long as mice population is

Mortgage calculator (with a graphical user interface) in Java

Write a program in Java (with a graphical user interface) that calculates and displays the mortgage payment amount, based on the user input of the mortgage amount and the user's selection from a menu of available mortgage loans (as given below). - 7 years at 5.35% - 15 years at 5.5% - 30 years at 5.75% Use an array for t

Inheritance, Polymorphism and Scope

Example 1: Which access modifier (public, private, protected, default) would you use on a data field in the following cases? a. You plan to inherit from this class from without the package. b. You want only those classes within the package to have access to this field. c. You want to restrict access to within the class its

Network Management System & Functions of a Network Node Manager

What is the best way to address issues and concerns in a Real network management system (NMS) as it pertains to the processes that take place during network discovery and mapping of the network. What are the functions of a network node manager. Include a description of these functions.

Designing a Java Class

Design a Java class named MyPoint to represent a point with x and y coordinates. This class should contain: - Two data fields x and y that represent the coordinates. - A no-argument constructor that creates a point (0, 0). - A constructor that constructs a point with specified coordinates. - Two get methods for data fields

Java class named Person with fields for holding a person's name

Design a Java class named Person with fields for holding a person's name, address and telephone number. Write one or more constructors and the appropriate mutator and accessor methods for the class's fields. Next, design a class named Customer, which extends the Person class. The Customer class should have a field for a 6 digi

Create a Java class named Movie that can be used with a video rental business.

Create a class named Movie that can be used with a video rental business. The Movie class should track the Motion Picture Association of America (MPAA) rating (e.g.,Rated G, PG-13, R), ID Number, and movie title with appropriate accessor and mutator methods. Also create an equals() method that overrides Object's equals method, w

1. What are the benefits of using the public variable version? 2. What are the benefits of using the bean-style accessor version? 3. Add a constructor to your preferred version, that takes two String parameters and initializes first and last.

Suppose that you need a FullName class, which will contain a person's first name and last name. There are two different ways of implementing this. A. The public variable version: class FullName { public String first; public String last; } B. The bean-style accessor version: class F

Java Program for User Interfaces

Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and the interest rate = 5.95%. Insert comment

Java & HTML Introduction Applet

You have been hired as a Java programmer to generate an amortization schedule. This program should be in the form of a Java applet. Inquiries will be Web-based using a browser. Your program should execute within the browser and prompt the user for four different inputs. The first is the loan amount, the second is the length of t

Write a java application that accomplishes the following tasks

Write a java application that accomplishes the following tasks (similar to the program assignment we did in CSC212 yet with built in exception handling): 1) Ask the number of homework assignment students have submitted in a semester 2) Calculate the letter grade the student has earned based on the average of these assignme

Java Mortgage Calculator w/o GUI

#1 Write the program in Java (without a graphical user interface) using a loan amount of $200,000 with an interest rate of 5.75% and a 30 year term. Display the mortgage payment amount and then list the loan balance and interest paid for each payment over the term of the loan. If the list would scroll off the screen, use loops

A java UI program with 3 buttons - Left, Blue and Reset. When the left button is clicked, the window's contents (the three buttons) shifts left. When the blue button is clicked, the window's background color changes to blue. When the reset button is clicked, the window's contents shifts back to the original center alignment and the window's background color changes back to its original color.

Need help need to be extended to JFrame. Attached is the same problem. your earliest assistance is greatly appreciated as I have a final in which to study for, so the sooner the better so that assignment can be posted. Thanks. The files must be named as below: Buttons.java Ensure you include ALL files required to make you

Write a program that establishes two savings accounts

Write a program that establishes two savings accounts with saver1 having account number 10002 with an initial balance of $2,000, and saver2 having account 10003 with an initial balance of $3,000. Set a common rate of interest at 5% per year. At the end of each month, update the balance by adding one month's interest to the bala

Using bitwise operations to display a number in binary form

The bitwise-manipulation operators perform simultaneous bit manipulations and enable programs to process large quantities of binary information efficiently. The binary & and | operators can implement bitwise "and" and "or" operations on corresponding bits in a pair of 32-bit int operands. This bit-manipulation capability enab

Inventory Program with subclasses and GUI components.

Modify the inventory program by creating a subclass of the product class that uses one additional unique feature of the product you chose (brand name). In the subclass, create a method to calculate the value of the inventory of a product with the same name as the method previously created for the product class. The subclass me

Functionality of a shopping cart

I need an explanation of the functionality of a shopping cart that will be implemented in Kudler Find Foods web site. Can you help me with this?

JAVA code snippets

Write a method definition to count and then return the number of elements in a passed integer array, that have a value greater than 0. Write a nested loop structure that prints out the following number series: 111 112 121 122 211 212 221 222. The innermost loop may have only one print statement and no literal string output

Charge Account in Java

Create a class with a method that accepts a charge card account number as its argument. The method should determine whether the number is valid by comparing it with a list of valid charge card account numbers. The comparison should be accomplished using a search. If the account number to be checked is in the list of valid acc

Programming Concepts Problems

I would appreciate if you could kindly help with the following questions. 1. In Coffee's (2006) article, IT professionals discuss the role application developers take in software security. Pick one of these IT experts, summarize his or her perspective on building security into software, and then discuss the feasibility and pr

Java implementation of Person and ThreeFriends classes

Create two classes, a main class and an object class. The object class will be called Person and will collect data about individual people. The main class will be called ThreeFriends and will instantiate three Person objects to represent three people who are friends and loading data into these objects. The user will enter the da