Today we learned about functions. To be more specific, we learned about programmer-defined functions. The functions that I was familiar with before was pre-defined, such as ord. We learned today how to declare functions and apply them in the programs that we create. We learned two new keywords: function and result.
In addition, we also learned how to write algorithms in pseudocode. It helps when a programmer is not sure how to write the code in Turing to solve a specific problem. By writing algorithms, the programmer can write the instructions in English and translate it to Turing.
We also had a homework check today. I printed it out but I left it on my printer. I was going to get it when I pack my backpack before I left for school this morning, but I forgot it along with my flute for the dress rehearsal for International Night. Did I mention I forgot my shoes for the volleyball game today after school, too? It just goes to show how important organization is. Fortunately, I was forgiven for missing the dress rehearsal, and Zainab lent me her shoes for the game. Mr. Arkin was annoyed, but there is nothing I can do about what happened. Sigh. I will just be more organized next time.
For homework tonight, we have to write the function for nextConsonant. I noticed on the daily log that Class B and C have to integrate the usage of functions into their substring assignments. I may actually try to do that just for practice. That is, after I figure out the function nextConsonant.
Showing posts with label functions computer science printer organization arkin annoyed left international night dress rehearsal volleyball game running shoes user defined ib ics employ substring assignment next consonant. Show all posts
Showing posts with label functions computer science printer organization arkin annoyed left international night dress rehearsal volleyball game running shoes user defined ib ics employ substring assignment next consonant. Show all posts
Tuesday, December 7, 2010
Subscribe to:
Posts (Atom)