DOC PREVIEW
Purdue ECE 462 - Lecture notes

This preview shows page 1-2-3-21-22-23-43-44-45 out of 45 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECE 462Object-Oriented Programmingusing C++ and JavaLecture 1Yung-Hsiang [email protected] 1 2Textbook• "Programming with Objects" by Kak, John-Wiley• source code from the book and errata: http://programming-with-objects.com/• many executable examples about theconcepts explained in the book• contains topics that are rarelydiscussed in other books, such asmultiple inheritance• provides frequent comparisonbetween C++ and Javaweek 1 3Experiment:Directed Problem Solving in Labs• This semester, we are conducting a pedagogical experiment, similar to DPS in ECE270 and 362.• All lectures are recorded and available on-line.• Every week = 2 lectures + 1 lab• There is no reduction of the course material because QA is handled outside lectures and no time is wasted setting up computer or demonstration of tools.• Lab sessions = office hours. Twelve (12) lab assignments are graded. Additional office hours are also available.• You can watch the lecture videos at any time. You are encouragedto watch the videos with classmates, pause, and discuss.week 1 4Advantages of DPS• Determine your own pace. You can watch is once or multiple times (asynchronous learning)• Encourage group study by watch the video together.• Promote self assessment, using the time you need.• Provide more flexibility in utilizing your time.• Enhance student-instructor interaction in labs• Accommodate the wide range of students’ background• Offer one-to-one attention to individual’s learning needs during the lab hoursweek 1 5Disadvantage of DPS• no classroom interaction with classmates ⇒ watch lecture videos with classmates• no classroom interaction with instructor ⇒ use lab hours• cannot ask questions during lectures ⇒ post questions in webct• Please provide frequent feedback and suggestions through webct discussion.• Demonstration of webct video and discussion.week 1 6Grading• 1% course evaluation (send email to instructor after completion)• 1% “technology and education” survey and discussion, organized by Professor Brown (in class, November)• 4% homework = 0.5% x 8, in webct• 12% lab assignments = 1% x 12• 20% programming assignments = 4% x 5• 10% exam 1 (in class, September 21, open book, no collaboration)• 14% exam 2 (in class, October 19, open book, no collaboration)• 18% exam 3 (in class, November 16, open book, no collaboration)• 20% final exam (TBD, open book, no collaboration) • > 85% A. 75% -85% B. 65% - 75% C ... after normalization by the highest score (if < 100%) in class• Each outcome is tested twice. Failing one or multiple outcomes in both tests ⇒ Fweek 1 7Bonus Points• Each person can receive up to 5 bonus points:– up to 4 points, provide 5 or more questions for each exam (posted in webct), one point per exam– up to 5 points, scribe the lectures (every word) and post it in webct, one point per lecture– 1 point: the two people that have the most postings in webct discussion before final exam• No other bonus point will be given.week 1 8Lab Assignments• Each person must submit 12 lab assignments. Only one submission can be accept per session.• Each assignment asks you to learn one programming tool and must be signed off by the teaching assistant. • You are welcome to use the lab hours even after you have submitted all assignments.• The instructor and the teaching assistant will be available in the lab sessions as office hours. Additional office hours can be arranged by appointment.• You can discuss lab assignments with anyone.week 1 9Programming Assignments• 3 regular programming assignments: 2 in Java and 1 in C++, each 4% of the grade.• 1 programming assignment either Java or C++, divided into 2 stages: planning and implementation, each 4%.• You can do each assignment alone or work with one classmate. Youmay change the group mate for each assignment. • You can discuss programming assignments with anyone but you are allowed to share code only with your group mate. In this course, all deadlines are firm (no extension and no exception for any reason, including but not limited to earthquake, tsunami, tornado, invasion by outer space aliens, power failure, fire, flood). • Each person has one 24-hour “free” late day. If you have a group mate, you two can have 2 free late days, use 2 days once, or oneday twice.week 1 10Programming Assignment 4• You (and your group mate) decide what to do. You can choose Java or C++ or both.• Requirements:– object-oriented– graphical user interfaces + networking– UML diagrams of all classes, at least 5 use cases, at least 5 sequence diagrams, at least 1 state diagram– schedule + testing plan and results• Submit a detailed plan on November 9. • Submit the program + documentation on November 30.week 1 11Exams(open book, open note, individual)• multiple choice, short answer (code statement), short code (several lines)• Final exam may contain several questions of slightly longer (about 10-20 lines) of code• “zero-tolerance” of dishonesty: violations will be reported to the associate head of ECE, no exception. We will use similarity checking in your assignments.• You can discuss lecture, homework, lab, or programming assignments with anyone. You can share code with only your programming partner (if you have one).• Regarding must be submitted by a written request (or email) within one week. You are not allowed to ask or discuss with TA about regrading.week 1 12Prerequisites• ECE 264• Know how to write and compile C programs in UNIX-based (e.g. Linux or Solaris) machines, such as gcc, gdb, and Makefile• Understand the concept of pointers in C• We will not emphasize syntax. Instead, we will spend more time on how to design and implement non-trivial programs.week 1 13Objects• Object: a “concrete and tangible” entity that can be separated with unique properties. Examples: you, your book, your car, my computer, Tom, Amy’s computer, a window on your computer desktop, your phone, Sam’s digital camera, Jennifer’s pager ... • Object can be "abstract": a triangle, a database, a browser ...• Each object is unique and can be identified using name, serial number, relationship with another object ...• Each object has a set of states, such as location, speed, size, address, phone number, on/off ...• Each object has unique behavior, such as ring (phone), accelerate and move (car), resize (window), take picture (camera),


View Full Document

Purdue ECE 462 - Lecture notes

Download Lecture notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?