COMPSCI 61A Lecture Notes - Lecture 12: Software Engineering, Unicode, Rational Number
zogo39484755 and 6 others unlocked
22
COMPSCI 61A Full Course Notes
Verified Note
22 documents
Document Summary
Guerrilla section on data abstraction, trees, lists on saturday 9/24 12-3pm in. Homework party monday 9/26 6:30pm-8:30pm in 247 cory hall. Bonus point for submission by wednesday 9/28 @ 11:59pm. Project party wednesday 9/28 6:30-8:30pm in 247 cory hall. All lab, discussion, and homework walkthroughs are linked from the table below, including lab 04 and hw 04. An object is a value that behaves like what it"s supposed to represent. Objects can be combined to get a reasonable representation of the objects" meaning. Primary mechanism through which objects have behavior: attributes. Attributes can be bound to values: today. year, today. month. Attributes can be bound to functions called methods: today. strftime( %a %b d") Consist of data and behavior, bundled together to create abstractions. Objects can represent things, but also properties, interactions, and processes. A type of object is called a class; classes are rst-class values in python. Special syntax that can improve the composition of programs.