1 Codification Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, 2013 Haydn: Streichquartett op 54.3 aus Largo,

Slides:



Advertisements
Ähnliche Präsentationen
Relative Clauses.
Advertisements

Polynome und mehrfache Nullstellen
Wie wir in „Mathematik für alle“ die Welt der Mathematik sehen
Codierung Haydn: Streichquartett op 54.3 aus Largo, Violine I
How many of these flags do you recognise? Work with your partner to see if you know many – write them down - some will crop up shortly!
Die Schulregeln (the school rules) Kein Graffiti in der Schule!
Ziel: To learn how to form the future tense in German.
Verbs Used Impersonally With Dative Deutsch I/II Fr. Spampinato.
Der Einstieg in das Programmieren
Wozu die Autokorrelationsfunktion?
Time Notes.
Abkürzungen mit Präpositionen German Prepositional Contractions
You need to use your mouse to see this presentation
Die Geschichte von Rudi
Relative Clauses… Putting sentences together in harmony.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
What do you see? Looks like President Clinton and Vice President Gore, right? Wrong... It's Clinton's face twice, with two different haircuts.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
Wie komme ich zu..... ? (how do I get to....?)
You need to use your mouse to see this presentation © Heidi Behrens.
This presentation can be used for revision and use of vocabulary or grammar in a different and engaging way with either KS3 or 4 pupils. The revision.
DATIV Ich schreibe meinem Bruder einen Brief.
By: Jade Bowerman. German numbers are quite a bit like our own. You start with one through ten and then you add 20, 30, 40 or 50 to them. For time you.
STARTER Was passt nicht?
Adjectiv Endungen Lite: Adjective following articles and pre-ceeding nouns. Colors and Clothes.
I will be able to use the correct possessives “mein” und “dein”. (Buch Seite 82)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Modalverben.
Coordinating Conjunctions Why we need them & how to use them deutschdrang.com.
 Every part in a sentence has a grammatical function. Some common functions are: - Subject - Verb - Direct object / accusative object - Indirect object.
Responsorium 14 Mathematik für alle
Konjunktionen & Indirekte Fragen {Conjunctions}
Noch mehr Funktionen Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg,
Deutsch Eins
Mein Arbeitspraktikum. Today we are learning to talk about work experience we have done, giving facts, details and opinions The bigger picture: We are.
Kapitel 4 Alles für die Schule Lernziel: Formation of Plural.
Die Fragen Wörter Wer? Was? Wann?.
I will be able to use the accusative pronouns in a sentence (Buch Seite 200)
You need to use your mouse to see this presentation © Heidi Behrens.
Name: ___________________________________________ Hör verstehen: (______/10) Mark whether you hear a “du”, an “ihr” or a “Sie” command Wer sagt.
A Quick Review. What are the four prepositions used most commonly in this chapter to talk about vacations. an auf in nach.
DATIVE has the following forms:
Montag den 8. Juni Lernziel:- To launch a project and receive results.
Die Kleidung Part One Teachers please refer to the notes under the slides.
Kapitel 4 Grammar INDEX 1.Ordinal Numbers 2.Relative Pronouns and Relative Clauses 3.Conditional Sentences 4.Posessive: Genitive Case.
Kapitel 4: Mein Tag Sprache.
Imperfekt (Simple Past) Irregular or strong verbs
Phonics Lessons Grade 1 Adapted from: Phonics Lessons by Gay Su Pinnell & Irene C. Fountas Grade 1, page 431 caatt If you knowIt helps you know.
Kapitel 2 Grammar INDEX 1.Subjects & Verbs 2.Conjugation of Verbs 3.Subject Verb Agreement 4.Person and Number 5.Present Tense 6.Word Order: Position of.
Kapitel 7 Grammar INDEX 1.Comparison 2.Adjectives 3.Adjective Endings Following Ein-Words.
Here‘s what we‘ll do... Talk to the person sitting in front of you. Introduce each other, and ask each other questions concerning the information on your.
What’s the odd one out and why? TeeBananenBier Orangensaft WasserMilsch KaffeeFisch PizzaSalatSchokoladeSandwich SchokoladeOrangenZitronenApfel PizzaFischOrangeChips.
Word order: 1.In a main clause the VERB is the second idea: Helgakommteben aus der Bäckerei This may not be the second word Meiner Meinung nachsind Hobbys.
G Stunde DEUTSCH 1.  Unit: Family & homeFamilie & Zuhause  Objectives:  Phrases about date, weather and time-telling  Family and family relations.
1 Codierung Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Haydn: Streichquartett op 54.3 aus Largo,
Interrogatives and Verbs
Volume 1, Chapter 8.
Deutsch I Numbers….
You need to use your mouse to see this presentation
Deutsch 1 Die Familie Frau Spampinato
Das Taschentuch-Spiel
You need to use your mouse to see this presentation
Wie viel Uhr ist es? Telling Time.
You need to use your mouse to see this presentation
DATIV Ich schreibe meinem Bruder einen Brief.
Codification Haydn: Streichquartett op 54.3 aus Largo, Violine I
School supplies.
 Präsentation transkript:

