answersLogoWhite

0


Best Answer

Literals are constants.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between literals and variables in QBasic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the difference between gwbasic and qbasic?

Difference between QBASIC and GWBASIC?


What are the difference between MS Word and QBasic?

QBasic is a programming language, MS Word is a word processor. Other than both being produced by Microsoft they have absolutely nothing in common whatsoever.


To print even nobetween 10 and 100 on qbasic command?

You need a code that can run to print even numbers between 10 and 100 using the qbasic command.


What extension would a file saved in Qbasic have?

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic


Why are rem statements important in qbasic programming?

qbasic is important because its technology


What is about qbasic?

QBASIC is a very simple, quick, and, easy to learn programming language; this makes it frequently a 'favourite' amongst, especially, people who are 'beginning' programmers. Learning QBASIC introduces you to all of the necessary programming fundamentals; including, such things as... literals(string/numerical) variables(single/or, multiple: array variables/multi-dimensional array variables; different variable types(string/integer/single precision/double precision); variable scope: local/global/parameter passing) modular code(functions/sub-routines/too, calling code stored in seperate files) loops(for/next-enumeration loop, do/while-entry contorolled loop, do/until-exit controlled loop) decision(if-then-else-end if/switch-case) operators(comparison: <,>,<=,>=,<>,=; logical: NOT/OR/AND; mathematical: +,-,*,/,^) graphics(pset/line/circle) sounds(play: ABCDEFG) -etc. As well as, it's capable of producing many different kinds of program... -mathematical -database -games -AI/Artificial Intelligence -etc. I'm NOT saying here that QBASIC is the 'best' programming language to go and learn; as the truth is there are far more highly advanced programming languages out there such as those that use OOP-Object Oriented Programming, for example, Visual BASIC; however, once you've already gone and learned how to use QBASIC, first; then, you should find it relatively straight forwards, and, easy to go and learn almost ANY other programming language; whether it's a BASIC related programming language or not. NOTE: QBASIC descends from the BASIC family of programming languages. I myself did learn, QBASIC, first; then, later, went on to study learning Visual BASIC/VBScript/ASP/HTML/CSS/Javascript/Java/XML/PHP/Pascal/Ruby/LOGO/-etc.; and, this is all thanks to my having gone and learned QBASIC to begin with; which, then, gave me a 'taste' for acquiring multiple different programming languages.


What should you know before start with visual basic language?

My answer to this question would be go and learn QBASIC programming language, first; as it is the 'base' language which underlies most Microsoft BASIC related programming languages, including:- Visual BASIC VBScript/Visual BASIC Script VBA/Visual BASIC for Applications VB.NET/Visual BASIC.NET -etc. QBASIC, however, doesn't use objects to do programming with...like these other languages do; and, I personally do believe this fact makes it quicker, simpler, far more straight forwards, and, easier to learn. Then, once you've already learned the QBASIC programming fundamentals, such as:- String literals/Numeric literals Variables: String, Numeric: integer/Single/Double Variable scope: Global/Local Loops: Do/Loop, For/Next If/Then/Elseif/Else/End if Select Case/End Select Logical operators/Relational Operators/Mathematical Operators Sub/End Sub,Function/End Function Filing: Serial/Binary Graphics; Text based/Drawing based/Screenmodes/Colors Sounds -etc. Then, you can consider expanding your knowledge by moving on to go study more advanced programming languages; like those already mentioned up above. Of course, it is possible to go and learn Visual BASIC without having to go learn QBASIC, first; indeed, many VB programmers have succeeding in doing things exactly that way. But, having learned QBASIC, first, myself; and, then, next, moved on to go learn Visual BASIC; I can honestly say that QBASIC certainly paved my way...thus, making learning VB feel like being a total BREEZE...! When I look back, I realise that if I had not gone and learned QBASIC, first; then, I might have had a really difficult time with struggling to go learn VB, afterwards.


What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic


What are the different types of operators in QBASIC?

The different types of operators in QBASIC are:Arithmetic OperatorsRelational OperatorsLogical Operators


Why is QBasic called QuickBasic?

Qbasic and Quickbasic are not the same! Qbasic was a free interpreter that Microsoft included with MS-DOS. Although Quickbasic uses similar syntax as quickbasic it allows programs to be compiled.


What is the input of a variable called in qbasic?

Variables don't have inputs. A variable is a named memory location where a value may be read or written. You write a variable by assigning a value to it. The value may be obtained from user-input.


Who found QBASIC?

microsoft