Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Digital Literacy Computer Basics Computer Basics Data

fundamental building blocks of computer

the fundamental building blocks of a computer is this idea of switch - on or off . what does this mean? plz explain I detail

1 Answer

Steven Parker
Steven Parker
217,639 Points

Try thinking of a "bit" of data as a light switch on the wall. If you turn the light "on", that could represent the number 1. And when you turn it "off", that could represent 0. And just like a light switch is either "on" or "off", a bit of data can only represent one of two values, 1 or 0.

Does that help?

yes absolutely it helped but I wanted to know why it is the fundamental building blocks of computer.

Steven Parker
Steven Parker
217,639 Points

It has to do with the physical nature of memory devices. The smallest unit of storage is a tiny piece of material that can be electrically put into either of two states. This is a single "bit". For more details, check out the Wikipedia page on Bit.