Karen NorthPeriod 1A, 2A, 4AComputer Science I Lesson 5

  • LEARNER OBJECTIVES:
    TEKS / Texas Essential Knowledge and Skills:
    1. Summarize the 3 types of program errors.
    2. Understand use of parameters and schematic shape in a program.
    Math TAAS:
    PROCEDURES/ACTIVITIES:
    TAAS Activity: Write a program definition to find the square and square root of an input number.
    1. Explain terms/concepts:
      • designed rule
      • atomic vs compound expression
      • schematic shape
      • name of program
      • parameter used for input
      • function call
      • actual parameter
      • Errors
        • syntax error
        • run-time error
          • intuitive laws of algebra and arithmetic
        • logical error
          • programmer
          • incorrect result
    2. Exercise 2.3.1-2.3.3
    ASSESSMENT:
    Test on program definitions.
    MATERIALS:
    1. Software: DrScheme Programming Environment
    2. Hardware: Dell 586, 75 mhz computer
    3. Reading from How to Design Programs: Errors