ScratchData LogoScratchData
Back to tomtit2012's profile

Dec,Bin,Oct,Hex converter - Template remix remix

TOtomtit2012•Created August 17, 2021
Dec,Bin,Oct,Hex converter - Template remix remix
0
0
2 views
View on Scratch

Instructions

This is a template that can be used to create a program that converts between decimal, binary, octal, and hexadecimal. Add scripts such that: 1) when you click a binary digit, a 0 changes to 1, or a 1 changes to 0, and then the decimal, octal, and hex displays all update with new values 2) when you click an octal digit, it goes up by 1. If it is on the highest digit, then go back to 0. The left most digit should only go up to 3. After the digit changes, update the displays for decimal, binary, and hex. 3) when you click a hex digit, it goes up by 1. If it is on the highest digit, then go back to 0. After the digit changes, update the displays for decimal, binary, and octal 4) click on the + or - button next to the Decimal Value display to make it go up or down. After the decimal value changes, update the displays for binary, octal, and hex. The decimal value has to stay between 0 and 255, inclusive. So, if on 255 and + is clicked, go to 0. If on 0, and - is clicked, go to 255.

Project Details

Project ID561169942
CreatedAugust 17, 2021
Last ModifiedAugust 19, 2021
SharedAugust 17, 2021
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root