1 / 47

Programming Logic Class in Emergency Mode

Programming Logic Class in Emergency Mode. Why emergency mode?. Why emergency mode?. Why emergency mode?. Why emergency mode?. Why emergency mode?. Why emergency mode?. Why emergency mode?. Should you tell?. Should you complain?. On the first day.

Download Presentation

Programming Logic Class in Emergency Mode

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming Logic Class in Emergency Mode

  2. Why emergency mode?

  3. Why emergency mode?

  4. Why emergency mode?

  5. Why emergency mode?

  6. Why emergency mode?

  7. Why emergency mode?

  8. Why emergency mode?

  9. Should you tell?

  10. Should you complain?

  11. On the first day • What do you think this course will be about? • What are your career goals? • What have you liked about homework/tests/grading procedures in other classes? What have you hated? • Give a pretest • Tour the lab

  12. On later days • What do you like so far? • Hate so far? • What do you not understand? • Grade each others’ homework • Make up some test questions • Have a guest speaker

  13. On later days • Bonus quiz • End-of-chapter questions • Old test bank • Play hangman with vocabulary • Create a puzzle • http://www.armoredpenguin.com/crossword/ • http://www.puzzle-maker.com/

  14. Activity – Following instructions • Near the top right side draw two triangles that touch at the top like an hourglass. • Near the bottom left draw a triangle that points up. • Draw a circle on top of it. • Next to the circle, draw two rectangles, one more to the side than the other. • Over those, draw a circle to the left. • Draw two more circles near the bottom corners of the two rectangles.

  15. The Drawings

  16. Activity – Discovering language rules • Have students examine a program and try to come up with 10 rules of the language • Discuss rules as opposed to conventions • Do this multiple times during the semester • Compare multiple languages

  17. Activity – Discovering algorithms

  18. Activity – Discovering algorithms

  19. Activity – Discovering algorithms

  20. Activity – Discovering algorithms

  21. Activity – Discovering algorithms

  22. Activity – Discovering algorithms

  23. Activity – Discovering algorithms

  24. Activity – Discovering algorithms

  25. Activity – Discovering algorithms

  26. Activity – Discovering algorithms

  27. Activity – Discovering algorithms

  28. Activity – Discovering algorithms

  29. Activity – Discovering algorithms

  30. Activity – Discovering algorithms

  31. Activity – Discovering algorithms

  32. Activity – Discovering algorithms

  33. Activity - Black box testing • Have students run a black box test • TestProgram.cs • TestProgram.exe

  34. Activity - Swapping algorithms • Using a temporary variable

  35. Activity - Swapping algorithms • Using a temporary variable

  36. Activity - Swapping algorithms • Using a temporary variable

  37. Activity - Swapping algorithms • Using a temporary variable

  38. Activity - Swapping algorithms • Using a temporary variable

  39. Activity - Swapping algorithms • Without using a temporary variable

  40. Activity - Swapping algorithms • Without using a temporary variable

  41. Activity - Swapping algorithms • Without using a temporary variable

  42. Activity - Swapping algorithms • Without using a temporary variable

  43. Activity - Swapping algorithms • Without using a temporary variable

  44. Activity - Random Numbers • Have students try to fool you by generating a list of coin toss results • RandomNumberGenerator.cs • RandomNumberGenerator.exe • Discuss implications for applications like iTunes, game playing, and so on

  45. Activity - Storage principles • MathMistake.exe • MathMistake.cs

  46. Activity - Game algorithms • 21 • Nim • http://www.archimedes-lab.org/game_nim/play_nim_game.html • Scratch Pad for Nim.docx

  47. Thank you!

More Related