SlideShare a Scribd company logo
1 of 19
{  Introduction
 Interface
 Features
 Rules
 Data
 Types of Mode
 Keywords
 Commands
 Reminders
 Simple Activity
It was invented in 1963
at Dartmouth College
It is an interpreter which means it
reads every line, translates it and
lets the computer execute it before
reading another.
The founders are John George
Kemeny and Tom Kurtzas
It is a user friendly
language.
It is widely known and
accepted programming
language.
It is one of the most flexible
languages , as modification
can easily be done in already
existing programs. Language is easy since the
variables can be named easily and
uses simple English phrases with
mathematical expressions.
All Q-basic language are made up of series of statements,
which are executed in the order in which they are written.
Every statements should have at least one Q-Basic
command word. The words that BASIC recognizes
are called KEYWORDS.
All the command words have to be written using some standard rules ,
which are called “Syntax Rules”. Syntax is the grammar of writing the
statement in a language. Syntax errors are generated when improper
syntax is detected.
Data is a collection of facts and figures that is entered into the computer
through the keyboard. Data is of two types: Constant and Variable.
CONSTANT : Data whose value does not change
a) Numeric Constant : negative or positive numbers.
b) Alphanumeric Constant : Numbers or alphabets
written within double qoutes.
Variable : Data whose value is not constant.
a) Numeric Variable : variable that holds a
numeric constant for calculations.
b) Alphanumeric Variables : variable that holds
an alphanumeric variable which cannot be
used for calculations.
1. Direct Mode : It accepts single line instructions from the
user and the output is viewed as soon as enter key is
pressed.
2. Program Mode : It is used to type program which is
stored in the memory, They have line numbers.
V. Nuval | C. Repollo
1.) LIST is used to list the program on the screen.
2.) RUN is used to execute the program.
3.) LLIST is used to list the program as a hardcopy.
4.) LPRINt is used to get the output of the program on the
hard copy.
5.) NEW is used to clear the memory of the existing program.
6.) SYSTEM is used to take you back to the dos prompt
7.) PRINT is used to view the display on the screen
8.) CLS is used to clear the screen.
9.) RME is used to show the position of the mistake.
10.) SAVE is used to save the program.
11.) LOAD is used to load the program from the disk to the
memory.
1. CLS is used to clear the screen.
2. PRINT is used to display the output on the screen.
3. REM gives an explanation of the program or the
statement in the program thereby making the program
more understandable to do the reader.
4. LET assigns a value to a variable in a program.
5. END is used at the end of the program to signal ending.
6. INPUT allows the user to enter a value for the variable
while running the program.
7. DELETE is used to delete a line number in a program.
A Q-Basic program consists of the lines containing:
1.) a line number
2.) A Q-Basic keyword like PRINT,END etc.
3.) Each program line begins with positive number.
4.) No two lines should have same numbers.
RUN is the command used to execute the
program and get the output on the screen.
It is possible to overwrite lines with the
new statements, but if you want to write
a totally new program , use a NEW
command
In order to exit the Q-Basic
program SYSTEM command
is used.
Command is a special function that tells the Q-
Basic interpreter to do something.
The PRINT command tells the Q-Basic interpreter
to print something to the screen.
PRINT “HELLO WORLD”
FIRST PROGRAMMED
WORDS IN THE
HISTORY.
An expression is something that interpreter calculates.
1+1 (returns 2)
100-47 (returns 53)
AND NOW YOU CAN START A SIMPLE PROGRAM USING Q-BASIC !
THANK YOU
ABOUT THE AUTHORS
VALERIE NUVAL AND CHARLEEN REPOLLO
ARE STUDENTS AT JUAN G. MACARAEG
NATIONAL HIGH SCHOOL LOCATED AT
BINALONAN,PANGASINAN,PHILIPPINES. THIS
SLIDESHOW IS MADE AND UPLOADED AS A
PROJECT FOR THEIR COMPUTER
PROGRAMMING CLASS AND WILL BE PASSED
TO THEIR SUBJECT TEACHER
MR.ANGEL CORONA.

More Related Content

What's hot

Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart Shivam Sharma
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An IntroKimberly De Guzman
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentationSonu Vishwakarma
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming LanguageJeff Valerio
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingsana mateen
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languageseducationfront
 
Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorialnhomz
 
