Giter Club home page Giter Club logo

Comments (9)

TFloyd1989 avatar TFloyd1989 commented on May 24, 2024

Here is the screenshot[
Screenshot (9)

from dsa-java.

marvinquiet avatar marvinquiet commented on May 24, 2024

The file structure looks good.

I think you'd better change it back to see whether you can pass those tests in Dr. Choi's script.

I will go over the code but to my understanding, for now, the correct answers matter. But in the future, I think there will be more requirements for the efficiency of the algorithms.

from dsa-java.

TFloyd1989 avatar TFloyd1989 commented on May 24, 2024

Also, should our code account for possible compiler errors?

from dsa-java.

marvinquiet avatar marvinquiet commented on May 24, 2024

I am sorry that I did not quite understand what you are referring to. Could you please explain more?

from dsa-java.

TFloyd1989 avatar TFloyd1989 commented on May 24, 2024

Say for example if they user entered a negative number and tried to compare it to the number "four" written as a word?

from dsa-java.

marvinquiet avatar marvinquiet commented on May 24, 2024

Oh, very good question. For a real project, you may need to handle those edge cases, but for this quiz, I will only test the cases for the LongInteger input, which contains digits and/or a sign character.

from dsa-java.

TFloyd1989 avatar TFloyd1989 commented on May 24, 2024

Should we handle the error if the user enters LongIntegerQuiz(""); with an empty string as an argument?

from dsa-java.

marvinquiet avatar marvinquiet commented on May 24, 2024

You can do it if you want and it will help you become a better developer. But I think I will most look into whether the function works well for this quiz.

from dsa-java.

lujiaying avatar lujiaying commented on May 24, 2024

According to the https://emory.gitbook.io/dsa-java/java-essentials/exercises, please feel free to

Add more tests for a more thorough assessment if necessary.

Robustness is definitely one of the goals our application wanna achieve, we can hardly imagine how users would use the application. It is always good to print out some hints for users even if we don't implement how to handle unexpected input.

from dsa-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.