Hi there 👋 | Revisit My GitHub Profile
This repository contains a comprehensive collection of C, C++, and Operating Systems (OS) programs, organized by semester and topic. It is designed as a reference and practice resource for students learning programming fundamentals, data structures, algorithms, and OS concepts. Each folder contains well-documented code samples, notes, and project files to support hands-on learning and revision.
- Languages Covered: C, C++
- Topics: Programming basics, patterns, operators, loops, functions, arrays, searching, sorting, OS algorithms, and more.
- Intended Audience: Students and learners preparing for university exams, coding interviews, or anyone looking to strengthen their programming skills.
-
1st Sem C/
C programming assignments and practice problems for first semester, covering basics to advanced topics. -
3rd Sem CPP/
C++ programs organized by topic, including basics, patterns, operators, loops, functions, arrays, searching, sorting, and more. -
4th Sem OS/
Operating Systems algorithms and programs, such as Banker's Algorithm, FCFS, and other scheduling algorithms. -
.vscode/
Editor configuration files for Visual Studio Code.
- 1.c ... 10A.c, 10B.c, ... : Individual C programs for various assignments and concepts.
- Project File.docx / Project File.pdf: Project documentation.
- Hello World
- Datatypes
- Datatype Size
- ASCII values
- Unsigned Integer
- Relational Operations
- User Input
- Positive, Negative or Zero
- Taking input in a single line for multiple variables
- Which number is greater?
- Lowercase & Uppercase Letters or Numbers?
- Print n numbers
- Sum of n numbers
- Sum of even numbers
- Fahrenheit to Celsius
- Prime or Not?
- Pattern printing programs
- Programs demonstrating binary operations
- Looping constructs and examples
- Variable scope and lifetime
- Number system conversions and operations
- Switch case usage and function examples
- Array manipulation, searching, and sorting algorithms
- Banker's Algorithm
- FCFS (First Come First Serve)
- SJF Preemptive
- Install Visual Studio Code
- Recommended: Install the "Code Runner" extension for easy code execution.
- Open the folder in VS Code.
- To run a code file:
- Open the file you want to run.
- Press
Ctrl + Alt + N
(if using Code Runner). - Or use the integrated terminal to compile and run manually:
- For C:
gcc filename.c -o output && ./output
- For C++:
g++ filename.cpp -o output && ./output
- For C:
- CodeHelp by Babbar YouTube Channel
- Complete C++ Placement DSA Course Playlist
- Amity University College Curriculum
- Each code file contains inline documentation and notes for better understanding.
- The repository is won't get any further updates I feel.
- Contributions and suggestions are welcome though!