Download presentation
Presentation is loading. Please wait.
1
Arrays (in Small Basic)
Learning Objectives Understand what an array is in computer programming. Know how to create and display arrays in Microsoft Small Basic.
2
You already know: Variable
Can store one piece of information at a time.
3
You need to know: Array Can store many pieces of information.
4
How to refer to an Array myarray[3] myarray[2] myarray[4] myarray[1]
5
Simple Array Example
6
Picking a random array element
7
Allow the user to enter a yes/no question.
Display a random answer from an array of answers. Tip: For response ideas, look up the real magic 8 ball toy!
8
Multi-Dimensional Arrays
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.