You are on page 1of 5

NAME:ZOHAIR AHMAD KHAN.

CLASS:10th
SUBJECT:COMPUTER.
ASSIGNMENT
SUMMER VACATION
HOMETASK

UNIT NO. 6
Answer the following questions.
Q:1 Define graphic.Give the names of graphic modes?
Ans: Graphics is an art to design and produce pictorial
representation of info information.
Graphic Modes:
There are three graphic modes in BASIC.
1. Text mode
2. Medium Resolution Graphic Mode
3. High Resolution Graphic Mode
Text Mode:
In this mode only textual data can be displayed i.e text
and lines can be drawn on the screen.In this mode
screen is divided into 80 column and 25 rows.
Medium Resolution Graphic Mode:
This mode is used in drawing graphics. In this mode
screen is divided into 320 columns and 200 rows. This
graphical mode works with 4 colors
High Resolution Graphic Mode:
This mode is used in drawing Graphics with matrix of
640*20 pixels. We are able to display the text
characters in 25 lines of 80 characters in each line.
Q 2: What are the Co-ordinates of the text, medium
resolution and high resolution mode?
Ans: Co-ordinate:
A coordinate is a specific pixel position on the screen. A
pixel is one dot on the screen. A cordinate can be
determine by counting the number of pixels down and
the number of pixels down and the number of the pixels
to the right of the screen.
Text mode:
The hole screen is divided into 80 columns and 25 rows
in text mode.
Medium Resolution Mode:
In this mode screen is divided into a matrix consisting
of 320 columns and 200 rows of pixels.
High Resolution Mode:
In this mode screen is divided into 640*200 pixels
matrix. Text characters can be displayed in 25 lines of
80 characters in each line.
Q 3: Describe the SCREEN statement.
Ans SCREEN Statement:
The screen statement is used to select different display
modes.
Syntax:
SCREEN (mode),(colors switch)
Where screen mode is a numeric values 0,1,2,7,8,9,10.
These modes may not be run on each type of computer
or monitor because it depends on the display card and
monitors type. By default screen mode is used to display
only text data on the screen. Screen mode 1 activities
medium resolution graphic mode in which 320*200
pixels can be obtained. Screen mode 2 activates high
resolution graphic mode. Graphics of resolution
640*200 pixels can be obtained in it. The mode need
good quality monitors like CGA,EGA,VGA etc. Screen
mode 7,8,9,10 are also used to draw medium and high
resolution graphics and good quality results can be
obtained in them.
Q 3: Write the syntax of circle statement. Also give
example for explanation?
Ans: Circle statement:
Circle statement is used to draw a circle, an ellipse or
an arc on the screen.
Syntax:
CIRCLE(x,y), radius,(colour), (start),(end), (aspect)
x,y are the x and y axis co-ordinates of the centre of the
circle or ellipse and radius is the radius of the circle or
ellipse. Colour specifies the color of the circle or
ellipse.

You might also like