SlideShare a Scribd company logo
Introduction to Qbasic
By Richa Kathuria
Computer Language

As we need a language to communicate with each
other, similarly we need a language to communicate
with computer.

There are two types of languages for computer:
1. Low Level Languages : in form of 0s and 1s.
2. High Level Languages : they are like English, that
we can understand easily.
Qbasic

Basic is the first high level language.

Very simple to learn and understand.

Qbasic is Quick Basic , its a popular version of
Basic.

For windows 7 we need at least Qbasic 32 bits.

We use “commands” to give instructions to the
computer in a computer language.
Simple commands

PRINT- to display any text to the output screen
Eg PRINT”Hello”
Output : Hello

INPUT- this is used to take any value from the user.
Eg If you want to print user's name on the screen ,
then take input from user.
INPUT name$

END- this is to end the program, program will not
run the commands after that.
The first Glance: Qbasic window
First Program and Output
Explanation
Program to Print Hello
Print “Hello”
END

Press F5 to run the program and see the output.

Here Print command will direct the text “Hello” to the
output screen.

END will end the program.

Output will only be Hello , commands are not shown there.
Input Command Example
Explaination

Program to print name of user
PRINT "Hello"
PRINT "Enter your name"
INPUT name$
PRINT "Your name is "; name$
END

Here name$ is a variable to store value of name.

Input command is used to take value from the user.

When we print value of a variable , no double quotes are
used.
Thank You

More Related Content

What's hot

Basic of qbasic
Basic of qbasicBasic of qbasic
Basic of qbasic
RoshanMaharjan13
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kids
Paul Gonzales
 
Input and output devices ppt
Input and output devices pptInput and output devices ppt
Input and output devices ppt
bjslides
 
Qbasic introduction
Qbasic introductionQbasic introduction
Qbasic introduction
Christian Joseph Opiana
 
Peripheral devices
Peripheral devicesPeripheral devices
Peripheral devices
Burhan Ahmed
 
KEYBOARD
KEYBOARDKEYBOARD
KEYBOARD
MIKIN KAUSHIK
 
Computer keyboard
Computer keyboardComputer keyboard
Computer keyboard
Cheneta Kenny Calvo
 
computer languages
computer languagescomputer languages
computer languages
The millennium school
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
Output devices of Computer
Output devices of ComputerOutput devices of Computer
Output devices of Computer
Shaikh Alam
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
Ana Tan
 
Word practical questions for exercises
Word practical questions for exercisesWord practical questions for exercises
Word practical questions for exercises
Hari993901
 
Computer fundamentals
Computer fundamentalsComputer fundamentals
Computer fundamentals
Dheenathayalan Ramasamy
 
Qbasic
QbasicQbasic
Presentation on output device
Presentation on output devicePresentation on output device
Presentation on output device
Nitish Xavier Tirkey
 
Basics of Computer.ppt
Basics of Computer.pptBasics of Computer.ppt
Basics of Computer.ppt
NKarpagam1
 
Output devices
Output devicesOutput devices
Output devices
yaseen baig
 
Components of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament pptComponents of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament ppt
DeepuVishwakarma
 
Computer software
Computer softwareComputer software
Computer software
Maneesh Singh
 

What's hot (20)

Basic of qbasic
Basic of qbasicBasic of qbasic
Basic of qbasic
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kids
 
Input and output devices ppt
Input and output devices pptInput and output devices ppt
Input and output devices ppt
 
Qbasic introduction
Qbasic introductionQbasic introduction
Qbasic introduction
 
Peripheral devices
Peripheral devicesPeripheral devices
Peripheral devices
 
KEYBOARD
KEYBOARDKEYBOARD
KEYBOARD
 
Computer keyboard
Computer keyboardComputer keyboard
Computer keyboard
 
computer languages
computer languagescomputer languages
computer languages
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
Output devices of Computer
Output devices of ComputerOutput devices of Computer
Output devices of Computer
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
 
Word practical questions for exercises
Word practical questions for exercisesWord practical questions for exercises
Word practical questions for exercises
 
Computer fundamentals
Computer fundamentalsComputer fundamentals
Computer fundamentals
 
Qbasic
QbasicQbasic
Qbasic
 
Presentation on output device
Presentation on output devicePresentation on output device
Presentation on output device
 
Basics of Computer.ppt
Basics of Computer.pptBasics of Computer.ppt
Basics of Computer.ppt
 
Output devices
Output devicesOutput devices
Output devices
 
Components of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament pptComponents of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament ppt
 
Computer software
Computer softwareComputer software
Computer software
 
