Skip to content

AlexeyShutov/MegaProject_Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mega Project List Solutions

About

This repository is dedicated to providing solutions for the Mega Projects List created by @karan in this repository. Most of the solutions provided in this repository are written in JAVA. However, the solutions for the networking projects are all written in Python. Please refer to the table of contents below to get a more detailed overview of each of the project categories.

Table of Contents

Classes

  • Product Inventory: An application which manages an inventory of products. Creates a product class which has a price, id, and quantity on hand. Then creates an inventory class which keeps track of various products and can sum up the inventory value.

Classic Algorithms

  • Collatz Conjecture: Start with a number n > 1. Find the number of steps it takes to reach one using the following process: If n is even, divide it by 2. If n is odd, multiply it by 3 and add 1.
  • Distance Between Two Three-Dimensional Points: Computes the distance between two 3D points when provided with three dimensional coordinates for each points. The command: 'p2.distance(p1)' provides the distance of point 2 from point 1.

Data Structures

  • Inverted Index: Inverted index example program, the user enters a word and the program walks through each character and shows the search process

Network

  • FTP Upload: A file transfer program which can transfer files back and forth from a remote web sever.
  • IP Lookup: Enter an IP address and find the country that IP is registered in.
  • Port Scanner: Enter an IP address or URL and a port range where the program will then attempt to find open ports on the given computer by connecting to each of them. On any successful connections mark the port as open.
  • Is the Website Up?: An application that attempts to connect to a website or server every so many minutes or a given time and check if it is up. If it is down, it will notify you by a notice on screen.

Numbers

  • Credit Card Validation Tool: A validation tool that returns true if an entered credit card number is valid, and false if it is invalid.This program replicates components of Hans Luhn's credit card validation algorithm.
  • Fibonacci Number Sequence: Enter a number and have the program generate the Fibonacci sequence to the Nth number.
  • Pi to the Nth: Queries the user on how many places to round PI to and then provides the correct rounding result from 1-18 places
  • e to the Nth: Queries the user on how many places to round e to and then provides the correct rounding result from 1-18 places
  • Binary-Decimal Converter: A converter to convert a decimal number to binary or a binary number to its decimal equivalent.
  • Factorial Finder: The Factorial of a positive integer, n, is defined as the product of the sequence n, n-1, n-2, ...1 and the factorial of zero, 0, is defined as being 1.
  • Happy Number Finder: A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers, while those that do not end in 1 are unhappy numbers.
  • Get the Next Prime: Gives the user the next prime number until user specifies to stop
  • Prime Factorization Finder: The user enters a number and the program finds all Prime Factors (if there are any) and displays them.

Text

Threading

Databases

About

Solutions to the List of Projects Outlined by @karan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published