CIS 355 Lab 6: Strings and Collections
Type: Instant Download
Format: Zip file (Contains all documents needed for this assignment)
Version: Current 2013-14 (Click on tutorial image to view snapshot)
Frequently Asked Questions
What is included in the full course package? The entire course study guide includes the output file homework solution in notepad forCIS 355 Lab 6 : Strings and Collections(bachelors program)
Your tutorial will include these files:
- CIS355_Lab6.Zip (Notepad document)
What if I find a question is missing? Just shoot us an email or contact us via live chat. Our expert DBM tutors will add the answers to the study guide within 1 to 3 days. You will receive a free update to the study guide with the answers you need.
Will this help me with DBM 405 problems? Yes, this guide is designed to help students get through the CIS 355 Lab 6 exercise with ease.
CIS 355 Lab 6 Strings and Collections :
Program files for each of the following three programs.
• Index.java
• Index2.java
• ThreeArrayLists.java
Step 1: Index.java
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.
Step 2: Indx2.java
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.
Best College Study.Com
CLICK HERE TO VIEW TUTORIAL
Step 3: ThreeArrayLists.Java
Write a program called ThreeArrayLists.java that declares three ArrayList objects referenced by the objects named priceList, quantityList, and amountList. Each ArrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers.
• The numbers that should be stored in priceList are 10.62, 14.89, 13.21, 16.55, 18.62, 9.47, 6.58, 18.32, 12.15, 3.98.
• The numbers that should be stored in quantityList are 4, 8.5, 6, 7.35, 9, 15.3, 3, 5.4, 2.9 4.8.
Your program should pass object references to these three ArrayList objects to a method named extend(), which should calculate the elements in the amountList ArrayList as the product of the corresponding elements in the priceList andquantityList ArrayList, for example, amountList.add(priceList.get(i) * quantityList.get(i)).
Program files for each of the following three programs
1. Index
2. Index2
3. ThreeArrayLists
11 years ago
Purchase the answer to view it

- cis_355_lab_6.zip