Feb 25 Notes



Lab Project
Write a “Simple” Q Basic Program
To calculate the square footage of this building

W/ flower box
Least amount of features


Psuedocode



Goal : Calculate Sq Ft of building with 3 rooms

Calculate:

Rm1 = 10* 14
Rm2 = 16*28
Rm3 = 14*18

Total

Total_sq_ft = Rm1 + Rm2 + Rm3

Display=Total_sq_ft

Pint Hard Copy
Display on screen

FLOWCHART


HINT
Can if you make a program with out an end will it run .. yes
Is it a well written program .. no
You want a well written program


Standard Operating Procedure for CIS 115

Every program will have a flower box
Every program will comments
Every program will use key word let for all
assignment statements Every program will end with reserve word END
Every program will have a CLS clear screen
All outputs will be labeled!
Every Statement will be labled



Programs Writen today :
Look following Programs .. they show a progress of code ..
Sflab1.bas
Sflab2.bas
Sflab3.bas
Sflab4.bas

LIL TID BITS

Who owns Q Basic ? Microsoft

Who owns liberty Basic ?Carol Grundle

To make it legal Grundle had to change some things in the program so it wasn’t the same as Q basic so he wouldn’t be going against any laws .. thats why the two programs are a little different