Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

You may use a word processor such as Microsoft Word to

Customer Question
complete. Create a single document...
You may use a word processor such as Microsoft Word to complete. Create a single document for the assignment. Word processing documents must be saved using Microsoft Word format.  
You may also use a text editor such as Notepad++ to complete the homework assignments. Again, create a single document for the assignment. .
When creating a UML class diagram in ArgoUML, open the file named ClassDiagramTemplate.zargo using the ArgoUML program. Immediately save the file using a different name by choosingFile/Save Project As…Then use ArgoUML to draw the class diagram for the assignment. Attach the .zargo file to your submission. Computer Windows 10.Design an application for each of the following problems writing the pseudocode for each; include a UML diagram if appropriate.  
 
1.     Wood Trim, Inc. wants a program that will allow its sales clerks to enter the length (in feet) of the trim ordered by a customer and the price of one foot of trim. Design an application that will calculate and print the total price of the trim before taxes, and then the total price of the trim after the 5% sales tax is added. Be sure to use a constant for the sales tax, and set the value of the constant to 0.05. Write pseudocode for an application program that contains a main() module and a printTrimCost() module. The main() module will input the data (the length in feet of the trim and the price of one foot of trim) and call the printTrimCost() module, passing the correct arguments. The printTrimCost() module that will display the data the user entered, perform the calculations for the total price of the trim before taxes, and the total price of the trim after taxes, and display the results of the calculations. (No UML diagram needed for this problem.)
 
2.     The Free People Store sells different makes of sweaters, such as cashmere and cotton sweaters. Each style of sweater is offered in different colors, such as brown and black. Available sweater sizes range from size 32 to size 44, in both whole and half sizes. Design an object-oriented computer program by doing the following:
 
a.      Create the class diagram and pseudocode for the Sweater class that contains the style of the Sweater, the color of the sweaters, and the size. Examples of valid values for the style are "cashmere" and "cotton". Examples of valid values for the color are "brown" and "black". Examples of valid values for the size are 32 and 34.5. Be sure to choose the most appropriate data type for the attributes. For this class definition, include the following:
                        i.          A default constructor that initializes each attribute to some reasonable default value for non-existent sweaters.
                      ii.          Another constructor method that has a parameter for each data member.  This constructor initializes each attribute to the value provided when an object of this type is instantiated.
                    iii.          Accessor and mutator methods for each attribute.
                     iv.          A method that displays all the data about the sweaters.
 
b.     Add a class diagram for the application to the one you created for part a above, add the correct relationship and multiplicity, and insert the completed diagram immediately before the pseudocode for this problem in the Word document. Write the pseudocode for the application program for the shoe store with a main() module that instantiates two objects of the Sweater class.  The first object should be named  nerdSweaters and use the default constructor.  The second object should be named coolSweaters and use the second constructor to initialize the style to "cashmere", the color to "brown", and the size to 36. Include the following instructions in the main() method, in the order specified below:
                        i.          A call to set the color of the nerdSweaters to "tan".
                      ii.          A call to set the style of the nerdSweaters to “cotton”.
                    iii.          A call to set the size of the nerdSweaters to 35.
                     iv.          A statement that displays the style of the nerdSweaters, using the appropriate method call.
                       v.          A call to change the color of the coolSweaters to "gold".
                     vi.          A statement that displays the style of the coolSweaters, using the appropriate method call.
                   vii.          A call for the coolSweaters object to the method that displays all the information about the sweaters.
Submitted: 7 months ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Customer reply replied 7 months ago
need by 10/3 tomorrow by 5pm. Thanks
Answered in 12 minutes by:
10/3/2017
Tutor: Bhavik Joshi, Computer Software Engineer replied 7 months ago
Bhavik Joshi
Bhavik Joshi, Computer Software Engineer
Category: Homework
Satisfied Customers: 891
Experience: Product Developer at Computer Science Corporation
Verified
I will look into it
Ask Your Own Homework Question
Customer reply replied 7 months ago
Criteria Used for Evaluating Class Diagrams and Pseudocode
Class diagrams and pseudocode submitted are evaluated to determine if the submitted work fulfills the requirements of the assignment and to determine if the work meets the style guidelines used in the course. This document describes the style criteria used to evaluate class diagrams and pseudocode.Naming Conventions
Identifier
Naming Rule
variable
must begin with a
lowercase letter
constant
all letters must be
uppercase
class

