Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanrj7j/1st-year-pspt-project
This repository contains solutions for Assignment - 1 of the Problem Solving and Programming Techniques course. The assignment covers basic algorithm, flowchart, and C programming tasks.. Do not copy the homework 😃
https://github.com/ivanrj7j/1st-year-pspt-project
algorithms
Last synced: 10 days ago
JSON representation
This repository contains solutions for Assignment - 1 of the Problem Solving and Programming Techniques course. The assignment covers basic algorithm, flowchart, and C programming tasks.. Do not copy the homework 😃
- Host: GitHub
- URL: https://github.com/ivanrj7j/1st-year-pspt-project
- Owner: ivanrj7j
- License: apache-2.0
- Created: 2024-10-20T13:03:37.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-10-27T14:55:30.000Z (19 days ago)
- Last Synced: 2024-10-27T16:56:02.175Z (18 days ago)
- Topics: algorithms
- Language: C
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Problem Solving and Programming Techniques
## Warning
The algorithm and flowcharts are automatically generated from the source code
## Assignment - 1
This repository contains solutions for **Assignment - 1** of the **Problem Solving and Programming Techniques** course. The assignment covers basic algorithm, flowchart, and C programming tasks.
## Author
**Name:** Ivan Raphel Jaison
**Semester:** 1
**Course:** AI and ML
**College:** Mar Athanasius College of Engineering## Questions and Solutions
The project addresses the following problems:1. **Check if a number is a palindrome**
- Algorithm
- Flowchart
- C Program2. **Check if a number is a prime number**
- Algorithm
- Flowchart
- C Program3. **Print Fibonacci numbers**
- Algorithm
- Flowchart
- C Program4. **Sum the following series for n terms:**
- (a) \( 1 + \frac{1}{8} + \frac{1}{27} + \dots + \frac{1}{n^3} \)
- (b) \( 1 + \frac{x^2}{2!} + \dots + \frac{x^{2n}}{(2n)!} \)
- Algorithm
- Flowchart
- C Program5. **Print the following pattern for n rows (n=2):**
- Input: `n=4`
```
1
12
123
1234
```
- Algorithm
- Flowchart
- C Program## Project Structure
The project is divided into three main folders:- **src**:
This folder contains the C programs for each problem. These are the actual implementation files where the logic for palindrome check, prime number check, Fibonacci series, series summation, and pattern printing is written in C.- **algorithms**:
This folder contains `.algo` files for each problem. Each `.algo` file describes the step-by-step algorithm used to solve the corresponding problem. These algorithms serve as a blueprint before writing the C programs.- **flowcharts**:
This folder contains flowchart diagrams for each problem. Flowcharts visually represent the logic and flow of the program, making it easier to understand the control flow and decision-making processes in the solution.## Warning
Please do not plagiarize. Ensure that all work submitted is your own. This is for reference purposes only. I will not be responsible if copying this gets you into trouble.