About helpidoc

Order your new tutorial, email us at orderhelpido@gmail.com

Ideal Manufacturing Company of Sycamore, Illinois, has supported a research and development (R&D) department


BYP17-2 Ideal Manufacturing Company of Sycamore, Illinois, has supported a research and development
(R&D) department that has for many years been the sole contributor to the company’s
new farm machinery products. The R&D activity is an overhead cost center that provides services
only to in-house manufacturing departments (four different product lines), all of which produce
agricultural/farm/ranch related machinery products.
The department has never sold its services outside, but because of its long history of success,
larger manufacturers of agricultural products have approached Ideal to hire its R&D department
for special projects. Because the costs of operating the R&D department have been spiraling uncontrollably,
Ideal’s management is considering entertaining these outside approaches to absorb
the increasing costs. But, (1) management doesn’t have any cost basis for charging R&D services
to outsiders, and (2) it needs to gain control of its R&D costs. Management decides to implement
an activity-based costing system in order to determine the charges for both outsiders and the inhouse
users of the department’s services.
R&D activities fall into four pools with the following annual costs.
Market analysis $1,050,000
Product design 2,350,000
Product development 3,600,000
Prototype testing 1,400,000
Activity analysis determines that the appropriate cost drivers and their usage for the four activities
are:
Total
Activities Cost Drivers Estimated Drivers
Market analysis Hours of analysis 15,000 hours
Product design Number of designs 2,500 designs
Product development Number of products 90 products
Prototype testing Number of tests 500 tests
Instructions
(a) Compute the activity-based overhead rate for each activity cost pool.
(b) How much cost would be charged to an in-house manufacturing department that consumed
1,800 hours of market analysis time, was provided 280 designs relating to 10 products, and
requested 92 engineering tests?
(c) How much cost would serve as the basis for pricing an R&D bid with an outside company
on a contract that would consume 800 hours of analysis time, require 178 designs relating to
3 products, and result in 70 engineering tests?
(d) What is the benefit to Ideal Manufacturing of applying activity-based costing to its R&D activity
for both in-house and outside charging purposes?

PRICE  $20.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Prepare a financial analysis of Warehouse Distribution, Inc


Develop a PowerPoint presentation that answers the following questions:

Prepare a financial analysis of Warehouse Distribution, Inc., comparing the firm’s financial performance between the two years. In addition to the financial information included in the case, the company’s chief financial officer, Mike Smith, has estimated the company’s average cost of capital for all its financing to be 10.5%.

Based on your analysis would you recommend doing business with Warehouse Distribution, Inc., based on their financial strength? Support your recommendation because the board will want to know why?

What three questions will you ask the executive leaders of Warehouse Distribution, Inc. to evaluate whether or not they operate the company based on biblical principles?

What answers would give you confidence that they do operate Warehouse Distribution on biblical principles?

The presentation should include: Introduction and conclusion slides with 10-15 body slides. 

The ratio analysis should be done in Microsoft Excel. You can either do the work in a separate Excel file and copy and paste your ratio analysis into PowerPoint or insert a spreadsheet into the slides that show your analysis.

The three questions you asked the leaders of Warehouse Distribution, Inc., to determine whether or not they operate the business based on biblical principles and the answer you hoped to receive. The question and answer should be on the same slide so you will have three slides for this portion of the presentation.

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Quark Donut Company Inc. Using the information from the case below develop a Spreadsheet to find income tax expense and


Using the information from the case below develop a Spreadsheet to find income tax expense and net income for the years 2007 to 2014 for the Quark Donut Company Inc.


Submit the spreadsheet results and the formulas and answer all questions required below!


THE CASE


