Skip to content

Latest commit

 

History

History
87 lines (61 loc) · 1.15 KB

Questions.md

File metadata and controls

87 lines (61 loc) · 1.15 KB
A1: Introduction to digital pictures and color
  1. 8 bits
  2. 4 bytes (RGB + Transparency) // because of the alpha channel
  3. 307200 pixels
A2: Picking a color
  1. java.awt.Color[r=255,g=172,b=227]
  2. java.awt.Color[r=255,g=255,b=29]
  3. java.awt.Color[r=142,g=0,b=255]
  4. java.awt.Color[r=255,g=255,b=255]
  5. java.awt.Color[r=48,g=48,b=48]
A3: Exploring a picture
Questions
  1. Row index is 0
  2. Column index is 0
  3. Column index is 639
  4. Row index is 479
  5. Row index increases from top to bottom
  6. Column index increases from left to right
  7. Yes, one can see squares of pixels
Exercises
  1. ✓
  2. ✓
A4: Two-dimensional arrays in Java
  1. ✓
  2. ✓
  3. ✓
A5: Modifying a picture
Questions
  1. No
  2. Yes
  3. No, since DigitalPicture is an interface
  4. Yes
  5. Yes
  6. Yes
  7. No
Exercises
  1. ✓
  2. ✓
  3. ✓
  4. ✓
  5. ✓
  6. ✓
A6: Mirroring pictures
  1. ✓
  2. ✓
  3. ✓
  4. ✓
A7: Mirroring part of a picture
Questions
  1. 10 * 9 = 90
  2. 6 * 15 = 90
Exercises
  1. ✓
  2. ✓
  3. ✓
A8: Creating a collage
  1. ✓
  2. ✓
A9: Simple edge detection