1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
german
3 years ago
5

QBasic commands any 10 with examples

Computers and Technology
1 answer:
Mkey [24]3 years ago
3 0

Answer:

I haven't used qbasic in a quarter of a century, so my apologies if any of these are outdated.

I listed 13 here as I don't know what are being qualified as "commands" (I'm sure print is in there, but INT? LEN? these might be interpreted not so much as commands as functions)

PRINT prints text on the screen.

PRINT "How much wood would a woodcuhck chuck?"

INPUT gets text from the user

INPUT woodchuckwood$

INT casts a value as an integer

w = INT(woodchuckwood)

OPEN opens a file for input/output

OPEN "woodchuck.consumption" FOR OUTPUT AS #f

OPEN "woodchuck.consumption" FOR INPUT AS #f

CLS clears the screen

CLS

LOCATE specifies the cursor's location on the screen

LOCATE 10, 10

INKEY$ reads a character from the input buffer

a$ = INKEY$

LEN returns the length of a string

l = LEN(a$)

CHR$ takes an int and returns it's ascii value

$enter = CHR$(13)

ASC() returns the ascii value of a character:

$space = ASC(" ")

DO...LOOP repeats a loop until a condition is met:

x = 0

DO

   x = x + 1

LOOP UNTIL x = 10

SHARED declares global values as being accessible locally

SHARED $username

SHELL executes an os command

SHELL "dir /w"

You might be interested in
Your friend Aria is complaining that programming seems too complicated. She says, “Why do we need things like sequence, selectio
GaryK [48]

Answer: A sequence is a basic algorithm. A set of logical steps is carried out in order. A Selection and coding is the section of code that is only carried out if the conditions are met. A iteration is A line of code that is being repeated until the desired results has come out. A variable is a value that can change when the condition is changed your information passed through the program.

Explanation:

5 0
2 years ago
Maya enjoys connectedWith her friends and social media apps but one of her friends post a lot of stuff that my thinks it’s annoy
lapo4ka [179]

Answer:

She needs to make time for offline and online activites.

Explanation:

The reason is because if you spend too much time online, you may have anxiety and depression. On the other hand, if you stay offline too much then, you will have trouble focusing on your hobbies, work, etc.

4 0
3 years ago
How do you create a reference page in apa format with all websites?
Gre4nikov [31]
Use Cite This For Me's APA citation generator to create a reference page in APA format with all websites.
6 0
3 years ago
Which navigation icon would you click on to add a new Contact?
Sauron [17]
The answer would be people
3 0
3 years ago
Read 2 more answers
Write an algorithm to convert lengh of your house from cm to meter​
sergiy2304 [10]

Answer:

cm = 1000;

 

meter = cm / 100.0;

kilometer = cm / 100000.0;

 

print("Length in meter = " ,

              meter , "m");

print("Length in Kilometer = ",

            kilometer , "km");

Explanation:

This is in Python, hope you enjoy!

8 0
3 years ago
Other questions:
  • Software that gives network administrators the ability to provide computer assistance from a central location by allowing them t
    15·1 answer
  • The GeForce GTX 1060 graphics card requires 120 W of power. You plan to install it in a PCIe 3.0 ×16 slot. Will you need to also
    13·1 answer
  • Question 2Write a MIPS assembly implementation of the following C/C++ code. Assume small, unsigned integer arithmetic (no range
    10·1 answer
  • The effects of activating the complement system include all of the following except
    14·1 answer
  • NO LINKS<br> Do you need to pay monthly to stream on Twitch?
    5·1 answer
  • ((Sorry for the self promo btw) Can you guys help me try and get affiliate on twitch? I am currently at 20 followers and it woul
    10·2 answers
  • Please help ⊙﹏⊙ thank you &lt;3
    10·2 answers
  • Kevin, a manager at FitPlus fitness club, owns a website that updates information regarding his fitness club. He created backgro
    12·1 answer
  • Which popular tool is used in agile software development TCS?
    10·1 answer
  • Show the B-tree that results when inserting R,Y,F,X,A,M,C,D,E,T,H,V,L,W,G (in that order)branching factor oft= 3. You need only
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!