Karen NorthPeriod 1A, 2A, 4AComputer Science I C3.2 Progams that Test Conditions

LEARNER OBJECTIVES:
TEKS / Texas Essential Knowledge and Skills:
  1. TLW apply mathematical claims in Scheme programs.
  2. TLW use arithmetic and relational operators.
Math TAAS: 4.1 Use metric and customary units
PROCEDURES/ACTIVITIES:
TAAS Activity: Write a computer program using measurement units.
  1. Explain terms:
    • Boolean
    • Class of values
    • Interval boundary
    • Number line / Line of reals
    • Equational conditions
    • Domain knowledge for computer monitors
  2. Write simple programs that consumes a number and tests whether some condition about the number is true.
  3. Write programs for intervals or combination of intervals on a number line.
  4. Write equational conditions as programs.
  5. Write a program to determine if a mouse click is inside a rectangular boundary.
ASSESSMENT:
  • Printed programs for exercises 3.2.1, 3.2.2, 3.2.3 and 3.2.4
  • MATERIALS:
    1. Software: DrScheme Programming Environment
    2. Hardware: Dell 586, 75 MHz computer
    3. Reading from How to Design Programs: C3.2 Programs that Test Conditions.