Quark Donut Company was incorporated (as a C corporation) and started business in 2007, make and sell donuts. Quark rented
space in a local mall with a 8 year operating lease. Quark’s only capital expenditure was the purchase in January of 2007 of equipment at a
cost of $280,000. This equipment has an economic life of 8 years and 0 expected salvage value. Quark uses straight line depreciation for
computation of GAAP net income because this best reflects the true economic depreciation of the equipment. For income tax purposes
Quark is permitted to use MACRS (the modified accelerated cost recovery system), and the equipment is considered to be in the 7 year
class. Therefore the allowed MACRS rates are: 14.29% the first year, 24.49% the second year, 17.49% the third year, 12.49% the fourth
year 8.93% the fifth year, 8.92% in the sixth 8.93% in the seventh year and 4.46% in the 8th year. Depreciation is the only non-cash
expense, and is the only source of a difference between taxable income and financial accounting income before tax. Assume an income
tax rate of 35% is enacted for the years 2007-2009. During the year 2010 a new income tax rate of 30% was enacted for 2010 to 2014.
Projected revenues and operating expenses (excluding taxes and depreciation) are as follows:

 

Year

2007
2008
2009
2010

 

Revenues
$150,000
$180,000
$185,000
$190,000

 

Expenses
$100,000
$110,000
$113,000
$116,000

 

Year
2011
2012
2013
2014

 

Revenues
$195,000
$200,000
$200,000
$200,000

 

Expenses
$127,000
$132,000
$135,000
$138,000
_____________________________________________________________
Required:
I. Use a spreadsheet to find: (note: your spreadsheet is the answer to part I)
a. income taxes paid that year(current income tax payable)
b.deferred tax liability
c.the change in deferred tax liability (equal to deferred income tax expense)
d.total income tax expense,
e.net income

 

II.
Using the numbers from your spreadsheet hand write the correct journal entry for income taxes for the year 2010.

III.
Find the effective tax rate for 2010 and explain why the effective tax rate for 2010 is not 30%

PRICE  $20.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

In this exercise, you will design various classes and write a program to computerize the billing system of a hospital.


Problem # 1

 

In this exercise, you will design various classes and write a program to computerize the billing system of a hospital.

a. Design the class doctorType, inherited from the class personType, defined in Chapter 10, with an additional data member to store a doctor’s speciality. Add appropriate constructors and member functions to initialize, access, and manipulate the data members. b. Design the class billType with data members to store a patient’s ID and a patient’s hospital charges, such as pharmacy charges for medicine, doctor’s fee, and room charges. Add appropriate constructors and member functions to initialize, access, and manipulate the data members. c. Design the class patientType, inherited from the class personType, defined in Chapter 10, with additional data members to store a patient’s ID, age, date of birth, attending physician’s name, the date when the patient was admitted in the hospital, and the date when the patient was discharged

from the hospital. (Use the class dateType to store the date of birth, admit date, discharge date, and the class doctorType to store the attending physician’s name.) Add appropriate constructors and member functions to initialize, access, and manipulate the
data members. Write a program to test your classes.

 

Problem # 2

 

Two stacks of the same type are the same if they have the same number of elements and their elements at the corresponding positions are the same. Overload the relational operator == for the class
stackType that returns true if two stacks of the same type are the same; it returns false other- wise. Also, write the definition of the function template to overload this operator.

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

You are required to calculate a golfers stableford score


You are required to calculate a golfers stableford score. The golfer must fill out 1 scorecard and total the scorecard with the number of strokes and the number of corresponding points. Golf Scorecard:

Hole     Par        Index    Strokes    Points

1            4            7

2            3            15

3            4            1

4            4            5

5            3            9

6            5            11

7            4            3

8            5            17

9            4            13

10          3            8

11          4            12

12          5            16

13          4            10

14          4            4

15          4            18

16          4            6

17          5            2

 

18          3            14

Total:

 

All coding must be done in the java class, and the results displayed on the jsp page using the struts tags.

<%@ taglib uri=“/struts-tags” prefix=“s” %>

 

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

A software company MicroOffice has produced four generations of Word Processing Applications,


JAVA Program:

 

A software company MicroOffice has produced four generations of Word Processing Applications, called Word90, Word00, Word10, and Word15. Suppose you are writing a program to test their GUIs. The GUI components we are interested in are Panel, Button, and Textbox. These GUI components look a little different in different generation. Each generation has it own program for testing these GUI components. To know which test to run, you will need to instantiate objects that correspond to each one of the GUI components. We assume that generation of the Word to be tested is stored in a configuration file (text file). Because this situation fits the Abstract Factory pattern so well, you can use that pattern to organize the creation of objects that correspond to GUI components. You will also need to use the singleton pattern to ensure that the instance of each concrete factory is unique. Questions 1) Give the UML diagram. You should have one single diagram that includes both abstract factory and singleton patterns. 2) Give the code (in any language) based on the UML class diagram given in 1). As output, you need to display three different messages (e.g., “Panel Word90”, Button Word90”, and “Textbox Word90”) for the generation specified in configuration file.

