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: 10 months ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Customer reply replied 10 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 10 months ago
Bhavik Joshi
Bhavik Joshi, Computer Software Engineer
Category: Homework
Satisfied Customers: 1,003
Experience: Product Developer at Computer Science Corporation
Verified
I will look into it
Ask Your Own Homework Question
Customer reply replied 10 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 10 months ago
Use Raptor or Argo UMLThanks Again!
Tutor: Bhavik Joshi, Computer Software Engineer replied 10 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 10 months ago
Ok
Customer reply replied 10 months ago
is anyone answering question
Tutor: bengmugenr,
 replied 10 months ago
bengmugenr
Category: Homework
Satisfied Customers: 1,975
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 10 months ago
no
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a tutorLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
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,894 satisfied customers

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

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,556 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,699 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,194 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
I need my PSEUDOCODE corrected and a correct FLOWCHART made
I need my PSEUDOCODE corrected and a correct FLOWCHART made ASAP! NO PLAGIARISM!Design a class named Car that has the following fields:l yearModel: The yearModel field is an Integer that holds the car… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
STEP 1: Understand the UML Diagram The only change to the
STEP 1: Understand the UML DiagramThe only change to the Employee class is that there is a new attribute:+benefit : Benefit Notice that there is a "+" for this attribute, meaning that it is public. Ma… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
Use the following UML diagram to build the class. The first
Use the following UML diagram to build the class. The first section specifies the attributes. The second section specifies the behaviors, and the first character specifies the access modifier value, w… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I was trying to check the answer for the rose-resale shop
I was trying to check the answer for the rose-resale shop question … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
iLab 2 of 6: Employee Class Note! Submit your assignment
iLab 2 of 6: Employee Class Note! Submit your assignment to the Dropbox located on the silver tab at the top of this page. (See the Syllabus section "Due Dates for Assignments & Exams" for due dates.)… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I was wonding if you are aviable today to help me out
Hello I was wonding if you are aviable today to help me out on some essay questions there are a total of 8 questions for my CIS class C++ at DeVry U??… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I need help with another program.... This one too is a Java
I need help with another program.... This one too is a Java Program.... 11.1 (The Triangle class) Design a class named Triangle that extend GeometricObject. The class contains: Three double data field… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
hello - i am in need of some assistance. I have way to many
hello - i am in need of some assistance. I have way to many classes and way to little time this week I have most of my questions answered except a few.… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
I have a homework assignment to do the following:The store manager fro
I have a homework assignment to do the following:The store manager from Hands-On Activity 3-1 likes your class defi- nition and wants you to test your logic by writing a program that creates a Televis… read more
Raj
Raj
SAP ABAP Consultant
Master\u0027s Degree
27 satisfied customers
You have been asked by your manager to create a user-friendly
You have been asked by your manager to create a user-friendly application that will present a survey to your customers. The application will compile and analyze the results entered by the survey respo… read more
John
John
Software Engineer
509 satisfied customers
For LogicPro Only: Modify your implemented classes to include
For LogicPro Only: Modify your implemented classes to include the overridden method, computeSales(), that computes the current sales in each of the following categories: • Supplies = office supplies s… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
ASSIGNMENT 305 1a. Using UML notation, perform the following
ASSIGNMENT 305 1a. Using UML notation, perform the following tasks: • Create a UML class diagram for your class. o Your class should have at least 3 attributes (instance variables). o Attributes shoul… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I need help with pseudocode, maybe 15 minutes of work
Here's the homework: if you can do this within four hours, i'd be satisfied. Please let me know if you have any questions. 1. Design a Function in pseudocode. one foot equals 12 inches. Design a funct… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
hello, I have try to finished this assignment but kept running
hello, I have try to finished this assignment but kept running into some issue. Scenario and Summary The objective of the lab is to take the UML Class diagram and enhance last week's Employee class by… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I am taking my final, and was hoping to get some help with
I am taking my final, and was hoping to get some help with it...Is anyone available? I really need help with these: 1. (TCO 2) Explain the terms Encapsulation and Data/Information Hiding in object-ori… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
For Java, I have a few small programs that I need written:a.
For Java, I have a few small programs that I need written: a. Write a class that declares a variable named minutes, which holds minutes worked on a job, and assign a value. Display the value in hours … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,894 satisfied customers
I wrote a program that has all the elements that I think I
I wrote a program that has all the elements that I think I need but it compiles with errors. I need it reviewed and fix. Also that it fully full fills the requirements listed below. The problem is fro… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
5. (TCO 1) Which of the following would be the most
5. (TCO 1) Which of the following would be the most appropriate choice for a method in a Stapler class? (Points : 5) Staple() Color() Manufacturer() Size() 6. (TCO 2) Which of the following statements… read more
R.R. Jha
R.R. Jha
Bachelor\u0027s Degree
150 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