bsc

Comprehensive codebase and coursework for the 4-year B.Sc. Computer Science Honours degree (WBSU)

git clone https://github.com/notamitgamer/bsc.git
· rebuilt hourlyOpen on GitHub
root / docs / semester_2 / index.md

index.md (2973B)


      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 | 7 | Model Questions CPP | [Open Folder](model_questions.md) |
     29 | 8 | Model Questions PYTHON | [Open Folder](model_questions_py.md) |
     30 
     31 ## Directory Structure
     32  
     33 To keep the repository organized, the C++ and Python programs are divided into specific categories based on their origin and purpose.
     34  
     35 ### C++ Programming (Data Structures)
     36 * **`/assignments/`**: Assignmets cpp, odt and pdf files.
     37 * **`/practice/`**: General, day-to-day CPP programming practice files.
     38 * **`/tuition/`**: Programs and problem-solving exercises completed during tuition classes.
     39 * **`/algorithms/`**: Some algorithms.
     40 ### Python Programming (SEC)
     41 * **`/python/`**: Python script files (`.py`) for practicals.
     42 ## How to Find a Specific Code
     43 1. **Identify the Category:** Determine if the code was an assignment, a tuition exercise, or practice problem, and navigate to the corresponding folder above.
     44 2. **Naming Convention:** Most files are sequentially numbered for easy tracking.
     45 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.
     46 ## How to Run the Programs
     47  
     48 ### Running C++ Programs (`.cpp`)
     49 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.
     50  
     51 1. Open your terminal or command prompt.
     52 2. Navigate to the folder containing the specific program:
     53 ```bash
     54    cd semester_2/assignment-primary
     55 ```
     56 3. Compile the code using G++:
     57 ```bash
     58    g++ assignment-p-01.cpp -o program.exe
     59 ```
     60 4. Execute the compiled file:
     61 ```bash
     62    ./program.exe
     63 ```
     64  
     65 ### Running Python Programs (`.py`)
     66 Ensure you have Python 3 installed, or run the scripts via an IDE such as VS Code or PyCharm.
     67  
     68 #### To run via command line:
     69 1. Open your terminal.
     70 2. Navigate to the Python Code directory:
     71 ```bash
     72    cd semester_2/Python/Code
     73 ```
     74 3. Execute the script using `python3`:
     75 ```bash
     76    python3 Python_Prac-1.py
     77 ```