CDAT - Computer Science‎ > ‎CSP‎ > ‎CSP News‎ > ‎

05 JAN

posted Jan 4, 2017, 10:51 AM by Tom Culpepper   [ updated Jan 5, 2017, 3:25 AM ]
Welcome back to school.  Open the following four pieces of Lua code...
First    Second    Third    Fourth

All four of these programs do the same thing, but they accomplish it in slightly different ways.  Look over each one [0].  Think about what you see in terms of the following terms/concepts:
Function, parameter, input, output, return, 

Answer these questions on a Google form.  It should take most people about 15-20 minutes if they're doing it right.  Use grammar good well.  This is for a grade.  
Did it right = 100.
Did it wrong = NTI.  You'll need to do it again and email me you are finished.

Later in class, we'll talk about the difference between a word and a number.

[0]  That means you actually need to look through the code and think about what is happening.  If it only takes you a minutes you're either a genius or you're doing it wrong.
Comments