Discount CIS355A CIS 355A CIS/355A - Complete Solution - All Week 1 2 3 4 5 6 - SPECIAL PRICE !!!
    CIS355A CIS 355A CIS/355A - Complete Solution - All Week 1 2 3 4 5 6 - SPECIAL PRICE !!! CIS355A CIS 355A CIS/355A - Complete Solution - All Week 1 2 3 4 5 6 - SPECIAL PRICE !!! CIS355A CIS 355A CIS/355A - Complete Solution - All Week 1 2 3 4 5 6 - SPECIAL PRICE !!!

CIS355A CIS 355A CIS/355A - Complete Solution - All Week 1 2 3 4 5 6 - SPECIAL PRICE !!!

$80.98
$122.70

Week #1

Program files for each of the following three programs:

1.   ShowEscapeSequences.java

2.   Circle

3.   PracticeArithmeticOperators

ShowEscapeSequences.java

Write a Java program named ShowEscapeSequences.java that displays the following.

I really like
CIS355A 
     "Business Application Programming with Lab using JAVA"

Circle 

Write an application called Circle.java that inputs from the user the radius of a circle as an integer and prints the circle’s diameter, circumference, and area. Use the example program and GUI technique message dialog box shown in the Week 1 Lecture.

PracticeArithmeticOperators 

Write an application called PracticeArithmeticOperators.java that asks the user to enter two numbers. The program is to convert these numbers from String to type int and then print in a tabular format the sum, the difference, the product, and the quotient of the two numbers entered. Use the example program shown in the Week 1 Lecture. For example, if the user enters 25 and 5, the following should be displayed.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Week #2

Program files for each of the following three programs:

1.   Largest

2.   Palindrome

3.   Diamond

Largest 

 

Write a Java application program called Largest.java that inputs a series of 10 single-digit numbers and determines and prints the largest of the numbers. Except main() method, no other user-defined method is required. 

Palindrome

 

A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554, and 11611. Write an application called Palindrome.java that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits long, display an error message dialog indicating the problem to the user. When the user dismisses the error dialog, allow the user to enter a new value.

Diamond

 

Write a program called Diamond.java that uses a method diamondOfAsterisks() that displays a diamond (the row number of a diamond must be odd) of asterisks whose row is specified in an integer parameter row. For example, if row is 7, the method displays the pattern of asterisks at the top of the next page.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Week #3

Program files for each of the following four programs:

1.   Cylinder

2.   CylinderTest

3.   Date

4.   DateTest

 Cylinder

 

Create a class called Cylinder.java that contains two double-precision instance variables named radius and height. The class should include a constructor that initializes the radius and height variables. Also, you need a class method named volume() that returns the volume of a Cylinder object. The volume of a cylinder is given by its radius squared times its height times Pi (radius * radius * height * Math.PI). You can either use the value 3.1416 for Pi or use the Java provided value named Math.PI.

Write a class called CylinderTest.java and declare an array of three Cylinder objects to call the methods you declared in the Cylinder class. Make sure that all class methods are called from main(). Have main() display the value returned by volume() and verify the returned value by hand calculations (paper/pencil). Prompt the user to enter the values for the radius and height of each Cylinder object in the array.

 Date

 

Create a program called Date.java to perform error-checking on the initial values, for instance: fields month, day, and year. Also, provide a method nextDay() to increment the day by one. The Date object should always remain in a consistent state.

Write a program called DateTest.java that prompts the user to enter the month, day, and year as numeric values. This program then creates a Date object using the Date class you just created and tests the nextDay() method. This can be done in a loop of 40 iterations: the Date object calls the nextDay() method and prints the date during each iteration of the loop. This loop is to illustrate that the nextDay() method works correctly.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Week #4

Program files for each of the following three programs

1.   InheritanceTest

2.   DayGui

3.   OfficeAreaCalculator

STEP 1: InheritanceTest

Write a program called InheritanceTest.java to support an inheritance hierarchy for class Point-Square-Cube. Use Point as the superclass of the hierarchy. Specify the instance variables and methods for each class. The private variable of Point should be the x-y coordinates. The private data of Square should be the sideLength. The private data of Cube should be depth. Each class must provide applicable accessor, mutator, and toString() methods for manipulating private variables of each corresponding class. In addition, the Square class must provide the area() and perimeter() methods. The Cube must provide the area() and volume() methods.

