Giter VIP home page Giter VIP logo

not-exam-2's Introduction

CIS 3368 Exam 2, Spring 2019

Complete the problems listed below. There are automated tests to check almost all answers.

Do NOT modify the test code in any way with the exception of uncommenting the code in the last GradeCalculator test!

  1. Run the application by running “Exam2Application”. Write the code required so that when a user clicks the “Add Interest” button, a new research interest is created and added to the list of interests. The new interest should have its name taken from whatever text is in the adjacent text box. The new interest should not be added to the professor.
  2. When an interest is added to the professor, it should be removed from the interest list. Fix the code so that the interest is removed when dragged to the professor.
  3. The “I am bored!” button currently does nothing. Add code to the application so that the button calls the “dropInterests” method in the “Professor” class, and then clears the list of interests for the professor (NOT the left hand list of unassigned interests).
  4. Write or modify code so that the tests in the GradeCalculatorTest file pass. Note that you will need to uncomment portions of the second test first.

Bonus:

  • Modify the code so that the Bonus button does not move. When the button is clicked, it should print “Give me 5 points!” to the console.

not-exam-2's People

Contributors

dcgarde avatar

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.