90 likes | 181 Views
Table of Contents. 24 Background Building 25 Computing Terminology, and Speed/Velocity 26 27 Module 4 Notes: Sensing, Or Operator, Conditional Logic 28 Module 5 Notes: Input and Output 29 30 31 32 33 34 35 36 37 38 39. 2.
E N D
Table of Contents 24 Background Building 25 Computing Terminology, and Speed/Velocity 26 27 Module 4 Notes: Sensing, Or Operator, Conditional Logic 28 Module 5 Notes: Input and Output 29 30 31 32 33 34 35 36 37 38 39 2 Module 1
Module 5 Notes: Input, Output (slides 3-5) Module 5 QRC: Keyboard Sensors, Color Sensors, Math Operators-Multiply (slides 6-9)
Input vs. Output • Input is when the User enters information into the computer. • For example: when you type, or press buttons on the keyboard or controller, talk into microphones, taking a picture • OR it can be a function we created that generates information to send to another part of the computer • Output is when the computer takes the information, and uses a function to process that information and give some feedback to the user • For example: Hearing your recorded voice, seeing letters appear on the screen, your character in a video game moving when you press a button
Input Devices • Mouse • Keyboard • Microphone • Game Controller • Touch Screen • Body Sensors (like the Kinect) • Cameras • Scanners • Biometrics (finger print, xray, and eye scanners)
Output Devices • Monitor • Speakers • Printer • Plotter (BIG printer that uses a pen, like what you see scientist use for seismic readings) • Tactile Sensing (vibrating game controllers and chairs)
QRC Sensing Color • Two types • SPRITE touching a certain COLOR 2. A COLOR touching another COLOR • You must pick the colors from the color of the sprites • Great tool if you plan your colors ahead, and you do not use sprites with multiple colors or photos • Must be used with a conditional operator like IF or IF/ELSE Do NOT Write...this is on the QRC
QRC Sensing User Input • Best suited for consistent interactive user input where keys are constantly being pressed • Must be placed within some conditional statement or looping control tool • Too many can slow down your program because of the forever loops Do NOT Write, this is on the QRC
QRC Operators: Multiply • It multiplies inputted numbers • The output is the product (answer) • The product can be assigned to variables • The product can be assigned to motion tools • The product can used for conditional operator like IF or IF/ELSE Do NOT Write, this is on the QRC
QRC Control User Input • Best suited for single input from user. • Does not need additional conditional statements or loops • Not good for user input where there is constant keys being pressed Do NOT Write, this is on the QRC