Computer Hope

Software => Computer programming => Topic started by: Geek-9pm on April 04, 2009, 08:13:24 PM

Title: QBASIC Programming for Kids
Post by: Geek-9pm on April 04, 2009, 08:13:24 PM
QBASIC Programming for Kids
by Ted Felix
http://www.tedfelix.com/qbasic/
I came across the site and would like to share it with others.
Here is a bit of his book:
Quote
You've probably used computers to play games, and to write reports for school. It's a lot more fun to create your own games to play on the computer. This book will help you get started by using QBASIC. QBASIC is a programming language. With a programming language you can tell the computer what you want it to do. It's a lot like giving someone directions to your house. The computer follows each step and does exactly what you tell it. By programming the computer you can solve math problems, create art or music, and even make new games. It's all up to you.
...
When I was a kid, all we had was the "old BASIC". It had line numbers and didn't teach good structured programming habits. QBASIC is a much better learning tool. With the information acquired from this book, one can move on to a more advanced QBASIC book (if you can find one). After becoming proficient in QBASIC, one can move on to more powerful languages like Visual Basic, Java, C, and eventually C++. I would suggest a course of study like this:..
To find out more, go to the link above. Excellent tutorial.

BTW, you should have no problem using QBASIC in the DOS compatibility mode.
Title: Re: QBASIC Programming for Kids
Post by: Dias de verano on April 05, 2009, 01:10:25 PM

BTW, you should have no problem using QBASIC in the DOS compatibility mode.


Except very high cpu usage in XP (don't know about Vista) starting the moment the IDE is opened.




Title: Re: QBASIC Programming for Kids
Post by: gh0std0g74 on April 05, 2009, 06:43:23 PM
QBasic is dated. there are languages better than QBasic that even kids can use.
Title: Re: QBASIC Programming for Kids
Post by: BC_Programmer on April 05, 2009, 06:46:50 PM
QBasic is dated. there are languages better than QBasic that even kids can use.

Quite true- It wouldn't feel right teaching somebody to create 16-bit programs these days. freeBASIC at the very least.
Title: Re: QBASIC Programming for Kids
Post by: Bones92 on April 05, 2009, 09:47:15 PM
My first programming language was QBASIC, on an old 486. Brilliant fun. I was about 7 at the time... I just could never get ON KEY to work...
Title: QBasic
Post by: Ralph Spencer on April 27, 2009, 03:42:58 PM
I go with ppl who say there're better languages than qbasic. Go for Visual Basic or st like that, I'd say.
Title: Re: QBASIC Programming for Kids
Post by: d-boy22 on April 28, 2009, 06:23:39 PM
one of my friends had to take QBASIC in college
Title: Re: QBASIC Programming for Kids
Post by: macdad- on April 28, 2009, 06:25:17 PM
one of my friends had to take QBASIC in college

When?
Title: Re: QBASIC Programming for Kids
Post by: d-boy22 on April 28, 2009, 06:35:27 PM
they are just finishing the class up real soon. 
Title: Re: QBASIC Programming for Kids
Post by: macdad- on April 29, 2009, 06:23:02 AM
they are just finishing the class up real soon. 

 :o, thought they would be doing more recent languages, Computer Sci i'm guessing?
Title: Re: QBASIC Programming for Kids
Post by: Ironman on May 13, 2009, 12:59:31 PM
They still use TrueBasic in the math courses at our local High School.
Title: Re: QBASIC Programming for Kids
Post by: Geek-9pm on May 13, 2009, 03:19:40 PM
Quote
Shocked, thought they would be doing more recent languages, Computer Sci i'm guessing?
Like what?
The man who developed Pascal as a teaching language spent a lot of time on it. And the academic community has also done a lot with it. It can be used fro teaching and it can be used for heavy duty work.

Somehow, Pascal it just did not take over the world. It requires structure and order in thinking out a problem. Which, of course, is not what current society appreciates. Nowadays everybody wants something that just does magic, no thought involved.

QBASIC comes close to working magic.
Title: Re: QBASIC Programming for Kids
Post by: BC_Programmer on May 14, 2009, 08:55:09 AM
Pascal is a great teaching tool, but practically useless for anything more then trivial programs. The limitations, such as having only 255 characters in a string and several others meant that people quickly migrated from pascal to other languages, like C or C++.

By the time pascal fixed these problems, it was too late. But Delphi is good, haven't used it much myself, though.
Title: Re: QBASIC Programming for Kids
Post by: Geek-9pm on May 14, 2009, 10:43:46 AM
Quote
The limitations, such as having only 255 characters in a string and several others meant that people quickly migrated from pascal

I think Pascal cam too late. And it was mostly a Borland product. Microsoft made a Pascal that was very much like QBASIC for the visual shell. 
But Q BASIC was already out there and you did not have to buy anything more to just test it out. And about the string thing. QBASIC would later do up to 32,700 chars in a string. And the stings were not wimpy null terminated. Instead they were dynamically managed. And QBASIC could run circles around C in string handling. Real programmers do not use null terminated strings. BLAH!

The magic of QBASIC is that you did not have to declare anything, except in real tough applications. Just $ to identify a string and everything else was a floating point number. Great for Kids and anybody starting out. Even simple arrays were automatic.

Pascal, as I mentioned, require smore order and structure.
QBASIC was more easy.
Title: Re: QBASIC Programming for Kids
Post by: macdad- on May 14, 2009, 04:52:48 PM
VB.NET is good, yet for nostalgia's sake(and for BC not trying to throw me into captivity  :D), VB6 is still great
Title: Re: QBASIC Programming for Kids
Post by: Geek-9pm on May 14, 2009, 05:37:03 PM
Some of use do not like the .NET method because it requires so much additional changes to be made to the system. The older BASIC compilers had a single run time library that did not have to be pushed into the system.

For the QB 4.5 compiler for QBASIC and Visual Basic for DOS, look here:

http://www.qbcafe.net/qbc/english/download/compiler/qbasic_compiler.shtml
Title: Re: QBASIC Programming for Kids
Post by: gh0std0g74 on May 14, 2009, 09:24:09 PM
The magic of QBASIC is that you did not have to declare anything, except in real tough applications. Just $ to identify a string and everything else was a floating point number. Great for Kids and anybody starting out. Even simple arrays were automatic.
many other modern programming languages, eg Python have better data structures such as dictionaries and far much better than QBasic in terms of libraries / modules, string parsing engines, etc... and definitely suited for kids as well...
Title: Re: QBASIC Programming for Kids
Post by: macdad- on May 15, 2009, 06:10:19 AM
Some of use do not like the .NET method because it requires so much additional changes to be made to the system. The older BASIC compilers had a single run time library that did not have to be pushed into the system.

For the QB 4.5 compiler for QBASIC and Visual Basic for DOS, look here:

http://www.qbcafe.net/qbc/english/download/compiler/qbasic_compiler.shtml

True and you have to install the NET framework on the computer to run .NET apps.

To bad they can't let you just build it into a stand-alone(no framework) EXE.