Cis/355 Ilab 2 of 6

In: Computers and Technology

Submitted By alexmicane5
Words 698
Pages 3
HELPIDO.COM

------------------------------------------------------
Follow this link to get the tutorial

http://helpido.com/cis-355-ilab-2-of-6/
------------------------------------------------------

CIS/355 iLab 2 of 6
________________________________________

STEP 1: Largest (10 points)
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. Your program should use at least the following three variables
1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed);
2. number: The current digit input to the program; and
3. largest: The largest number found so far.
When each number is entered, make sure it is a single digit number, that is 0 to 9.

Grading Rubric
Largest Points Description
Standard header included 1 Must contain program's name, student name, and description of the program
Program compiles 2 Program does not have any error
Program executes 2 Program runs without any error
Only single digit numbers are entered 2 Program validates number entered is a single digit number
Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered
Subtotal 10

STEP 2: Palindrome (15 points)
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 asks the user to enter 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…...

Similar Documents

Cis 355 Ilab 6 of 6

...HELPIDO.COM --------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-6-of-6/ --------------------------------------------------- CIS/355 iLab 6 of 6 ________________________________________ 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. Sample Program output: View Output Description Grading Rubric Index Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 1 Program does not have any error Program executes 1 Program runs without any error Correct GUI interface is created 3 Program contains a text area for text input, text box for character input, and the appropriate labels Correct output is displayed 4 Program displays the correct count for both upper and lower case of the input letter Subtotal 10 OUTPUT DESCRIPTION ABOVE: Step 1 Sample Program Output The output of Index.java application contains the following user controls and alignment of the controls: 1. Main form has a title of “Character Finder” 2. Upper left corner, a label with the text “Enter Text to be searched” 3. At the top of the form, and just to the right of the “Enter Text” label is a......

Words: 1276 - Pages: 6

Cis/355 Ilab 2 of 6

...------------------------------------------------------ Follow this link to get the tutorial http://helpido.com/cis-355-ilab-2-of-6/ ------------------------------------------------------ CIS/355 iLab 2 of 6 ________________________________________ STEP 1: Largest (10 points) 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. Your program should use at least the following three variables 1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed); 2. number: The current digit input to the program; and 3. largest: The largest number found so far. When each number is entered, make sure it is a single digit number, that is 0 to 9. Grading Rubric Largest Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Only single digit numbers are entered 2 Program validates number entered is a single digit number Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered Subtotal 10 STEP 2: Palindrome (15 points) A palindrome is a sequence of characters that reads the same backward......

Words: 698 - Pages: 3

Cis/355 Ilab 2 of 6

...------------------------------------------------------ Follow this link to get the tutorial http://helpido.com/cis-355-ilab-2-of-6/ ------------------------------------------------------ CIS/355 iLab 2 of 6 ________________________________________ STEP 1: Largest (10 points) 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. Your program should use at least the following three variables 1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed); 2. number: The current digit input to the program; and 3. largest: The largest number found so far. When each number is entered, make sure it is a single digit number, that is 0 to 9. Grading Rubric Largest Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Only single digit numbers are entered 2 Program validates number entered is a single digit number Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered Subtotal 10 STEP 2: Palindrome (15 points) A palindrome is a sequence of characters that reads the same backward......

Words: 698 - Pages: 3

Cis/355 Ilab 3 of 6

...http://helpido.com/cis-355-ilab-3-of-6/ -------------------------------------------------------- CIS/355 iLab 3 of 6 ________________________________________ STEP 1: Cylinder (20 points) 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. Grading Rubric Cylinder Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Created Cylinder class 3 Program contains the Cylinder class Constructor created that initializes variables 2 A constructor......

Words: 684 - Pages: 3

Cis/355 Ilab 3 of 6

...http://helpido.com/cis-355-ilab-3-of-6/ -------------------------------------------------------- CIS/355 iLab 3 of 6 ________________________________________ STEP 1: Cylinder (20 points) 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. Grading Rubric Cylinder Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Created Cylinder class 3 Program contains the Cylinder class Constructor created that initializes variables 2 A constructor......

