> [!TIP] > ## SEMESTER 2: ACTIVE CONTENT > > This folder contains all my current academic work, including practicals, assignments, and study materials for the BSc Computer Science program **(SEM-2)** at [**Acharya Prafulla Chandra College (APC)**](https://apccollege.ac.in/). > > **Current Status:** > * **Actively Updated:** New code and materials are added following the college schedule. > > **Explore More:** > * See my other projects on my [**Portfolio**](https://amit.is-a.dev/) > * Follow my development journey on [**GitHub**](https://github.com/notamitgamer) ## Directory Structure To keep the repository organized, the C++ and Python programs are divided into specific categories based on their origin and purpose. ### C++ Programming (Data Structures) * **`/practice/`**: General, day-to-day CPP programming practice files. * **`/tuition/`**: Programs and problem-solving exercises completed during tuition classes. * **`/algorithms/`**: Some algorithms. ### Python Programming (SEC) * **`/python/`**: Contains all SEC coursework, split into: * `/code/`: Python script files (`.py`) for practicals. * `/material_pdf/`: Study materials and reference documents. ## How to Find a Specific Code 1. **Identify the Category:** Determine if the code was an assignment, a tuition exercise, or practice problem, and navigate to the corresponding folder above. 2. **Naming Convention:** Most files are sequentially numbered for easy tracking. 3. **Internal Comments:** Open the file. Most source codes include a commented section at the top detailing the exact problem statement or logic being solved. ## How to Run the Programs ### Running C++ Programs (`.cpp`) Ensure you have a C++ compiler (like GCC/G++ via MinGW) installed. If you haven't set it up, refer to the [Main Repository README](../index.md) for the installation guide. 1. Open your terminal or command prompt. 2. Navigate to the folder containing the specific program: ```bash cd semester_2/assignment-primary ``` 3. Compile the code using G++: ```bash g++ assignment-p-01.cpp -o program.exe ``` 4. Execute the compiled file: ```bash ./program.exe ``` ### Running Python Programs (`.py`) Ensure you have Python 3 installed, or run the scripts via an IDE such as VS Code or PyCharm. #### To run via command line: 1. Open your terminal. 2. Navigate to the Python Code directory: ```bash cd semester_2/Python/Code ``` 3. Execute the script using `python3`: ```bash python3 Python_Prac-1.py ```