SlideShare a Scribd company logo
WELCOME TO
COMPUTER
ONLINE CLASS
INTRODUCTION TO QBASIC
CHAPTER 5
2
1.Find the Command Prompt on your computer. If
you are running DOS, this is the prompt that asks
you for commands. ...
2. When you get a window with the prompt, enter
the command: qbasic then press the ENTER key.
3. QBasic should start up. The pictures in CHAPTER
1 show what you should see
3
Sequential file INPUT in QBasic is just like reading data
from the keyboard, except that all the data exists in a file
before the program is run. Save the file using the menu
system, much like you save a program file: hit ALT+F, and
then S, then in the file dialog box enter a file name
Steps to save a
program in Qbasic
BASIC ELEMENTS IN QBASIC
✣ The elements used in Qbasic are as
follows:
✣ Character set.
✣ Variables.
✣ Constants.
✣ Operator and Operands.
✣ Expression.
✣ Statements.
5
OPEN A SAVED PROGRAM IN QBASIC
Sequential file INPUT in QBasic is just
like reading data from the keyboard,
except that all the data exists in a file
before the program is run. Save the file
using the menu system, much like
you save a program file: hit ALT+F, and
then S, then in the file dialog box enter a
file name. Use DATA. DAT.
6
OPERATORS IN QBASIC

7
✣ here are four types of operators in QBASIC. They
are Arithmetic Operators, Relational
Operators, Logical Operators and Sting
Operator. Arithmetic Operators are used to
perform mathematical calculations like
addition,subtraction, division, multiplication and
exponential.
LETS WATCH
TUTORIAL.
8
https://youtu.be/15p8Q7CttRc
HOME WORK
DO QUESTIONS IN YOUR NOTEBOOK.
1. Write the steps to execute the program.
2. What are the main components of Qbasic screen?
3. How will you open a saved program in Qbasic ?
What are the different types of operators in
Qbasic?
9
Practice at
home
10
Thanks!
Any questions?
11

More Related Content

Similar to More on QBASIC

Win98 System File Details
Win98 System File DetailsWin98 System File Details
Win98 System File Details
Sais Abdelkrim
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
Julia R Nash
 
Batch FIles
Batch FIlesBatch FIles
Batch FIles
Fredrick Hall
 
Run python from windows taskscheduler
Run python from windows taskschedulerRun python from windows taskscheduler
Run python from windows taskscheduler
Norifumi Irie
 
Files in c++ ppt
Files in c++ pptFiles in c++ ppt
Files in c++ ppt
Kumar
 
Windows xp(1)
Windows xp(1)Windows xp(1)
Windows xp(1)
Dina El Stohy
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
Enelrah Vanna Dela Cruz
 
FILE TYPE/RUN/ FOLDER OPTION
FILE TYPE/RUN/FOLDER OPTIONFILE TYPE/RUN/FOLDER OPTION
FILE TYPE/RUN/ FOLDER OPTION
Aife Ocubillo
 
CDS Filtering Program - User Manual
CDS Filtering Program - User ManualCDS Filtering Program - User Manual
CDS Filtering Program - User Manual
Yoann Pageaud
 
Prepare Installer Week 1.pdf
Prepare Installer Week 1.pdfPrepare Installer Week 1.pdf
Prepare Installer Week 1.pdf
emersonrebibis1
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
sahirzakaria
 
Visual 51
Visual 51Visual 51
Sap pandit !!
Sap pandit !!Sap pandit !!
Sap pandit !!
Umakant Mohanty
 
Practical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxPractical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptx
SanketPatel295815
 
OS_lab_file.pdf
OS_lab_file.pdfOS_lab_file.pdf
OS_lab_file.pdf
KarthickS942388
 
exp-7-pig installation.pptx
exp-7-pig installation.pptxexp-7-pig installation.pptx
exp-7-pig installation.pptx
vishal choudhary
 
linux
linuxlinux
hw1a
hw1ahw1a
hw1a
hw1ahw1a
Introduction to Git / Github
Introduction to Git / GithubIntroduction to Git / Github
Introduction to Git / Github
Paige Bailey
 

Similar to More on QBASIC (20)

Win98 System File Details
Win98 System File DetailsWin98 System File Details
Win98 System File Details
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
 
