1 / 13

CS170 Discussion – 2009-04-24

CS170 Discussion – 2009-04-24. Bryce Boe. Outline. Announcements Pair Programming Project 3 Questions Partner Assignment. Announcements. Project 3 Deadline extended to Friday March 1 11:59 Late Point Deduction: 1% every 5 minutes New rules for making patches

landry
Download Presentation

CS170 Discussion – 2009-04-24

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS170 Discussion – 2009-04-24 Bryce Boe

  2. Outline • Announcements • Pair Programming • Project 3 Questions • Partner Assignment

  3. Announcements • Project 3 Deadline extended to Friday March 1 11:59 • Late Point Deduction: 1% every 5 minutes • New rules for making patches • http://cs.ucsb.edu/~bboe/dynamic/170_teams#patches

  4. Pair Programming • 2 people, 1 computer • Two Roles • Driver – in control of keyboard and thus for the code that get emitted • Observer – watches driver, plans the next steps

  5. Why am I talking about this? • Both members understand all changes, thus get more out of this course • Mutual benefit of shared knowledge and experience

  6. Hand-wavy statistics • ~15% less efficient than two independent developers • ~15% fewer bugs produced* • Increased enjoyment from of programming • http://collaboration.csc.ncsu.edu/laurie/Papers/XPSardinia.PDF

  7. “"It's like twice the brains with half the typing!” - Jeff Browne 1st year Ph.D.

  8. Source: Jonathan Kupferman 1st year MS

  9. Pair Programming Video http://agile.csc.ncsu.edu/pairlearning/educators.php Courtesy of North Carolina State University

  10. Project 3 – Realtime processes • A realtime process is one that does not get • Invoked via the syscall: enter_rt(clock_t period)

  11. Notes • Steps in getting message to scheduler • User process makes system call • System call is a wrapper around passing message to the appropriate server • The appropriate server then sends a message to the kernel (kernel call) • The scheduler now has it. • Round-robin scheduling of different priorities

More Related