A software company MicroOffice has produced four generations

 

 

PRICE  $120.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Create the classes War, Card, Deck, Queue, ArrayQueue, and EmptyStructureException


Create the classes War, Card, Deck, Queue, ArrayQueue, and EmptyStructureException to play War. These classes can be found in the textbook: Data Structures and Algorithms in Java by Peter Drake on pp. 108-113, 120-124 and 131-132. Make the following modifications to War 1. The highest card is an Ace and the lowest card is a Two. 2. Change stack1 and stack2 in War.java to queue1 and queue2. There will be no Stack and ArrayStack in War. 3. Add a counter to print the Round Number and to print how many cards are in each player’s hand. 4. In the Deck class, instead of initializing the cards array with nested for loops, read the cards in from a file in your War folder called “Cards”. The Cards file will have 52 lines (one for each card) and each line will contain 2 characters like Ad, 2c, Js, 9d, etc. Translate the characters to rank and suit and put them in the cards array. Use the FileInputOutput class as an example how to do I/O from files. 5. The dialog of the game will look something like this. Welcome to War. Hit return to play round: Round 1 Js 3h Player 1 gets the cards Player 1 has 27 cards Player 2 has 25 cards Hit return to play round: Round 2
2d 2s War! As Tc Player 1 gets the cards Player 1 has 32 cards Player 2 has 20 cards Hit return to play round: Round 3 Ah Ts Player 1 gets the cards Player 1 has 33 cards Player 2 has 19 cards

 

PRICE  $20.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

You are required to implement a program that will simulate a dice game played by five players


The Problem

You are required to implement a program that will simulate a dice game played by five players.  In the game a player takes five dice and the score is calculated based on a set of rules and the dice are passed to the next player. The game finishes at the end of at the round where one of the players reaches a score of 200.

 

Type of score  Descriptions  Example  Score 
Five of a kind All dice have the same score 1,1,1,1,1 or 5,5,5,5,5 50
Full House Three of one value and two of another value 1,1,1,5,5 or 2,2,3,3,3 25
Four of a kind Four dice with the same value 3,3,3,3,5 or 4,5,5,5,5 Sum of all 5 dice
Three of a kind Three dice with the same value 2,2,2,5,6 or 1,3,5,5,5 Sum of all 5 dice

Your program should meet the following requirements:

  • The program must simulate a game with 5 players and 5 dice.
  • Every player rolls five dice and the score is added to the player’s total score after applying the rules of the game. If the dice values do not follow any of the four rules, the player’s score for this round is 0.
  • A round finishes when the five players have cast the dice and all the scores have been added to the players
  • The program finishes after a round when at least one player has got a total score greater or equal to 200. If more than one player has reached a total score of more than 200, the one with the highest score wins.
  • Once the game is complete, the winner must be displayed.

 

What you need to do

You have to use arrays and methods in the design of your program. Classes can be used but they are not necessary and you won’t be penalised for not using classes. You have to design the program that simulates the game using an algorithm that reflects the implementation.

You should create a well-structured Java program that uses the concepts that we have learned up to this point and makes sensible use of comments.

You should carry out testing of your program. You should work out a sensible way to test that the program works by tracing the simulation of the game.

1

 

 

 

 

 

 

 

1. Design of the program. The design involves a description of the way that you organised the information and the design of the program

 

Description of the data types used to store the information (players, dice, scores…)

Design of the algorithm used to implement the game.

Description of how you tested the program and explanation of the results. Since your program is a simulation you should use print statements to check that game is played following the rules. You should also provide a description of problems encountered and how you have solved them or failed to solve them.

Implementation. Please cut and paste your code into the word-processed document that you submit.  Your code should be in a fixed-pitch font such as Courier and indented sensibly. You will gain marks for :

 

    Declaration of suitable variables and correct use of data types to store the game’s data

   Implementation of the game with loops and if statements

 

 

 Implementation and use of methods with adequate parameter passing and definition and use of local variables. Program should use methods to check if the game has finished, to update player’s score, to calculate the score… You may need more methods

    Program works and matches the specification.

