The following is a program that creates a histogram for a frequency distrubution using java.
Solution
//**************************************
// Histogram.java
// CS151A, Assignment 8
// Creates a Histogram for a frequency distrubution
//********************************************
Work of a Business University Student
Monday, January 16, 2012
Brick Wall java Programming
Question
PP 6.15 Design and implement a program that draws a brick wall pattern in which each row of bricks is offset from the row above and below it.
PP 6.15 Design and implement a program that draws a brick wall pattern in which each row of bricks is offset from the row above and below it.
Labels:
Computer Science
Traffic Light Java Programming
The following is a collection of three files that combine to produce a animated picture of a working traffic light. If you push the button, the light changes.
Traffic Light(The guts of the program)
//************************************************
// Traffic_Light.java
// CS151A, Assignment 6
// Draws traffic light and keeps track of its state.
//************************************************
Traffic Light(The guts of the program)
//************************************************
// Traffic_Light.java
// CS151A, Assignment 6
// Draws traffic light and keeps track of its state.
//************************************************
Labels:
Computer Science
Slot Machine Java Programming
Question
PP 5.8
Design and implement an application that simulates a simple slot machine in which three numbers between 0 and 9 are randomly selected and printed side by side. Print an appropriate statement if all three of the numbers are the same, or if any two of the numbers are the same. Continue playing until the user chooses to stop.
PP 5.8
Design and implement an application that simulates a simple slot machine in which three numbers between 0 and 9 are randomly selected and printed side by side. Print an appropriate statement if all three of the numbers are the same, or if any two of the numbers are the same. Continue playing until the user chooses to stop.
Labels:
Computer Science
Toonie Fish Tank Java Programming
This is a problem which asked you to find out how many rolls of Toonies it would take to overflow a certain sized fish tank filled with a specified amount of water. It ignores the space that the paper of the Toonie rolls would occupy.
Labels:
Computer Science
School bus Java Programming
The following is a solution to a question asking you to draw a school bus using java. I put some people in the windows and other stuff as well. The only thing that I couldn't get right in this assignment, is getting the text to appear as I wanted it. The rest of the Java School bus is correct.
It is an applet, not an application, so it needs and accompanying HTML file, I'll try and find the file and upload it.
It is an applet, not an application, so it needs and accompanying HTML file, I'll try and find the file and upload it.
Labels:
Computer Science
Java Programming Trip Time Program
Question
Write an application that prompts for and reads integer values for speed and distance traveled, then prints the time required for the trip as a floating point result.
Write an application that prompts for and reads integer values for speed and distance traveled, then prints the time required for the trip as a floating point result.
Labels:
Computer Science
Java Programming Average of Three Integers
Question
PP 2.2 Write an application that reads three integers and prints their average.
PP 2.2 Write an application that reads three integers and prints their average.
Labels:
Computer Science
Java Programming Assignment #1
Questions
Computer Science 151 Assignment 1
Each of the following problems is worth 5 points (total 15 Points). Use JCreator (or other IDE if you’re not a Windows user). to type, compile and run the following programs.
Computer Science 151 Assignment 1
Each of the following problems is worth 5 points (total 15 Points). Use JCreator (or other IDE if you’re not a Windows user). to type, compile and run the following programs.
Labels:
Computer Science
Wednesday, March 30, 2011
Market Share Analysis
Here is a market share analysis I did for a business plan when I was back in College. In retrospect, I overestimated what my market share would be, but the outline is still valid for anyone who wishes to do one of these for a business plan. I felt this was very beneficial as it allowed me to break down exactly who the customers in the industry were, and how many of them would do business with a particular company.
Subscribe to:
Posts (Atom)