Solution
The potassium is alkali metal which shows +1 oxidation state, as it contains one valence electron.
Oxygen shows −2 oxidation state as it required two electrons to complete its octet.
Let oxidation state if Cr be “x”
2(+1)+2x+7(−2)=0
2x=12
x=+6
Therefore the oxidation state of Cr is +6