Semester 2 ​
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).
Current Status:
- Actively Updated: New code and materials are added following the college schedule.
Explore More:
Folders ​
| No. | Folder Name | Link |
|---|---|---|
| 1 | Practice | Open Folder |
| 2 | Tuition | Open Folder |
| 3 | Python | Open Folder |
| 4 | Algorithm | Open Folder |
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 ​
- Identify the Category: Determine if the code was an assignment, a tuition exercise, or practice problem, and navigate to the corresponding folder above.
- Naming Convention: Most files are sequentially numbered for easy tracking.
- 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 for the installation guide.
- Open your terminal or command prompt.
- Navigate to the folder containing the specific program:
bash
cd semester_2/assignment-primary1
- Compile the code using G++:
bash
g++ assignment-p-01.cpp -o program.exe1
- Execute the compiled file:
bash
./program.exe1
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: ​
- Open your terminal.
- Navigate to the Python Code directory:
bash
cd semester_2/Python/Code1
- Execute the script using
python3:
bash
python3 Python_Prac-1.py1