Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Fewest amount of blocks technically needed to use Scratch
- Mryellowdoggy
- Scratcher
500+ posts
Fewest amount of blocks technically needed to use Scratch
Define ‘needed to use Scratch’. You can make a project using just this block
say []or no blocks at all and you'd be using Scratch.
- blubby4
- Scratcher
100+ posts
Fewest amount of blocks technically needed to use Scratch
I'm not sure how you're going to do greater/less than, but you can replace the<[] = []>
<not <>>
<<> and <>>
(() + ())
<[] = []>with
<[] > []>
and create
<[] = []>by doing
<<not <(a) > (b)>> and <not <(b) > (a)>>>instead.
I think about things. Sometimes I think about things too much, and miss obvious simple things
- BigNate469
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
And you can replace both of those with a NOT operator. In fact, everything a computer does can be replicated- with NOT operators, since all logic gates can be created out of NOT operators (and that includes OR). Since it's possible to store data using just logic gates (like how DRAM works if I remember correctly), you can replicate an entire computer using NOT gates. snip
This signature is designed to be as useful as possible.
How to make a signature & other useful info about them
The Official List of Rejected Suggestions (TOLORS)
The Announcements Directory
Lesser-known Scratch URLs: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/762351/
Ads Useful projects:
Raycaster & Maze 1.4.1 | Don't Break The Ice | Procedurally Generated Terrain | Basic Trigonometry | Comparing the fastest list sorters on Scratch
“if nobody can learn the programming language, it's just gibberish that does math.” -me, in a forum post
The original name of “loves” was “love-its”. Technically speaking, this hasn't changed.
© @BigNate469, some rights reserved
- TheCreatorOfUnTV
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
Replaced both the NOT and AND gates since you could do this for NOT:And you can replace both of those with a NOT operator. In fact, everything a computer does can be replicated- with NOT operators, since all logic gates can be created out of NOT operators (and that includes OR). Since it's possible to store data using just logic gates (like how DRAM works if I remember correctly), you can replicate an entire computer using NOT gates. snip
<<boolean :: grey> = [false]>and this for AND:
<(<boolean 1 :: grey> + <boolean 2 :: grey>) = [2]>
Last edited by TheCreatorOfUnTV (Sept. 9, 2024 23:38:30)
This is the start of my signature. Ctrl+Shift+Down to see all of it.
Check out my about me project here! (I'm allowed to advertise here)
1st post
1000th post
;
- blubby4
- Scratcher
100+ posts
Fewest amount of blocks technically needed to use Scratch
You mean NOR or(If we're talking about logic, then xor) NAND. NOT only takes 1 input.And you can replace both of those with a NOT operator. In fact, everything a computer does can be replicated- with NOT operators, since all logic gates can be created out of NOT operators (and that includes OR). Since it's possible to store data using just logic gates (like how DRAM works if I remember correctly), you can replicate an entire computer using NOT gates. snip
Last edited by blubby4 (Sept. 10, 2024 00:07:31)
I think about things. Sometimes I think about things too much, and miss obvious simple things
- BigNate469
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
Yeah actually I guess you would need an OR.You mean NOR or NAND. NOT only takes 1 input.And you can replace both of those with a NOT operator. In fact, everything a computer does can be replicated- with NOT operators, since all logic gates can be created out of NOT operators (and that includes OR). Since it's possible to store data using just logic gates (like how DRAM works if I remember correctly), you can replicate an entire computer using NOT gates. snip
This signature is designed to be as useful as possible.
How to make a signature & other useful info about them
The Official List of Rejected Suggestions (TOLORS)
The Announcements Directory
Lesser-known Scratch URLs: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/762351/
Ads Useful projects:
Raycaster & Maze 1.4.1 | Don't Break The Ice | Procedurally Generated Terrain | Basic Trigonometry | Comparing the fastest list sorters on Scratch
“if nobody can learn the programming language, it's just gibberish that does math.” -me, in a forum post
The original name of “loves” was “love-its”. Technically speaking, this hasn't changed.
© @BigNate469, some rights reserved
- Jonathan50
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
The first post explains Define ‘needed to use Scratch’. You can make a project using just this blocksay []or no blocks at all and you'd be using Scratch.
Not yet a Knight of the Mu Calculus.
- blubby4
- Scratcher
100+ posts
Fewest amount of blocks technically needed to use Scratch
NOR/NAND are both considered single gates. (Oh, also, DRAM uses capacitors to store data, and has been phased out by SRAM, which is likely what you were thinking ofYeah actually I guess you would need an OR.You mean NOR or NAND. NOT only takes 1 input.And you can replace both of those with a NOT operator. In fact, everything a computer does can be replicated- with NOT operators, since all logic gates can be created out of NOT operators (and that includes OR). Since it's possible to store data using just logic gates (like how DRAM works if I remember correctly), you can replicate an entire computer using NOT gates. snip
Last edited by blubby4 (Sept. 10, 2024 00:33:35)
I think about things. Sometimes I think about things too much, and miss obvious simple things
- BigNate469
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
But only because they're simple, not because they are the most basic of them. Both are created using a series of transistors (which themselves are essentially AND gates themselves). NOR/NAND are both considered single gates. (Oh, also, DRAM uses capacitors to store data, and has been phased out by SRAM, which is likely what you were thinking of
Using OR and NOT, you can do
<not <<not <>> or <not <>>>>which is an AND gate.
This signature is designed to be as useful as possible.
How to make a signature & other useful info about them
The Official List of Rejected Suggestions (TOLORS)
The Announcements Directory
Lesser-known Scratch URLs: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/762351/
Ads Useful projects:
Raycaster & Maze 1.4.1 | Don't Break The Ice | Procedurally Generated Terrain | Basic Trigonometry | Comparing the fastest list sorters on Scratch
“if nobody can learn the programming language, it's just gibberish that does math.” -me, in a forum post
The original name of “loves” was “love-its”. Technically speaking, this hasn't changed.
© @BigNate469, some rights reserved
- han614698
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
(#441)The basic idea is that most blocks are workaroundable. So the question is, how many blocks can you remove but still have Scratch 100% functional?
Define ‘needed to use Scratch’. You can make a project using just this blocksay []or no blocks at all and you'd be using Scratch.
<Scratch Wikian // 2000+ Edits | Forum Helper // 7000+ Posts | Scratcher // 530+ Followers>
banner coming soon…
- blubby4
- Scratcher
100+ posts
Fewest amount of blocks technically needed to use Scratch
But only because they're simple, not because they are the most basic of them. Both are created using a series of transistors (which themselves are essentially AND gates themselves). NOR/NAND are both considered single gates. (Oh, also, DRAM uses capacitors to store data, and has been phased out by SRAM, which is likely what you were thinking of
Using OR and NOT, you can do<not <<not <>> or <not <>>>>which is an AND gate.
[pedantic]
NOR and NAND are universal logic gates, them along with AND, OR, XOR, XNOR (and NOT) are all basic logic gates. Transistors aren't logic gates, but they can recreate the basic logic gates. I guess most chips would make their own weird gates with transistors, because it would be faster/cheaper/less noisy than adhering to only the basic gates.
Some more info about stuff:
https://en.wikipedia.org/wiki/Logic_gate#Universal_logic_gates
https://en.wikipedia.org/wiki/De_Morgan%27s_laws
[/pedantic]
Anyway, we're turning this into an advanced off-topic or maybe I am
Last edited by blubby4 (Sept. 10, 2024 01:09:56)
I think about things. Sometimes I think about things too much, and miss obvious simple things
#452Today 01:34:40
- TheCreatorOfUnTV
- Scratcher
1000+ posts
Fewest amount of blocks technically needed to use Scratch
Bump
This is the start of my signature. Ctrl+Shift+Down to see all of it.
Check out my about me project here! (I'm allowed to advertise here)
1st post
1000th post
;
- Discussion Forums
- » Advanced Topics
- » Fewest amount of blocks technically needed to use Scratch