1 Codification Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Haydn: Streichquartett op 54.3 aus Largo, Violine I

2 Codification Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg,

3 EAN Europäische Artikelnummer Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Ziffern 1 und 2 codieren das Hersteller-Land. Ziffer 3 bis 12 codieren Händler und Ware. Die letzte Ziffer ist eine Prüfziffer.

4 EAN European article number Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, digits 1 and 2 encode the country of the producer digits 3 and 12 encode the merchant and article The last digit is a proof number.

5 EAN Europäische Artikelnummer Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, This ist is made by pupils, 12 year old

6 EAN European article number Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, The proof number has to be the complement to the next tenner. proof number ok

7 EAN Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Switching of digits is often detected by the proof number

8 EAN Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Switching of digits is often detected by the proof number but not noticed are the pairs: twisted Solution are x-y=5 x=y+5

9 ISBN out of date Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Switching of digits is always detected by the proof number. In the last years one changed the type of the book number new: ISBN-13

10 ISBN ist veraltet Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, neu: ISBN-13 sie ist eine EAN Die alte Buchnummer ohne Prüfziffer 978 steht immer am Anfang der Buch-EAN Zifferndreher werden immer von der Prüfziffer gemerkt.Der Grund: 11 ist Primzahl

11 ISBN out of date Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, new: ISBN-13 is a EAN The old book number without proof number 978 always in front new EAN poof number Switching of digits is always detected by the proof number.The reason: 11 is a prime

12 ISBN out of date Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, new: ISBN-13 is a EAN proof number must be: 4 Switching of digits is always detected by the proof number. The reason: 11 is a prime

13 EAN Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, The leading digit is encoded by the sequence in the first column. 4 -> ABA ABB …… parity 1parity 0 Using the parity the reading direction of the bar code is identifiable. parity 0

14 EAN Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, parity= number of 1‘s mod 2 parity 1parity 0 The leading digit is encoded by the sequence in the first column. 4 -> ABA ABB

15 Fehlerkorrigiende Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Wir betrachten binäre Codewörter aus 0 und 1 Die Parität eines Codewortes ist 0, wenn das Wort eine gerade Anzahl 1 hat 1, wenn das Wort eine ungerade Anzahl 1 hat Der Hammingabstand zweier Codewörter ist die Anzahl der unterschiedlich besetzten Stellen

16 Bug Corrective Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, We look at binary code words made of 0 and 1 The parity p of a code word is 0, when the word has an even number of 1‘s 1 when the word has an odd number of 1‘s The Hamming distance h between two code words is the number of differently occupied positions

17 Fehler-erkennende Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Wir betrachten binäre Codewörter mit 3 Bit. 010

18 Bug Corrective Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, We look at binary code words with 3 bits. Four words are allowed. h=2 for all pairs of words The code with this four words is able to recognize single-bit bugs. But they can‘t be corrected. 010

