Programming
CS 282 GCCCD Module 6 Lab Lists Stacks Queues & Priority Queues Exercise

CS 282

Grossmont-Cuyamaca Community College District

CS

Question Description

I’m working on a Java question and need guidance to help me study.

Module 6 Lab: Lists, Stacks, Queues, Priority Queues

Regular expression tutorial links:

Beginner's book (Links to an external site.)

Vogella (Links to an external site.)

Java/Oracle docs

Lab 6 Rubric

CriteriaRatingsPts

This criterion is linked to a learning outcomeGUI

6.0 Pts

Reasonably clean, all controls needed for operation, clearly labeled, intuitive.

3.0 Pts

Controls missing or other problems

0.0 Pts

Not submitted

6.0 pts

This criterion is linked to a learning outcomePrompt for file

3.0 Pts

Uses JFileChooser,user selected file is the file processed.

2.0 Pts

Hard coded file name is used

1.0 Pts

Syntax or other errors in the file selection

0.0 Pts

Not submitted

3.0 pts

This criterion is linked to a learning outcomeFile processing, sort and display

8.0 Pts

All words in the file are read, list is correctly sorted and all words displayed in sorted order.

6.0 Pts

Words missing, sort is not correct.

4.0 Pts

Major errors such as run time errors.

0.0 Pts

Not submitted or program won't run at all.

8.0 pts

This criterion is linked to a learning outcomeJava code

3.0 Pts

Code is clean, descriptive variable names, appropriate use of constants, commas and white space.

2.0 Pts

Your code and logic is a bit hard to follow

0.0 Pts

Not submitted

3.0 pts

Total points: 20.0


Module 7 Lab: Sets and Maps

Lab 7 Rubric

CriteriaRatingsPts

This criterion is linked to a learning outcomeGUI

6.0 Pts

Has all controls required for operation, intuitive to use

3.0 Pts

Partially completed or has GUI related code issues

0.0 Pts

Not submitted

6.0 pts

This criterion is linked to a learning outcomePrompt for file

3.0 Pts

Full Marks

Uses JFileChooser, user selected file is the file processed.

2.0 Pts

Hard coded file name

0.0 Pts

Not submitted

3.0 pts

This criterion is linked to a learning outcomeFile processing, sort and display

8.0 Pts

All words in the file are read, list is correctly sorted and all words displayed in sorted order. Word occurrence counts are correct.

6.0 Pts

Runs but has bugs such as missing words, incorrect counts, etc

4.0 Pts

Has runtime or other serious errors

0.0 Pts

Not submitted

8.0 pts

This criterion is linked to a learning outcomeJava code

3.0 Pts

Code is clean, descriptive variable names, appropriate use of constants, commas and white space.

2.0 Pts

Your code is a bit hard to follow

0.0 Pts

Not submitted

3.0 pts

Total points: 20.0


Unformatted Attachment Preview

Cuyamaca College CS-282 Intermediate Java Programming John Gerstenberg, Instructor Lab #6 Student Learning Outcomes      JavaFX Event handling JFileChooser File I/O ArrayList class Overview This lab will give you experience working with the ArrayList class. Exercise 1: Develop a JavaFX application that will read words from a text file to an ArrayList, sort and display the sorted list in a TextArea control. Your user interface must contain the following elements: TextArea and a button that will handle the file processing. You must prompt the user for a file using the JFileChooser. You may use the Java library sort. You may use any of the approaches in chapter 15 to code your event handler. There’s room to be creative with the GUI design. Here’s a sample GUI that would be acceptable. A sample file is provided that you may use or you can create your own. It must contain at least 5 words. 1 Grading Criteria: Deliverable GUI Points 6 Prompt for file File processing, sort and display Java code 3 8 Total 20 2 3 Breakdown Reasonably clean, controls appropriately labeled, intuitive to use. Uses JFileChooser, user selected file is the file processed. All words in the file are read, list is correctly sorted and all words displayed in sorted order. Code is clean, descriptive variable names, appropriate use of constants, commas and white space. monkey snake dog cat goat hawk crow lizard elephant cow horse Cuyamaca College CS-282 Intermediate Java Programming John Gerstenberg, Instructor Lab #7 Student Learning Outcomes      JavaFX Event handling JFileChooser File I/O Maps Overview This lab will give you experience working with the TreeMap class as well as more practice reading files and working with JavaFX. Exercise 1: This is based on the word count case study in section 21.6 of the chapter. You will add a JavaFX GUI and read the words from a text file. Use the JFileChooser to prompt the user for a file. You may use either a list or text area to display the words and their counts. Don’t worry too much about formatting. Display the file name being processed in either a label or text field. There’s room to be creative with the GUI design. Here’s a sample GUI that would be acceptable. A sample text file is provided that you may use or you can create your own. 1 Grading Criteria: Deliverable GUI Points 6 Prompt for file File processing, sort and display 3 8 Java code 3 Total 20 2 Breakdown Reasonably clean, controls appropriately labeled, intuitive to use. Uses JFileChooser, user selected file is the file processed. All words in the file are read, list is correctly sorted and all words displayed in sorted order. Word occurrence counts are correct. Code is clean, descriptive variable names, appropriate use of constants, commas and white space. Windows Help System Displays help about Windows PowerShell cmdlets and concepts. Windows PowerShell Help describes Windows PowerShell cmdlets, functions, scripts, and modules, and explains concepts, including the elements of the Windows PowerShell language. Windows PowerShell does not include help files, but you can read the help topics online, or use the Update-Help cmdlet to download help files to your computer and then use the Get-Help cmdlet to display the help topics at the command line. You can find help for Windows PowerShell online in the TechNet Library. ...
Purchase answer to see full attachment
Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Atta...

criss53 (3116)
UC Berkeley

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Anonymous
Just what I needed… fantastic!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4