Batch FIles
Batch FIlesBatch FIles
Batch FIles
 
Run python from windows taskscheduler
Run python from windows taskschedulerRun python from windows taskscheduler
Run python from windows taskscheduler
 
Files in c++ ppt
Files in c++ pptFiles in c++ ppt
Files in c++ ppt
 
Windows xp(1)
Windows xp(1)Windows xp(1)
Windows xp(1)
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
 
FILE TYPE/RUN/ FOLDER OPTION
FILE TYPE/RUN/FOLDER OPTIONFILE TYPE/RUN/FOLDER OPTION
FILE TYPE/RUN/ FOLDER OPTION
 
CDS Filtering Program - User Manual
CDS Filtering Program - User ManualCDS Filtering Program - User Manual
CDS Filtering Program - User Manual
 
Prepare Installer Week 1.pdf
Prepare Installer Week 1.pdfPrepare Installer Week 1.pdf
Prepare Installer Week 1.pdf
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
 
Visual 51
Visual 51Visual 51
Visual 51
 
Sap pandit !!
Sap pandit !!Sap pandit !!
Sap pandit !!
 
Practical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxPractical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptx
 
OS_lab_file.pdf
OS_lab_file.pdfOS_lab_file.pdf
OS_lab_file.pdf
 
exp-7-pig installation.pptx
exp-7-pig installation.pptxexp-7-pig installation.pptx
exp-7-pig installation.pptx
 
linux
linuxlinux
linux
 
hw1a
hw1ahw1a
hw1a
 
hw1a
hw1ahw1a
hw1a
 
Introduction to Git / Github
Introduction to Git / GithubIntroduction to Git / Github
Introduction to Git / Github
 

More from laraibali21

Algorithm n problem solving x
Algorithm n problem solving xAlgorithm n problem solving x
Algorithm n problem solving x
laraibali21
 
Computer software
Computer software Computer software
Computer software
laraibali21
 
MSW LOGO PRIMITIVES
MSW LOGO PRIMITIVESMSW LOGO PRIMITIVES
MSW LOGO PRIMITIVES
laraibali21
 
More feature of MS POWER POINT
More feature of MS POWER POINTMore feature of MS POWER POINT
More feature of MS POWER POINT
laraibali21
 
INTRODUCTION TO MS EXCEL 2010
INTRODUCTION TO MS EXCEL 2010INTRODUCTION TO MS EXCEL 2010
INTRODUCTION TO MS EXCEL 2010
laraibali21
 
ADVANCE ALGORITM AND FLOW CHARTS
ADVANCE ALGORITM AND FLOW CHARTSADVANCE ALGORITM AND FLOW CHARTS
ADVANCE ALGORITM AND FLOW CHARTS
laraibali21
 
MS PAINT
MS PAINT MS PAINT
MS PAINT
laraibali21
 
Input and output devices
Input and output devices Input and output devices
Input and output devices
laraibali21
 
Introduction to MS Windows 7
Introduction to MS Windows 7Introduction to MS Windows 7
Introduction to MS Windows 7
laraibali21
 
Parts of computer
Parts of computerParts of computer
Parts of computer
laraibali21
 
Computer around us
Computer around us Computer around us
Computer around us
laraibali21
 
Characteristic of computer
Characteristic of computer Characteristic of computer
Characteristic of computer
laraibali21
 
Hyperlink
HyperlinkHyperlink
Hyperlink
laraibali21
 
INTERNET
INTERNETINTERNET
INTERNET
laraibali21
 
Insert a HYPERLINK
Insert a HYPERLINK Insert a HYPERLINK
Insert a HYPERLINK
laraibali21
 
HTML (presentation)
HTML (presentation)HTML (presentation)
HTML (presentation)
laraibali21
 
ELECTRONIC MAIL
ELECTRONIC MAIL ELECTRONIC MAIL
ELECTRONIC MAIL
laraibali21
 
MS PAINT (START AND CLOSE )
MS PAINT (START AND CLOSE )MS PAINT (START AND CLOSE )
MS PAINT (START AND CLOSE )
laraibali21
 
GRADE 3
GRADE 3GRADE 3
GRADE 3
laraibali21
 
