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

Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingGifty Belle Manaois
 
Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction Sarmad Ali
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1REHAN IJAZ
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 
Programming languages
Programming languagesProgramming languages
Programming languagesSimon Mui
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An IntroKimberly De Guzman
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programmingsonalikharade3
 

What's hot (20)

C programming
C programmingC programming
C programming
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Notepad
NotepadNotepad
Notepad
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern Programming
 
Qbasic introduction
Qbasic introductionQbasic introduction
Qbasic introduction
 
Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction
 
Programming
ProgrammingProgramming
Programming
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Qbasic
QbasicQbasic
Qbasic
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An Intro
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
History of programming
History of programmingHistory of programming
History of programming
 
Introduction to loops
Introduction to loopsIntroduction to loops
Introduction to loops
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
 

Viewers also liked

Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorialnhomz
 
QBASIC
QBASICQBASIC
QBASICnivi88
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC) Ujjal Sharma
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming LanguageJeff Valerio
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingGifty Belle Manaois
 
Basic computer-programming-2
Basic computer-programming-2Basic computer-programming-2
Basic computer-programming-2lemonmichelangelo
 
Vb6.0 Introduction
Vb6.0 IntroductionVb6.0 Introduction
Vb6.0 IntroductionTennyson
 
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 share1rowanalfred
 
Hybridization
HybridizationHybridization
Hybridizationjwallach
 
Insuite hybridization
Insuite hybridizationInsuite hybridization
Insuite hybridizationNoman Ch
 
Fluorescent in-situ Hybridization (FISH)
Fluorescent in-situ Hybridization (FISH)Fluorescent in-situ Hybridization (FISH)
Fluorescent in-situ Hybridization (FISH)BioGenex
 
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)Matteo Wyllyamz
 

Viewers also liked (20)

Qbasic
QbasicQbasic
Qbasic
 
Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorial
 
QBASIC
QBASICQBASIC
QBASIC
 
Qbtut2.1
Qbtut2.1Qbtut2.1
Qbtut2.1
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC)
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming Language
 
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
 
Hybridization
HybridizationHybridization
Hybridization
 
PROTOPLAST ISOLATION & FUSION
PROTOPLAST ISOLATION & FUSIONPROTOPLAST ISOLATION & FUSION
PROTOPLAST ISOLATION & FUSION
 
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)
 
Protoplast isolation
Protoplast isolationProtoplast isolation
Protoplast isolation
 

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
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 
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 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
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
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

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Recently uploaded (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 

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.