(27) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

Info iconThis preview shows pages 1–17. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your clicker to frequency A B See the back of your clicker for instructions Do NOT turn your clicker off during class!! Your votes will not register, if you forget to set your frequency RESET your clicker to frequency AB RESET CLICKERS TO FREQUENCY A B What is the value of red after executing the following code numericValue = 150; if (numericValue >= 0 && numericValue < 64) red = 31; else if (numericValue >= 64 && numericValue < 128) red = 128; else if (numericValue >= 128 && numericValue < 192) red = 159; else red = 223; A. 150 B. 31 C. 128 D. 159 E. 223 RESET CLICKERS TO FREQUENCY A B What is the value of red after executing the following code numericValue = 150; if (numericValue >= 0 && numericValue < 64) red = 31; else if (numericValue >= 64 && numericValue < 128) red = 128; else if (numericValue >= 128 && numericValue < 192) red = 159; else red = 223; A. 150 B. 31 C. 128 A. 159 A. 223 CSI 201 Study Group RESET CLICKERS TO FREQUENCY A B CSI 201 Introduction to Computer Science wdoane@albany.edu http://bls.its.albany.edu LI 95j Lecture 27 Administrivia RESET CLICKERS TO FREQUENCY A B Administrivia Program Programming Assignment Five is available from the class web page. It is due Monday, Novenber 17 th before midnight. That means you'll have your final programming assignment due on December 8 th I'll post it in the next day or two so you can see what you're up against Todays Content Conditionals This material corresponds to chapter six in the text. Conditionals RESET CLICKERS TO FREQUENCY A B Replace Background Result The background color was too close to the shirt color RESET CLICKERS TO FREQUENCY A B Chromakey Blue Screen For TV and movie special effects they use a blue or green screen Here just a blue sheet was used Professionally you need an evenly lit, bright, pure blue background With nothing blue in the rest of the scene RESET CLICKERS TO FREQUENCY A B Chromakey Blue Screen RESET CLICKERS TO FREQUENCY A B Chromakey Exercise Write the method chromakey that takes a new background picture as an input parameter It will loop through all the pixels If the pixel color is blue (red + green < blue) Replace the pixel color with the color from the new background pixel (at the same location) You should be able to write this code from memory by now! RESET CLICKERS TO FREQUENCY A B Testing chromakey Picture pic = new Picture(FileChooser.getMediaPath("blue-mark.jpg")); Picture(FileChooser....
View Full Document

This note was uploaded on 01/17/2009 for the course CSI 201 taught by Professor Doanne during the Fall '08 term at SUNY Albany.

Page1 / 41

(27) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

This preview shows document pages 1 - 17. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online