943,491 Members | Top Members by Rank

Ad:
Nov 9th, 2004
0

Junior High Computer teacher needs help!!

Expand Post »
Hi everyone,

I am a computer teacher in the midwest that is going to have to teach a unit on QBASIC very shortly! i am really a science teacher and would love a little help.

i am looking for short, 10 lines or so, programs that the kids can type in and see something neat.

also i have some code that they can use, but it wasn't originally qbasic, and the random numbers are written differently. can anyone tell me how to write the following line in qbasic (i think this code is originally for commodores!)

30 LET R=INT (100 * RND ( )) + 1

with = a box on my paper, don't know what the box is, but a long time teacher here says it was a key on the old computers!!

Also any sights with tutorials that 8th and 9th graders might like, or a sight explaining programing in qbasic in simple terms. In short any online sites that can be read by children and deal with qbasic.

Any help is appriciated, thank you in advance.

Thanks,
Russell Gregory
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rusti is offline Offline
3 posts
since Nov 2004
Nov 9th, 2004
0

Re: Junior High Computer teacher needs help!!

Russell, There are still plenty of QB sites out there many of them having downloads of programs.

The ABC archives are still out there too (All Basic Code). which has code
dating back to the early to middle 90's.


There are some tutorials around too. How good I don't know.
The QB help (Shift F1) is good for many of the statements with some giving
examples (especially using QuickBasic 4.5 instead of Qbasic).

http://thunder.prohosting.com/oasys/frameex1.htm
Reputation Points: 11
Solved Threads: 0
Light Poster
Buff is offline Offline
40 posts
since May 2004
Nov 9th, 2004
0

Re: Junior High Computer teacher needs help!!

that image would be a number. RND(x) would give a number bewtween 0 and X. INT isn't necessary.

R = 100*RND(X) + 1

So why is a teacher with no QB knowledge teaching a class on it?
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Nov 12th, 2004
0

Re: Junior High Computer teacher needs help!!

Quote ...
So why is a teacher with no QB knowledge teaching a class on it?
Ahh, you assume a lot. I didn't say I have no QB knowledge or that I am teaching a QB class. If your not familiar with middle school teaching, a unit is a group of related lessons. A unit can be from 2 days to a month or longer. This unit will be three days. I have extensive computer applications knowledge, but have last had BASIC when i was a junior in HS. i still remember quite a bit, but was asking for help to locate very specific sites from knowledgable people on the subject.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rusti is offline Offline
3 posts
since Nov 2004
Nov 12th, 2004
0

Re: Junior High Computer teacher needs help!!

When I was in middle school, we had something called a mini-course. Everyone in a class would go for a period per day to another teacher's classroom and learn about different social studies subjects. Every few weeks, we'd rotate.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Nov 12th, 2004
0

Re: Junior High Computer teacher needs help!!

Rusti, If you get QuickBasic 4.5 it has lots of examples (in the help) that may be just the thing. Plus it has a compiler. There is also version 4.0 and version
7.x (PDS). Version 4.5 remains the most popular and has a pretty good help
section.
Reputation Points: 11
Solved Threads: 0
Light Poster
Buff is offline Offline
40 posts
since May 2004
Dec 7th, 2004
0

Re: Junior High Computer teacher needs help!!

I think that PRINT and LOCATE rowparam,colparam are good starting points (as in a "Hello, World" program.)

Also, I hope you will teach the three types of program structures (linear sequencing, loops and branching) for which you need only FOR ... NEXT (ask the students to add all the numbers from 1 to 1000 or whatever) and IF ... THEN (ask them to add only the odd numbers.)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ethveg is offline Offline
9 posts
since Dec 2004
Dec 14th, 2004
0

Re: Junior High Computer teacher needs help!!

Hmmm... i have only 3-4 days and many of my students have trouble reading very simple text. I also teach at a federal poverty school. I will have accomplished something if my students make a real connection between code and output.

By the way, if anyone is looking for similar infromation to what I was, there is a very good site out there called qbasic.com (who knew?) that has tutorials and simple codes availibe. A great site.

The unit is over and went very well! Thanks to those that responded.

Rusti
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rusti is offline Offline
3 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: reading and saving data to textfiles...
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: logical consistency???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC