Click the name of the program to be referred to GitHub to download each solution.
CIS 199 – This course introduces object-oriented concepts such as the use of classes, methods, encapsulation, and inheritance. The course concentrates on using object-oriented programming to solve simple problems involving input and output. Computer lab sessions are used to reinforce programming concepts. Extensive programming assignments are required.
Lab 6- Words-Typed Grade GUI – A Windows Forms application that implements a GUI-based solution to Programming Exercise 6-7 from p. 261 of the text. The Nimble Fingers Typing School assigns grades based on words typed per minute, as shown in the table below.
| Words typed | Grade |
|---|---|
| 0–15 | F |
| 16–30 | D |
| 31–50 | C |
| 51–75 | B |
| 76 and over | A |
A GUI application that allows a user to enter a student’s number of words typed. Make sure the user’s input is valid, otherwise prompt them to correct their mistake using a MessageBox. The output is the letter grade earned by the student. The design of the application’s interface is up to you. You must use parallel arrays and range matching (not simply a series of if/else if statements), as in the class example from the PowerPoint presentation from Chapter 6.
Lab 7 – NPV Calculator – a Windows Forms application that applies the Net Present Value formula from Finance to calculate how much money you need to invest today to earn a certain amount in the future. Your form will gather inputs for the future value (F), the annual interest rate (r) – expressed as a floating point value (like 0.05 for 5%), and the number of years in the future (n) that interest will compound. Your application will calculate the present value (P) that you’d need to invest today to earn the desired amount of money in the future. To avoid cumbersome type conversions, make all of your variables of type double and int (number of years).
You must implement the calculation for present value by writing a value-returning method named CalcPresentValue based on the formula below. The method will return a double and will accept three parameters, the future value (a double), the annual interest rate (a double), and the number of years (an int). You may make the method public and static if you like. Be sure to include precondition and postcondition comments for each method, including event handlers. These comments are now required.
Recall, the method Math.Pow is used to raise a number to an exponent. You will need to use this method to calculate the denominator in the equation above.
Program 3 – Student Class Registration Schedule – A Windows Form for determining via the first letter of your last name the time you would register during the Spring 2019 Semester.
Program 4 – Library Command Line Application – A CMD Line application for determining whether or not books were checked out at the library.