Computer Science, asked by himayunfarooq1552, 8 months ago


Ritika is working in QBASIC in Text mode, but now she wants to use graphic mode to draw
shapes. By which command will she change the screen mode? please answer correct ....​

Answers

Answered by dilipanravichandran
1

Answer:

Screen Modes

QBasic supports several graphics screen modes, where each screen mode defines a combination of properties - resolution, colors, display pages, text size, and more.

One of the screen modes limits the display to text only, which is the default startup mode for all QBasic programs. In order to display any graphics other than text, a QBasic program must first change the screen mode.

QBasic supports 14 total modes, each assigned a simple number 0-13. Mode 0 is the default mode and allows only text to be displayed. All other modes 1-13 support pixel-by-pixel graphics creation in addition to supporting text display. Of these, only a few are used extensively by programmers. You can look up information on all modes in QBasic Help, but here are the most used graphics modes. All except mode 0 support a combination of text and graphics.

Mode Resolution Colors Pages Text 0 80x25 64 to 16 4 80x25/43/50 7 320x200 16 to 16 0-7 40x25 12 640x480 256K to 16 1 80x60/30 13 320x200 64K to 256 1 40x25

Because of it's extended color range, and despite it low resolution, mode 13 is probably the most popular mode for QBasic programmers. Mode 7 is also popular because it's multiple pages can be used to provide flicker-free graphics animation. Because of it's high resolution, mode 12 is also popular.

Explanation:

hope this is helpful.

if you're satisfied pls like,follow and mark me in brain List.

Similar questions