This repository contains my CSE310 Lab Assignments that I had to do.
To run the code or test thing out, you will need to have a couple of things
-
java
jdk
version 17 Download jdk if you don't have it already.If you're on unix like system, you can use SDK MAN which has certain advantages over other methods.
To check your version of java, run:
java --version
or
javac --version
-
It is recommended that you use IntelliJ IDEA ultimate edition which you can obtain using GitHub student pack.
-
Finally, Clone the repo if you haven't already
make sure that you have git installed. To check run
git --version
in your terminal.git clone https://github.com/Inmoresentum/CSE310LabAssignments.git
Now open
CSE310LabAssignments
using IntelliJ IDEA and for wait maven wrapper and the necessary dependencies to be downloaded. Now you can click the play icon and have some fun.
You will need to have MariaDB. The easiest way to get started is to spin up a MariaDB container using docker. Once the MariaDB instance is running create a database named CSE310DB.
Lab files or assignment files can be
found src/main/java/org/cse310/bracu/labfiles
in this location.
There are total two lab assignments.
The first Lab Assignment can be
found src/main/java/org/cse310/bracu/labfiles/CSE310_Lab_Assignment_1.pdf
.
The solution of the lab assignments can be
found src/main/java/org/cse310/bracu/assignment1
in this location.
Just run Main.java
file.
At this point, you can probably understand the repo structure.
Similarly, for Lab Assignment 2,
the assignment file can be
found src/main/java/org/cse310/bracu/labfiles/CSE310_Lab_Assignment_2.pdf
in this location and the
solution src/main/java/org/cse310/bracu/assignment2
.
There, similarly run the Main.java
file.
Note: Before Running the Lab Assignment 2 Main.java
file make sure that you already have installed all the
necessary
dependencies, MariaDB is running
and there is already a Database created named CSE310DB
which is also mentioned in the setup step.
Copyright © 2023-present Inmoresentum