Theory of programming
Theory of programmingTheory of programming
Theory of programmingtcc_joemarie
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and FlowchartsSURBHI SAROHA
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
 

What's hot (20)

Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Qbasic
QbasicQbasic
Qbasic
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An Intro
 
Qbasic tutorial
Qbasic tutorialQbasic tutorial
Qbasic tutorial
 
Programming
ProgrammingProgramming
Programming
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming Language
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scripting
 
Programming language
Programming languageProgramming language
Programming language
 
History of programming
History of programmingHistory of programming
History of programming
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
Computer Languages
Computer Languages Computer Languages
Computer Languages
 
Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorial
 
Theory of programming
Theory of programmingTheory of programming
Theory of programming
 
algo
algoalgo
algo
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 

Viewers also liked

Viewers also liked (20)

Qbasic
QbasicQbasic
Qbasic
 
QBASIC
QBASICQBASIC
QBASIC
 
Qbasic introduction
Qbasic introductionQbasic introduction
Qbasic introduction
 
Qbtut2.1
Qbtut2.1Qbtut2.1
Qbtut2.1
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC)
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern Programming
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Basic computer-programming-2
Basic computer-programming-2Basic computer-programming-2
Basic computer-programming-2
 
Vb6.0 Introduction
Vb6.0 IntroductionVb6.0 Introduction
Vb6.0 Introduction
 
Andrew raj, teacher at don bosco, egmore slide share1
Andrew raj, teacher at don bosco, egmore   slide share1Andrew raj, teacher at don bosco, egmore   slide share1
Andrew raj, teacher at don bosco, egmore slide share1
 
Introduction to loops
Introduction to loopsIntroduction to loops
Introduction to loops
 
Hybridization
HybridizationHybridization
Hybridization
 
PROTOPLAST ISOLATION & FUSION
PROTOPLAST ISOLATION & FUSIONPROTOPLAST ISOLATION & FUSION
PROTOPLAST ISOLATION & FUSION
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
 
Insuite hybridization
Insuite hybridizationInsuite hybridization
Insuite hybridization
 
Fish
FishFish
Fish
 
Basic programming
Basic programmingBasic programming
Basic programming
 
Fluorescent in-situ Hybridization (FISH)
Fluorescent in-situ Hybridization (FISH)Fluorescent in-situ Hybridization (FISH)
Fluorescent in-situ Hybridization (FISH)
 
Protoplast isolation and immobiliz by Dr.U.Srinivasa
Protoplast isolation and immobiliz by Dr.U.SrinivasaProtoplast isolation and immobiliz by Dr.U.Srinivasa
Protoplast isolation and immobiliz by Dr.U.Srinivasa
 
Intro to Adobe Flash CS3 welcome & course outline (2010)
Intro to Adobe Flash CS3 welcome & course outline (2010)Intro to Adobe Flash CS3 welcome & course outline (2010)
Intro to Adobe Flash CS3 welcome & course outline (2010)
 

Similar to Programming : QBASIC

INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfSubramanyambharathis
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxNeil Mutia
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Sehrish Rafiq
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithmshccit
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programmingGaea Bonita
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptxgaafergoda
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and developmentAli Raza
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Nuzhat Memon
 

Similar to Programming : QBASIC (20)

Computer programming
Computer programmingComputer programming
Computer programming
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
 
6272 cnote
6272 cnote6272 cnote
6272 cnote
 
C progrmming
C progrmmingC progrmming
C progrmming
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
 
C programming
C programmingC programming
C programming
 
C programme presentation
C programme presentationC programme presentation
C programme presentation
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithms
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programming
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 

Recently uploaded

OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAShane Coughlan
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfICS
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfMehmet Akar
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypseTomasz Kowalczewski
 
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Lisi Hocke
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdftimtebeek1
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletAndrea Goulet
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbankkasambamuno
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Henry Schreiner
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationElement34
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMarkus Moeller
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Andreas Granig
 
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...CloudMetic
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AIAGATSoftware
 
Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConNatan Silnitsky
 
Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14VMware Tanzu
 
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfThe Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfkalichargn70th171
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabbereGrabber
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIInflectra
 

