[CSE 1010] - Midterm Exam Guide - Ultimate 17 pages long Study Guide!

1301 views17 pages
jadetortoise401 and 55 others unlocked
CSE 1010 Full Course Notes
84
CSE 1010 Full Course Notes
Verified Note
84 documents

Document Summary

Read section 1, skip section 2, read section 3. Result - shows you the value of the expression that you enter. >>> 8/5 # division always returns a floating point number the expression the value. Strings are messages that you will put in your program that are intended to be displayed to the user. The user can also enter information to your program and they will be in the form of strings. Ex) >>> print( hello, world!") this is a statement. Programs will be made up of groups of statements. This statement is a function call, we know because it is in parentheses. Print" is the function, the computer will try to interpret it. Hello, world!" is a string, right now it doesn"t matter if it is in quotes or double quotes. When strings are printed, the quotes are not displayed. The storage location can store one thing. You can replace what"s in the storage location.