Here’s a simple ‘cliche’ bebop melody that uses an altered scale (the 7th mode of melodic minor) over and altered dominant (#11, #9, b9, #5). In the video, the line is played around the circle of 4ths starting on concert C7. The melody over the major chord is also a cliche outlining the major sound using an arpeggio. The PDF below contains the melody written out in all the keys, but of course, learning the line be memory and by ear is the best way to go.
By Learning to sing this melody slowly while playing the chords on the piano, you should get a good introduction to the sound of the altered dominant as well as improving your ear.