Skip to content

rifflere/choice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

choice

SDEV 301 Review

I created a short program to review the following concepts in Java:

  • Maps
  • Compound Data Structures

I used data on Latin vocabulary frequency from Dickinson College Commentaties to create this program.

What you see when you run this program

When you run this program, the following prompt prints on the screen:

Enter a number to view one on the following:

1 - high frequency Latin conjunctions

2 - high frequency Latin pronouns

3 - high frequency Latin prepositions

If you enter, for example, "3", the output is:

The most common Latin prepositions are:

in

ad

cum

Note: This is, in fact, an accurate list of the three most common Latin prepositions. Respectively, they mean approximately "in," "to/toward", and "with/when/since/although/nevertheless." Aren't prepositions great!

What is happening

This program constructs three Array Lists that each contain high frequency Latin vocab, one each for conjunctions, pronouns, and prepositions.

It then constructs a Hash Map which has String keys and List values. The keys store the names of the lists, and the lists are stored in the values.

About

This is a brief review of Maps and compound data structures in Java in the form of a brief classical Latin language analyzer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages