CIST 1305
Unit 06 Drop Box Assignment
General Instructions
You will create a word processing document and save it in "PDF" format. If you turn your document in using the wrong format, you will get no credit for it. ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. For instruction on How To do assignments and create the file see the "How To Do Homework" document under the "Start Here" button.
The Assignment
Design a class named StockTransaction that holds a stock symbol (typically one to four characters), stock name, number of shares traded, and price per share. Include methods to set and get the values for each data field. Create the class diagram using UMLet and write the pseudocode that defines the class.
Notice the difference. The UML diagram is a higher level design (which is why we start with UML diagrams). The UML diagram shows the structure of the class and its relationships (if any) with other classes. The pseudocode is also a design document, but this shows the logic of individual methods that is lacking in the UML class diagram. Both are part of your toolkit when you are designing a solution to a programming problem.
What to turn in
At the top of your paper make sure you put your name, date, and "CIST 1305 Unit 06 Lab". You can save your document for your own use in any format you like. Name your paper "Unit06_Lab_.xxx". Where xxx is the file extension your word processor uses. So Tom Swift (who used Word) would name his file Unit06_Lab_tswift.docx. But, create a PDF document to turn in. So Tom's document to turn in would be named Unit06_Lab_tswift.pdf. All modern word processors can create a PDF file by use of a "Save As ..." dialog or an "Export..." dialog usually found under the "File" menu. If you are not sure how to export a PDF Google it to find out. If that does not help post to our HELP discussion board.
Pseudocode :
class StockTransaction { // Declaration of the class
// variables
private String stockSymbol, stockName;
private int numberOfSharesTraded;
private double pricePerShare;
// setters
public void setStockSymbol(String symbol){
this.stockSymbol = symbol;
}
public void setStockName(String name){
this.stockName = name;
}
public void setNumberOfSharesTraded(int number){
this.numberOfSharesTraded = number;
}
public void setPricePerShare(double price){
this.pricePerShare = price;
}
// getters
public String getStockSymbol(){
return this.stockSymbol;
}
public String getStockName(){
return this.stockName;
}
public int getNumberOfSharesTraded(){
return this.numberOfSharesTraded;
}
public double getPricePerShare(){
return this.pricePerShare;
}
}
Class Diagram:
This is a jpeg as I cannot upload any other format

Please Upvote. Thanks!
CIST 1305 Unit 06 Drop Box Assignment General Instructions You will create a word processing document...
CIST 1305 Unit 07 Drop Box Assignment The Assignment ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. For instruction on How To do assignments and create the file see the "How To Do Homework" document under the "Start Here" button. You will create a word...
CIST 2371 Introduction to Java Unit 04 Lab Due Date: ________ Create a folder called Unit04 and put all your source files in this folder. You will create a UML diagram and two Java class files and that implements the classes in the UML diagram. Diagram Create a UML diagram that shows an Account class and an AccountTester class. The Account class holds the following data as Strings: account Number, type of account, card number and expire date. Include getter...
In this assignment, you will create both a Domain Model Class Diagram (database model) and a Design Class Diagram (for programmers). The receptionists of the dental clinic are responsible for entering information about patients, including head of household information, insurance information, and number of office visits. The dental clinic business manager also maintains patient information, as well as dental staff information. The business manager responsibilities include printing invoices and sending them to the heads of households on a monthly basis,...
Module 06 Classroom Assignment - Assess and Document Prior to class, and after reading/viewing the module assignment, select one of the following and conduct an assessment. Head Face Neck Skin Hair Nails You may conduct the assessment on a fellow student, friend, or family member. Remember to secure their permission. Collect both subjective and objective data using the process described in the textbook. Then, document your findings and bring them to class. Your instructor may ask that you submit your...
INSTRUCTIONS: 1. Write your assignment on your word processor on your comptuer. 2. Save your document as a .dox file, a .pdf file on your comuter. 3. In the assignment box below, click the "Browse My Computer" button and look for the assignment 4. Select that file and hit the "submit" button On your word processor describe in writing the following: Using your textbook (Chp 5): Discuss the role of the Liver, Gall bladder and Pancreas in digestion of fat...
Create a document using Word or other word processing program that will represent an email. Follow the guidelines for business emails presented in the reading assignments of Lesson 3 to guide your purpose and organization of this email. The subject of the email is a summary of email netiquette. Your intended audience is a group of employees who report to you in a corporate environment. The purpose of this email communication is informative. As supervisor you want to ensure that...
INSTRUCTIONS: 1. Write your assignment on your word processor on your comptuer. 2. Save your document as a .dox file, a .pdf file on your comuter. 3. In the assignment box below, click the "Browse My Computer" button and look for the assignment 4. Select that file and hit the "submit" button On your word processor describe in writing the following: What is cholesterol? What specifically are HDL and LDL? Why are they referred to as "good" cholesterol and "bad"...
INSTRUCTIONS: 1. Write your assignment on your word processor on your comptuer. 2. Save your document as a .dox file, a .pdf file on your comuter. 3. In the assignment box below, click the "Browse My Computer" button and look for the assignment 4. Select that file and hit the "submit" button On your word processor describe in writing the following: Using your text (Chapter 5) what role does saturated fats and trans fats play in increasing risk for cardiovascular...
Instructions The purpose of this assignment is for you to begin using diagramming software to create data flow diagrams (DFD) for a simple business process. For more information, please be sure to view Lecture 04 "Intro to Data Flow Diagrams (DFD)" and/or consult the following Sections in our text, Gelinas: 4-2a Reading Data Flow Diagrams 4-3a Preparing Data Flow Diagrams 4-3b Drawing the Context Diagram 4-3c Drawing the Current Logical Data Flow Diagram (Later, we will cover Ch 4, but...
Java Programming assignment. 1. Create a class called Square that takes a width parameter in the constructor. The Square class should have a draw() method that will draw the square on the screen. Create a class called TestSquare that will take width from the user, create an object of Square, and invoke the draw() method on the square object. Below is a UML diagram for the Square and Rectangle class: 3. Create a zip file that contains your Java programs....