Important Questions

Computer Graphics: Comprehensive Study Guide - Unit I

Course: Computer Graphics
University Context: Punjab University (PYQ Focused)
Target Marks: 6-7 Marks & 13 Marks Concepts
Last Updated: Exam Preparation Mode


🧠 Part A: Core Definitions & Roles

1. Image Processing vs. Computer Graphics

Feature Image Processing 🖼️ Computer Graphics 🎨
Definition Manipulating existing images to improve quality or extract data. Creating new images from mathematical models/algorithms.
Input/Output Input = Image file (JPG, PNG). Output = Enhanced image. Input = Geometry/Math. Output = Rendered pixels on screen.
Key Examples Noise removal, Face detection, Medical scan reconstruction. Drawing a 3D car in AutoCAD, Creating movie scenes, Video games.

💡 Mnemonic: "P" for Processing (Photo manipulation), "G" for Graphics (Geometry/Generation).

2. Roles & Usage of Computer Graphics

  1. Presentation: Making complex data understandable via charts/graphs.
  2. Visualization: Creating 3D models to help engineers/architects understand structures before building.
  3. Design (CAD): Precise creation of technical drawings for manufacturing/construction.

3. Fields in Image Processing


🖥️ Part B: Display Technologies & Scanning Methods

Q1: Cathode Ray Tube (CRT) vs. LCD/LED

(High Priority for 6-7 Mark Difference Questions)

Concept: How do we see images?

Comparison Table (Memorize for Marks)

Feature CRT 📺 LCD / LED 💡
Technology Electron Gun + Phosphors Liquid Crystals + Backlight
Thickness/Weight Very Thick & Heavy Thin, Flat, Lightweight
Resolution Low (Pixels visible up close) High (Sharp, detailed)
Power Usage High (~100W+) Low (~30-50W)
Viewing Angle Poor (Colors wash out from side) Excellent (Wide angle)
Lifespan Shorter (Burn-in issues) Longer & Stable

💡 Mnemonic: "CRT is Complex and Thick. LCD is Light and D**igital."

Q2: Random Scan vs. Raster Scan

(Theoretical Difference Question)

Concept: How does the screen get drawn?

  1. Random Scan (Vector): The electron beam moves directly to specific points (coordinates) to draw lines. It only draws where needed.
    • Pros: Perfectly sharp lines, fast for simple geometric shapes.
    • Cons: Cannot display smooth curves well without many lines; low resolution.
  2. Raster Scan: The electron beam scans the entire screen line-by-line, top-to-bottom, repeatedly (like a printer). It paints every pixel regardless of whether it's part of an image or blank space.
    • Pros: Can show complex images, smooth curves, and full color gradients naturally.
    • Cons: Slower for simple lines; requires more memory to store the entire bitmap.

Flowchart: How Raster Scan Works

Computer Graphics: Comprehensive Study Guide - Unit II

Course: Computer Graphics
Focus: CAD Tools, C Programming for Graphics, Algorithms
Target Marks: 6-7 & 13 Marks (PYQ Based)


🧠 Part A: AutoCAD Basics & Interface

Q: AutoCAD 2D - Interface, Working, Coordinates, Drawing Steps

(Expected as a 6-7 Mark Question)

1. What is the AutoCAD 2D Interface?

AutoCAD provides a graphical user interface (GUI) with toolbars and menus to assist in drafting. Key Components:

2. Common Coordinate Formats in AutoCAD

Format Description Example Usage
Absolute Cartesian Coordinates from the origin (0,0). 100,50 Starting a line from center.
Relative Polar Distance and angle from previous point. @10<45 (Move 10 units at 45°) Drawing diagonal lines quickly.
Ortho Mode Constrains cursor to horizontal/vertical only. Press F8 Ensuring straight walls in floor plans.

3. Steps to Draw Basic Shapes (Algorithm Flowchart)

(This structure helps answer "Step-by-step" questions)


🧠 UNIT III: MULTIMEDIA

Q1: Multimedia - Definition, Limitations, Features, Components & Development Stages

(Expected as a 7-8 Mark Question)

1. Definition of Multimedia

Multimedia: Integration of at least two different forms of media (text, audio, graphics, video) with the ability for user interaction and control using electronic devices and software.

2. Key Features

3. Hardware Components

  1. Processor (CPU): Needs to be powerful for video/audio rendering.
  2. RAM: High memory needed for simultaneous media streams.
  3. Storage: HDD/SSD with high throughput (for large video files).
  4. Sound Card / Audio Interface.
  5. Video Cards (GPU) with hardware acceleration.

4. Software Components

5. Stages of Multimedia App Development

  1. Planning & Analysis: Defining scope, audience, and goals.
  2. Design: Creating storyboards, wireframes, and choosing media assets.
  3. Development (Implementation): Writing code, integrating media files.
  4. Testing: Checking for bugs, synchronization issues, and compatibility.
  5. Deployment & Maintenance: Publishing the app and updating it as needed.

6. Applications of Multimedia


Q2: Phase of Multimedia Project Planning

(Expected as a 6 Mark Question)

Planning is the most critical phase to avoid budget overruns and technical failures. The phases are often divided into four main steps within planning:

  1. Concept Development: Brainstorming ideas, selecting the core theme.
  2. Feasibility Study: Can we do it? (Technical feasibility - do we have the tech? Economic feasibility - is it profitable?).
  3. Requirement Analysis: What hardware/software is needed? How much storage? Bandwidth requirements?
  4. Scheduling & Budgeting: Setting timelines for content creation, coding, and testing; allocating funds.

💡 Mnemonic: "C.E.R.S." -> Concept, Evaluate (Feasibility), Requirements, Schedule/Budget.


Q3: Development Tools & Commercial Software

(Expected as a 6-7 Mark Question)