Words: 684 - Pages: 3

Cis/355 Ilab 4 of 6

...HELPIDO.COM -------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-4-of-6/ -------------------------------------------------- CIS/355 iLab 4 of 6 ________________________________________ iLab 4 of 6: Inheritance and Simple GUI i L A B O V E R V I E W Scenario and Summary In this lab you will create one project that uses inheritance and two simple Graphical User Interface (GUI) programs. Deliverables Program files for each of the following three programs 1. InheritanceTest 2. DayGui 3. OfficeAreaCalculator At the beginning of ALL your programs, put a comment box that includes the program name, your name, and a brief description of the program. Example: /*********************************************************************** Program Name: ProgramName.java Programmer's Name: Student Name Program Description: Describe here what this program will do ***********************************************************************/ How to submit your assignment: 1. The programs MUST have the same names as the assignment title. 2. Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success. 3. In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program output files into a Word document. 4. You must use a zipped folder to send...

Words: 1204 - Pages: 5

Cis/355 Ilab 6 of 6

...HELPIDO.COM --------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-6-of-6/ --------------------------------------------------- CIS/355 iLab 6 of 6 ________________________________________ 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. Sample Program output: View Output Description Grading Rubric Index Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 1 Program does not have any error Program executes 1 Program runs without any error Correct GUI interface is created 3 Program contains a text area for text input, text box for character input, and the appropriate labels Correct output is displayed 4 Program displays the correct count for both upper and lower case of the input letter Subtotal 10 OUTPUT DESCRIPTION ABOVE: Step 1 Sample Program Output The output of Index.java application contains the following user controls and alignment of the controls: 1. Main form has a title of “Character Finder” 2. Upper left corner, a label with the text “Enter Text to be searched” 3. At the top of the form, and just to the right of the “Enter Text” label is a......

Words: 1276 - Pages: 6

Cis/355 Ilab 6 of 6

...HELPIDO.COM --------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-6-of-6/ --------------------------------------------------- CIS/355 iLab 6 of 6 ________________________________________ 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. Sample Program output: View Output Description Grading Rubric Index Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 1 Program does not have any error Program executes 1 Program runs without any error Correct GUI interface is created 3 Program contains a text area for text input, text box for character input, and the appropriate labels Correct output is displayed 4 Program displays the correct count for both upper and lower case of the input letter Subtotal 10 OUTPUT DESCRIPTION ABOVE: Step 1 Sample Program Output The output of Index.java application contains the following user controls and alignment of the controls: 1. Main form has a title of “Character Finder” 2. Upper left corner, a label with the text “Enter Text to be searched” 3. At the top of the form, and just to the right of the “Enter Text” label is a......

Words: 1276 - Pages: 6

Cis/355 Ilab 2 of 6

...------------------------------------------------------ Follow this link to get the tutorial http://helpido.com/cis-355-ilab-2-of-6/ ------------------------------------------------------ CIS/355 iLab 2 of 6 ________________________________________ STEP 1: Largest (10 points) 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. Your program should use at least the following three variables 1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed); 2. number: The current digit input to the program; and 3. largest: The largest number found so far. When each number is entered, make sure it is a single digit number, that is 0 to 9. Grading Rubric Largest Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Only single digit numbers are entered 2 Program validates number entered is a single digit number Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered Subtotal 10 STEP 2: Palindrome (15 points) A palindrome is a sequence of characters that reads the same backward......

Words: 698 - Pages: 3

Cis/355 Ilab 3 of 6

...http://helpido.com/cis-355-ilab-3-of-6/ -------------------------------------------------------- CIS/355 iLab 3 of 6 ________________________________________ STEP 1: Cylinder (20 points) 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. Grading Rubric Cylinder Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Created Cylinder class 3 Program contains the Cylinder class Constructor created that initializes variables 2 A constructor......

Words: 684 - Pages: 3

Cis/355 Ilab 3 of 6

