1.
Solve the following:
a. Study and enlist the basic functions used for graphics in C / C++ / Python language. Give an
example for each of them.
Ans:-
initgraph imagesize
setcolor settextstyle
closegraph resetendpt
outtextxy setfillstyle
putpixel getpixel
delay setlinestyle
boudryfill
b. Draw a co-ordinate axis at the center of the screen.
Ans:-
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
2. Solve the following:
a. Divide your screen into four region, draw circle, rectangle, ellipse and half ellipse in each region with
appropriate message.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
b. Draw a simple hut on the screen.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
3. Draw the following basic shapes in the center of the screen :
i. Circle
ii. Rectangle
iii. Square
iv. Concentric Circles
v. Ellipse
vi. Line
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
4. Solve the following:
a. Develop the program for DDA Line drawing algorithm.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
b. Develop the program for Bresenham’s Line drawing algorithm.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
5. Solve the following:
a. Develop the program for the mid-point circle drawing algorithm.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit
b. Develop the program for the mid-point ellipse drawing algorithm.
Video lecture:- https://www.youtube.com/c/TirupParmar @ Notes @ https://t.me/bscit