CS602 SUbjective Mid Term By JUANID.pdf
Verified academic study resource for CS602 (Computer Graphics) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS602 – Computer Graphics
- Faculty
- Computer Science
- Format
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SUBJECTIVE, MIDTERM
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS602.
What this file covers — CS602 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
Frequently asked questions
Where can I download CS602 SUbjective Mid Term By JUANID.pdf for free?
You can preview and download "CS602 SUbjective Mid Term By JUANID.pdf" (CS602 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs602-subjective-mid-term-by-juanid-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS602 file?
This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS602 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS602 solved past papers and handouts verified for 2026 exams?
Yes. All CS602 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
CS602-Computer GraphiCS
SuBJeCtiVe
SolVed mCQS from mid termS paperS
SolVed By JuNaid maliK aNd team
AL-JUNAID INSTITUTE OF GROUP
Question No: 1
What are the two focusing methods in CRT? Explain briefly.
Answer:
1. Electrostatic focusing
2. Magnetic focusing
In electrostatic focusing the electron beam passes through a positively
charged metal
cylinder that forms an electrostatic lens. Then electrostatic lens
focuses the electron beam at the center of the screen.
Similar task can be achieved with a magnetic field setup by a coil
mounted around the outside of the CRT envelope. Magnetic lens
focusing produces the smallest spot size on the screen and is used in
special purpose devices
Question No: 2
What is the relation between triads and shadow mask method?
Answer:
Shadow mask methods can display a wide range of colors. In this
technique each pixel position is made up of three phosphor dots called
triads.
Question No: 3
Discuss in brief the pixel drawing methods.
Answer:
BIOS routines are standard routines built in VGA cards but these
routines are very much slow. You will use pixel to draw filled triangle,
rectangles and circles and these all will be much slower than direct
memory access method. Direct memory access method allows you to
write pixel directly by passing the complex BIOS routines. It is easy
and faster but its programming is only convenient in mode 13h.
Library functions are easier to use and even faster because these are
optimized and provided with special drivers by different companies.
0304-1659294 1
AL-JUNAID INSTITUTE OF GROUP
Question No: 4
What are the steps involved in performing the boundary fill
algorithm, also write the pseudo code for the steps you have
mentioned above?
Answer:
The Boundary fill algorithm performs the following steps:
Check the pixel for boundary color
Check the pixel for fill color
Set the pixel in fill color
Run the process for neighbors
The pseudo code for Boundary fill algorithm can be written as:
boundaryFill (x, y, fillColor, boundaryColor)
if ((x < 0) || (x >= width))
return
if ((y < 0) || (y >= height))
return
current = GetPixel(x, y)
if ((current != boundaryColor) && (current != fillColor))
setPixel(fillColor, x, y)
boundaryFill (x+1, y, fillColor, boundaryColor)
boundaryFill (x, y+1, fillColor, boundaryColor)
boundaryFill (x-1, y, fillColor, boundaryColor)
boundaryFill (x, y-1, fillColor, boundaryColor)
Question No: 5
How the locality of a point can be defined with respect to a plane?
Answer:
One of the most important operations planes let you perform is
defining the location of a point with respect to a plane. If you drop
0304-1659294 2
AL-JUNAID INSTITUTE OF GROUP
a point into the equation, it can be classified into three cases: in front
of the plane, in back of the plane, or coplanar with the plane. Front
is defined as the side of the plane the normal sticks out of.
Question No: 6
Find in which quadrant the point (-2, 3) lies in 2D plane.
Answer:
2nd quadrant
Question No: 7
Consider these 3-D vectors:
A = [9,8,7]
B = [4,7,3]
C = [2,9,6]
Compute :
i) A.BxC
ii) AxB.C
Answer:
BxC = [7x6 - 3x9 , 3x2 - 4x6 , 4x9 – 7x2]
=[15,-18,22]
A.BxC=9x15 +8x(-18)+7x22=135-144+154=145
AxB =[8x3 - 7x7 , 7x4 - 9x3 , 9x7 – 8x4]
=[-25,1,31]
AxB.C =-25x2+1x9+31x6 = -50 + 9+186=145
Question No: 8
0304-1659294 3
AL-JUNAID INSTITUTE OF GROUP
What is the main difference between
i) Orthographic projection
ii) Oblique projection
Answer:
Orthographic Projection
If the direction of projection is perpendicular to the projection
plane then it is an orthographic projection.
Oblique Projection
If the direction of projection is not perpendicular to the
projection plane then it is an oblique projection.
Question No: 9
a) Suppose we want to perform 3D scaling using homogenous
coordinates with respect to a point Q (x1,y1,z1) Derive the matrix we
should use for this purpose. take (Sx = 6, Sy = 4 , Sz = 7)
b)Suppose we want to perform 3D Rotation of 180 degrees about
Y-Axis using Homogenous coordinates using Reflection, Give the
matrix that can do this task. Answer:
Scaling with respect to a selected fixed position:
Scaling with respect to a selected fixed position (x1,y1,z1) can be
represented with the following transformation sequence:
1. Translate the fixed point to the origin.
2. Scale the object relative to the coordinate origin
3. Translate the fixed point back to its original position
0304-1659294 4
AL-JUNAID INSTITUTE OF GROUP
The reflection transformation operation is equivalent to rotation of 180
degrees so we can use the following transformation matrix using
homogenous coordinates to perform the rotation of 180 degrees about y
axis
Question No: 10
Suppose we want to perform the following operations in 2D
using homogenous coordinates
in the order as given below:
a. Reflection about Y axis
b. Rotation of + 30 Degrees
c. Reflection about X axis
Find the resultant composite matrix that can perform this task using
the individual 2D transformation matrices using Homogenous
coordinates. You can use the table:
Answer
0304-1659294 5
AL-JUNAID INSTITUTE OF GROUP
Question No 11:
Why is the Bresenham's line drawing algorithm more efficient
than the DDA line drawing algorithm? Give precise one line
answer.
Answer: lec no 5 and page no 57
Right Handed Rule:
Answer:
“Right Hand Rule” for rotations: grasp axis with right hand with thumb
oriented in
positive direction, fingers will then curl in direction of positive
rotation for that axis.
Right handed Cartesian coordinate system describes the
relationship of the X,Y, and Z in the following manner:
More CS602 files
- CS602 MCQs MidTerm Papers Solved by Shahid.pdf (PDF · Midterm)
- CS602 MCQs for MidTerm Paper Solved by Shahid.pdf (PDF · Midterm)
- CS602 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS602 MIDTERM FILE 2 SOLVED BY TEAM HADI-1.pdf (PDF · Midterm)
- CS602 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS602 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS602 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS602 MIDTERM SOLVED MCQS By JUNAID (1).pdf (PDF · Midterm)