Lecture 40 CSE 331 Dec 11, 2009. Announcements Solutions to HW 10 and graded HW 9 at end of the lecture Review session on Monday: see blog for details.

Slides:



Advertisements
Similar presentations
Noise, Information Theory, and Entropy (cont.) CS414 – Spring 2007 By Karrie Karahalios, Roger Cheng, Brian Bailey.
Advertisements

Error Control Code.
Foundations of Cryptography Lecture 10 Lecturer: Moni Naor.
Lecture 12 Layer 2 – Data Link Layer Protocols
CSE373: Data Structures & Algorithms Lecture 24: The P vs. NP question, NP-Completeness Nicki Dell Spring 2014 CSE 373 Algorithms and Data Structures 1.
CSE 461: Error Detection and Correction. Next Topic  Error detection and correction  Focus: How do we detect and correct messages that are garbled during.
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 510C August 27, 2006.
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
CSE 501 Research Overview Atri Rudra
Lecture 41 CSE 331 Dec 10, HW 10 due today Q1 in one pile and Q 3+4 in another I will not take any HW after 1:15pm.
Lecture 38 CSE 331 Dec 7, The last few days Today: Solutions to HW 9 (end of lecture) Wednesday: Graded HW 9 (?), Sample final, Blog post on the.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 21 Instructor: Paul Beame.
Lecture 40 CSE 331 Dec 8, Finals 3:35-6:05pm KNOX 104 Tue, Dec 14 Blog post on the finals up.
Lecture 21 CSE 331 Oct 20, Announcements Graded mid-term exams at the END of the lecture Sign up for blog posts/group scribe leader No more than.
CSE 501 Research Overview Atri Rudra
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 19, 2011.
Lecture 34 CSE 331 Nov 30, Graded HW 8 On Wednesday.
2/28/03 1 The Virtues of Redundancy An Introduction to Error-Correcting Codes Paul H. Siegel Director, CMRR University of California, San Diego The Virtues.
An Introduction to Cryptology and Coding Theory Discrete Math 2006.
CSE 326 Huffman coding Richard Anderson. Coding theory Conversion, Encryption, Compression Binary coding Variable length coding A B C D E F.
A Brief Introduction To The Theory of Computer Science and The PCP Theorem By Dana Moshkovitz Faculty of Mathematics and Computer Science The Weizmann.
1 Verification Codes Michael Luby, Digital Fountain, Inc. Michael Mitzenmacher Harvard University and Digital Fountain, Inc.
15-853Page :Algorithms in the Real World Error Correcting Codes I – Overview – Hamming Codes – Linear Codes.
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Hardness Results for Problems
An Introduction to Cryptology and Coding Theory Sarah Spence Adams Olin College Gordon Prichett Babson College
Complexity Theory: The P vs NP question Lecture 28 (Dec 4, 2007)
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
Great Theoretical Ideas in Computer Science.
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 14, 2013.
RESOURCES, TRADE-OFFS, AND LIMITATIONS Group 5 8/27/2014.
MA/CSSE 473 Day 11 Primality testing summary Data Encryption RSA.
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
CSE 3813 Introduction to Formal Languages and Automata Chapter 14 An Introduction to Computational Complexity These class notes are based on material from.
More Computational Complexity Shirley Moore CS4390/5390 Fall August 29,
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
Data and Computer Communications Chapter 6 – Digital Data Communications Techniques.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 28, 2014.
ENEE244-02xx Digital Logic Design Lecture 3. Announcements Homework 1 due next class (Thursday, September 11) First recitation quiz will be next Monday,
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 11, 2010.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
Great Theoretical Ideas in Computer Science.
CS717 Algorithm-Based Fault Tolerance Matrix Multiplication Greg Bronevetsky.
CSE373: Data Structures & Algorithms Lecture 22: The P vs. NP question, NP-Completeness Lauren Milne Summer 2015.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
Lecture 38 CSE 331 Dec 2, Review Sessions etc. Atri: (at least ½ of) class next Friday Jiun-Jie: Extra office hour next Friday Jesse: Review Session.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness and course wrap up.
CSE332: Data Abstractions Lecture 27: A Few Words on NP Tyler Robison Summer
Data Communications and Networking
Lecture 8 CSE 331. Main Steps in Algorithm Design Problem Statement Algorithm Problem Definition “Implementation” Analysis n! Correctness+Runtime Analysis.
Lecture 38 CSE 331 Dec 5, OHs today (only online 9:30-11)
Lecture 18 CSE 331 Oct 12, HW 5 due today Q1, Q2 and Q3 in different piles I will not take any HW after 1:15pm.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 20 CSE 331 July 30, Longest path problem Given G, does there exist a simple path of length n-1 ?
Lecture 18 CSE 331 Oct 6, Group/Algo registration deadline BOTH DUE WED by 11:59pm!
Lecture 33 CSE 331 Nov 20, HW 8 due today Place Q1, Q2 and Q3 in separate piles I will not accept HWs after 1:15pm Submit your HWs to the side of.
Cyclic Redundancy Check (CRC)
Section 7 Erasure Coding Overview
Detecting and Correcting Bit Errors
Objective of This Course
Lecture 37 CSE 331 Dec 1, 2017.
Error Detection Neil Tang 9/26/2008
Lecture 33 CSE 331 Nov 14, 2014.
Lecture 39 CSE 331 Dec 5, 2011.
Error Detection and Correction
Lecture 37 CSE 331 Dec 2, 2016.
Lecture 40 CSE 331 Dec 7, 2011.
Lecture 15 CSE 331 Oct 4, 2010.
Lecture 36 CSE 331 Nov 22, 2013.
Presentation transcript:

