際際滷

際際滷Share 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 (20)

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
Visual 51
Isnardo Uribe Jaimes
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
linux
Deepa Lakshmi
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging
hw1a
hw1ahw1a
hw1a
tutorialsruby
hw1a
hw1ahw1a
hw1a
tutorialsruby
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
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
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
Practical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptxPractical%2006%20Big%20data%20analytics.pptx
Practical%2006%20Big%20data%20analytics.pptx
SanketPatel295815
exp-7-pig installation.pptx
exp-7-pig installation.pptxexp-7-pig installation.pptx
exp-7-pig installation.pptx
vishal choudhary
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging

More from laraibali21 (20)

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
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
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
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
COMPUTER BASIC PARTS
COMPUTER BASIC PARTSCOMPUTER BASIC PARTS
COMPUTER BASIC PARTS
laraibali21

Recently uploaded (20)

Different Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptxDifferent Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptx
NrapendraVirSingh
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdfWeek 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Liz Walsh-Trevino
Introduction to Systematic Reviews - Prof Ejaz Khan
Introduction to Systematic Reviews - Prof Ejaz KhanIntroduction to Systematic Reviews - Prof Ejaz Khan
Introduction to Systematic Reviews - Prof Ejaz Khan
Systematic Reviews Network (SRN)
Unit1 Inroduction to Internal Combustion Engines
Unit1  Inroduction to Internal Combustion EnginesUnit1  Inroduction to Internal Combustion Engines
Unit1 Inroduction to Internal Combustion Engines
NileshKumbhar21
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VIAnti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Samruddhi Khonde
Yale VMOC Special Report - Measles Outbreak Southwest US 3-30-2025 FINAL v2...
Yale VMOC Special Report - Measles Outbreak  Southwest US 3-30-2025  FINAL v2...Yale VMOC Special Report - Measles Outbreak  Southwest US 3-30-2025  FINAL v2...
Yale VMOC Special Report - Measles Outbreak Southwest US 3-30-2025 FINAL v2...
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study MaterialPass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Jenny408767
UTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri DabhadeUTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
The basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptxThe basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptx
heathfieldcps1
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
home
MIPLM subject matter expert Nicos Raftis
MIPLM subject matter expert Nicos RaftisMIPLM subject matter expert Nicos Raftis
MIPLM subject matter expert Nicos Raftis
MIPLM
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
Unit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition EnginesUnit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition Engines
NileshKumbhar21
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptxA-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
Quiz Club of PSG College of Arts & Science
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
Amlan Sarkar
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VIAnti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Samruddhi Khonde
Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...
Yannis
Different Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptxDifferent Facets of Knowledge on different View.pptx
Different Facets of Knowledge on different View.pptx
NrapendraVirSingh
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdfWeek 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Liz Walsh-Trevino
Unit1 Inroduction to Internal Combustion Engines
Unit1  Inroduction to Internal Combustion EnginesUnit1  Inroduction to Internal Combustion Engines
Unit1 Inroduction to Internal Combustion Engines
NileshKumbhar21
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VIAnti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Samruddhi Khonde
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study MaterialPass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Jenny408767
UTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri DabhadeUTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
The basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptxThe basics of sentences session 9pptx.pptx
The basics of sentences session 9pptx.pptx
heathfieldcps1
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
home
MIPLM subject matter expert Nicos Raftis
MIPLM subject matter expert Nicos RaftisMIPLM subject matter expert Nicos Raftis
MIPLM subject matter expert Nicos Raftis
MIPLM
Unit No 4- Chemotherapy of Malignancy.pptx
Unit No  4- Chemotherapy of Malignancy.pptxUnit No  4- Chemotherapy of Malignancy.pptx
Unit No 4- Chemotherapy of Malignancy.pptx
Ashish Umale
Unit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition EnginesUnit 3: Combustion in Spark Ignition Engines
Unit 3: Combustion in Spark Ignition Engines
NileshKumbhar21
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
Amlan Sarkar
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VIAnti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Anti-Viral Agents.pptx Medicinal Chemistry III, B Pharm SEM VI
Samruddhi Khonde
Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...Design approaches and ethical challenges in Artificial Intelligence tools for...
Design approaches and ethical challenges in Artificial Intelligence tools for...
Yannis

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