Doubt by Pragya

How we will know  that compound is acidic or basic