English, asked by sonawanebharati506, 2 months ago

D. Fill in the blanks.
1. The
and
mode are the two types of modes in QBASIC.​

Answers

Answered by kediakishan3
2

Answer:

Explanation:

When we load a QBasic program into our computer memory, it displays ok in the prompt. Ok means that it’s ready to accept commands from the user to run the program. QBasic translate your instructions into two modes:

1. Direct Mode

2. Program Mode

These modes are the two output modes of Qbasic programming.

Direct Mode: In Direct Mode it accepts a single line of instruction from the user and it displays the output immediately on the screen without storing it in its memory. It can be used for quick calculations and they do not have any line number.

Example :

PRINT 1+2

PRINT “Direct mode”

Program Mode: In Program mode, instructions are stored in the Computer memory and it accepts multiple lines of instructions. They have Line numbers and we need to use the RUN command to display the output.

Example :

10 PRINT 1+2

20 END

RUN

Programs are written with the help of in-built commands. The types of mode in QBasic are how the compiler executes the commands. Every programming language has its own commands and

Similar questions