must
begin with an
uppercase letter

cannot consist
of
all
uppercase
object
must begin with a
lowercase letter
attribute
(data member)
must begin with a
lowercase letter
method

must
begin with a
lowercase letter

name must
be
followed by a
set of
parentheses

ex. printInfo()
These naming
rules apply to
all identifiers:

descriptive

begin with
a letter

consist of
only:

letters,

digits,
and
the

unders
core

contain no
embedded
spaces
Class Diagram Criteria
Diagram contains 3 rows and
1 column and
it is
sized to its
contents
Correct Set
Up
Class name appears in first row, attributes
appear in second row, and methods appear in
third row
Class Name
Follows naming conventions
Includes access modifiers (either "-" for private,
"+" for public, or "#" for
protected)
Follows naming conventions
Attributes
Includes the
colonIncludes the
correct data type
Uses the correct order:
accessModifier attributeName: dataType
Includes access modifiers (either “-” for private
or “+” for public)
Follows naming conventions
Methods
Includes parentheses
to indicate
this is a
method
name rather
than
a variable name.
Parentheses are empty
if the method has no
parameters. Otherwise, a valid
parameter
list
appears
inside
the parentheses, listing
parameter name, a colon,
and
the datatype.
Multiple parameters are separated by commas.
Functions specify
the return type immediately
after the right parenthesis, showing
a colon
followed by the return type.
Pseudocode Criteria
Uppercase and lowercase is applied correctly
Keywords
Keywords are used correctly
(see list
of valid
keywords below)
Operators
Operators are used correctly (see list of valid
operators below)
4 spaces are used as the
level of
indentation
Indentation
All structures are indented appropriately
Whitespace
Whitespace is
used appropriately, in the
form
of spaces, tabs,
and newlines, to improve the
readability of
the pseudocode

Separate method definitions with a blank
line

Separate class definitions
with a blank
line

Use a space
before and after each
operator
Examples:
age
= 5
rather than
age=5
age = age + 1
rather than
age=age+1
Includes access modifiers (private or public)
Includes the
data type
Follows naming conventions
Uses the correct order:
accessModifier dataType
attributeName
Attributes
Uses descriptive names
Header:
Includes
access modifiers
(either private
or public)
Methods
Includes
the return typeFollows the
naming conventions for
method
names
Includes
the parentheses to indicate
this is
a method
name
rather
than an attribute
name or object name
Includes
parameters
when
appropriate
Follows naming
conventions for mutator
parameter names
Parameters
are in the
format: dataType
identifierName
and are separated
by commas
Body:
All statements are indented correctly
Control structures are used
correctly
For a function the
Return
statement is
present,
along with the
required
return
value
Valid
Keywords and
Operators Used in CTP 115 Pseudocode
Class...End Class
Module...End Module
Function...End Function
Classes and Modules and Methods
Return
Declare
Constant
Integer
Real
Character
String
Boolean
Data Types, Constants, and
Declarations
InputFile
Input
Display
Open
Close
Read
Input and Output
eof()
Calculations
Set
Module, Method,
or Function Calls
Call
Public
Private
Access Modifiers
Protected
If...Else...End If
Select...Case...Default...End
Select
Control Structures
While...End WhileFor...End For
Do...While
NOT
AND
Logical Operators
OR
<
>
<=
>=
= =
Relational Operators
!=Annotations
Customer reply replied 7 months ago
Use Raptor or Argo UMLThanks Again!
Tutor: Bhavik Joshi, Computer Software Engineer replied 7 months ago

This requires lot of time and I am bit busy right now. I am opting out so that some other expert can take this up and start working on it.

I am sorry for that.

Ask Your Own Homework Question
Customer reply replied 7 months ago
Ok
Customer reply replied 7 months ago
is anyone answering question
Tutor: bengmugenr,
 replied 7 months ago
bengmugenr
Category: Homework
Satisfied Customers: 1,525
Verified
it seems to be a underpriced question. However, do you still need the help here please?
Ask Your Own Homework Question
Customer reply replied 7 months ago
no
Was this answer helpful?
Ask Scott Your Own Question
Scott
Scott
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3,040
3,040 Satisfied Customers
Experience: MIT Graduate (Math, Programming, Science, and Music)

