Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anyone completed CS201 (DSA) on Study.com ?
#1
I have a couple of questions about the final assignment. Not the coding part but more the format/structure that they would like it in. The description is very ambiguous or maybe I'm just missing something.

I've submitted multiple support tickets asking for clarification but still have had no reply. That was 2 weeks ago.

I decided to submit my assignment as one program that first stored the data in the 2D Array and then after prompting user, displaying data etc, it went on to transferring that data into a Hashmap for part 2 etc.

I got a very low grade with very generic feedback along the lines of 'incorrect solution'. Of course, I've asked for further clarification but I'm not holding my breath. 

If anyone could give insight on how you think this assignment should be submitted (especially if you've completed the course), that would be very helpful. Again, I'm not seeking help with the programming or the code, just the format or structure. Should I be submitting two completely separate programs, i.e two different java projects?

Project spec below:

Code:
Part 1: Sorting Arrays
Develop a program that asks the user to enter a capital for a U.S. state. Upon receiving the user input,
the program reports whether the user input is correct. For this application, the 50 states and their
capitals are stored in a two-dimensional array in order by state name. Display the current contents of
the array then use a bubble sort to sort the content by capital. Next, prompt the user to enter answers
for all the state capitals and then display the total correct count. The user's answer is not case-sensitive.

Part 2: Sorting & Searching HashMap
Now revise the code to store the pairs of each state and its capital in a Map using the HashMap function.
Display the content of the Map, then use the TreeMap class to sort the map while using a binary search tree
for storage. Next, your program should prompt the user to enter a state and it should then display the
capital for the state.

Thanks in advance
Reply
#2
(02-26-2020, 12:51 PM)JayAllDay Wrote: I have a couple of questions about the final assignment. Not the coding part but more the format/structure that they would like it in. The description is very ambiguous or maybe I'm just missing something.

I've submitted multiple support tickets asking for clarification but still have had no reply. That was 2 weeks ago.

I decided to submit my assignment as one program that first stored the data in the 2D Array and then after prompting user, displaying data etc, it went on to transferring that data into a Hashmap for part 2 etc.

I got a very low grade with very generic feedback along the lines of 'incorrect solution'. Of course, I've asked for further clarification but I'm not holding my breath. 

If anyone could give insight on how you think this assignment should be submitted (especially if you've completed the course), that would be very helpful. Again, I'm not seeking help with the programming or the code, just the format or structure. Should I be submitting two completely separate programs, i.e two different java projects?

Project spec below:

Code:
Part 1: Sorting Arrays
Develop a program that asks the user to enter a capital for a U.S. state. Upon receiving the user input,
the program reports whether the user input is correct. For this application, the 50 states and their
capitals are stored in a two-dimensional array in order by state name. Display the current contents of
the array then use a bubble sort to sort the content by capital. Next, prompt the user to enter answers
for all the state capitals and then display the total correct count. The user's answer is not case-sensitive.

Part 2: Sorting & Searching HashMap
Now revise the code to store the pairs of each state and its capital in a Map using the HashMap function.
Display the content of the Map, then use the TreeMap class to sort the map while using a binary search tree
for storage. Next, your program should prompt the user to enter a state and it should then display the
capital for the state.

Thanks in advance

I submitted one program that fulfilled Part 1 and Part 2.  However, your program must be able to compile on jdoodle.  That is where my grader tested to see if the program worked.  Try running it there before you resubmit.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Looking for the Easiest Study.com Upper-Level Courses for TESU Liberal Arts n0fx 2 814 09-02-2025, 06:21 PM
Last Post: bjcheung77
  A&P from Study.com HonuDiver 0 641 07-30-2025, 09:13 AM
Last Post: HonuDiver
  Study.com English Comp II Info MrBossmanJr 35 13,984 07-27-2025, 05:40 PM
Last Post: pluggingalong
  TRANSFERABLE College Credit by Exam, Portfolio PLA, Ind Study - Esp STEM RKanarek 7 1,653 07-25-2025, 03:43 AM
Last Post: RKanarek
  Public Speaking - Study.com or Sophia VanillaBean 2 914 07-23-2025, 03:20 AM
Last Post: bjcheung77
  Study.com - coupon codes & pause or cancel subscription? VanillaBean 4 1,085 07-21-2025, 05:18 PM
Last Post: VanillaBean
  Study.com upper level courses? VanillaBean 4 1,018 07-21-2025, 04:21 PM
Last Post: Jonathan Whatley
  STUDY.COM Zizi 0 565 07-21-2025, 03:08 PM
Last Post: Zizi
  study.com grading channaleah 19 10,359 07-21-2025, 10:11 AM
Last Post: Harrynguyen
Question Study.com experience with the new changes? Ares 16 2,785 07-19-2025, 06:47 PM
Last Post: bradonomics

Forum Jump:


Users browsing this thread: 1 Guest(s)