DerekChiou_EE306_Spring2009_Lecture10

DerekChiou_EE306_Spring2009_Lecture10 -...

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

View Full Document Right Arrow Icon
Lecture 10: Programming Prof. Derek Chiou University of Texas at Austin © Derek Chiou
Background image of page 1

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

View Full DocumentRight Arrow Icon
z Recap continued z LC 3 continued z Problem Solving z Outline z Problem Solving (or, How to Program) 2/23/2009 © Derek Chiou : EE306: Lecture 10 2
Background image of page 2
The “=“ Sign: indicating equivalence, ssignment, equality operator assignment, equality operator z You are used to using equal in math equations z (x + y) 2 = x 2 + 2xy + y 2 z The equal sign indicates that both sides are equivalent z We don’t use “=“ this way very often in computing z Assignment z Oops = missile_launched z Good = cheap AND plentiful z A = A + 1 z A < A + 1 z The value of the right side of the equal sign is copied to the left side z Not always the same quality operator (often written as 2 “=“ signs or “==“) z Equality operator (often written as 2 = signs or == ) z if (babyMood == crying) then GetUp z Check if the left side and the right side are equal and produce True if they are and False if they are not y 2/23/2009 © Derek Chiou : EE306: Lecture 10 3
Background image of page 3

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

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

This note was uploaded on 02/24/2011 for the course EE 306 taught by Professor Ambler during the Spring '07 term at University of Texas at Austin.

Page1 / 14

DerekChiou_EE306_Spring2009_Lecture10 -...

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

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