Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Pristine Public School

CHAPTER -5 Graphics and sound in Q-BASIC

Notes

A. Tick the correct answer: ( Only answers)


1. Resolution
2. Both a and b
3. SCREEN 1
4. Bright White
5. BF

c. Fill in the Blanks: ( Only answers)

1. Text and graphics

2. Pixels

3. (80,25)

4. Text mode.

5. 9

B. Answer the following:

1. What are pixels?

The computer screen is made up of hundreds pf picture elements (very small


dots) called pixels.

2. How does the number of pixels determine the resolution of display?

The number of pixels horizontally and vertically determines the resolution


of monitor.

Higher the resolution, better the quality of the picture display.

3. Differentiate between SREEN 0 mode and SCREEN 2 mode.

The SCREEN 0 command is used to return to the default text mode and has
16colours.
The SCREEN 2 command is used for high resolution graphic mode.

4. THE COLOR command takes in two numbers. What do the two numbers
signify?

The first number in the color command is the code for background color.

And the second number is the code for the foreground color.

6. Write the syntax of the command used to draw a line on screen


Syntax: LINE(X1, Y1) – (X2,Y2).

You might also like