You are required to implement a program that will simulate a dice game played by five players

 

PRICE  $20.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

A procedure in an application needs to store student data.


1. A procedure in an application needs to store student data. The student first name, student last name, student GPA, and whether or not the student is registered all need to be stored. Write the appropriate Dim statements to declare the variables. Make sure to use appropriate naming conventions.
——————-

2. Write a statement to display an input dialog box that shows “Car Make:” as the prompt, “Car” in the title bar, and an empty input area. When the user closes the dialog box, the assignment statement assigns the function’s return value to the strCar variable.

hint: You need to write one line of code.
—————–
3. The following sample of code contains errors. Rewrite the incorrect statements to correct all errors.
An application needs to display the message “Please add water” when the amount of water has fallen below the safe limit. Rewrite the following If statement to correct all errors:

If intWaterLimit < intWaterAmount Then
lblWarning = “Please add water”
End If
——————
4. An application needs to display whether or not a student has been accepted to college. The program needs to display either “Accepted” or “Not Accepted”. A student must have an SAT score of 1750 or higher and a GPA of 3.3 or higher. Rewrite the following If statement to correct all errors:

If intSAT = 3.3 Then
lblMessage.Text = “Not Accepted”
Else
lblMessage.Text = “Accepted”
End If
—————–
5. An application allows the user to enter a salary amount. The application should then calculate and display the possible bonuses based on that salary, using bonus rates of 3-6% in increments of .5%. 

‘ displays bonus amounts using rates 
‘ of 3% – 6% in increments of .5%

Dim dblSalary As Decimal
Dim decBonus As Decimal

TryParse(txtSalary.Text, decSalary)

lblBonus.Text = String.Empty

For decRate As Decimal = 0.03 To 0.06 Step 0.5
decBonus = decSalary + decRate
lblBonus.Text = lblBonus.Text & decRate.ToString(“P1″) & ” ” & decBonus.ToString(“C2″) & ControlChars.NewLine
Next decRate

 

PRICE  $10.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Create a Website that would allow users to enter and submit survey


Create a Website that would allow users to enter and submit survey (to store in the database) and display survey results of total entered surveyed: The survey should display the survey subject title and total five questions. User should be in a position to select Yes/No answer from given dropdown for each question. Upon user selects submit, the program should check that all answers are given by users and then will submit the answer and store into the backend database. The database must have capability to store the total for Yes and No answered for each question by each user as well total number of users submitted the survey. Upon user selects the display survey results option; the website would display survey results retrieved from the backend database. The result must display – Survey Subject, Total Number of Users Submitted the Survey, Each Question and for each question how many percentage (%) answered Yes and how many percentage (%) answered No. These values you will retrieve from the database. The pseudo code must show the calculation of how you are converting (calculating) the total Yes and No answered values for each question in the percentage based on the retrieved values from the database.

 

PRICE  $25.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Your final project will be to analyze, design, and document a simple program that utilizes a good


CMIS 102

 

Your final project will be to analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least
one array. The specific problem you need to solve for the final project is: Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family
and print the names of anyone who lives in Texas. There are 4 components of your submission including: Note: The Program Description and Analysis were most likely delivered last week. Please resubmit those with any modifications based on the grade and feedback
from the professor. Program Description- A detailed, clear description of the program you are building. Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain
the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about the functions you plan to use and how you will use arrays. Be sure
to talk about the types of programming statements that will be used on why. Test plan – Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows
(note: feel free to adapt to your design) Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project All of these components should be placed in word document for submission. Additional details about the program you
need to write: Family sizes vary, however you should design to be able to enter at least 50 Family members. Your test cases should have at least 5 family members. Be sure to separate some functionality into functions or submodules. Having all functionality
in the main module is not a good design. Your design should consider how to indicate the family member entry is complete. Carefully consider the best data type for each of your variables. (e.g. when to use Float versus Integers versus Strings) Example application
test data: Test Case # Input Expected Output 1 Fred, Age: 82, State: MD Mary, Age:75, State: OH Joe, Age: 45, State: TX Julie, Age: 47, State: TX Beth, Age: 9, State: TX Average Age: 51.6 Members who live in TX: Joe Julie Beth 2 Your input data Your expected
output 3 Your input data Your expected output Submission requirements: Your completed assignment should be saved as Word document and submitted to your LEO assignment area no later than the due date listed in the syllabus. Your document should be neat, well-written
with minimal grammatical and spelling errors. Your name should be clearly listed on the first page along with the class/section, professor and due date. Your document should contain page numbers at the bottom of each page. Single or double space line formatting
is acceptable.

 

