Upload
christopher-olaya
View
97
Download
0
Embed Size (px)
Citation preview
BASIC PROGRAMMING
BASIC
Stands for Beginner’s All-Purpose Symbolic Instruction Code. It was originally developed by John Kemeny and Thomas Kurtz.
Its main aim was to aid in the teaching of computer programming with the main methods of input and output.
PARTS OF THE BASIC WINDOW EDITOR
PROGRAM AREA
MENU BARTOOL BAR
SCROLL BAR
TITLE BAR
TITLE BAR
Shows the title of the program.
MENU BAR
Compose of different menus for giving commands in the programming language.
TOOL BAR
Provides shortcut commands buttonFor easy access.
PROGRAM AREA
Where you type in your codes to create just BASIC program.
SCROLL BAR
Appears both horizontally andvertically. View spaces for text thatcannot be seen on the screen.
Creating a New File
• Click the File Menu• Choose New Basic Source File
• Or press Ctrl + N
Saving a Basic Program File
• Click the File Menu• Choose Save As• In the Dialog Box, Type the Filename with
an extension .bas (ex. Hello.bas)• Click the Save Button
Opening a Basic Program File
• Click The File Menu• Choose Open• In the Dialog Box, Locate the basic
program file you want to open.• Click the Open button.
To Run Your Program
• Click the Run Button from the toolbar
• Or press Shift + F5• Or go to Run Menu then choose Run.
Create a Program that will view your name and some short messages about your program.
Writing Simple Program
PROGRAM CODE:
cls
print “Hello World!!!”
Print “I am Juan Dela Cruz”
print “This is my first Just Basic Program”
print “Thank you for Reading… Have a Nice Day!!!”
end