L1 - CSE 12 Basic data structures and object-oriented...

Info iconThis preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSE 12 : Basic data structures and object-oriented design Jacob Whitehill [email protected] Lecture One 1 Aug 2011 Monday, August 1, 2011 Welcome • CSE 12 is a programming-oriented introduction to fundamental data structures of computer science. • By the end of this course, you will hopefully know: • What data structures are. • Why selecting the right data structure is important. • When to use a particular type of data structure. • How the most common data structures are implemented in code and in memory. • How object-orientation can facilitate good program design. Monday, August 1, 2011 Administrivia. Monday, August 1, 2011 Course structure • 4 lectures/week: • M, T, W, Th 11:00a - 12:20p Here • 4 programming assignments (45%) • 1 midterm (20%), 1 fnal (30%) • Class participation (5%) • CSE 12 Moodle web Forum • In-class unannounced quizzes (yay!) Monday, August 1, 2011 Teaching staff • Lecturer: • Me • Teaching assistant (TA): • Vineet Kumar • Tutors/graders: • Stephanie Yeh • Anthony Dang • Kerwin Azares Monday, August 1, 2011 Course website • http://ieng6.ucsd.edu/~cs12v Monday, August 1, 2011 Moodle forum • http://csemoodle.ucsd.edu • Appropriate contributions: • Questions about programming projects, data structures, or anything else in computer science. • Answers to the above. • Suggestions for topics you want to hear about during lecture and/or discussion section. Monday, August 1, 2011 Discussion section • Go to CSE 12 Moodle web forum and list your availability! Monday, August 1, 2011 Warning on grammar • “Data” is technically a plural (“your data are so lovely”) • BUT: • Data in plural form can sound very pretentious. • In this course I will alternate between them inconsistently. Monday, August 1, 2011 Storing information in a river of 1’s and 0’s. Monday, August 1, 2011 Consider the following request: • Dear you, Please email me your phone number. Thanks, Someone else Monday, August 1, 2011 Transmitting your phone # • To transmit your phone number by email, the 10 digits must be converted into a binary sequence of 1’s and 0’s. • That’s all you (ever) have to work with . Your computer Someone else’s computer 10000101100010000010001001... Monday, August 1, 2011 Transmitting your phone # • Phone numbers in USA: 10 decimal digits, e.g., (858) 822-5241. • Step 1 : concatenate 10 digits into one simple string. • 8588225241 • Step 2 : encode each digit using a few bits (how many?). Monday, August 1, 2011 Transmitting your phone # • For example, to encode digit 8 using 4 bits, we write 1000 . • To encode 1 in binary, we write 0001 . • Given the binary codes for each decimal digit, we concatenate all the codes together (in order), e.g., 10000101100010000010001001010010 01000001 Monday, August 1, 2011 Transmitting your phone # • We then send this bit sequence over the network to Someone else....
View Full Document

This note was uploaded on 11/02/2011 for the course CSE 12 taught by Professor Gary during the Summer '08 term at UCSD.

Page1 / 92

L1 - CSE 12 Basic data structures and object-oriented...

This preview shows document pages 1 - 16. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online