Explore BrainMass


Operating System and Programming Languages in Workplaces

1. I need to write a 1-2 page memorandum describing what operating systems are used at your place of employment (if your company is too large, describe a department). Why were those operating systems chosen? 2. I need to write a 1-2 page memorandum descibing what programming languages are used at your place of employment). W

Programming in Java II - Develop a program that plays "Five Card Stud".

CSC 212 - Homework #6 Develop a program that plays "Five Card Stud". The user plays agains the computer. The program will "deal" five cards to the user and itself. Whoever has the highest hand wins. Inform the user who has won that hand, and ask if the user wants to play again. Interaction is as follows: Your hand is: 2 o

Need help with functions in C and C++

Problem: Write a C function that includes the following sequences of statements: x = 21; int x; x =42; Run program and explain the results. Rewrite the same code in C++ and Java. I understand Java: Looks like this; Java: public int myMethod(int x) { x = 21; x = 42; return x; } It will

Simple Java Program

GIVEN THE CODE IN THE ATTACHMENT, develop a test program called CoinCounterTest to test the CoinCounter class. In the test program do the following: 1. Write client code (in the file) to create a CoinCounter object called counter. 2. Write client code to call the print method of counter. 3.

ODBC using Apache Derby

The purpose of this 3 page paper is to discuss Open Database Connectivity (ODBC) using Apache Derby Including strengths and weaknesses Open Database Connectivity (ODBC) is one of the most popular ways today to code a database application. Embedded SQL applications tend to lack interoperatiliby. Applications might have to modif

Airlines Information Management Systems-Requirement for Case Diagrams

I require assistance in finalizing the requirements model for the Airlines Information Management System (AIMS) project. The requirements model need to include use UML case diagrams for the entire AIM system. This includes all three sub-systems: bookings, fleet management and employee management. I also require assistance in

Java Program for Printing Employee Details

I am looking for a java program that allows the user to create a file of employees, address, and phone numbers. Prompt the user to enter the filename, and then prompt the user to enter the employees names and their phone extension numbers. The user should press Control + Z after entering all of the data. The program then display

Quality Assurance for Web Services

Carry out a test on web site. Carry out the test and prepare for the report. You should at least test the following aspect of the web site: 1. Compliance with HTML standards 2. Compliance with CSS standards 3. Web accessibility from different browsers 4. Web accessibility for disabilities 5.


1. The amount of space between letters can be specified using the __________ property in a style rule. a. letter-kerning b. letter-leading c. letter-spacing d. letter-buffer 2. When a visitor clicks the submit button on a form, the ______ of each form element is sent. a. lab

A Java Class for Time

Modify class Time2 of Fig. 8.5 to include a tick method that increments the time stored in a Time2 object by one second. Provide method incrementMinute to increment the minute and method incrementHour to increment the hour. The Time2 object should always remain in a consistent state. Write a program that tests the tick method,

.java program

(Rectangle Class) Create a class Rectangle. The class has attributes length and width, each of which defaults to 1. It has methods that calculate the perimeter and the area of the rectangle. It has set and get methods for both length and width. The set methods should verify that length and width are each floating-point numbers l

Java - How to program a arrays

If you were explaining an array ti a friend who is learning Java. how would you do so? How would you explain how arrays are used? Provide at least one concrete example.

Java Code for NumberFormat Class

Need to add in: The number format in one decimal place to make this to round the average score to one decimal in this program. //////////////////////////////////////////////// import java.util.Scanner; public class TestScoreApp { public static void main(String[] args) { // display operational mess

Programming Exercise

Write a function that includes the following sequence of statements: x = 21; int x; x = 42; I need to run the program in C, C++, and JAVA. If I can get started in one of the languages I will be able to complete the rest. Thanks.

Creating a Java Inventory Program

I have been collecting golf balls from different courses over the years now. Of right now I have an inventory of over 200 golf balls from different courses. Each golf ball has its own logo (golf course name) My project is to create an inventory of my golf balls; can some one help me with this project? The product is golf ba

GUI Components - Java - JPanel

Declare a subclass of JPanel called MyColorChooser that provides three JSlider objects and three JTextField objects. Each JSlider represents the values from 0 to 255 for the red, green and blue parts of a color. Use these values as the arguments to the Color constructor to create a new Color object. Display the current value of

Java Applets - Floating-Point Numbers

Write an applet that asks the user to enter two floating-point numbers, obtains the numbers from the user and displays the two numbers first and then the larger number followed by the words "is larger" as a string on the applet. If the numbers are equal, the applet should print the message "These numbers are equal." Use the tech

GUI Components - Java - Guess the Number

Write an application that plays "guess the number" as follows: Your application chooses the number to be guessed by selecting an integer at random in the range 1-1000. The application then displays the following in a label: I have a number between 1 and 1000. Can you guess my number? Please enter your first guess. A JText

Java Programming/Mortgage

Please help me create a GUI with 3 JTextField (one for loan amount, one for term, and one for interest rate), one JTextArea (where the monthly payment schedule will be displayed; appended for each month, for all moths; attach a JScrollPane to the JTextArea), one JComboBox (with 3 selections: 7 year at 5.35%, 15 year at 5.5 %, 3

Java - What does the following program do? MysteryClass

// Exercise 15.12 Solution: public class MysteryClass { public int mystery( int array2[], int size ) { if ( size == 1 ) return array2[ 0 ]; else return array2[ size - 1 ] + mystery( array2, size - 1 ); } // end method mystery } // end cl

Visualizing Recursion - Java

It is interesting to watch recursion "in action." Modify the factorial method in Fig. 15.3 to print its local variable and recursive-call parameter. For each recursive call, display the outputs on a separate line, and add a level of indentation. Do your utmost to make the outputs clear, interesting and meaningful. Your goal here

Recursive power Method - Java

Write a recursive method power( base, exponent ) that, when called, returns exponent base For example, power( 3,4 ) = 3*3*3*3. Assume that exponent is an integer greater than or equal to 1. [Hint: The recursion step should use the relationship exponent exponent-1 base = base*

Java Programming

1. Describe the relationship between a GUI component and events? What is the programmer's responsibility when developing a GUI, event-driven program? 2. List two advantages and two disadvantages of using UML as a modeling standard for Object-Oriented programs.

Huge Integer Class - Java

Create a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods input, output, add and subtract. For comparing HugeInteger objects, provide the following methods: isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. Ea

Writing a Java Program

I need assistance in creating a GUI front end for a pizza ordering program similar to that shown below. The result should look something like that presented in enclosed Figure. it must use a JComboBox to display the available pizza toppings (listed below), and when the Add to Order button is clicked, the selected toppings sho

Math.floor Java

Math.floor may be used to round a number to a specific decimal place. The statement y = Math.floor( x * 10 + 0.5 ) / 10; rounds x to the tenths position (i.e., the first position to the right of the decimal point). The statement y = Math.floor( x * 100 + 0.5 ) / 100; rounds x to the hundredths position (i.e., the se