index.md (2796B)
1 # Semester 2 2 3 ::: tip SEMESTER 2: ACTIVE CONTENT 4 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/). 5 6 **Current Status:** 7 * **Actively Updated:** New code and materials are added following the college schedule. 8 9 **Explore More:** 10 * See my other projects on my [**Portfolio**](https://amit.is-a.dev/) 11 * Follow my development journey on [**GitHub**](https://github.com/notamitgamer) 12 ::: 13 14 ## Folders 15 16 | No. | Folder Name | Link | 17 |---|---|---| 18 | 1 | Practice | [Open Folder](practice/index.md) | 19 | 2 | EduInCS | [Open Folder](eduincs/index.md) | 20 | 3 | Tuition | [Open Folder](tuition/index.md) | 21 | 4 | Python | [Open Folder](python/index.md) | 22 | 5 | Algorithm | [Open Folder](algorithms/index.md) | 23 24 ## Directory Structure 25 26 To keep the repository organized, the C++ and Python programs are divided into specific categories based on their origin and purpose. 27 28 ### C++ Programming (Data Structures) 29 * **`/practice/`**: General, day-to-day CPP programming practice files. 30 * **`/tuition/`**: Programs and problem-solving exercises completed during tuition classes. 31 * **`/algorithms/`**: Some algorithms. 32 ### Python Programming (SEC) 33 * **`/python/`**: Contains all SEC coursework, split into: 34 * `/code/`: Python script files (`.py`) for practicals. 35 * `/material_pdf/`: Study materials and reference documents. 36 ## How to Find a Specific Code 37 1. **Identify the Category:** Determine if the code was an assignment, a tuition exercise, or practice problem, and navigate to the corresponding folder above. 38 2. **Naming Convention:** Most files are sequentially numbered for easy tracking. 39 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. 40 ## How to Run the Programs 41 42 ### Running C++ Programs (`.cpp`) 43 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. 44 45 1. Open your terminal or command prompt. 46 2. Navigate to the folder containing the specific program: 47 ```bash 48 cd semester_2/assignment-primary 49 ``` 50 3. Compile the code using G++: 51 ```bash 52 g++ assignment-p-01.cpp -o program.exe 53 ``` 54 4. Execute the compiled file: 55 ```bash 56 ./program.exe 57 ``` 58 59 ### Running Python Programs (`.py`) 60 Ensure you have Python 3 installed, or run the scripts via an IDE such as VS Code or PyCharm. 61 62 #### To run via command line: 63 1. Open your terminal. 64 2. Navigate to the Python Code directory: 65 ```bash 66 cd semester_2/Python/Code 67 ``` 68 3. Execute the script using `python3`: 69 ```bash 70 python3 Python_Prac-1.py 71 ```