Spread-spectrum communication, with its inherent interference attenuation capability, has over the years become an increasingly popular technique for use in many different systems. They have very beneficial and tempting features, like Antijam, Security, and Multiple accesses. This paper basically deals with the pseudo codes used in spread spectrum communication system. The cross-correlation and auto-correlation properties of the long Barker Code are analyzed. It has been seen that the length of the code, auto-correlation and cross-correlation properties can help one to determine the best suitable code for any particular communication environment.