Scott is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Children may be exposed to toxic chemicals from paints, carpet
Children may be exposed to toxic chemicals from paints, carpet and cleaning supplies used in classroom environments. Question 1 options: A) True B) False Save Question 2 (1 point) Question 2 Unsaved L… read more
FiveStarLaw
FiveStarLaw
Attorney
Doctoral Degree
477 satisfied customers
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that stand for amounts are called: A. digits. B. numbers. C. numerals. D. numerics. Reset Selection Mark for Review What's This? Question 2 of 20 … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
trace a water molecule as it moves through the urinary system
trace a water molecule as it moves through the urinary system and is excreted from the body. starting point:the water molecule enters a kidney in the blood plasma traveling through the renal artery. e… read more
Dr. Chip
Dr. Chip
M.D.
13,058 satisfied customers
I need help with a homework a tutor just gave me today. its
i need help with a homework a tutor just gave me today. its about electrical estimating and its due for tomorrow!… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Looking for psycology homework help. Somethibg along these
Looking for psycology homework help. Somethibg along these lines.These videos are specifically targeted to teens and young adults. The focus of this question is identity formation and emotional develo… read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
Need help with some data communication/networking homework
Need help with some data communication/networking homework questions. The priority is question 1 and 2e. Thanks… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
My son is sick and I have homework to get done and no time
My son is sick and I have homework to get done and no time to finish … read more
judybailey61
judybailey61
Bachelors degree
196 satisfied customers
For this homework, you are to make a Form that will hold
For this homework, you are to make a Form that will hold input fields for allowing a user to set the begin and end dates of a potential tour. This form will submit the information to a Servlet, which … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I'm working on a program for a homework assignment and I
I'm working on a program for a homework assignment and I can't figure out why it's not working. I've tried finding help online but am not having any success. … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I have some production and operations homework.. can you
Hi! I have some production and operations homework.. can you help me? … read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
PYTON homework. Write a function that counts the number of
Write a function that counts the number of alphabetic characters (a through z, or A through Z) in your text and then keeps track of how many are the letter ‘a'. Your function should print an analysis of the text like this: Your text contains 232 alphabetic characters, of which 24.8% are 'a'.2. [10 points] Write a function that implements a substitution cipher. In a substitution cipher one letter is substituted for another to garble the message. For example A -> Q, B -> T, C -> G etc. your function should take two parameters, the message you want to encrypt, and a string that represents the mapping of the 26 letters in the alphabet. Your function should return a string that is the encrypted version of the message.For example, if your text is 'abc Franklin Student', and your mapping is 'abcdefghijklmnopqrstuvwxyz' to 'bcdefghijklmnopqrstuvwxyza' which means a is going to be replaced by b, b is going to be replaced by c and so on. Same rules apply for upper case letters. A is going to be replaced with B, and so on.Your program should print the encrypted version of 'abc Franklin Student', which is: bcd Gsbolmjo Tuvefou … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
NOTE: This question is a homework given by the same
NOTE: This question is a homework given by the same professor. It does not violate any honor code because same question is repeatedly asked different students. DO NOT FLAGCase Study #1: Technology & P… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Create a probability distribution using the data which shows
Create a probability distribution using the data which shows how many cartons of the wine cooler were bought per customer in a month. Calculate the mean and the standard deviation of your probability … read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
Sons are encouraged to engage in _____ behavior, whereas daughters
Sons are encouraged to engage in _____ behavior, whereas daughters are encouraged to engage in _____ behavior. … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Pittman company is a small but growing manufacturer of
Pittman company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to markets its … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Penn Foster Bookkeeping
M. Castillo… read more
Kara T
Kara T
Expert Homework Tutor
Bachelor's Degree
288 satisfied customers
The scientific method includes all of the following EXCEPT:
The scientific method includes all of the following EXCEPT: (Points: 5) observation. hypothesis making. testing. the application of knowledge gained. 2. 2. A control group differs from an experimental… read more
R.R. Jha
R.R. Jha
Bachelor\u0027s Degree
150 satisfied customers
For BusinessTutor Only Hello, Im
"For BusinessTutor Only" Hello, I'm requesting your assistance once again. Exercise: Rizio co. purchases a machine for $12,500, terms 2/10, n/60, FOB shipping point. the seller prepaid the $360 freigh… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
4,551 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x