Wednesday, 7 March 2018

What is a function and a loop?

Today the yr 7&8 extension group had a task to learn and understand what a function and loop meant in coding. While trying to learn it we got to dance to show examples of what these are. Heres what I learnt.

A function is a piece of code that you can easily call over and over again. It includes the specific steps performed in the function.

A loop is a repetitive action or command typically created with programming loops.


Image result for Coding is cool

No comments:

Post a Comment

Note: only a member of this blog may post a comment.