diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 24070a5a..324a52f6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,4 +7,4 @@ This guide will help us ensure that you have a simple and effective way to contr - Make sure you check your spelling and grammar. - Create individual PR for each suggestion. -Thank you for spending your time to improve this project! ^\_^ +Thank you for spending your time to improve this project! ^\_^ \ No newline at end of file diff --git a/Projects/1-Beginner/Bin2Dec-App.md b/Projects/1-Beginner/Bin2Dec-App.md index 9bb4503f..a0c0b638 100644 --- a/Projects/1-Beginner/Bin2Dec-App.md +++ b/Projects/1-Beginner/Bin2Dec-App.md @@ -1,47 +1,46 @@ -# Bin2Dec +# Bin2Dec +**Tier:** 1-Beginner -**Tier:** 1-Beginner +Binary is the number system that all digital computers are based on. Therefore, it's important for developers to understand binary (base-2) mathematics. The purpose of **Bin2Dec** is to help users practice and understand how binary calculations work. -Binary is the number system all digital computers are based on. -Therefore it's important for developers to understand binary, or base 2, -mathematics. The purpose of Bin2Dec is to provide practice and -understanding of how binary calculations. +**Bin2Dec** allows the user to enter strings of up to 8 binary digits (0s and 1s) in any sequence and then displays their decimal equivalent. -Bin2Dec allows the user to enter strings of up to 8 binary digits, 0's -and 1's, in any sequence and then displays its decimal equivalent. +--- -This challenge requires that the developer implementing it follow these -constraints: +## Requirements +This challenge requires that the developer implementing it follows these constraints: -- Arrays may not be used to contain the binary digits entered by the user -- Determining the decimal equivalent of a particular binary digit in the - sequence must be calculated using a single mathematical function, for - example the natural logarithm. It's up to you to figure out which function - to use. +- Arrays may **not** be used to contain the binary digits entered by the user. +- Determining the decimal equivalent of a particular binary digit in the sequence must be calculated using a single mathematical function (for example, the natural logarithm). It’s up to you to determine which function to use. -## User Stories +--- -- [ ] User can enter up to 8 binary digits in one input field -- [ ] User must be notified if anything other than a 0 or 1 was entered -- [ ] User views the results in a single output field containing the decimal (base 10) equivalent of the binary number that was entered +## User Stories +- User can enter up to 8 binary digits in one input field. +- User must be notified if anything other than a 0 or 1 is entered. +- User can view the result in a single output field containing the decimal (base-10) equivalent of the entered binary number. -## Bonus features +--- -- [ ] User can enter a variable number of binary digits +## Bonus Features +- User can enter a variable number of binary digits. -## Useful links and resources +--- -[Binary number system](https://en.wikipedia.org/wiki/Binary_number) +## Useful Links and Resources +- [Binary number system](https://en.wikipedia.org/wiki/Binary_number) -## Example projects +--- -Try not to view this until you've developed your own solution: +## Example Projects +Try not to view these until you’ve developed your own solution: + +- Binary to Decimal conversion program for beginners +- Binary to Decimal converter using React +- Binary to Decimal converter with plain HTML, JS, and CSS +- Binary to Decimal converter using Flutter & Dart +- Live preview built with Flutter for Web +- Binary to Decimal converter using React +- Matrix-like Binary to Decimal converter using Angular +- Live preview on Heroku -- [Binary to decimal conversion program for beginners](https://www.youtube.com/watch?v=YMIALQE26KQ) -- [Binary to Decimal converter using React](https://github.com/email2vimalraj/Bin2Dec) -- [Binary to Decimal converter with plain html, js and css](https://grfreire.github.io/Bin2Dec/) -- [Binary to Decimal converter using Flutter & Dart](https://github.com/israelss/AppIdeasCollection/tree/master/Tier1/Bin2Dec) - - [Live preview built with Flutter for Web](https://bin2dec.web.app/#/) -- [Binary to Decimal converter using React](https://github.com/geoffctn/Bin2Dec) -- [Matrix-like Binary to Decimal converter using Angular](https://github.com/ZangiefWins/MatrixBin2Dec) - - [Live preview on heroku](https://matrix-bin2dec.herokuapp.com/) diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md new file mode 100644 index 00000000..27f44677 --- /dev/null +++ b/Projects/1-Beginner/Dec2Bin.md @@ -0,0 +1,36 @@ +# Dec2Bin + +**Tier:** 1-Beginner + +Binary is the number system all digital computers are based on. +Therefore it's important for developers to understand binary numbers, or base 2 mathematics. +The purpose of Dec2Bin is to provide practice and understanding of how binary calculations work. + +Dec2Bin allows the user to enter integers and displays its binary equivalent + +This challenge requires that the developer implementing it follow these constraints: + +- Only integer datatype is allowed as the input. +- The binary output of the integer must be a string. + +## User Stories + +- [ ] User can enter any integer. +- [ ] User must be notified if 0 or 1 was entered as a part of validation error. +- [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered + + +## Bonus features + +- [non-numeric charecters to binary] We can give option to a user to convert a group of non-numeric charecters to binary by encoding to ascii or unicode +- [click here for ascii information](https://en.wikipedia.org/wiki/ASCII) +- [click here for unicode information](https://en.wikipedia.org/wiki/Unicode) + +## Useful links and resources + +[Binary number system](https://en.wikipedia.org/wiki/Binary_number) + +## Example projects +- [Decimal to binary program (GeeksForGeeks)](https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) + +# HAPPY CODING!!