Code Monkey home page Code Monkey logo

Hi πŸ‘‹, I'm Kevin Bell

I'm a student!

  • 🀝 I’m looking to collaborate on almost anything open-source.
  • πŸ”¨ I’m currently working on my Computer Science degree.

πŸ› οΈ My favorite tools

πŸ‘¨β€πŸ’» Programming and markup languages

C++ CSS HTML Java JavaScript Scratch SQL

🧰 Frameworks and libraries

GitHub Actions JUnit TensorFlow Wordpress

πŸ—„οΈ Databases and cloud hosting

GitHub Pages MySQL

πŸ’» Software and tools

Android Brave Discord Git GitHub Desktop Google Sheets Stack Overflow Visual Studio Code

I love free/libre open-source software! Most JavaScript running on most websites (including GitHub.com) is NOT open-source software.

Kevin Bell's Projects

method-callchaining icon method-callchaining

method-call Chaining. OOP. From pages 277 and 278 from Introduction to Programming with Java A Problem Solving Approach, Second Edition by John Dean and Raymond Dean

milespergallonofgas icon milespergallonofgas

SDEV 2210 Project. Create a project that calculates miles per gallon for a given trip, and accumulates the miles and gallons to calculate an overall MPG for the vehicle. Create a class named MPG that includes private instance variables for miles, gallons, and mpg, which are doubles. Add class variables for totalMiles, totalGallons, and totalMPG, which are doubles, and numTrips, which is an integer. Create a constructor which accepts 2 double parameters, one for miles, one for gallons. Inside the constructor, set the instance variables for miles and gallons, and calculate the mpg. Add to the class variables for totalMiles and TotalGallons, and increment the number of trips. Create an instance method named displayCurrentMPG( ) which displays the MPG variable for a specific trip object. Create a class method named displayTotalMPG( ) which calculates and displays the overall MPG for all of the trip objects. The driver class will instantiate 4 trips, display the MPG for each trip, and display the overall MPG. For the sample session, use the following values: Trip1: miles = 320, gallons = 29 Trip2: miles = 325.8, gallons = 32.1 Trip3: miles = 412.5, gallons = 35 Trip4: miles = 345, gallons = 32.6 Note that these 4 trips test all the possible combinations of variable types – 2 integers, 2 doubles, 1 integer and 1 double, 1 double and 1 integer. It’s always good practice to test all possible situation. Once the program works as it should to match the sample session, run the project twice more, with different numbers for every trip, and take screenshots of the results.

misc icon misc

assorted stuff that's too small to warrant its own repo

moviedatabase icon moviedatabase

movie Database Practice with SQL. Data from movies-genres-people.sql.

mpgcalculatorproject icon mpgcalculatorproject

SDEV 1060 Project. This project calculates miles per gallon (MPG) for a single trip, and for all trips entered. There is a class for MPG for a single trip, with instance variables for miles, gallons, and MPG for that trip. In addition, there are class (static) variables for total miles, total gallons, total MPG, and number of trips. In the main class, several trips are created and the values are displayed. At the end, the total MPG (total miles / total gallons) is displayed.

museumstorecafeproject icon museumstorecafeproject

SDEV 2210 Project. In Competency Exercises, you demonstrate your skill and ability to use the programming principles you've learned in the current and previous modules. You must complete this assignment by yourself, much like a module exam. You can ask instructors for clarification about the project -- you can not ask instructors or other students for help with logic or coding. If you are struggling with the project, you can look at previous assignments where you did similar work, and you can review the pertinent sections in the book. These are the skills you practiced in this module and will now demonstrate: Arrays Array Lists For-Each loops Anonymous objects Module 4 Competency Exercise: Museum Store Cafe You have worked with the Museum in previous exercises. Here, you will work on inventory for the Museum Store Cafe. An inventory item has a name, category, price, and quantity. In the driver class, you will add items to the cafe inventory -- half will be instantiated and half will be anonymous. Display the entire menu using a For-Each loop. Ask the user what type of item they want to see. In the example below, the categories or types of items are entree, side, drink, and dessert. The user selects one category, and the program will print out any inventory item with that same category. Here is an example: M4 Comp The first 4 items were instantiated and then added to the array list. The second 4 items were added to the array list using anonymous objects. Code these directly in the driver class, no user interaction needed. You may choose the categories and items that are in the inventory. There must be at least 3 categories, and at least 8 items added to inventory. Make sure at least 4 are instantiated and then added, and at least 4 are anonymous objects. Do not load them in any kind of order, for example putting all of one category together. Run the project and take a screenshot. Remember the style rules that apply to all projects throughout this course. Even if not specifically mentioned in the assignments, you are responsible for the following: Use descriptive names for all variables Add comments describing the use or meaning of variables Do NOT include literal values in any calculations, always use variables Always include a header in the output with a descriptive title and your name If asking for input, make sure the user types on the same line as the question Where sample sessions are provided, output from your project must match it Note that you must use correct formatting in the code -- appropriate indentation is most important. You can use Shift-Alt-F to have NetBeans automatically format the code correctly. If the formatting is incorrect, it will be returned to you for changes with a grade of zero. Submission: screenshots and the root folder for the project

museumstoreclassproject icon museumstoreclassproject

SDEV 2210 Project. In previous chapters, you worked with a museum store. In this project, create a class for the items that are sold in the store. There are 3 types or categories of items – clothing, toys, and tools (like pencils). The class for the inventory items needs instance variables for the name, category, price, and quantity in inventory. Create a constructor that accepts those 4 pieces of data to populate the instance variables for the inventory item object. Write a method to display the inventory items. Create a β€œsell” method that accepts a parameter for the quantity sold. First display the information – the item and requested quantity. If there is enough quantity in inventory, the sale is good, so remove that sold quantity from the inventory quantity and display a message with the cost of the sale. If there is not enough quantity in inventory, display an error message that there was no sale. In the driver class, instantiate 6 items in inventory, 2 of each category. You may choose the details of those items. Display the 6 items. Write the code to sell some quantity of 3 of the items – one of those sales attempts must be invalid, trying to sell more than the available quantity. After each sale attempt, display the inventory item to show the change in quantity. Even if the sale was not valid, display the inventory item. Note that there is no user interaction in this project, you are testing the methods by calling them explicitly.

newpipe icon newpipe

A libre lightweight streaming front-end for Android.

oauth-client icon oauth-client

This is for developers that are building Indeed Applications and want to leverage Indeed OAuth in their process.

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.