Here is a fun little set of exercises to keep you busy for, oh, the next 3 or 4 years or so.
It takes all the triads that are in the key of C Major and runs some ascending, descending and mixed (up and down) arpeggio patterns. Some patterns are "close position" meaning the notes are all within one octave, and some are "open" where they span more than one octave.
The patterns are as low as possible on the neck and they are guaranteed to be playable on a standard tuned 4 string. You can extend the patterns by playing them in higher octaves if you want and if you have a 5 or a 6 string you can move them around as appropriate.
The patterns outline each chord that appears naturally in C Major, so - C maj, D min, E min, F maj, G maj, A min and B dim. The patterns don't all start on just the root of the chord, they also start from the 3rd and the 5th too. "Inversions" for those theory showoffs in the crowd.
And no, your eyes are not deceiving you. In a moment of sympathy and weakness I have included tab in this particular example. Don't make me regret it. I wanted to learn how to make tab in LilyPond so I used this as a practice exercise.
Take these out for a spin in your favorite walking lines, solos, or to connect two chords. Hours of fun. They make great little triplet skips for walking lines.
Of course you can transpose these exact same patterns to every other major key as well. That is an exercise for the reader, as they say in school. Just keep the relationship of all the chords the same - major, minor, minor, major, major, minor, diminished - and start on the note you want to try these patterns on.