Familiya oxirgi va oxiridan 1 ta oldingi simvolini tekshirish, ya‟ni familiya oxiri “ev” bilan tugasa, satrning oxirgi 3 ta simvolini o„chirish va 7-qadamga o„tish, aks holda 4-qadamga o„tish.
Familiya oxirgi va oxiridan 1 ta oldingi simvolini tekshirish, ya‟ni familiya oxiri “ov” bilan tugasa, satrning oxirgi 2 ta simvolini o„chirish va 7-qadamga o„tish, aks holda 5-qadamga o„tish.
Familiya oxirgi va oxiridan 2 ta oldingi simvolini tekshirish, ya‟ni familiya oxiri “eva” bilan tugasa, satrning oxirgi 4 ta simvolini o„chirish va 7-qadamga o„tish, aks holda 6 qadamga o„tish.
Familiya oxirgi va oxiridan 2 ta oldingi simvolini tekshirish, ya‟ni familiya oxiri “ova” bilan tugasa, satrning oxirgi 3 ta simvolini o„chirish va 7-qadamga o„tish.
Hosil bo„lgan ismni ekranga chiqarish.
Talabalar algoritmni so„z bilan yoki blok-sxema ko„rinishida ifodalashlari mumkin