Question d’entretien chez Barclays

How to draw line and circle without using any function.