Prelude to Computer Science - 14: A simple program in BASIC

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,032
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 13, 2007

We examine a very simple program in the BASIC programming language. BASIC is an acronym for Beginner's All-Purpose Symbolic Instruction Code. Some programmers really like acronyms. The program asks the user for two numbers, adds the numbers, and prints the results.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (TheFallibleFiend)

  • sir.. I loved the way you are teaching assembly programming.

    Would that be possible to upload a video to explaing how to convert ASCII in wombat 4 program.

    i will be thankful to you.

  • I'm unfamiliar with wombat.

    Have you tried to search on "wombat ascii conversion" ?

  • How does the computer know about variables a and b, if we didn't declare them in the first place as int values?

  • It depends on which version of BASIC you are using.Some version will assume the numbers are real. Others you have to explicitly declare. In this example, I assumed they were integers.

  • Hey! I'm considering going into computational linguistics; I know enough about linguistics, but not so much about computing, so I've been reading up on it. Your "Prelude to Computer Science" series has been very helpful to me :) Thank-you.

  • ...and good luck.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • thanks alot! now i know that basic's universal attitude is translate then execute :)

  • this lecture is helpful.. thanks for that.

    in my university slides, we are working with wombat 1,2,3 and 4.

    using array and convert input to ASCII codes

  • haha. my professor told me I would fail if i used GOTO. :D

  • You're welcome.  Thanks for the feedback.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more