Skip to content
EndsemNov 20242024 patternSE Comp

Object Oriented programming and Computer Graphics (OOPCG) SPPU Endsem Question Paper Nov 2024

All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.

Pattern
2024 pattern
Exam
Endsem
Session
Nov 2024
Max. marks
70
Time
2½ Hours
Semester
III
Paper code
[6582]-237

Printed for: S.E. (Computer / Computer Science Engineering)

Premium

Most repeated OOPCG questions, with answers

Model answers in the SPPU exam pattern, unit by unit. Read them on MySPPU.

This subject

₹59regular price ₹149

See a free sample page

Unlock

Instructions to the candidates

  1. Answer Q.1 or Q.2, Q3. or Q.4, Q.5 or Q.6, Q.7 or Q.8, Q.9 or Q.10.
  2. Figures to the right indicate full marks.
  3. Neat diagrams must be drawn wherever necessary.
  4. Make suitable assumption whenever necessary.

Questions

  1. Q1

    1. a)

      What are classes and objects? Explain their relationship with the help of a real-world example.

      Also asked:Oct 2025

      [5]
    2. b)

      What is JVM? Explain how java achieves platform independence using JVM and Bytecode.

      Also asked:Oct 2025

      [5]
    3. c)

      Write and explain a Java program using: • If-else decision structure • for or while loop

      Also asked:Oct 2025

      [4]
  2. Q2

    1. a)

      What are data members and methods? Describe how they are used in Java to define an object’s characteristics and behavior.

      Also asked:Oct 2025

      [5]
    2. b)

      What are Java Class Libraries? Explain how import statements help in accessing predefined classes.

      Also asked:Oct 2025

      [5]
    3. c)

      What are programming paradigms? Describe the four main programming paradigms with suitable examples.

      Also asked:Oct 2025

      [4]
  3. Q3

    1. a)

      What is a constructor? Explain parameterized constructor and default constructor with examples.

      Also asked:Oct 2025

      [5]
    2. b)

      What are arrays? Demonstrate declaration, creation, and initialization of a 1-D and 2-D array with examples. Also explain passing arrays to methods.

      Also asked:Oct 2025

      [5]
    3. c)

      Define a class in Java. Write a Java class with field declaration, method declaration, and method definition. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Object Oriented Programming and Computer Graphics Page 1 of 3

      Also asked:Oct 2025

      [4]
  4. Q4

    1. a)

      What is method overloading? Write a Java program that overloads a method to calculate the area of a square and rectangle.

      Also asked:Oct 2025

      [5]
    2. b)

      What are set (mutator) and get (accessor) methods? Write an example demonstrating their use.

      Also asked:Oct 2025

      [5]
    3. c)

      What are Java API packages? Explain the use of the import statement with an example.

      Also asked:Oct 2025

      [4]
  5. Q5

    1. a)

      What is inheritance? Explain superclass and subclass with a Java example.

      Also asked:Oct 2025

      [5]
    2. b)

      What is multiple catch? Write a Java program demonstrating handling of different exception types using mutliple catch blocks.

      Also asked:Oct 2025

      [5]
    3. c)

      Explain runtime polymorphism with a suitable Java example demonstrating method overriding.

      Also asked:Oct 2025

      [4]
  6. Q6

    1. a)

      What is protected access specifier? How does it affect accessibility in inheritance?

      Also asked:Oct 2025

      [5]
    2. b)

      Explain try, catch, throw, throws and finally keywords with example code?

      Also asked:Oct 2025

      [5]
    3. c)

      What are abstract classes and abstract methods? How are they different from interfaces?

      Also asked:Oct 2025

      [4]
  7. Q7

    1. a)

      What are the applications of computer graphics in various fields? Explain with examples.

      Also asked:Oct 2025

      [5]
    2. b)

      Write Bresenham circle drawing algorithm. Also explain mathematical foundation of it.

      Also asked:Oct 2025

      [5]
    3. c)

      What is the inside-outside test? How is it used in polygon processing?

      Also asked:Oct 2025

      [4]
  8. Q8

    1. a)

      Explain Scan Line Polygon Fill algorithm. Compare it with Flood Fill and Seed Fill methods.

      Also asked:Oct 2025

      [5]
    2. b)

      Explain DDA line drawing algorithm. Consider line segment from A (-2, -1) to B (6, 3) use DDA line drawing algorithm to rasterize this line

      Also asked:Oct 2025

      [5]
    3. c)

      Explain the following term with example: i) Windowing ii) Clipping SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Object Oriented Programming and Computer Graphics Page 2 of 3

      Also asked:Oct 2025

      [4]
  9. Q9

    1. a)

      Define 2D transformations. Explain translation, scaling, rotation, and shear with their matrix representations.

      Also asked:Oct 2025

      [5]
    2. b)

      Describe rotation about an arbitrary axis in 3D. Explain the steps involved.

      Also asked:Oct 2025

      [5]
    3. c)

      What is Oblique projection? Explain Cavilier and Cabinet projection.

      Also asked:Oct 2025

      [4]
  10. Q10

    1. a)

      What is orthographic projection? Explain Isometric, Diametric, and Trimetric projections with suitable examples.

      Also asked:Oct 2025

      [5]
    2. b)

      Explain 3D translation, scaling, rotation, and shear with their matrix forms.

      Also asked:Oct 2025

      [5]
    3. c)

      This part has equations that don’t show as text. Open the PDF to read it.

      [4]