Lec1 - Lecture 1: Input / Output & Functions PIC 10B Todd...

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

View Full Document Right Arrow Icon
1 Lecture 1: PIC 10B Todd Wittman Syllabus Highlights s Tuesdays you meet your TA in discussion classroom. s Thursdays meet your TA in the PIC Lab. s Homework 40%, 2 Midterms 30%, Final 30% s Midterms are in class Mon 1/26 and Mon 2/23. s Final is Sun 3/15, 3:00-6:00pm. s This is a 5-credit course. So we expect a lot of you!
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Homework s Every HW has a programming and written part. r Program due Thursday 6:00pm, submitted electronically. r Written due Friday 11:00am, turned in at start of lecture. s You must use Microsoft Visual Studio 2005. s Microsoft software will be available for download after the 2nd week. Or bring 2 blank CDs and burn a copy at the PIC Lab. You can work at home, but you are responsible for correctly submitting the HW. s Homework will not be accepted by e-mail. s No late HW will ever be accepted. Period. Theme for PIC 10B s PIC 10A was about how to write C++. s PIC 10B is about algorithms and data structures. s An algorithm is a procedure or method for performing a certain task. r e.g. Searching a database, Adding a record to the database s A data structure is a container or database to store data. r e.g. Vectors, Arrays s We will learn several data structures, because there is no "perfect" data structure. r Linked Lists, Stacks, Queues, Binary Trees, Heaps, Hash Tables s The overall question for this course is: How do we handle a large amount of data?
Background image of page 2
3 Outline for PIC 10B s Week 1 : s Week 2-3 s Week 4 s Week 5 : Linked Lists s Week 6 : s Week 7 : Binary Trees s Week 8 : Sorting s Week 9-10 s Today : Ch. 1: The Basic C++ Program #include <iostream> using namespace std; int main( ) { cout << “May the force be with you!\n”; return 0; } s Inspiring, but this program is still missing something. .. Include libraries. Invoke standard namespace. Main routine: first place compiler looks. Return 0 if everything is A-OK.
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Comments /************************************* ** force.cpp ** Prints Obi-Wan's message. ** Obi-Wan Kenobi, 4/2/07
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/19/2011 for the course PIC 10B taught by Professor Wittman during the Winter '08 term at UCLA.

Page1 / 11

Lec1 - Lecture 1: Input / Output & Functions PIC 10B Todd...

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

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