CS-603 · Compiler Design/Unsolved PYQ Paper
CS-603 Compiler Design - May 2022 Question Paper
Under each question, How to answer lists the points an answer should cover, outlined by CampusPrep from the syllabus. Check the details against your textbook.
-
7 MarksaExplain Phong Reflection model in brief.
How to answer
- Define Phong reflection as empirical illumination model
- Explain ambient + diffuse + specular components and formula
- Explain shininess / specular exponent and viewing dependence
- Give example / use in rendering
-
7 MarksbWhat are Hidden Line surfaces? Explain various back face detection algorithms? Explain depth buffer, A buffer and Scanline method.
How to answer
- Define hidden line / hidden surface problem
- Explain back-face detection using normal and view vector
- Explain depth-buffer, A-buffer and scanline methods with steps
- Compare / mention advantages and diagram
-
7 MarksaWhat is Spline Curve? Explain Hermit interpolation Curve.
How to answer
- Define spline curve and continuity
- Define Hermite interpolation with endpoints and tangents
- Give Hermite basis functions / matrix form
- Explain example and properties
-
7 MarksbWith a neat diagram, explain the graphics pipeline architecture to render an image.
How to answer
- Draw block diagram of graphics pipeline stages
- Explain modeling, viewing, projection, rasterization stages
- Explain frame buffer and display
- Explain flow to render an image
-
7 MarksaExplain different types of views in graphics system.
How to answer
- Define view in graphics system
- Explain types e.g. front, top, side, isometric, perspective views
- Explain window, viewport and viewing parameters
- Give use / example of each
-
7 MarksbExplain Cohen-Sutherland clipping algorithm without codes. Explain its advantage over Liang Barsky algorithm.
How to answer
- Explain outcode division and trivial accept/reject steps
- Explain iterative clipping without code values
- Explain Liang-Barsky parametric approach briefly
- List advantages / comparison over Liang-Barsky
-
7 MarksaExplain basic illumination models and Secular reflection and phong model, warn model.
How to answer
- Define basic illumination models - ambient, diffuse, specular
- Explain specular reflection and Phong model
- Explain Warn model for light sources
- Give combined illumination equation
-
7 MarksbHow perspective projection differs from orthogonal projection? Give OpenGL functions for the same.
How to answer
- Define perspective vs orthogonal projection
- Compare foreshortening, view volume, center of projection
- Give OpenGL functions e.g. glOrtho, glFrustum, gluPerspective
- Mention typical use cases
-
7 MarksaExplain the colour contribution for rendering an image in computer graphics.
How to answer
- Define colour contribution / shading in rendering
- Explain light source, material and ambient contributions
- Explain RGB / colour models combination
- Explain role in realistic image synthesis
-
7 MarksbWhat is a measure and trigger of a logical input device? Explain the different modes to obtain the measure, with example.
How to answer
- Define measure and trigger of logical input device
- Explain request, sample, event modes to obtain measure
- Give example device for each mode
- Explain use in interactive graphics
-
7 MarksaList out the characteristics of a good interactive program, with example for each.
How to answer
- List characteristics e.g. responsiveness, feedback, robustness
- Explain each characteristic briefly
- Give example interactive program for each
- Mention usability / user control
-
7 MarksbExplain translation, rotation and scaling of objects in 2 dimensions.
How to answer
- State 2D translation matrix and equations
- State rotation matrix and equations about origin
- State scaling matrix and equations
- Give example / homogeneous coordinates
-
7 MarksaWhat are quaternions? How it is useful in a three-dimensional space?
How to answer
- Define quaternions with scalar + vector parts
- Explain rotation representation without gimbal lock
- Explain use in 3D orientation / interpolation
- Give example application
-
7 Marksb'Computer graphics is an essential applied domain in recent years'. Justify this statement.
How to answer
- State applications: CAD, gaming, visualization, medical, film
- Explain recent growth and essential role
- Give examples justifying applied domain
- Conclude justification
-
14 MarksExplain the following terms with example. i) Polygon Clipping Algorithms ii) Back face detection Algorithm iii) 3D Animation iv) Multimedia Database
How to answer
- Define polygon clipping algorithms with example
- Define back face detection algorithm with example
- Define 3D animation with example
- Define multimedia database with example
Go to where you left off?
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel