CSE 1010 Lecture Notes - Lecture 1: Programming Language

78 views2 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.

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