1 basic computer course
1 basic computer course1 basic computer course
1 basic computer course
 

Viewers also liked

Qbasic program
Qbasic programQbasic program
Qbasic program
Fercie Caseria
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
Enelrah Vanna Dela Cruz
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern Programming
Gifty Belle Manaois
 
QBASIC
QBASICQBASIC
QBASIC
nivi88
 
Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorial
nhomz
 
Qbasic tutorial
Qbasic tutorialQbasic tutorial
Qbasic tutorial
jovelleluzon
 

Viewers also liked (6)

Qbasic program
Qbasic programQbasic program
Qbasic program
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
 
QBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern ProgrammingQBASIC: A Tool For Modern Programming
QBASIC: A Tool For Modern Programming
 
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 tutorial
Qbasic tutorialQbasic tutorial
Qbasic tutorial
 

Similar to Introduction to qbasic

Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
bdmsts
 
Introducing Small Basic.pdf
Introducing Small Basic.pdfIntroducing Small Basic.pdf
Introducing Small Basic.pdf
Snehlata Parashar
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
Sara Samol
 
Chapter 1 a13
Chapter 1 a13Chapter 1 a13
Chapter 1 a13
kashee99
 
Slide 01
Slide 01Slide 01
Slide 01
Dash Chan
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
An I
 
Ppt 1
Ppt 1Ppt 1
Moreno Xec
Moreno XecMoreno Xec
Moreno Xec
ebermoreno22
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
Hepsijeba
 
The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212
Mahmoud Samir Fayed
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
som_nangia
 
BIS07 Application Development - I
BIS07 Application Development - IBIS07 Application Development - I
BIS07 Application Development - I
Prithwis Mukerjee
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
zaheeriqbal41
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
Sehrish Rafiq
 
The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181
Mahmoud Samir Fayed
 
The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210
Mahmoud Samir Fayed
 
Computer programming
Computer programmingComputer programming
Computer programming
Mohamed Asarudeen
 
Batch programming
Batch programmingBatch programming
Batch programming
Harry Kodua
 
Batch programming
Batch programmingBatch programming
Batch programming
Harry Kodua
 
Chapter1 introduction it2
Chapter1 introduction it2Chapter1 introduction it2
Chapter1 introduction it2
Kinglan Galon
 

Similar to Introduction to qbasic (20)

Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
 
Introducing Small Basic.pdf
Introducing Small Basic.pdfIntroducing Small Basic.pdf
Introducing Small Basic.pdf
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Chapter 1 a13
Chapter 1 a13Chapter 1 a13
Chapter 1 a13
 
Slide 01
Slide 01Slide 01
Slide 01
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Moreno Xec
Moreno XecMoreno Xec
Moreno Xec
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 
The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
BIS07 Application Development - I
BIS07 Application Development - IBIS07 Application Development - I
BIS07 Application Development - I
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181
 
The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Batch programming
Batch programmingBatch programming
Batch programming
 
Batch programming
Batch programmingBatch programming
Batch programming
 
Chapter1 introduction it2
Chapter1 introduction it2Chapter1 introduction it2
Chapter1 introduction it2
 

Recently uploaded

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 

Recently uploaded (20)

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 

Introduction to qbasic

  • 1. Introduction to Qbasic By Richa Kathuria
  • 2. Computer Language  As we need a language to communicate with each other, similarly we need a language to communicate with computer.  There are two types of languages for computer: 1. Low Level Languages : in form of 0s and 1s. 2. High Level Languages : they are like English, that we can understand easily.
  • 3. Qbasic  Basic is the first high level language.  Very simple to learn and understand.  Qbasic is Quick Basic , its a popular version of Basic.  For windows 7 we need at least Qbasic 32 bits.  We use “commands” to give instructions to the computer in a computer language.
  • 4. Simple commands  PRINT- to display any text to the output screen Eg PRINT”Hello” Output : Hello  INPUT- this is used to take any value from the user. Eg If you want to print user's name on the screen , then take input from user. INPUT name$  END- this is to end the program, program will not run the commands after that.
  • 5. The first Glance: Qbasic window
  • 7. Explanation Program to Print Hello Print “Hello” END  Press F5 to run the program and see the output.  Here Print command will direct the text “Hello” to the output screen.  END will end the program.  Output will only be Hello , commands are not shown there.
  • 9. Explaination  Program to print name of user PRINT "Hello" PRINT "Enter your name" INPUT name$ PRINT "Your name is "; name$ END  Here name$ is a variable to store value of name.  Input command is used to take value from the user.  When we print value of a variable , no double quotes are used.