Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
51 views
Qbasic Notes
Qbasic_notes
Uploaded by
Chukwudi Mmereole
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Qbasic_notes For Later
Download
Save
Save Qbasic_notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
51 views
Qbasic Notes
Qbasic_notes
Uploaded by
Chukwudi Mmereole
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Qbasic_notes For Later
Carousel Previous
Carousel Next
Save
Save Qbasic_notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 16
Search
Fullscreen
| What is @GBASTC 2 aim wie wedi Bd 2th’ A rap ol 4 QBASIC iS One of the easiest high sheveds programming Jaaguages which was developed . by Psofessoy¥s John Kemeny and :thomas Kustz+ tibre ae? bll Feature of @BASIC gigar bar aetpregqe a: Easy to leaxn: and undexstand - Levibe Sup pox4s: \gtauctureds /pyogxamming c Allows vs to waite and xun _PyOQ%aAMs im mediaté by arc ott ye ig)Ci Elements of OBASIE Pao guamming by G1 AL a OBASIC: -chave.ctew. set: \ “Dray 'sval Ww ODiAw be Vowiabre pap ov osaweA snaol Cc: Constant YY P19) An Bay d- Opexatoy and aaa ! roSa 2OOt ot we PR aD e Keggoo nd, ( Resexved woxds) _ mi xu wid tdey 8d qi| Chovactey Get SPI 2 Choractey set is a se} of valid> charactexys + || ¢naracre hot @ language can ; recognize: 1 + Alphabets 2A to Z (smait £ capial s ters _|| * NUAGerS ad BS qi + Special charadeysDate Page pl Vaxiable dagte bh Coding with DD ei ocVOxiObletoare ane Siwxage lveations inmdher computer's memory 2 liy “ana ed) UP Ro ae _|| Num exic vaoxidble Stxing Vasxiable PUbieo Diy simel q. Numesic variable The. Numexic: vaxiAble has a numbex ag its, value: Srolpees Ex! \ ta phe OX Divs Mes iy exo # ‘ S ah > Ay Qh. area pz oqa lesttomns diem A214 ! b. Staing variable bs ois y ar) The! - Stsing Veviable has a as Low RS yet i stsing of chdraciexS ox dlphanumesic tse valwericno) gmefc 0 pote tl Lutsy cohiging GAG apigdath toriguaten =. - bak erent wot ‘ 43014Consrant Coding with BB— ee ee he Constant ig: a data Hemp whose 1c valve does not change dusting: othe execution of a progxam- = lot igiy Mt Num exic astant xing. - A KS ‘ ax. Numexia., Constants torre gous tie NumexiG Constant 18a sequence of posittve ox negative: num bexs on pextoxmed. By iad? a which mathematical opesdtions can be | Ewes ui uu, (S2n730,,, 419 ia \ = ‘b-Stwing Constant Staing Canstan+ is a Seq vence of characieyS tdhich imay include Numbers, lertexS Gnd cextain special charact€xs enclosed in quoiaston masks: Ex: "Dipesh™, “apple”Coding with,DD _ _ Page Opexatox And Expression» -\ 1 % sOpesatoys. are dhe) symbols re presenting the operations they peyfoxm. Expression ig referred as dhe combination of an operatwxs and i+s operands: \ Does Sse ——— Ax iable d&eo sum: = Qt + 6 Ss Ope xatpy¥sS.s vince Types i = . L a ie OOo oe 4 ae) Axithmetion Opes goers! foaa be Relational Opexadoxs © \iaay
<= ; A<2B = : AS=Q_ <> AL> @_Logical OpexatoxS Opexato™ Example AND A>@ AND ADC OR A>B oR A>dC NOT A NoT B @ concatenation opesttoxS Bg =" Cake” ws Ag = B¢ + "is"+ “sweet " Owput: Concatenahon opesatexs Cake 16 sweet a a ehDate ___—— Page —___ Keywosds (Resexved words) Exé “- CLS, PRINT , END QBASIC Statements SR SSE StOrem COTS [> REM Statement CLS Statement p> LET Statement (> _INPu7 Statement b> Read.. DATA Statements > PRINT Statement > END Statement chase| Coding with DD. Page _” Q@) REM Statement It iS used +o explain what a program does and what > specific lines of code do- Ex: REM "This pxrogrom calculate area " b) CLS Statement Ti is used +o get the fresh screen OQnd_ cleax +he left ovex previous Pe ogxam. Ext Gus ¢) LET Statement 17 It is used +o assign the value of an Expre Ssion 40 G vasiable: ExtLd) INPUT Statement Th is used +0 accept the value ‘of any. variable from usew: Ex) CLS . t INPUT. “Entex length": £ 9 INPUT "“Entey breadth "> b- Areq = Ayb PRINT “Area is: Area END le) READ. DATA Statement It is vsed to read values from DAIA Siotement And Assign 40 yaxrables Ex? READ ab DATA 5G nes —Coding with DD—| Coding with DD Date Page __ TD PRinT statement ii iS used + display data _on the i Screen, \ Ex: 1 PRINT" My name _is Dipesh g\ EnD Statement I+ 1S used tn denote the end of the excgxam- Bx PRoay ENDContwo |). State ment pa Branching Stademe nt z SS ; Unconditional Conditional 8.5 j BS | “ y Goto IF.. HEN Statement Statement | { I >> IF...THEA Statement | | = IF... Tuen... ELSE | Stateme A+ | | statement asol a) GOTO Statement Coding with DB- Ex; Met top: yo TD PRIN T gee > 213 Y= Xe peat GOTO +o0p END 7 b) IF... THEN Statement Ex? CLS O=5 INPUT a Smae IF A>O THEN PRINT "Greater than O n END. ©) IF... THEN-..ELSE Statement Ex? CLS INPUT Q IF O>1 THEN RRINT " NumbeY iS , : ext Ss -EWD greater thQn 4"ld) IF.. ELSEIF... EMDIF- Statement Ext CLS INPUT a 4 IF 054% THEN . PRINT “He con dxive ELSEIF a< 4% THEN PRINT “ne _can't_dyive” ELSEIF a=4% THEN FRRENT "Visit dviving centex” ELSE PRINT "Sonething exvox” EN DIE ENDCoding with DP | Looping Statement [ FOR-.NExT WHILE. WEAD Do.. LooP Statement Statement State me ot Ex’ : , wey tf t= \ CLS x ; 3 S Bg — ICL S Z| FOR [2 1s¢0.10 ead. | 3 Aber Sosa i NE: EXE \ PRINT } Jew D. 5 4b 2 tS, ——— mr . Ls Ve \ 3 SAN WEND oy/ U @2) EyD (a eeC 1 Con L a 2b is the Stovage |y It is a dota Hem | locavons in the whose value dues not] Computer 's memoxy.| chonge dozing tne | : execution of Q pxngaan| 4|| Vaxiables are 9. Consiands are specially vwoxitten in usually Wwaitten_in | Jette ¥S ox syumbuls-}| Numbews - , | +3} Example: = 1a: Example! ‘Jee 5 | } - — Numeaic Vv GaigbVe t NORERT Constant NO eegreee wet b ft [ = » Dipesh Ww _ ua. 1 | as; pega : 4 : ers [ Sting _vasighle es String con Stank c : 1 i ig [SS = == +4 f-
You might also like
Info-Basic Programming (JBC) AbrhamB
PDF
No ratings yet
Info-Basic Programming (JBC) AbrhamB
80 pages
Applesoft) (Basic Programming Reference Manual
PDF
100% (4)
Applesoft) (Basic Programming Reference Manual
93 pages
Latest Algorithm Design Using Pseudocode
PDF
No ratings yet
Latest Algorithm Design Using Pseudocode
28 pages
DBPro Vol 1
PDF
No ratings yet
DBPro Vol 1
164 pages
Programming Keys
PDF
No ratings yet
Programming Keys
20 pages
Qbasic Programming
PDF
No ratings yet
Qbasic Programming
16 pages
Pseudocode Presenation
PDF
No ratings yet
Pseudocode Presenation
74 pages
C Programming and Data Structures Notes Sample Compressed
PDF
No ratings yet
C Programming and Data Structures Notes Sample Compressed
8 pages
C Programming Language
PDF
No ratings yet
C Programming Language
55 pages
HODBProVol1 PDF
PDF
No ratings yet
HODBProVol1 PDF
778 pages
C Programming and Data Structures Notes Sample Compressed
PDF
No ratings yet
C Programming and Data Structures Notes Sample Compressed
8 pages
QBasic v1.2
PDF
No ratings yet
QBasic v1.2
103 pages
Algorithm Design
PDF
No ratings yet
Algorithm Design
28 pages
Gams Users Guide
PDF
No ratings yet
Gams Users Guide
276 pages
Basic (1964)
PDF
No ratings yet
Basic (1964)
64 pages
(eBook PDF) Starting Out with Programming Logic and Design 4th download
PDF
100% (4)
(eBook PDF) Starting Out with Programming Logic and Design 4th download
54 pages
C Language Notes-1
PDF
No ratings yet
C Language Notes-1
41 pages
Intro To Computer Programming (Qbasic) : AJAYI, Olusola Olajide
PDF
No ratings yet
Intro To Computer Programming (Qbasic) : AJAYI, Olusola Olajide
46 pages
a1.4.0.0 COMPUTER PROGRAMMING IN QBASIC
PDF
No ratings yet
a1.4.0.0 COMPUTER PROGRAMMING IN QBASIC
24 pages
C Program Notes
PDF
No ratings yet
C Program Notes
137 pages
Programming Notes-1
PDF
No ratings yet
Programming Notes-1
17 pages
Computer Science Notes Class 8
PDF
61% (23)
Computer Science Notes Class 8
20 pages
C Language Assignment
PDF
No ratings yet
C Language Assignment
16 pages
Bhavya 4th February 2023 Notes
PDF
No ratings yet
Bhavya 4th February 2023 Notes
16 pages
(eBook PDF) Starting Out with Programming Logic and Design 4thpdf download
PDF
100% (4)
(eBook PDF) Starting Out with Programming Logic and Design 4thpdf download
46 pages
C Language PDF
PDF
No ratings yet
C Language PDF
115 pages
CS2
PDF
No ratings yet
CS2
10 pages
Basic Manual 1964
PDF
No ratings yet
Basic Manual 1964
14 pages
C Programming Notes Part 2
PDF
No ratings yet
C Programming Notes Part 2
24 pages
C Programming
PDF
No ratings yet
C Programming
42 pages
Python: The Basics: - Program
PDF
No ratings yet
Python: The Basics: - Program
6 pages
Introduction To Python
PDF
No ratings yet
Introduction To Python
29 pages
Ti99 Extended Basic Manual
PDF
No ratings yet
Ti99 Extended Basic Manual
130 pages
Luxor ABC800-manual-BASIC-II (In) PDF
PDF
No ratings yet
Luxor ABC800-manual-BASIC-II (In) PDF
155 pages
Topic 3.0-3.3 Fundamentals of Programming Language
PDF
No ratings yet
Topic 3.0-3.3 Fundamentals of Programming Language
96 pages
IPRG5111_Lecture 3S_2024
PDF
No ratings yet
IPRG5111_Lecture 3S_2024
67 pages
Unit 3
PDF
No ratings yet
Unit 3
19 pages
Basic
PDF
No ratings yet
Basic
484 pages
Advanced BASIC
PDF
No ratings yet
Advanced BASIC
194 pages
Class 8 Qbasic Notes
PDF
100% (1)
Class 8 Qbasic Notes
5 pages
CSC 102 Basic
PDF
No ratings yet
CSC 102 Basic
31 pages
Pb1000 Command Reference
PDF
No ratings yet
Pb1000 Command Reference
216 pages
PB1000 Command Reference
PDF
No ratings yet
PB1000 Command Reference
216 pages
Lecture6 PDF
PDF
No ratings yet
Lecture6 PDF
9 pages
Qbasic Programming
PDF
No ratings yet
Qbasic Programming
9 pages
Paper2 Programming
PDF
No ratings yet
Paper2 Programming
124 pages
Rdbms ..Unit. 5
PDF
No ratings yet
Rdbms ..Unit. 5
23 pages
MEE 505_Lesson-01
PDF
No ratings yet
MEE 505_Lesson-01
22 pages
OSI 6502 BASICv1.0 UsersManual
PDF
No ratings yet
OSI 6502 BASICv1.0 UsersManual
15 pages
Basic Basic
PDF
No ratings yet
Basic Basic
286 pages
Basic BASIC (1978)
PDF
No ratings yet
Basic BASIC (1978)
286 pages
Class Notes
PDF
No ratings yet
Class Notes
15 pages
2ND TERM S2 DATA PROCESSING
PDF
No ratings yet
2ND TERM S2 DATA PROCESSING
34 pages
2ND Term Phe Exam Class JSS3
PDF
0% (1)
2ND Term Phe Exam Class JSS3
4 pages
2ND Term Agric JSS1
PDF
100% (1)
2ND Term Agric JSS1
3 pages
Mock RNV JSS3
PDF
100% (1)
Mock RNV JSS3
7 pages
Secon Term Agric Exam Questions
PDF
No ratings yet
Secon Term Agric Exam Questions
5 pages
Maths jss1 and 2
PDF
No ratings yet
Maths jss1 and 2
5 pages