One student will explain how to draw an image under the following restrictions.

- You may not use your hands.
- You may only describe individual shapes, not composites.
- You may ignore color.

The rest of the students should try to draw the figure according to the instructions.

Explain what the following algorithm does.

Given:two positive natural numbersa&bSetremainder= some non-zero valueRepeatthese stepsuntilremainder= 0

Setremainder= the remainder ofadivided bybIfremainder= 0Then

bElse

Seta=bandb=remainderGo on tothe next repetitionTest Cases:GCD(36,16)→4; GCD(1,1)→1; GCD(1260,198)→18

Write an algorithm for sorting cards under the following restrictions.

- The cards start face down on the table.
- The instructions must be for only one person.
- The person moving the cards can only have one card in each hand at any point (i.e. s/he can only look at the values of two cards).
- The instructions can’t require that the person remember the value of a card once they put it down. You can however use the space on the table however you like.

Write algorithms that implement solutions to the following problems.

We’d like to print the following famous phrase “My name is Bond, James Bond.” using whatever first and last names the user enters.

We’d like to print the sum of any two numbers the user enters.