Portfolio repository for projects, assignments, and activities in CS121 for spring semester 2023.
This course has taught me about data structures and how they are used and the importance they have in the study of computer science.
IntelliJ Community 2022.3.1
Java v8
Oracle Open JDK Version 17.0.5
Project | Duration | Description |
---|---|---|
(1 of 4) Pokemon Battle | Feb 4th 2023 - Feb 12th 2023 | A 2 Player pokemon battle game played in the console of any editor. The player enters the amount of rounds they would like to play, and the player that wins the most amount of rounds wins the game. |
(2 of 4) Pokemon Class | Dates | desc |
(3 of 4) Github Portfolio | April 20th 2023 - April 28th 2023 | This is part of a soft skills project for creating this portfolio README.md file for easier navigations on this GitHub repository and future repositories. |
(4 of 4) HashMap Lab Report | April 28th, 2023 - May 1st, 2023 | This is a lab report done for the Final Exam. This Lab Report researches into the HashMap data structure of how it works externally and internally. How the data structure accesses and stores data in the HashMap and in RAM . The code provided in this report demonstrates how HashMaps works externally and the document explains how HashMaps work internally. |
Number | Activities | Description |
---|---|---|
A01 | Dialog Box and Scanner | Use of the Scanner class and JOptionPane class Library in Java to take in user input and respond to user input. |
A02 | Conditionals | desc |
A03 | Logical Operators | Using if , else , else-if logical operators to check if a statement is true or not |
A04 | Switch | Uses Java switch case to compare the parameter variable with other test cases |
A05 | Conditionals and Equals() | desc |
A07 | While Loop | desc |
A08 | Nested for Loops | desc |
A09 | Random Numbers | Uses java Random class to choose a random set of numbers from a set |
A10 | File Reading and Writing | Used Java's Filewriter class to write 'lower level' datatypes like strings and char characters to files. Used Java's Printwriter class to write different types of data types to a file. |
A11 | Methods | desc |
A12 | Classes | desc |
A13 | Encapsulation | Creating getter and setter methods in a class in order to get the values in a class. Have default constructor and custom constructor |
A14 | Overloaded | Creation of multiple constructors with different lengths and types of data. Also uses getters and setters to get the values of attributes in the constructor. |
A15 | Arrays | Use of the Array data structure to store different data types variable. ex. String[] stringArray = new String[4] |
A16 | Multidimensional Arrays | Use of multidimensional arrays to put lists inside of lists and looping through each list and list item. |
A17 | ArrayLists and Jumps | Use of Java's ArrayList<> data structure to create different types of array lists to store elements |
A18 | Class Discovery | desc |
A19 | Inheritance | desc |
A20 | Abstract and Interfaces | Uses the abstract class to use abstract methods and uses Interfaces for complete abstraction for implementation |
A21 | Static Keyboard | Using the static keyword on variables |
A23 | Recursion | Using recursion to find out whether or not a string is a palindrome |
A24 | Big O | Calculating aproximate Space Time Complexity(Big O ) for memory usage and process time completion |
A25 | Bubble Sort & Merge Sort | Using the Bubble sorting algorithm in order to organize elements in an Array by swapping elements in a specific order. Merge Sort algorithm is used to sort elements in an Array by splitting up the array into sub arrays then merging the subarrays |
A26 | Selection, Insertion, & Quick Sort | desc |
A27 | Binary Search | The Binary Search algorithm (divide and conquer) searches an Array of elements by repeatedly dividing an array in half to the portion of where the element could be |
A28 | Sets and Iterators | Uses the HashSet data structure in order to store unique elements. Use of the Iterator object to iterate through collections like Arrays, lists, sets, and maps. |
A29 | Generics | Use of Generic methods <?> to give a parameter any data type |
A30 | HashMap | desc |
A31 | Linked List | Uses the Linked List linear data structure to point to the next element |
A32 | Stacks | Using the Stack data structure to put elements into the list-like structure and pushes and pops them onto the top of the stack using the last in first out method(LIFO) |
A33 | Queue | Using Queue , a collection interface data structure, that uses the first in first out(FIFO) method to process an ordered list of elements. Similar to LinkedList |
A34 | Simple Date Format | Using the DateFormat is an abstract class used to format and parse date/time. |
A35 | Testing | Using Java JUnit 5 for writing test and extensions for programs |
A36 | StringBuilder | This uses the StringBuilder class to manipulate string |
A37 | JSON | desc |
A38 | XML | desc |