CS 111 - Program Design I

Topics for Exam 2

Thursday 11/14/2013 during Lecture
  • 20 multiple choice questions
  • 2 Write code questions
Book chapters 4, 5 and 6

Java Elements

  • for loops
  • if statements
  • boolean operators
  • return values and return statement
Pictures
  • constructors
  • Picture (filename)
  • Picture (width, height)
  • getPixel()
  • show()
  • explore()
  • addMessage()
  • getWidth()
  • getHeight()
  • Algorithms as shown in class and as done for lab
Pixels
  • getColor()
  • getRed()
  • getGreen()
  • getBlue()
  • setColor()
  • setRed()
  • setGreen()
  • setBlue()
  • getX()
  • getY()
  • colorDistance()
-- Main.troy - 2013-11-04
Topic revision: r2 - 2013-11-12 - 15:18:00 - Main.troy
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF