SlideShare a Scribd company logo
1 of 11
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

Files in c++ ppt
Files in c++ pptFiles in c++ ppt
Files in c++ ppt
Kumar
 

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

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

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

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