TATN – Computer Science

This talk was great as she showed how she used roll player and taught her students using physical modalities. So often we stay in the reading and listening modalities of learning.

  

  

  

  

  

  

  

  

  

  

  

The students will learn how to create and trace through different programming loops. Students will be able to create programs using a loop structure. They will be able to use the different types of loops in a program.

Submitted By:

Teacher: Anne Woolweaver

School District: Clear Creek ISD

Email:
awoolwea@ccisd.net

Technology Applications TEKS

  • 126.22. (c ) 1c   knowledge and skill 
  • 126.22. (c ) 6a   information acquisition
  • 126.22. (c ) 7f  solving problems
  • 126.22. (c ) 7j  control structures
  • 126.22. (c ) 8c  extend the learning environment

    Objectives

  • Students will be able to trace through different types of control structures
  • Students will be able to design a  program using control structures
  • Students will be able to implement different control structures in a program

    Time Required

    1 week of 45 min class periods

    Materials Required

  • Demonstration program
  • Colored Index Cards
  • Colored Chalk

    Procedure

  • Have all the students stand up.
  • Students will do 5 jumping jacks counting as they go.
  • Write the algorithm for this
  • Students will do 5 jumping jacks and do not say the number until they are finished.
  • Write the algorithm for this
  • Convert the algorithms into code.
  • Compare and Contrast the algorithms- You may use a graphic organizer, venn diagram etc.
  • Students will do jumping jacks for 1 minute
  • Have each student tell how many they did
  • Write the algorithm
  • Convert the algorithm into code
  • Compare the While loop with the For Loop
  • Create a program that will display a line of information 10 times
  • Now play ” who can code this program in ___ lines”
  • Note: You are looking for the least amount of lines still following programming standards and readability.
  • Tell the students to create a program the will print out 100 times I will not use the internet without teacher approval.
  • See who comes up with the loop program
  • Take practice loop problems and put them on colored index cards 5- 10 different problems on each color card
  • Divide the class into groups – giving each a different color
  • Hand the group a piece of colored chalk that matches their index cards
  • The students as a group will solve the loop problems.

    Closure

  • Students create a program that uses a loop.
  • Have the students create a program that  prints out all the even numbers form 1 to 1000
  • Have students create a crayon box with 16 crayons ( graphics mode)

    Evaluation 

    Chalk assignment:

    Students call you over when they are done with the loop problem if it is correct 10 points, subtract 1 point every time they call you over and it is incorrect. They get 10 chances.

    Extension Activity

    Students will code a program using loops. The level of the program can be modified due to ability.

  • The American Flag with nested Loops.
  • Draw a picket fence.
  • Output the multiples of 3 from 10 to 1000.

     
     

     
     

    Inserted from <http://www.techappsnetwork.org/index.php?option=com_content&view=article&id=493:computer-science&catid=169:computer-science&directory=84>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *