Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 625 |Likes:
Published by lilashcoco
this will help in giving you a better understanding of small basic programming langauage
this will help in giving you a better understanding of small basic programming langauage

More info:

Published by: lilashcoco on Nov 03, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Philip Conrod & Lou Tylee, ALL RIGHTS RESERVED
4. Small Basic Program Design, Input Methods
Review and Preview
 You should now be fairly comfortable with creating and running simple Small Basic programs. In this class, we continue learning new Small Basic topics to expand our  programming knowledge. We'll look at some program design ideas, some mathematical
functions and at ways to get input from users of your programs. And, we'll build a savingscalculator program. 
Program Design
 You are about to start developing fairly detailed programs using Small Basic. We willgive you programs to build and maybe you will have ideas for your own programs. Either way,it’s fun and exciting to see ideas end up as computer programs. But before starting a program,it’s a good idea to spend a little time thinking about what you are trying to do. This idea of  proper 
will save you lots of time and result in a far better program. Proper program design is not really difficult. The main idea is to create a program that iseasy to use, easy to understand, and free of errors. That makes sense, doesn’t it? Spend sometime thinking about everything you want your program to do. What information does the program need? What information does the computer determine? Decide what programmingsteps you need to follow to accomplish desired tasks. Make the Small Basic code in your methods readable and easy to understand. This willmake the job of making later changes (and you will make changes) much easier. Followaccepted programming rules - you will learn these rules as you learn more about Small Basic.Make sure there are no errors in your program. This may seem like an obvious statement, butmany programs are not error-free.The importance of these few statements about program design might not make a lot of sense right now, but they will. The simple idea is to make a useful, clearly written, error-free program that is easy to use and easy to change. Planning carefully and planning ahead helps youachieve this goal. For each program built in this course, we will attempt to give you some

Activity (4)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Chow Kheeyew liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->