CSE 1010 Lecture 15: CSE 1010 - Lecture 15 - Midterm Exam Review
CSE 1010 verified notes
15/29View all
Document Summary
Cse 1010 - introduction to computing for engineers. No writing code, it"s all multiple choice. One 8. 5x11 notes sheet is allowed (double-sided) You don"t need to know definitions for vocab terms. I. e. need to know what the value/output of a function will be. Lockdown browser will be used on the learning center computers and python will not be used. An integer and the same integer with a floating point of 0 is equivalent to each other, according to python (it will display true) >>> for a in range(5): print(cid:383)a, end=(cid:359) (cid:359)(cid:384) >>> for a in [0, 1, 2, 3, 4] All of these loops above yield the same output, even though they are all set up differently! Remember, you can only count integers within the range operator! >>> for a in range(0, 5, 1): print(cid:383)a, end=(cid:360) (cid:359)(cid:384) If you don"t specify the end=" , this is what the result will be: Know the forms of the range operator: