You are on page 1of 2

Nik Brown, CS, UCLA. Do the quizzes, upload them for the website. Be here. This guy is cool.

A variable and a parameter are not the same. A variable Y =mx + b X = variable. M, B are parameters. Y is the variable. The parameters are static, fixed. X can change. Learn language that is very specific. Parameters he is taking not about variables. Quiz is due tomorrow night. It is autograded. Autograding program. Quiz 1; UID. Float is a rational number (a/b) a, b are ints. Ints, a, b, c (including negative numbers) Primitive data types: Int double (bad name because it has nothing to do with what actually is). float What is a primitive data type. What is an abstract data type. Primitive: location in memory. Go to memory, 34-64 bits. 0x.. (location memory) And int is not on byte. Int num = 5. = 000000101. Int ucla wins = num = 5 = location in memory. Ucla wins = variable Abstract, hides a lot of stuff in an abstraction. Expect to look things up, but not to memorize anything. Logical error, syntax error, and one time error.

Logical: things that compile but dont work. Syntax error One time error: runtime error. Only occurs some of time. Abstract data type: know it. Downloading: go to itunes and click on singer, buy it, download it. This all part of abstraction. Internet model, simplified. Presentation layer. Transports, layer Network layer Data layer. Physical layer. Ethernet. Optical. The concept of all it is called abstraction.