COMPUTER BASIC PARTS
COMPUTER BASIC PARTSCOMPUTER BASIC PARTS
COMPUTER BASIC PARTS
laraibali21
 

More from laraibali21 (20)

Algorithm n problem solving x
Algorithm n problem solving xAlgorithm n problem solving x
Algorithm n problem solving x
 
Computer software
Computer software Computer software
Computer software
 
MSW LOGO PRIMITIVES
MSW LOGO PRIMITIVESMSW LOGO PRIMITIVES
MSW LOGO PRIMITIVES
 
More feature of MS POWER POINT
More feature of MS POWER POINTMore feature of MS POWER POINT
More feature of MS POWER POINT
 
INTRODUCTION TO MS EXCEL 2010
INTRODUCTION TO MS EXCEL 2010INTRODUCTION TO MS EXCEL 2010
INTRODUCTION TO MS EXCEL 2010
 
ADVANCE ALGORITM AND FLOW CHARTS
ADVANCE ALGORITM AND FLOW CHARTSADVANCE ALGORITM AND FLOW CHARTS
ADVANCE ALGORITM AND FLOW CHARTS
 
MS PAINT
MS PAINT MS PAINT
MS PAINT
 
Input and output devices
Input and output devices Input and output devices
Input and output devices
 
Introduction to MS Windows 7
Introduction to MS Windows 7Introduction to MS Windows 7
Introduction to MS Windows 7
 
Parts of computer
Parts of computerParts of computer
Parts of computer
 
Computer around us
Computer around us Computer around us
Computer around us
 
Characteristic of computer
Characteristic of computer Characteristic of computer
Characteristic of computer
 
Hyperlink
HyperlinkHyperlink
Hyperlink
 
INTERNET
INTERNETINTERNET
INTERNET
 
Insert a HYPERLINK
Insert a HYPERLINK Insert a HYPERLINK
Insert a HYPERLINK
 
HTML (presentation)
HTML (presentation)HTML (presentation)
HTML (presentation)
 
ELECTRONIC MAIL
ELECTRONIC MAIL ELECTRONIC MAIL
ELECTRONIC MAIL
 
MS PAINT (START AND CLOSE )
MS PAINT (START AND CLOSE )MS PAINT (START AND CLOSE )
MS PAINT (START AND CLOSE )
 
GRADE 3
GRADE 3GRADE 3
GRADE 3
 
COMPUTER BASIC PARTS
COMPUTER BASIC PARTSCOMPUTER BASIC PARTS
COMPUTER BASIC PARTS
 

Recently uploaded

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
 
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
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
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 Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 

Recently uploaded (20)

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
 
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
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
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 Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 

More on QBASIC

  • 3. 1.Find the Command Prompt on your computer. If you are running DOS, this is the prompt that asks you for commands. ... 2. When you get a window with the prompt, enter the command: qbasic then press the ENTER key. 3. QBasic should start up. The pictures in CHAPTER 1 show what you should see 3
  • 4. Sequential file INPUT in QBasic is just like reading data from the keyboard, except that all the data exists in a file before the program is run. Save the file using the menu system, much like you save a program file: hit ALT+F, and then S, then in the file dialog box enter a file name Steps to save a program in Qbasic
  • 5. BASIC ELEMENTS IN QBASIC ✣ The elements used in Qbasic are as follows: ✣ Character set. ✣ Variables. ✣ Constants. ✣ Operator and Operands. ✣ Expression. ✣ Statements. 5
  • 6. OPEN A SAVED PROGRAM IN QBASIC Sequential file INPUT in QBasic is just like reading data from the keyboard, except that all the data exists in a file before the program is run. Save the file using the menu system, much like you save a program file: hit ALT+F, and then S, then in the file dialog box enter a file name. Use DATA. DAT. 6
  • 7. OPERATORS IN QBASIC 7 ✣ here are four types of operators in QBASIC. They are Arithmetic Operators, Relational Operators, Logical Operators and Sting Operator. Arithmetic Operators are used to perform mathematical calculations like addition,subtraction, division, multiplication and exponential.
  • 9. HOME WORK DO QUESTIONS IN YOUR NOTEBOOK. 1. Write the steps to execute the program. 2. What are the main components of Qbasic screen? 3. How will you open a saved program in Qbasic ? What are the different types of operators in Qbasic? 9