Verified Documents at University of California - Davis

Browse the full collection of course materials, past exams, study guides and class notes for ECS 32A - Introduction to Programming at University of California - Davis verified by …
PROFESSORS
All Professors
All semesters
Max Nelson
winter
30

Verified Documents for tba

Class Notes

Taken by our most diligent verified note takers in class covering the entire semester.
ECS 32A Lecture Notes - Lecture 2: Newline, Ascii Art
Output is important bc it allows python scripts to interact with other programs. Python uses the print() function to print information to the console.
2124
ECS 32A Lecture Notes - Lecture 3: Kilobyte, 18 Months, Open-Source Software
All arithmetic is reduced to mere counting. Modern computers are based on voltage levels, either on or off. The reason there are only two levels is bc
295
ECS 32A Lecture Notes - Lecture 4: Social Security Number, Takers
The student disability center (sdc) asks that students interested in serving as paid note takers for this course please contact the student disability
256
ECS 32A Lecture 5: Arithmetic Expressions
Expression: code that evaluates to a value. Within any of these groups, the expression runs left to right. If you aren"t sure, always use parentheses.
290
ECS 32A Lecture 6: Strings and Lists
283
ECS 32A Lecture Notes - Lecture 8: Round Number, Tuple
269
ECS 32A Lecture 9: Branches
263
ECS 32A Lecture 10: Nested Loops and Boolean
Basically just an if-else statement inside another if-else loop. Lots of ways to use the if else logic. Generally avoid nesting because the logic can g
289
ECS 32A Lecture 11: While Loops
Indents are typically 4 spaces or press the tab key. Each line of code should not be more than 80 characters long. My_string = ( this is a very long st
248
ECS 32A Lecture Notes - Lecture 13: Late Fee
239
ECS 32A Lecture Notes - Lecture 14: Hhhh
Remember that both c" and c should have the same molecular weight, so your dictionary might have 6 elements instead of 3. Have an outer while loop that
243
ECS 32A Lecture 15: Functions
Things lke print() input() str() are all functions which do certain tasks when called upon. Python allows you to create your own functions as well. A f
239
ECS 32A Lecture 16: Function Stubs
266
ECS 32A Lecture 17: Scope
245
ECS 32A Lecture 18: Keyword Arguments and String Formatting
247
ECS 32A Lecture Notes - Lecture 20: Substring
234
ECS 32A Lecture 21: Lists
236
ECS 32A Lecture 22: Dictionaries
232
ECS 32A Lecture 23: Try Catch Exception
240
ECS 32A Lecture 25: Raising Exceptions
233
ECS 32A Lecture Notes - Lecture 26: Json
229
ECS 32A Lecture 27: Writing Files
Recall that the syntax to open a file is the open() function and the . close() method. Writing to a file and then reading from it. With open( output_fi
246
ECS 32A Lecture Notes - Lecture 28: Object-Oriented Programming, Init
Sign up to be a cs tutor. Must receive a b+ or better in the course you are tutoring for. There will be a review session held for finals. Fill out the
229
ECS 32A Lecture Notes - Lecture 29: Init
240
ECS 32A Lecture Notes - Lecture 30: Acronym
249