Write a program that instantiates objects of your classes, ask the user to enter the value for x, y, and sideLength, test all instance methods and outputs of each object’s perimeter, area, and volume when appropriate.

STEP 2: DayGui

Write a program called DayGui.java that creates a GUI having the following properties

Object

Property

Setting

JFrame

Name
Caption
Layout

mainFrame
Messages
FlowLayout

JButton

Name
Caption
Mnemonic

cmdGood
Good
G

JButton

Name
Caption
Mnemonic

cmdBad
Bad
B

Add individual event handlers to your program so that when a user clicks the Good button, the message "Today is a good day!" appears in a dialog box, and when the Bad button is clicked, the message "I'm having a bad day today!" is displayed. The following tutorial shows you much of the code solution. Feel free to use the tutorial, but make changes so that you are not simply copying the tutorial code for your entire solution. To make this different from the tutorial, change the colors of the buttons and panel. Also, add this application to a tabbed pane along with the program you will complete in the next step, Step 3. The following tutorials will likely be useful as you work to complete this step:

·      JTabbedPane

·      Tutorial to Write Your First GUI

STEP 3: OfficeAreaCalculator

Write a program called OfficeAreaCalculator.java that displays the following prompts using two label components

·      Enter the length of the office:

·      Enter the width of the office:

Have your program accept the user input in two text fields. When a button is clicked, your program should calculate the area of the office and display the area in a text field with a label of Area. This display should be cleared whenever the input text fields receive the focus. A second button should be provided to terminate the application (Exit button).

The following tutorial shows you much of the code solution. Feel free to use the tutorial, but make changes so that you are not simply copying the tutorial code for your entire solution. To make this different from the tutorial, change the colors of the panel. Also, add this application to the same tabbed pane (see the JTabbedPane tutorial) as the application you built in Step 2, the DayGui application.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Week 5

Program files for each of the following two programs:

1.   GuessGame

2.   TextIO

STEP 1: GuessGame

 

Write a program named GuessGame.java that plays the game “guess the number” as follows: Your program chooses the number to be guessed by selecting an integer at random in the range 1–1000. The program then displays the following in a label.

I have a number between 1 and 1000 -- can you guess my number?

Please enter your guess: ____________________

A JTextField should be used to input the guess. A JButton must be provided to allow the user to press each time a guess is entered. As each guess is input, the background color should change to either red or blue. Red indicates that the user is getting warmer, and blue indicates that the user is getting colder. A JLabel should display either Too High or Too Low to help the user zero in on the correct answer. When the user gets the correct answer, Correct! should be displayed, and the JTextField used for input should be cleared and changed to be uneditable. Also, a JButton should be provided to allow the user to play the game again. When the New Game JButton is clicked, a new random number should be generated and the input JTextField changed to be editable. A JButton must be provided to allow the user to exit the application. Also provide a count of the number of guesses the user entered when the correct number is guessed.

STEP 2: Text File I/O

Write a program called TextFileIO.java to create a file named numbers.dat. Then create an algorithm that writes all even numbered integers from 1 to 100, separated by a comma. After the file has been created, close and reopen the file and display the results to the screen. After the results have been displayed append the odd number integers from 1 to 100, separated by a comma to the end of the file. Reopen the file and display the results. The contents of the file should be the even numbers from 1 to 100 separated by a comma followed by the odd number from 1 to 100 separated by a comma. The output of this program would be something like the following

2,4,6,8,10,12,14,……,98,100
2,4,6,8,10,12,14,……,98,100,1,3,5,7,9,……..97,99

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Week 6

Program files for each of the following three programs:

1.   Index

2.   Index2

3.   ThreeArrayList

Index

Write a Java GUI application called Index.java that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text. This program is not case sensitive and both upper and lower case must be counted for.

Index2

 

Write a Java GUI application Index2.java based on the program in Step 1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.

ThreeArrayLists

 

Write a program in a GUI JFRAME called ThreeArrayLists.java that declares three ArrayList objects referenced by the objects named priceListquantityList, and amountList. Each ArrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers

Complete solution for CIS355A course (All Weeks 1 2 3 4 5 6)

Solution contains java source file (*.java), class file (*.class) and Word document (put all program, screen shots and output into a word document)

Complete solution, an original work and very detail!

How to run programs?

You can using any java IDE, create new project and add all java source code to src folder and run programs.

If you have more question, please contact me via email support@extutorials.com

I will help you any time

Thanks

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B