19 Fehlerkorrigiende Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Code mit Hammingabstand mindestens 3 IIIOIIOI IOOIIIOO IOOIOOII Nun tritt ein einziger Fehler auf. IOOIOIOO Den Fehler entdeckt man dadurch, dass es kein zulässiges Wort ist. Die letzte Ziffer ist oft die Parität des davor stehenden Wortes. Dann sieht man den Fehler an der falschen Parität. Das falsche Wort hat vom mittleren Codewort den Hammingabstand 1. Von den anderen Codewörtern hat es den Hammingabstand mind. 2. Man nimmt dieses „nahe“ Codewort anstelle des falschen. IOOIIIOO wird jetzt nach dem Fehler genommen Nun ist alles wieder richtig. Erlaubte Codewörter

20 Bug Corrective Codes Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Code with Hamming distance at least 3 IIIOIIOI IOOIIIOO IOOIOOII Now a single-bit bug occurs IOOIOIOO The bug is discoverd, because this is not an allowed word.. Often the last digit is the parity of the Word in front. Then you find the bug, because the parity is false. The false word has Hamming distance 1 from the word in the middle (above ). The Hammning distance to the other code words is at least 2. One takes this „nearest“ code word instead of the false word. IOOIIIOO is now taken for futher usage. Now every thing is correct again. allowed code words

21 Hamming-Code Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Richard Hammming fand 1948 als Erster einen fehlerkorrigierenden Code. Wir betrachten einen Code aus 4 Bits. Alle 2^4=16 möglichen Wörter sind erlaubt. Gesendet wird: Die Nachricht: IOII

22 Hamming Code Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Richard Hammming was in the first to invent a bug corrective code. We look at a code with 4 bits. All 2^4=16 possible words are allowed. will be transmitted The message: IOII

23 Hamming-Code Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Nachricht. IOII Zu je vier eigentlich zu sendenden Bits der Nachricht werden drei „Prüfbits" berechnet und angehängt. Das Kreisbild verdeutlicht das Vorgehen: Schreibe die Nachricht in die blauen Felder 1,2,3,4. Schreibe in die grünen Felder die Parität der im zugehörigen Kreis stehenden Bits. Hänge die Bits der Felder 5,6,7 an die Nachricht an. Der Empfänger trägt die sieben Bits in die Felder ein und prüft, ob alles richtig ist. Gesendetes Wort IOIIOIO

24 Hamming Code Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, message. IOII The message, which we will send, is splitted in packages of four bits. We calculate tree proof bits for every four message bits and attach them to the four bits. The following picture with the circles explains the method: The regions are numbered as shown. Write the four message bits in the blue inner regions 1, 2, 3, 4 Write in the green regions 5, 6, 7 the parity of the bits in the correspondent circles. Attach the bits in regions 5, 6, 7 to the four message bits. The receiver puts all seven bits in the three circles and checks if all is correct. transmitted word IOIIOIO

25 Funktioniert der Hamming-Code ? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Nachricht. IOII Gesendetes Wort IOIIOIO Sendekanal Empfangenes Wort OOIIOIO mit Fehler Wir betrachten nur den Fall: genau ein Fehler.

26 Does the Hamming Code Work? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, message. IOII sent word IOIIOIO transmission channel We only look at the case: only one single-bit bug. receiver detect: 5 and 6 are false. He changes the bit at the position 1. He takes: IOIIOIO all right received word OOIIOIO with bug

27 Funktioniert der Hamming-Code ? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Gesendetes Wort IOIIOIO Empfangenes Wort IOIOOIO IOI I I IO Fehler Platz 4 Fehler Platz 5 Aufgabe: Sie empfangen: OIOIOOI. Was ist das richtige Wort?

28 Does the Hamming Code Work? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, sent word IOIIOIO received word IOIOOIO IOI I I IO bug at position 4 bug at position 5 Problem: You receive: OIOIOOI. What is the correct word?

29 Funktioniert der Hamming-Code ? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, Gesendetes Wort ??????? OIOIOOI Aufgabe: Sie empfangen: OIOIOOI. Was ist das richtige Wort?

30 Does the Hamming Code Work? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg, sent word ??????? OIOIOOI Yes, yet the old Hamming code can correct single-bit bugs automatically. Today one has improved bug corrective codes.

31 Bug Corrective Codes or Why Does the CD not Crackle? Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg,

32 Fehlerkorrigierende Codes oder warum CD nicht knackt Prof. Dr. Dörte Haftendorn, Leuphana Universität Lüneburg,