DerekChiou_EE306_Spring2009_Lecture10

DerekChiou_EE306_Spring2009_Lecture10 -...

Info icon This preview shows pages 1–5. 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
Image of page 1

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

View Full Document Right Arrow Icon
Recap & Outline z Recap z LC 3 continued LC 3 continued z Problem Solving z Outline z Problem Solving (or, How to Program) 2/23/2009 © Derek Chiou : EE306: Lecture 10 2
Image of page 2
The “=“ Sign: indicating equivalence, 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 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 z Equality operator (often written as 2 “=“ signs or “==“) 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 2/23/2009 © Derek Chiou : EE306: Lecture 10 3
Image of page 3

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

View Full Document Right Arrow Icon
Common Steps to Execute LC
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern