Skip to content

Computer Graphics, Multimedia & Mobile Computing

DSSSB TGT CS — Section B P2 (Rank ~7). Exam style: definitions, comparisons, format/compression traps.


1. Pixels, Resolution, Aspect Ratio

TermMeaning
PixelSmallest addressable picture element (picture element)
ResolutionNumber of pixels (e.g. 1920×1080) — higher → sharper image
DPI / PPIDots/pixels per inch — print/screen density
Aspect ratioWidth : Height (e.g. 16:9, 4:3, 1:1)
  • Trap: Resolution is count of pixels, not file size. Compression changes size, not native resolution.
  • Screen resolution ≠ print DPI (different contexts).

2. Raster vs Vector

Raster (bitmap)Vector
Made ofGrid of pixelsMath curves/lines (paths)
ScalePixelates when enlargedScales cleanly
Best forPhotos, scanned imagesLogos, icons, fonts, CAD
FormatsBMP, JPEG, PNG, GIFSVG, AI, CDR, EPS (often)
EditPixel-levelObject/path-level
  • Trap: JPEG is raster; SVG is vector.

3. Color Models

ModelTypeUse
RGBAdditive (light)Screens, cameras
CMYKSubtractive (ink)Printing
HSV / HSBHue, Saturation, Value/BrightnessDesign / selection UI
GrayscaleIntensity onlyB/W images
  • Primary additive: Red, Green, Blue → white when combined.
  • Primary subtractive: Cyan, Magenta, Yellow (+ Black K) → darker when combined.
  • Trap: Monitors use RGB; professional print workflows convert to CMYK.

4. Graphics Primitives

Basic drawing building blocks:

  • Point, line, circle/ellipse, arc, polyline, polygon, rectangle, character/text
  • Fill styles: solid, pattern, hatch
  • Attributes: color, thickness, style (solid/dashed)

5. Line Algorithms (idea only)

AlgorithmIdea
DDADigital Differential Analyzer — uses floating increments along slope
BresenhamInteger arithmetic decision parameter — faster, preferred in exams
  • Both rasterize a continuous line onto discrete pixels.
  • Trap: Bresenham avoids floating-point ops (exam favorite).

6. 2D Transformations

TransformEffectHomogeneous idea
TranslationMove by (tx, ty)Add offsets
ScalingEnlarge/shrink by (sx, sy)Multiply coords
RotationRotate by θ about origin/pointUse sin/cos matrix
ReflectionMirror across axisFlip sign of coord
ShearSkew shapeOff-diagonal factors
  • Order matters: rotate-then-translate ≠ translate-then-rotate.
  • Composite transforms = multiply matrices (right-to-left apply order depends on convention).

7. Multimedia Components

ComponentExamples
TextPlain, rich, hypertext
AudioSpeech, music, WAV/MP3
ImagesStill graphics/photos
VideoSequence of frames + audio
AnimationFrame-by-frame or tweened motion
HypermediaLinked multimedia (web)
  • Multimedia = integrated use of multiple media types.
  • Interactive multimedia: user controls flow (games, CBT).

8. Compression

TypeIdeaExamples
LosslessExact rebuildPNG, GIF (palette), ZIP, FLAC
LossyDiscard “less noticed” dataJPEG, MP3, MPEG video
FormatTypical
JPEGLossy still images (photos)
PNGLossless images + transparency
GIFLimited colors, simple animation
MP3Lossy audio
MPEGLossy video (family: MPEG-1/2/4)
WAVOften uncompressed / lightly compressed audio
  • Trap: JPEG is lossy; PNG is lossless. MP3 is lossy audio.

9. Common File Formats (quick)

KindFormats
ImageBMP, JPEG/JPG, PNG, GIF, TIFF, SVG
AudioWAV, MP3, AAC, MIDI (instructions, not waveform)
VideoAVI, MP4, MKV, MPEG, MOV
Doc/vectorPDF, SVG
  • MIDI stores note events, not sampled sound (exam trap).

10. Mobile Computing — Networks

TechIdea
GSMGlobal System for Mobile — TDMA-based 2G family; SIM-centric
CDMACode Division Multiple Access — codes separate users on shared spectrum
GPRS / EDGEPacket data on GSM path
3G / 4G / 5GHigher data rates generations
  • Cellular idea: geographic cells, frequency reuse, handoff/handover when moving.

11. Mobile OS

OSNotes
AndroidGoogle; Linux-based kernel; open ecosystem; APK
iOSApple; closed ecosystem; App Store
Others (legacy/exam)Windows Mobile/Phone, Symbian, BlackBerry OS
  • Apps: native vs web vs hybrid.
  • Sensors: GPS, accelerometer, gyroscope, camera — enable location/AR apps.

12. Wireless Short-Range

TechTypical range / use
BluetoothShort range PAN — headsets, file transfer, IoT
Wi-Fi (IEEE 802.11)LAN/WLAN internet access
NFCVery short range — payments, pairing
Infrared (IR)Line-of-sight (older mobiles)
  • Trap: Bluetooth ≠ Wi-Fi; different range, power, and primary use.

13. VR / AR Keywords

TermMeaning
VR (Virtual Reality)Fully immersive computer-generated environment
AR (Augmented Reality)Digital overlays on real world (camera/glasses)
MR / XRMixed / umbrella extended reality terms
HMDHead-mounted display
Degrees of freedom3DoF / 6DoF tracking
  • VR replaces view; AR adds to real view.
  • Exam: Pokémon GO-style → AR; full headset game world → VR.

Quick Revision Traps

  1. Bresenham = integer decisions; DDA = floating increments.
  2. RGB = screens; CMYK = print.
  3. Raster scales poorly; vector scales well.
  4. JPEG/MP3/MPEG → lossy; PNG/ZIP → lossless.
  5. MIDI is not recorded audio samples.
  6. GSM vs CDMA = different multiple-access families.
  7. AR overlays reality; VR immerses in virtual world.