What Are Advantages and Disadvantages of SHA-256?
All three of the hashes you list serve very different purposes. Asking what their relative advantages and disadvantages ar is like asking about the same about a screwdriver, hammer, and drill.

SHA-2 is a cryptographic hash function, and is typically a building block for other cryptographic constructs. In satisfying the requirements of cryptographic hash, it's a one-way function that is deterministic, fast to compute, resistant to pre-image and second-preimage attacks, and is collision resistant.

scrypt is a password-based key derivation function. It's used to turn a low-entropy password into a cryptographic key or verifier with effectively higher entropy by being intentionally slow to compute. It's tunable to require larger amounts of CPU and/or memory as technology advances, making hardware dedicated to computing it en masse expensive.

X11 from what I can gather is a proof-of-work function for blockchain-based currencies. It appears to be little more than inelegantly mashing of a bunch of unrelated hash functions together in the naïve hope that that will somehow make it ASIC-resistant and more secure. I don't think it's received any analytic attention from cryptographers.