Screenshot

 

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

PIC 10A Homework 8


PIC 10A Homework 8

Goals

To gain more experience with 2-D arrays and file i/o.

Your Assignment

Your assignment is to implement matrix addition. Do not be intimidated if you have no experience with matrices. Instead of the word matrix just think 2-D array.

Description of how the program works

In main you should first ask the user to enter the dimensions of the matrix. (number of rows, number of columns). Then you should check that the number of rows and the number of columns given are valid (See below for what constitutes a valid number). If they are not, then ask the user to re-enter the dimensions. Next, ask the user if they would like to fill the matrices from a file or fill them with random values. If they choose the file option, prompt the user for a file name. Ask the user if the output should go to a file or to the console. If the user chooses output to a file, ask the user for a file name. After the matrices have been filled output the two matrices either to screen or to a file. Then perform the requested matrix operation and output the result to either the console or to a file as requested by the user. Note: Either fill both matrices from random values or both matrices from a file. Do not do a mizture of the two.

How to add two matrices

Say A and B are two matrices. In order to be able to add them, they both have to have the same number of rows and the same number of columns. For example, if A has 3 rows and 5 columns then B has to also have 3 rows and 5 columns. So, when the user enters the dimensions, we will just set both matrices to have the same dimensions. To add the two matrices, you just add corresponding entries. For example

General advice

The user-entered matrices in this assignment will all be made of ints, and every entry has a value between -10 and 10. While we let the user enter the number of rows and number of columns, the maximum number of rows and number of columns will be 10. So, you may declare your 2-D arrays to be 10 by 10 arrays, but only use a part of the arrays. When you check that the user enters a proper number of rows and number of columns, you may assume that the user enters integers. Check that these integers are in the range [1,10]. For this assignment you may assume that you are the user. To test your program either create a file with some numbers in it, or have your program create this file. The idea is that if you choose to have your matrices randomly filled and SAVE to a file, then next time your program should be able to read the matrices from this file.

Output

Your output should be clean, so use the setw command in an appropriate way when you output the matrix. Also make sure the newlines are in correct places. You do not have to output the matrices side-by-side. Instead you may output them as
A
B
C
That is, first output the matrix A then output matrix B and then the sum matrix C. A sample output for a 2×2 matrices is something like:

-5  7
3  2

0  -4
6  1

-5  3
9  3

Functions

You should write at least 5 functions. (1) A function that fills a single matrix with random values between -10 and 10; (2) a function that fills a single matrix with values from a file; (3) a function that adds two matrices (4) a function that outputs a single matrix to the console; and (5) a function that outputs a single matrix to a file. Note that I am not telling you here the types of the arguments or return values. You should figure out on your own the best implementation. As with any programming project, there are multiple ways of doing things. However one of the simpler ways is to open the file streams in main rather than in functions. ie. ask the user in main what file name is and open a file for writing in main. There is only one complication using this approach. See the discussion below for filling a matrix from a file.

Note on filling matrices

The best way to implement filling of matrices, is to pass to function a single matrix that you are trying to fill and the dimensions of the matrix. That way if I want to fill two matrices I can just call my function twice. For example, if I want to fill matrix A and matrix B, I can then call my fill function:

fill_random(A,row_size,col_size);
fill_random(B,row_size,col_size);

Now both of my matrices have been filled with random values.

Things ares slightly different for filling matrices from a file. If I opened the file for reading in main I also have to pass the ifstream object fin to the function.

// Open file here //
fill_from_file(A,row_size,col_size, fin);
fill_from_file(B,row_size,col_size, fin);

