ECS 32A Lecture Notes - Lecture 4: Social Security Number, Takers

43 views2 pages
15 Jan 2019
Important Information
The Student Disability Center (SDC) asks that students interested in serving as paid
note takers for this course please contact the Student Disability Center at Note takers are paid a stipend of $25 per unit*, but must have a
social security number or have visa status to qualify for an SSN, have a GPA of 2.5 or
better, and be in good Academic standing with UC Davis. Students should attach a
sample of their notes to the email and put the following information in the subject line:
‘note taker’, the course code, CRN number, and instructor’s name. If selected, the SDC
will offer the position to the Note Taker.
Notes provided to SDC students needing note takers are not to be posted, sold, or
otherwise distributed, either by the note taker or the SDC Student receiving the notes.
Note takers and SDC students receiving notes are expected to comply with the UC
Davis academic honor code.
Variables and Assignments
Variables are safe places to store data values
“=” is the assignment operator
Overwrites whatever is in the variable to its left when it executes
Accumulator Variable
It is allowed to use the same variables on both sides of the assignment operator
x = x + y
Variables are references to an object
Basically an automatically-created wrapper around some data value
An object is binded and assigned to a value using the assignment operator
Properties of objects
Value: the data value stored
Type: whether it stores a string, int, float
Mutability: can I change the object
A unique identifier describing the object
Identifiers (Names)
The name the programmer gives the variables or functions they are working with
Case matters
Do not start with numbers
No spaces or punctuation other than _”
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

$10 USD/m
Billed $120 USD annually
Homework Help
Class Notes
Textbook Notes
40 Verified Answers
Study Guides
1 Booster Class
$8 USD/m
Billed $96 USD annually
Homework Help
Class Notes
Textbook Notes
30 Verified Answers
Study Guides
1 Booster Class