COMPSCI 61A Lecture 11: Data Abstraction
COMPSCI 61A verified notes
11/20View all
Document Summary
India is cracking down on e-commerce and free speech . First to reject facebook"s initiative to give free internet access to parts of developing world . Hinder e commerce"s power from pushing proposals in the government. Asked twitter ceo to answer about bias in the parliament. Hog contest is optional and due friday 02/22. Call tree shows how many calls can be made to get the total. Color coded to show which are successful calls and which don"t work then just count the errors that lead into the color-coded successful calls. Compound values multiple data types combined together. Ex: date contains integers and strings ( march and 30) Data abstraction to manipulate compound values as unit. Ex the date treated as a single thing. Any program that uses data separated into two parts. Data abstraction = functions enforce abstraction barriers between their representation (parts) and their use. Goal numerator/denominator instead of automatically dividing and then returning a decimal (float)