...http://helpido.com/cis-355-ilab-3-of-6/ -------------------------------------------------------- CIS/355 iLab 3 of 6 ________________________________________ STEP 1: Cylinder (20 points) 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. Grading Rubric Cylinder Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Created Cylinder class 3 Program contains the Cylinder class Constructor created that initializes variables 2 A constructor......

Words: 684 - Pages: 3

Cis/355 Ilab 6 of 6

...HELPIDO.COM --------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-6-of-6/ --------------------------------------------------- CIS/355 iLab 6 of 6 ________________________________________ 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. Sample Program output: View Output Description Grading Rubric Index Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 1 Program does not have any error Program executes 1 Program runs without any error Correct GUI interface is created 3 Program contains a text area for text input, text box for character input, and the appropriate labels Correct output is displayed 4 Program displays the correct count for both upper and lower case of the input letter Subtotal 10 OUTPUT DESCRIPTION ABOVE: Step 1 Sample Program Output The output of Index.java application contains the following user controls and alignment of the controls: 1. Main form has a title of “Character Finder” 2. Upper left corner, a label with the text “Enter Text to be searched” 3. At the top of the form, and just to the right of the “Enter Text” label is a......

Words: 1276 - Pages: 6

Cis/355 Ilab 6 of 6

...HELPIDO.COM --------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-355-ilab-6-of-6/ --------------------------------------------------- CIS/355 iLab 6 of 6 ________________________________________ 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. Sample Program output: View Output Description Grading Rubric Index Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 1 Program does not have any error Program executes 1 Program runs without any error Correct GUI interface is created 3 Program contains a text area for text input, text box for character input, and the appropriate labels Correct output is displayed 4 Program displays the correct count for both upper and lower case of the input letter Subtotal 10 OUTPUT DESCRIPTION ABOVE: Step 1 Sample Program Output The output of Index.java application contains the following user controls and alignment of the controls: 1. Main form has a title of “Character Finder” 2. Upper left corner, a label with the text “Enter Text to be searched” 3. At the top of the form, and just to the right of the “Enter Text” label is a......

Words: 1276 - Pages: 6

Cis 355 Cis355 Cis/355 Ilab 2 of 6

...------------------------------------------------------ Follow this link to get the tutorial http://helpido.com/cis-355-ilab-2-of-6/ ------------------------------------------------------ CIS 355 CIS355 CIS/355 iLab 2 of 6 ________________________________________ STEP 1: Largest (10 points) 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. Your program should use at least the following three variables 1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed); 2. number: The current digit input to the program; and 3. largest: The largest number found so far. When each number is entered, make sure it is a single digit number, that is 0 to 9. Grading Rubric Largest Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Only single digit numbers are entered 2 Program validates number entered is a single digit number Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered Subtotal 10 STEP 2: Palindrome (15 points) A palindrome is a sequence of characters that......

Words: 701 - Pages: 3

Cis 355 Cis355 Cis/355 Ilab 2 of 6

...------------------------------------------------------ Follow this link to get the tutorial http://helpido.com/cis-355-ilab-2-of-6/ ------------------------------------------------------ CIS 355 CIS355 CIS/355 iLab 2 of 6 ________________________________________ STEP 1: Largest (10 points) 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. Your program should use at least the following three variables 1. counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed); 2. number: The current digit input to the program; and 3. largest: The largest number found so far. When each number is entered, make sure it is a single digit number, that is 0 to 9. Grading Rubric Largest Points Description Standard header included 1 Must contain program's name, student name, and description of the program Program compiles 2 Program does not have any error Program executes 2 Program runs without any error Only single digit numbers are entered 2 Program validates number entered is a single digit number Program displays the largest number 3 Program displays the largest number after all 10 numbers are entered Subtotal 10 STEP 2: Palindrome (15 points) A palindrome is a sequence of characters that......

Words: 701 - Pages: 3

Nicholas Art | Silex and the City | Dub e Leg 1964 8.0 Por Um Punhado de Dólares (1964) Torrent Dublado e Legendado