4-bit input, 5-bit output, logical right shift by 2, which is the correct set of 5 output bits?
There are two ways to do a shift: either the "new"  digit (the leftmost, msb) is set to zero, or it is set to the digit that was there before. The former is usually called logical shift while the latter preserves the sign of the number (in case you use the complement representation) and is called arithmetic shift. But sometimes both are just called shift, and one needs to clarify the desired behavior.

Since you as about buffers of length 5 bits, the msb is anyway 0 so logical shift-arithmetic shift, and I'd say the 2-bit right shift is:

01110  -&gt; 00111 -&gt; 00011
01111  -&gt; 00111 -&gt; 00011