README.md (3323B)
1 > [!NOTE] 2 > ## SEMESTER 1: ARCHIVED CONTENT 3 > 4 > This folder contains all my completed academic work, including practicals, assignments, and study materials from my first semester in the BSc Computer Science program at [**Acharya Prafulla Chandra College (APC)**](https://apccollege.ac.in/). 5 > 6 > **Current Status:** 7 > * **Completed & Archived:** This semester has officially concluded. The files here serve as a reference archive and will no longer be actively updated. 8 > * **Technologies Covered:** Primarily focused on **C Programming** and **R Programming**. 9 > 10 > **Explore More:** 11 > * Follow See active work in [**Semester 2**](https://github.com/notamitgamer/bsc/tree/main/semester_2) 12 > * See my other projects on my [**Portfolio**](https://amit.is-a.dev/) 13 > * Follow my development journey on [**GitHub**](https://github.com/notamitgamer) 14 15 --- 16 17 ## Directory Structure 18 19 To keep the repository organized, the C and R programs are divided into specific categories based on their origin and purpose. 20 21 ### C Programming 22 * **`/assignment-primary/`**: Core college assignments and standard problems. 23 * **`/assignment-secondary/`**: Additional or extended college assignments. 24 * **`/internal-practice/`**: Code written for internal exam preparation. 25 * **`/practice-c/`**: General, day-to-day C programming practice files. 26 * **`/tuition-c/`**: Programs and problem-solving exercises completed during tuition classes (files prefixed with `APC-PRAC`, `APC-S`, etc.). 27 * **`/EduInCS Exam/`**: Specific code solutions for exam papers organized by date. 28 * **`/letusc/`**: Chapter-wise exercise solutions from the textbook *"Let Us C"*. 29 * **`/khurapati-idea/`**: Experimental code, logical tests, and out-of-the-box ideas. 30 31 ### R Programming 32 * **`/R/`**: Contains all R-related coursework, split into: 33 * `/Code/`: R script files (`.r`) for practicals. 34 * `/Material_PDF/`: Study materials and reference documents for R. 35 36 --- 37 38 ## How to Find a Specific Code 39 40 1. **Identify the Category:** Determine if the code was an assignment, a textbook problem, or a tuition exercise, and navigate to the corresponding folder above. 41 2. **Naming Convention:** Most files are sequentially numbered for easy tracking (e.g., `assignment-p-01.c`, `luc018.c`, `APC-PRAC-005.c`). 42 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. 43 44 --- 45 46 ## How to Run the Programs 47 48 ### Running C Programs (`.c`) 49 Ensure you have a C compiler (like GCC via MinGW) installed. If you haven't set it up, refer to the [Main Repository README](../README.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 54 ```bash 55 cd Semester_1/assignment-primary 56 ``` 57 4. Compile the code using GCC: 58 59 ```bash 60 gcc assignment-p-01.c -o program.exe 61 ``` 62 6. Execute the compiled file: 63 64 ```bash 65 ./program.exe 66 ``` 67 68 ### Running R Programs (`.r`) 69 It is highly recommended to run R programs using RStudio for the best visual experience with data and plots. 70 71 #### To run via command line: 72 73 1. Open your terminal. 74 2. Navigate to the R Code directory: 75 76 ```bash 77 cd Semester_1/R/Code 78 ``` 79 4. Execute the script using `Rscript`: 80 81 ```bash 82 Rscript R_Prac-1.r 83 ```