Jeopardy Heading1 Heading2 Heading3 Heading4 Heading5 Q $100 Q $100 Q $100 Q $100 Q $100 Q $200 Q $200 Q $200 Q $200 Q $200 Q $300 Q $300 Q $300 Q $300 Q $300 Q $400 Q $400 Q $400 Q $400 Q $400 Q $500 Q $500 Q $500 Q $500 Q $500 Final Jeopardy $100 Question from H1 Takes a pathname as input, reads the file, and creates a picture from it. Returns the new picture. $100 Answer from H1 What is makePicture()? $200 Question from H1 Shows a picture provided as input. It does not return anything. $200 Answer from H1 What is show()? $300 Question from H1 Takes a picture as input and returns a one-dimensional array of pixel objects in the picture with the pixels from the first row first and then the pixels from the second row and so on. $300 Answer from H1 What is getPixels()? $400 Question from H1 Takes a picture, an x position, and a y position, and returns the pixel object at that point in the picture. $400 Answer from H1 What is getPixel()? $500 Question from H1 Takes a picture as input and returns its width in the number of pixels across the pictures. (# of columns) $500 Answer from H1 What is getWidth()? $100 Question from H2 Takes a picture as input and returns its height in the number of pixels. (# of rows) $100 Answer from H2 What is getHeight? $200 Question from H2 Takes a picture and a filename as input, then writes the picture to the file as a JPG. $200 Answer from H2 What is writePictureTo()? $300 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of redness. $300 Answer from H2 What is getRed()? $400 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of greenness. $400 Answer from H2 What is getGreen()? $500 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of blueness. $500 Answer from H2 What is getBlue()? $100 Question from H3 Takes a pixel object and a value and sets the red of that pixel to that value (between 0 and 255). $100 Answer from H3 What is setRed()? $200 Question from H3 Takes a pixel object and a value and sets the green of that pixel to that value (between 0 and 255). $200 Answer from H3 What is setGreen()? $300 Question from H3 Takes a pixel object and a value and sets the blue of that pixel to that value (between 0 and 255). $300 Answer from H3 What is setBlue()? $400 Question from H3 Takes a pixel and returns the color object at that pixel. $400 Answer from H3 What is getColor()? $500 Question from H3 Takes a pixel object and a color object and sets the color for that pixel. $500 Answer from H3 What is setColor()? $100 Question from H4 Takes a pixel object and returns the X position (column) of where that pixel is in the picture. $100 Answer from H4 What is getX()? $200 Question from H4 Takes a pixel object and returns the Y position (row) of where that pixel is in the picture. $200 Answer from H4 What is getY()? $300 Question from H4 Takes three inputs for the red, green, and blue components and returns a color object. $300 Answer from H4 What is getColor()? $400 Question from H4 Takes a color and returns a slightly darker version of the color. $400 Answer from H4 What is makeDarker()? $500 Question from H4 Takes a color and returns a slightly lighter version of the color. $500 Answer from H4 What is makeLighter()? $100 Question from H5 if x = 10, y = 15, z = 20 True or False? not(x > 10) $100 Answer from H5 TRUE $200 Question from H5 if x = 10, y = 15, z = 20 True or False? x <= 5 or y < 15 $200 Answer from H5 FALSE $300 Question from H5 if x = 10, y = 15, z = 20 True or False? (x != 5) and (y != z) $300 Answer from H5 TRUE $400 Question from H5 if x = 10, y = 15, z = 20 True or False? x >= z or (x + y >= z) $400 Answer from H5 TRUE $500 Question from H5 if x = 10, y = 15, z = 20 True or False? (x >= y) and (y <= z) or (z != 20) $500 Answer from H5 TRUE Final Jeopardy This author wrote, “If one man kills another, it is murder, but if a hundred thousand men kill another hundred thousand, it is considered an act of glory!?” Final Jeopardy Answer Who is Tolstoy? (The book is Kingdom of God)