Exam Details
Subject | c++ and graphics lab | |
Paper | ||
Exam / Course | m.c.a | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | December, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.C.A. DEGREE EXAMINATION, DECEMBER 2017.
Second Semester
AND GRAPHICS LAB
(2010 Academic year onwards)
Time Three hours Maximum 100 marks
Record Note Book 5
Algorithm/Flow chart 15
Program 35
Execution 35
Result 10
Total 100
Examiner has to choose ONE question for each candidate
by lot system.
Each sub-division carries 50 marks.
1. Write a program to draw a straight line using
Bresenham's line drawing algorithm.
Write a program to draw an ellipse.
2. Create a base class shape, which contains the
common element of circle from which you derive a
class called ball. Include two member functions
set( to set coordinates and draw( which draws the
circle. Write a main( program to exercise this class
using graphic-mode graphic functions.
Write a program to sketch a triangle.
Sub. Code
205
Cut here
DE-9846
2
wk6
3. Develop a program using functions to perform the
following
Draw a rectangle.
Rotate it through 90 degree
Translate to another position.
Fill the rectangle drawn in with red blue colour.
4. Write a program to draw a straight line using
Bresnham's line drawing algorithm.
Write a program to sketch a triangle.
5. Develop a program to do the following
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle clock-wise.
Draw a polygon.
6. Write a program in to draw Concentric circle
with three objects.
Draw a ball, and make animation effect on it.
Cut here
Cut here
Cut here
DE-9846
3
wk6
7. Write a program to perform graphical
transformation (Scaling. Rotation, Translation) of a
two dimensional object square.
Draw a ball, and make animation effect on it.
8. Write a program to draw triangle using
SHADING technique.
Write a program in to clip a part of a line.
9. Draw a Circle using Bresenham's algorithm.
Make animation effect on the Circle drawn in
10. Develop a program using functions to perform the
following
Draw a rectangle
Rotate it through 90 degree
Translate to another position.
Fill the rectangle drawn in with red colour.
Cut here
Cut here
Cut here
DE-9846
4
wk6
11. Draw a ball, and make animation effect on it.
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle Clock-wise.
12. Develop a program using functions to perform the
following
Draw a Polygon.
Rotate it through 90 degree
Translate to another position.
Fill the Polygon drawn in with red colour.
13. Create a base class shape, which contains the
common element of circle from which you derive a
class called ball. Include two member functions
set( to set coordinates and draw( which draws the
circle. Write a main( program to exercise this class
using graphic-mode graphic functions.
Write a program in to draw a polygon.
14. Draw a Circle using Bresenham's algorithm. Divide
the circle into four quadrant, and fill with different
colours.
Make animation effect on the Circle drawn in
15. Draw a ball, and make animation effect on it.
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle Clock-wise.
————————
M.C.A. DEGREE EXAMINATION, DECEMBER 2017.
Second Semester
AND GRAPHICS LAB
(2010 Academic year onwards)
Time Three hours Maximum 100 marks
Record Note Book 5
Algorithm/Flow chart 15
Program 35
Execution 35
Result 10
Total 100
Examiner has to choose ONE question for each candidate
by lot system.
Each sub-division carries 50 marks.
1. Write a program to draw a straight line using
Bresenham's line drawing algorithm.
Write a program to draw an ellipse.
2. Create a base class shape, which contains the
common element of circle from which you derive a
class called ball. Include two member functions
set( to set coordinates and draw( which draws the
circle. Write a main( program to exercise this class
using graphic-mode graphic functions.
Write a program to sketch a triangle.
Sub. Code
205
Cut here
DE-9846
2
wk6
3. Develop a program using functions to perform the
following
Draw a rectangle.
Rotate it through 90 degree
Translate to another position.
Fill the rectangle drawn in with red blue colour.
4. Write a program to draw a straight line using
Bresnham's line drawing algorithm.
Write a program to sketch a triangle.
5. Develop a program to do the following
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle clock-wise.
Draw a polygon.
6. Write a program in to draw Concentric circle
with three objects.
Draw a ball, and make animation effect on it.
Cut here
Cut here
Cut here
DE-9846
3
wk6
7. Write a program to perform graphical
transformation (Scaling. Rotation, Translation) of a
two dimensional object square.
Draw a ball, and make animation effect on it.
8. Write a program to draw triangle using
SHADING technique.
Write a program in to clip a part of a line.
9. Draw a Circle using Bresenham's algorithm.
Make animation effect on the Circle drawn in
10. Develop a program using functions to perform the
following
Draw a rectangle
Rotate it through 90 degree
Translate to another position.
Fill the rectangle drawn in with red colour.
Cut here
Cut here
Cut here
DE-9846
4
wk6
11. Draw a ball, and make animation effect on it.
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle Clock-wise.
12. Develop a program using functions to perform the
following
Draw a Polygon.
Rotate it through 90 degree
Translate to another position.
Fill the Polygon drawn in with red colour.
13. Create a base class shape, which contains the
common element of circle from which you derive a
class called ball. Include two member functions
set( to set coordinates and draw( which draws the
circle. Write a main( program to exercise this class
using graphic-mode graphic functions.
Write a program in to draw a polygon.
14. Draw a Circle using Bresenham's algorithm. Divide
the circle into four quadrant, and fill with different
colours.
Make animation effect on the Circle drawn in
15. Draw a ball, and make animation effect on it.
Draw a triangle ABC, translate it to a distance and
then rotate it through an angle Clock-wise.
————————
Other Question Papers
Subjects
- c and data structures
- c++ and graphics lab
- communication skills
- computer applications
- computer graphics
- computer lab iii –– graphics and c++
- computer lab iv – visual basic
- digital computer organization
- lab ii – ms office and internet
- lab iv — visual basic
- object oriented programming and c++
- office automation
- operating systems
- principles of information technology
- relational database managementsystems
- system analysis and design
- unix and shell programming
- unix and shell programming lab
- visual programming