However, both matrices A and B would get the same values from the file!! This is because of the way file reading works. Every time I do fin >> number;, the next number is read from a file. There is a “file pointer” that is keeping track of where the next number to be read is. When I call the function fill_from_file the first time, the file pointer associated with fin is moved as it should be. However, these updates are done to the local copy of fin. So when I come back to main, fin file pointer is reset to the beginning of the file. So when the second call happens to fill_from_file, the matrix B gets the same values as A. This is easy to fix. When you write the function fill_from_file simply pass the ifstream object fin by reference. For example:

void fill_from_file(int matrix M[10][10], int row_size, int col_size, ifstream &fin)
{

}

What to Turn in

Upload to ccle the source file hw8.cpp

Grading
Functions Intelligent and correct use of functions 4 points
Implementation Program functions in the way described 4 points
Output Correct output 4 points
Solution Code is efficient but easy to follow. 4 points
Style Variable names, comments, indentation, no global variables, uses functions wisely 4 points
TOTAL 20 points

 

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Design a class named Pet, which should have the following fields


Design a class named Pet, which should have the following fields: Name – The name field holds the name of a pet. Type – The type field holds the type of animal that is the pet. Example values are “Dog”, “Cat”, and “Bird”. Age – The age field holds the
pet’s age. The Pet class should also have the following methods: setName – The setName method stores a value in the name field. setType – The setType method stores a value in the type field. setAge – The setAge method stores a value in the age field. getName
– The getName method returns the value of the name field. getType – The getType method returns the value of the type field. getAge – The getAge method returns the value of the age field. Once you have designed the class, design a program that creates an object
of the class and prompts the user to enter the name, type, and age of his pet. This data should be stored in the object. Use the object’s accessor methods to retrieve the pet’s name, type, and age and display this data on the screen. You are to submit the
following for the assignment: Submit your JAVA source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow. Also submit the RAPTOR file (flowchart) of your working program. Make sure you run it to
make sure it is error free and does what it is supposed to. You can use the generate dropdown to create example JAVA code based on your working logical flow chart to see what the code would look like.

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

ShapeMaker Project. Take the basic project we worked on in class and complete the following features:


ShapeMaker Project

Take the basic project we worked on in class and complete the following features:

• Add in switches for choosing and setting colors for the pen and fill. These colors should be passed to the object to be drawn as we did with pre-set colors.

• Add at least two more shapes to the menu. Each shape would be added to the original switch for the shape choices. To add them you must do the following:

o Create a separate class similar to the Circle class we used. This class should have all of the functionality that was imbedded in the Circle class. o Create the appropriate methods in the ShapeMaker class to gather information from the user and to draw the shape.

 

DRIVER CLASS CODE:

 

