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