Development Tools (Authoring Tools)

Tools used to create and manage multimedia projects:

Commercial Software Examples

Domain Software Name Developer Key Use Case
Graphic Design Adobe Photoshop Adobe Inc. Photo manipulation, UI design.
Video Editing Adobe Premiere Pro Adobe Inc. Professional video editing.
3D Modeling AutoCAD / Revit Autodesk Architectural designs, CAD drawings.
Presentation PowerPoint / Keynote Microsoft / Apple Slide creation and animation.
Audio Production Pro Tools Avid Technology Music recording and mixing.

📊 UNIT IV: IMAGE COMPRESSION & PHOTOSHOP/MACROMEDIA

Q1: Image Compression - Lossy vs Lossless Comparison

(Expected as a 7-8 Mark Question)

Concept of Compression

Compression is the process of reducing file size by removing redundant data.

Feature Lossless Compression Lossy Compression
Definition No information is lost; original can be perfectly reconstructed. Some information is permanently discarded to achieve smaller sizes.
Compression Ratio Low (e.g., 2:1, 3:1). High (e.g., 10:1, 50:1).
File Size Large compared to lossy. Very small.
Quality Loss None. Visible distortion or artifacts may occur.
Algorithms RLE, Huffman Coding, Lempel-Ziv (LZ77/78). DCT (Discrete Cosine Transform), JPEG algorithm.
Use Cases Text files, medical images where accuracy is critical. Photos, videos, web graphics where slight quality loss is acceptable.

Audio File Formats Comparison

(Often asked alongside image compression)

Flowchart: Decision Making for Compression Type

UNIT - V: Multimedia Tools & Applications


Q1. Layers & Filter in Photoshop (13 Marks)

Definition:

Layers in Photoshop are transparent sheets stacked on top of each other, allowing non-destructive editing of different image elements independently. Filters are effects and adjustments applied to layers or selections to enhance, distort, or stylize images.

Key Concepts (6-7 Marks):

Layers:

Filters:

Flowchart: Layers & Filters Workflow

Diagram: Layer Panel Structure

Mnemonic: L.A.Y.E.R.S

Mnemonic: F.I.L.T.E.R.S

Important Points:


Q2. Macromedia (13 Marks)

Definition:

Macromedia was a multimedia software company founded in 1992 that created industry-standard applications for web design, animation, and interactive content creation. Key products included Flash, Director, Dreamweaver, and Fireworks. (Acquired by Adobe in 2005)

Overview Diagram:

Key Applications & Features (6-7 Marks):

1. Flash

2. Director

3. Dreamweaver

4. Fireworks

5. FreeHand

Flowchart: Macromedia Product Ecosystem

Timeline: Macromedia History

Mermaid render failed
Invalid mermaid header: "timeline". Expected "graph TD", "flowchart LR", "stateDiagram-v2", etc.
timeline
      title Macromedia Timeline
      1992 : Macromedia Founded
      1996 : Flash Released (v1.0)
      1997 : Director 7 Released
      1998 : Dreamweaver Released
      2000 : Fireworks Released
      2002 : Shockwave Player Popular
      2005 : Adobe Acquires Macromedia
      2008 : Flash Professional Continues

Mnemonic: M.A.C.R.O.M.E.D.I.A

Important Points:


Q3. Director: Macromedia Director (13 Marks)

Definition:

Macromedia Director is a multimedia authoring platform used to create interactive presentations, animations, games, and multimedia applications. It uses a timeline-based interface and scripting language called Lingo for interactivity.

Key Components Diagram:


3.1 Macromedia Director Terminology (4-5 Marks)

Key Terms:

Term Definition
Movie Main project file containing all elements
Cast Library of media elements (images, sounds, videos)
Stage Canvas where movie plays
Timeline Sequenced frames for animation
**Score stage
Frame Single unit of animation
Lingo Scripting language for interactivity
Shockwave Web-based delivery plugin
DCR Director file format for web

Flowchart: Director Project Structure

Mnemonic: M.O.V.I.E


3.2 Cast Members in Director (4-5 Marks)

Definition:

Cast Members are individual media elements (images, sounds, videos, text, shapes) stored in the Cast Library that can be placed multiple times on the Stage as Sprites.

Types of Cast Members Diagram:

Properties of Cast Members:

Flowchart: Creating & Using Cast Members

Mnemonic: C.A.S.T


3.3 Control Panel in Director (4-5 Marks)

Definition:

The Control Panel in Macromedia Director is the toolbar that provides quick access to playback controls, stage manipulation tools, and common editing functions for easy project navigation and control.

Control Panel Components Diagram:

Flowchart: Control Panel Workflow

Control Panel Button Reference:

Important Features:

Feature Function
Play Button Execute movie from current frame
Pause Button Temporarily stop playback
Stop Button Halt animation completely
Loop Control Enable/disable continuous playback
Frame Navigation Jump to specific frames
Zoom Controls Magnify/minimize stage view
Speed Indicator Show frame rate (FPS)

Mnemonic: C.O.N.T.R.O.L

Quick Keyboard Shortcuts:

Space Bar     → Play/Pause
  Enter         → Play Movie
  Ctrl+Enter    → Test Movie
  Ctrl+Alt+P    → Preferences
  

Summary Table: Unit V Topics

Topic Definition Key Points
Layers & Filters Non-destructive editing with stacked planes & visual effects Masks, Blending, Smart Objects
Macromedia Multimedia software suite (Flash, Director, Dreamweaver) Acquired by Adobe 2005
Director Terminology Standard terms used in Director projects Cast, Sprite, Lingo, Shockwave
Cast Members Reusable media elements in library Bitmaps, Vectors, Audio, Video, Text
Control Panel Toolbar for playback & navigation Play, Pause, Frame controls, Zoom