Hi there,
music theory can be a bit mind blowing. Remember that everything in music is related to the major scale. So the major scale is the best place to start.
Scales are made up of a series of notes at cetrain intervals or steps up the fretboard. If you remember that every fret on your guitar is a half step or half tone (i.e. 2 frets = 1 whole tone). Try to remember that every major scale is made up of intervals in this order - whole, whole, half, whole, whole, whole, half. {w,w,h,w,w,w,h}
So looking at it simply - if you start with an open E(6th) string and move up the string at those intervals then you will have a major scale.
Here is a link to a site which lets you search for different scales in different keys and shows you them on the fret board.
http://www.all-guitar-chords.com/guitar_scales.php
I hope I've helped. I'm not exactly a music theory wizard myself. All the best.
Is anything really made up of zeros and ones??