Recently uploaded (20)

OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeCon
 
Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14
 
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfThe Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 

Programming : QBASIC

  • 1. {  Introduction  Interface  Features  Rules  Data  Types of Mode  Keywords  Commands  Reminders  Simple Activity
  • 2. It was invented in 1963 at Dartmouth College It is an interpreter which means it reads every line, translates it and lets the computer execute it before reading another. The founders are John George Kemeny and Tom Kurtzas
  • 3.
  • 4. It is a user friendly language. It is widely known and accepted programming language. It is one of the most flexible languages , as modification can easily be done in already existing programs. Language is easy since the variables can be named easily and uses simple English phrases with mathematical expressions.
  • 5. All Q-basic language are made up of series of statements, which are executed in the order in which they are written. Every statements should have at least one Q-Basic command word. The words that BASIC recognizes are called KEYWORDS. All the command words have to be written using some standard rules , which are called “Syntax Rules”. Syntax is the grammar of writing the statement in a language. Syntax errors are generated when improper syntax is detected.
  • 6. Data is a collection of facts and figures that is entered into the computer through the keyboard. Data is of two types: Constant and Variable. CONSTANT : Data whose value does not change a) Numeric Constant : negative or positive numbers. b) Alphanumeric Constant : Numbers or alphabets written within double qoutes.
  • 7. Variable : Data whose value is not constant. a) Numeric Variable : variable that holds a numeric constant for calculations. b) Alphanumeric Variables : variable that holds an alphanumeric variable which cannot be used for calculations.
  • 8. 1. Direct Mode : It accepts single line instructions from the user and the output is viewed as soon as enter key is pressed. 2. Program Mode : It is used to type program which is stored in the memory, They have line numbers. V. Nuval | C. Repollo
  • 9. 1.) LIST is used to list the program on the screen. 2.) RUN is used to execute the program. 3.) LLIST is used to list the program as a hardcopy. 4.) LPRINt is used to get the output of the program on the hard copy. 5.) NEW is used to clear the memory of the existing program. 6.) SYSTEM is used to take you back to the dos prompt 7.) PRINT is used to view the display on the screen 8.) CLS is used to clear the screen. 9.) RME is used to show the position of the mistake. 10.) SAVE is used to save the program. 11.) LOAD is used to load the program from the disk to the memory.
  • 10. 1. CLS is used to clear the screen. 2. PRINT is used to display the output on the screen. 3. REM gives an explanation of the program or the statement in the program thereby making the program more understandable to do the reader. 4. LET assigns a value to a variable in a program. 5. END is used at the end of the program to signal ending. 6. INPUT allows the user to enter a value for the variable while running the program. 7. DELETE is used to delete a line number in a program.
  • 11. A Q-Basic program consists of the lines containing: 1.) a line number 2.) A Q-Basic keyword like PRINT,END etc. 3.) Each program line begins with positive number. 4.) No two lines should have same numbers.
  • 12. RUN is the command used to execute the program and get the output on the screen.
  • 13. It is possible to overwrite lines with the new statements, but if you want to write a totally new program , use a NEW command
  • 14. In order to exit the Q-Basic program SYSTEM command is used.
  • 15. Command is a special function that tells the Q- Basic interpreter to do something. The PRINT command tells the Q-Basic interpreter to print something to the screen. PRINT “HELLO WORLD” FIRST PROGRAMMED WORDS IN THE HISTORY.
  • 16. An expression is something that interpreter calculates. 1+1 (returns 2) 100-47 (returns 53)
  • 17. AND NOW YOU CAN START A SIMPLE PROGRAM USING Q-BASIC !
  • 19. ABOUT THE AUTHORS VALERIE NUVAL AND CHARLEEN REPOLLO ARE STUDENTS AT JUAN G. MACARAEG NATIONAL HIGH SCHOOL LOCATED AT BINALONAN,PANGASINAN,PHILIPPINES. THIS SLIDESHOW IS MADE AND UPLOADED AS A PROJECT FOR THEIR COMPUTER PROGRAMMING CLASS AND WILL BE PASSED TO THEIR SUBJECT TEACHER MR.ANGEL CORONA.