Lecture 40 CSE 331 Dec 11, 2009

Announcements Solutions to HW 10 and graded HW 9 at end of the lecture Review session on Monday: see blog for details Blog post on finals is up Turn in your HW 10 by 1:10PM

Finals Noon – 2:30 NSC 210 Wed, Dec 16

Longest vs Shortest Paths

Two sides of the “same” coin Shortest Path problem Can be solved by a polynomial time algorithm Is there a longest path of length n-1? Given a path can verify in polynomial time if the answer is yes

Poly time algo for longest path?

P vs NP question P : problems that can be solved by poly time algorithms NP : problems that have polynomial time verifiable witness to optimal solution Is P=NP? Alternate NP definition: Guess witness and verify!

Proving P ≠ NP Pick any one problem in NP and show it cannot be solved in poly time Pretty much all known proof techniques provably will not work

Proving P = NP Will make cryptography collapse Compute the encryption key! Prove that all problems in NP can be solved by polynomial time algorithms NP NP-complete problems Solving any ONE problem in here in poly time will prove P=NP!

If you are curious for more CSE431: Algorithms CSE 396: Theory of Computation

High level view of CSE 331 Problem Statement Algorithm Problem Definition “Implementation” Analysis Correctness+Runtime Analysis Data Structures Three general techniques

Now relax…

13 Coding Theory

14 The setup C(x) x y = C(x)+error x Give up Mapping C  Error-correcting code or just code  Encoding: x  C(x)  Decoding: y  X  C(x) is a codeword

15 Different Channels and Codes Internet – Checksum used in multiple layers of TCP/IP stack Cell phones Satellite broadcast – TV Deep space telecommunications – Mars Rover

16 “Unusual” Channels Data Storage – CDs and DVDs – RAID – ECC memory Paper bar codes – UPS (MaxiCode) Codes are all around us

17 Redundancy vs. Error-correction Repetition code: Repeat every bit say 100 times – Good error correcting properties – Too much redundancy Parity code: Add a parity bit – Minimum amount of redundancy – Bad error correcting properties Two errors go completely undetected Neither of these codes are satisfactory

18 Two main challenges in coding theory Problem with parity example – Messages mapped to codewords which do not differ in many places Need to pick a lot of codewords that differ a lot from each other Efficient decoding – Naive algorithm: check received word with all codewords

19 The fundamental tradeoff Correct as many errors as possible with as little redundancy as possible Can one achieve the “optimal” tradeoff with efficient encoding and decoding ?

20 Datastream Algorithms

21 Data Streams (one application) Databases are huge – Fully reside in disk memory Main memory – Fast, not much of it Disk memory – Slow, lots of it – Random access is expensive – Sequential scan is reasonably cheap Main memory Disk Memory

22 Data Streams (one application) Given a restriction on number of random accesses to disk memory How much main memory is required ? For computations such as join of tables Main memory Disk memory

Whatever your impression of the 331 IT WAS

Hopefully it was fun!

Thanks!