Unit 5-01

Learning Outcome

At the end of this lesson, you will be able to:

  • understand and use an array

Review

  • functions and procedures

Lesson

  • go over Arrays, Chapter 5
    • Computer Based Problem Solving
    • "What is an array"

Activity

  • do a demo of creating an array

Daily Assignment

  • create a program that generates 10 random numbers between 1 and 100
    • it places them in a single variable (an array) and then a textview (not a textbox)
    • have a button that then calculates the average of the numbers
  • please note the following:
    • your array declaration will be like:
my_numbers = []
  • create:
    • GUI
    • flowchart
    • Test cases
    • code
    • screenshots
    • GitHub link

Extra

  • work on a weekly assignment

Homework!

  • read over arrays, passing arrays as parameters, Chapter 5
    • Computer Based Problem Solving