public class CircleDraw { JFrame mainWindow; Container contentPane; public static void main(String[] args) { CircleDraw circle = new CircleDraw(); circle.start(); } public CircleDraw(){ mainWindow = new JFrame(“Shape Maker”); mainWindow.setSize(500, 400); mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); mainWindow.setVisible(true); contentPane = mainWindow.getContentPane(); contentPane.setBackground(Color.white); } public void start(){ int shape; //display menu of shapes //get user’s choice //based on choice, call methods to get input about shape Circle circle = new Circle(); getCircleInfo(circle); drawCircle(circle); } public void drawCircle(Circle c){ Graphics graphicsContent = contentPane.getGraphics(); c.draw(graphicsContent); } public void getCircleInfo(Circle c){ double radius = Double.parseDouble(JOptionPane.showInputDialog(mainWindow, “Enter the radius of your circle”)); c.setRadius(radius); //display a menu for pen color //get user choice c.setPenColot(Color.red); //display menu for fill color c.setFillColor(Color.blue); int x = Integer.parseInt(JOptionPane.showInputDialog(mainWindow, “Enter upper left x-coordinate”)); c.setX(x); int y = Integer.parseInt(JOptionPane.showInputDialog(mainWindow, “Enter upper left y-coordinate”)); c.setY(y); } } AND HERE IS THE CIRCLE CLASS: public class Circle { //data members private double dblRadius; final public double PI = 3.142; private int xcoord, ycoord; Color penColor, fillColor; //constructor public Circle(){ } public Circle(double radius){ setRadius(radius); penColor = Color.GREEN; fillColor = Color.ORANGE; //set default locations xcoord = 0; ycoord = 0; } //other methods public double getArea(){ return PI * dblRadius * dblRadius; //return PI * Math.pow(dblRadius, 2); } public double getCircumference(){ return 2 * PI * dblRadius; } public void setRadius(double rad){ dblRadius = 0; if(rad > 0){ dblRadius = rad; } } public void setFillColor(Color fill){ fillColor = fill; } public void setPenColot(Color pen){ penColor = pen; } public void setX(int x){ xcoord = 0; if(x>0){ xcoord = x; } } public void setY(int y){ ycoord = 0; if (y>0){ ycoord = y; } } public void draw(Graphics g){ int width = (int)dblRadius * 2; int height = (int)dblRadius * 2; g.setColor(penColor); g.drawOval(xcoord, ycoord, width, height); g.setColor(fillColor); g.fillOval(xcoord, ycoord, width, height); g.dispose(); } }

PRICE  $30.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Design a Java application that will read a file containing data related to the passengers on the Titanic


Design a Java application that will read a file containing data related to the passengers on the Titanic. The description of the file is shown below. The application should provide statistical results on the passengers including: a. Total number of passengers
on the Titanic b. Total number of passengers who perished on the Titanic c. Total number of Passengers who survived the sinking of the Titanic d. Number of passengers who survived the sinking of the Titanic as a function of the passenger class (e.g. 1,2,3)
e. Number of passengers who survived the sinking of the Titanic as a function of the passenger gender (e.g., male, female) f. A list of the names of passengers who paid greater than $200 for their tickets g. A list of the names of passengers who were less
than 10 years old who survived the sinking of the Titanic h. A list of the names of passengers who were less than 10 years old who perished on the Titanic i. The count of the number of passengers as a function of the first letter of their last name. (e.g.,
A: 13, B:33 …) j. Additional statistical results you add to enhance the functionality The following are some design criteria and specific requirements that need to be addressed: a. Use command line arguments to send in the name of the Titanic file. b. Use
a 2D array to store the Titanic data. (Hint: You will probably need to store the array as String values and then convert to other types as needed since some data is null) c. You should create at least 2 Java classes – Titanic and TestTitanic. You are welcome
to create additional classes if you want to further separate the functionality. d. You should create separate methods for each of the required functionality. (e.g. getTotalPassengers() will return the total number of passengers on the Titanic.) e. A user-friendly
and well-organized menu should be used for users to select which data to return. A sample menu is shown in run example. You are free to enhance your design and you should add additional menu items and functionality. f. The menu system should be displayed at
the command prompt, and continue to redisplay after results are returned or until Q is selected. If a user enters an invalid menu item, the system should redisplay the menu with a prompt asking them to enter a valid menu selection g. The application should
keep track of the elapsed time (in seconds) between once the application starts and when the user quits the program. After the program is exited, the 2 application should provide a prompt thanking the user for trying the Titanic program and providing the total
time elapsed.

 

containing data related to the passengers on the Titanic

PRICE  $35.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Write a GUI-based program that analyzes a round of golf. You will retrieve the data for 18 holes


Write a GUI-based program that analyzes a round of golf. You will retrieve the data for 18 holes from a text file. On each line in the file will be the par for that hole (3, 4, or 5) and your core for that hole should be displayed in a label. Provide buttons for the following:
• On button, when clicked, displays whether your overall score was over par, under par, or par
• Another button, when clicked, displays the number of holes for which you made par
• Another button, when clicked, displays how many birdies you scored ( a birdie on a hole is 1 under par)
For this, you should design and code a separate (non-gui) class encapsulating the analysis, then instantiate an object of that class inside your GUI class and call the various methods as needed.

PRICE  $20.00

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Clearly Visual Basic 2010 Chapter 10 Exercise 9 Carlton Solution


Clearly Visual Basic 2010 Chapter 10 Exercise 9 Carlton Solution

 

Carlton Industries stores the item numbers and prices of the items it sells in a sequential access file named ItemInfo.txt. The company’s sales manager wants an application that displays the price corresponding to the item selected in a list box.

 

a. Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Carlton Solution, Carlton Project, and Main Form.vb. Create the interface shown in Figure 10-46.

 

b. Use Windows to copy the ItemInfo.txt file from the VB2010\Chap 10 folder to the project’s bin\Debug folder. Open the Code Editor window and then open the ItemInfo.txt file contained in the project’s bin\Debug folder. Each line contains an item’s number followed by a comma and the price. Close the ItemInfo.txt window.

 

c. Define a structure named item. The structure should contain two member variables: a String variable to store the item number and a Decimal variable to store the price.

 

d. Declare a class-level array that contains five Item structure variables.

 

e. Code the form’s Load event procedure so that it reads the item numbers and prices from the ItemInfo.txt file. The procedure should store the item numbers and prices in the class-level array. It also should add the item numbers to the list box.

 

f. When the user selects an item in the list box, the item?s price should appear in the lblPrice control. Code the appropriate procedure.

 

g. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

 

PRICE  $19.99

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Clearly Visual Basic 2010 Chapter 10 Exercise 8 WKRK Solution


Clearly Visual Basic 2010 Chapter 10 Exercise 8 WKRK Solution

 

Each year, WKRK-Radio polls its audience to determine the best Super Bowl commercial. Th e choices are as follows: Budweiser, FedEx, E*Trade, and Pepsi. The station manager wants an application that allows him to enter a caller’s choice. The choice should be saved in a sequential access file. The application also should display the number of votes for each commercial. Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: WKRK Solution, WKRK Project, and Main Form.vb. Create the interface shown in Figure 10-45, and then code the application. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

 

PRICE  19.99

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

Clearly Visual Basic 2010 Chapter 7 Cable Direct Application


Clearly Visual Basic 2010 Chapter 7 Cable Direct Application

 

Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Cable Direct Solution, Cable Direct Project, and Main Form.vb. Save the application in the VB2010\Chap07 folder. Create the interface shown in Figure 7-39. The list boxes are named lstPremium and lstConnections. Display numbers from 0 through 20 in the lstPremium control. Display numbers from 0 through 100 in the lstConnections control. The Calculate Total Due button’s Click event procedure should calculate and display a customer’s cable bill. The cable rates are shown in Figure 7-40. Business customers must have at least one connection. Use two functions: one to calculate and return the total due for business customers, and the other to calculate and return the total due for residential customers. The form’s FormClosing event procedure should verify that the user wants to close the application. Code the application. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

 

PRICE  $19.99

    





complaint complaint






Order your new tutorial, email us at orderhelpido@gmail.com

New Perspectives on HTML and CSS Edition 6 Tutorial 9 Case Problem 3 Math High


New Perspectives on HTML and CSS Edition 6 Tutorial 9 Case Problem 3 Math High

 

Math High Professor Laureen Cole of Coastal University, owner of the Web site Math High, has been studying the XML vocabulary MathML and how it can be used to display mathematical equations and information. She’s asked you to create an XHTML document that contains elements from both XHTML and MathML. A preview of the page that you’ll create is shown in Fig 9-31.

 

Complete the following:
1. Use your text editor to open the quadtxt.xhtml file from the tutorial.09\case3 folder included with your Data Files. Enter your name and the date in the comment section of the file. Save the file as quad.xhtml in the same folder.
2. Add an XML prolog at the top of the document.
3. Within the html element, insert two namespace declarations: one for the XHTML namespace and the other for the MathML namespace (http://www.w3.org/1998/Math/MathML). Make XHTML the default namespace for the document and make MathML a local with the prefix m.
4. Scroll down the document to the paragraph element with the id eq1. Within this paragraph, copy and paste the MathML element from the mathml.txt file for the first equation.
5. Repeat Step 4 for the paragraphs with ids from eq2 through eq4.
6. For each MathML element, and the MathML namespace prefix m to indicate that these elements are part of the MathML vocabulary.
7. Close the file, saving your changes.
8. Open the quad.xhtml file in a browser that provide built-in support for MathML. At the time of this writing, that includes the FireFox and Opera browsers. Verify that your page resembles that shown in Figure 9-31.
9. Submit your completed files to your instructor, in either printed or electronic form, as requested.

 

PRICE  $25.00

    





complaint complaint