Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramzijabali/csc110-intro-to-java

Mesa Community College CSC-110 Java Coursework
https://github.com/ramzijabali/csc110-intro-to-java

computer-science java school-education

Last synced: 2 days ago
JSON representation

Mesa Community College CSC-110 Java Coursework

Awesome Lists containing this project

README

        

# Mesa Community College CSC-110 Java Coursework

## Assignment 1: Grade Caculator

The @GradeCalc program was created to grab the users input for 5 major components of the CSC110 syllabus that make up the final grade. The program after verifying the users input successfully will calculate the amount of points earned in each of the 5 major components of the CSC110 syllabus and the final grade including the matching letter grade. After processing the user input, the program outputs the points for each component, the final grade, a letter grade, and a message that corresponds to the resulting letter grade.

### Student passes class with A
![1](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/gradeCalc-test1.gif)

### Students Passes all Components Except Final
![2](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/gradeCalc-test2.gif)

## Assignment 2: Math Tutor

This app is designed to create math problems based on The four basic arithmetic operations(+, - , X, /). This program makes up random questions for all 4 arithmetic operations and takes the user's answers and if they are correct they are logged in the tutorLogCorrect.txt file and if they are wrong they are logged in the tutorLogWrong.txt file. The app also tells you the correct answers after you've answered wrong to a question. This application creates two txt files(tutorLogWrong.txt & tutorLogCorrect.txt) if they did not previously exist and append to them with every question answered. When you run the program the application, if files are available, will prompt you two different modes, review mode and normal mode, review mode goes through your tutorLogWrong.txt and asks you the questions in them again and tell you whether you got the correct or incorrect, but does NOT append to neither files. In normal mode you are asked randomly generated questions which depending on whether you answer correctly or incorrectly will append to the tutorLogWrong.txt file and tutorLogCorrect.txt respectively.

### Fresh run without having a logWrong.txt file
![3](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/Matut-test1.gif)

### Second run with a logWrong.txt file
#### Reading questions done wrong from file
![4](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/Matut-test2.gif)
#### Skipping the option to go over wrong questions
![5](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/Matut-test3.gif)

### Formatting of both logWrong.txt file and logRight.txt

![6](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/Matut-test4.gif)

## Assignment 3: Dice Game

![7](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/diceGame-test1.gif)

## Assignment 4: Battle Ships
### Not in cheat mode
![8](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/shipSinkingGame-test1.gif)

### In cheat mode
![9](https://github.com/RamziJabali/CSC110-intro-to-java/blob/master/screen-shots/shipSinkingGame-test2.gif)