CSE 1010 Lecture 15: CSE 1010 - Lecture 15 - Midterm Exam Review

463 views5 pages
Verified Note

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:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents