16
BASIC PROGRAMMING

Lesson 3 just basic parts

Embed Size (px)

Citation preview

Page 1: Lesson 3   just basic parts

BASIC PROGRAMMING

Page 2: Lesson 3   just basic parts

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.

Page 3: Lesson 3   just basic parts

PARTS OF THE BASIC WINDOW EDITOR

Page 4: Lesson 3   just basic parts

PROGRAM AREA

MENU BARTOOL BAR

SCROLL BAR

TITLE BAR

Page 5: Lesson 3   just basic parts

TITLE BAR

Shows the title of the program.

Page 6: Lesson 3   just basic parts

MENU BAR

Compose of different menus for giving commands in the programming language.

Page 7: Lesson 3   just basic parts

TOOL BAR

Provides shortcut commands buttonFor easy access.

Page 8: Lesson 3   just basic parts

PROGRAM AREA

Where you type in your codes to create just BASIC program.

Page 9: Lesson 3   just basic parts

SCROLL BAR

Appears both horizontally andvertically. View spaces for text thatcannot be seen on the screen.

Page 10: Lesson 3   just basic parts
Page 11: Lesson 3   just basic parts

Creating a New File

• Click the File Menu• Choose New Basic Source File

• Or press Ctrl + N

Page 12: Lesson 3   just basic parts

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

Page 13: Lesson 3   just basic parts

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.

Page 14: Lesson 3   just basic parts

To Run Your Program

• Click the Run Button from the toolbar

• Or press Shift + F5• Or go to Run Menu then choose Run.

Page 15: Lesson 3   just basic parts

Create a Program that will view your name and some short messages about your program.

Writing Simple Program

Page 16: Lesson 3   just basic parts

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