Download presentation
Presentation is loading. Please wait.
Published byThomas Nelson Modified over 9 years ago
2
Jeopardy Heading1Heading2Heading3Heading4 Heading5 Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy
3
$100 Question from H1 Takes a pathname as input, reads the file, and creates a picture from it. Returns the new picture.
4
$100 Answer from H1 What is makePicture()?
5
$200 Question from H1 Shows a picture provided as input. It does not return anything.
6
$200 Answer from H1 What is show()?
7
$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.
8
$300 Answer from H1 What is getPixels()?
9
$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.
10
$400 Answer from H1 What is getPixel()?
11
$500 Question from H1 Takes a picture as input and returns its width in the number of pixels across the pictures. (# of columns)
12
$500 Answer from H1 What is getWidth()?
13
$100 Question from H2 Takes a picture as input and returns its height in the number of pixels. (# of rows)
14
$100 Answer from H2 What is getHeight?
15
$200 Question from H2 Takes a picture and a filename as input, then writes the picture to the file as a JPG.
16
$200 Answer from H2 What is writePictureTo()?
17
$300 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of redness.
18
$300 Answer from H2 What is getRed()?
19
$400 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of greenness.
20
$400 Answer from H2 What is getGreen()?
21
$500 Question from H2 Takes a pixel object and returns the value (between 0 and 255) of the amount of blueness.
22
$500 Answer from H2 What is getBlue()?
23
$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).
24
$100 Answer from H3 What is setRed()?
25
$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).
26
$200 Answer from H3 What is setGreen()?
27
$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).
28
$300 Answer from H3 What is setBlue()?
29
$400 Question from H3 Takes a pixel and returns the color object at that pixel.
30
$400 Answer from H3 What is getColor()?
31
$500 Question from H3 Takes a pixel object and a color object and sets the color for that pixel.
32
$500 Answer from H3 What is setColor()?
33
$100 Question from H4 Takes a pixel object and returns the X position (column) of where that pixel is in the picture.
34
$100 Answer from H4 What is getX()?
35
$200 Question from H4 Takes a pixel object and returns the Y position (row) of where that pixel is in the picture.
36
$200 Answer from H4 What is getY()?
37
$300 Question from H4 Takes three inputs for the red, green, and blue components and returns a color object.
38
$300 Answer from H4 What is getColor()?
39
$400 Question from H4 Takes a color and returns a slightly darker version of the color.
40
$400 Answer from H4 What is makeDarker()?
41
$500 Question from H4 Takes a color and returns a slightly lighter version of the color.
42
$500 Answer from H4 What is makeLighter()?
43
$100 Question from H5 if x = 10, y = 15, z = 20 True or False? not(x > 10)
44
$100 Answer from H5 TRUE
45
$200 Question from H5 if x = 10, y = 15, z = 20 True or False? x <= 5 or y < 15
46
$200 Answer from H5 FALSE
47
$300 Question from H5 if x = 10, y = 15, z = 20 True or False? (x != 5) and (y != z)
48
$300 Answer from H5 TRUE
49
$400 Question from H5 if x = 10, y = 15, z = 20 True or False? x >= z or (x + y >= z)
50
$400 Answer from H5 TRUE
51
$500 Question from H5 if x = 10, y = 15, z = 20 True or False? (x >= y) and (y <= z) or (z != 20)
52
$500 Answer from H5 TRUE
53
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!?”
54
Final Jeopardy Answer Who is Tolstoy? (The book is Kingdom of God)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.