In the equation $$A=Be^{kt}$$,where $B$ is the initial amount and $t$ is the time taken what is $k$,I know it's a constant of proportionality ,but is it the same as the number of time a certain amount of money gets compounded every year?
For example, if an amount of $\$~500$ is getting compounded four times at the rate of $5~\%$ per year ,here if they ask what is the amount if the money is compounded every instant ,the equation will the somewhat similar to exponential growth equation,is the number 4 here same as k?
As Ben Grossmann also has explained in the comments, in your example, $k$ refers to the annual rate (provided $t$ is measured in years). Then your formula can be used to calculate the annual yield - the ratio of the total amount at the end of the year to the total amount at the beginning of the year.
Specifically, the rate is
$$r=e^k-1$$
See Effective interest rate for details.