• Non ci sono risultati.

(1) Implement the Calculation of the fiscal code control letter in Magma.

N/A
N/A
Protected

Academic year: 2021

Condividi "(1) Implement the Calculation of the fiscal code control letter in Magma."

Copied!
1
0
0

Testo completo

(1)

EXERCISES CODING THEORY SHEET 1

(1) Implement the Calculation of the fiscal code control letter in Magma.

Generate random examples and estimate the probability to obtain a given letter. Is it uniform? How would you change the tables in https://en.wikipedia.org/wiki/Italian_fiscal_code_card in order to get a uniform probability distribution?

(2) Implement in Magma the 1-error detecting code obtained encoding numbers modulo an integer n (the most exploited example being n = 10) and checking that a + b = c reducing modulo n.

(3) List all elements of the original binary Hamming code C of length 7 and dimension 4.

(4) Define Supp(c) = {s : c

s

6= 0}. Determine min{|Supp(c)| : c ∈ C}.

(5) Let C

min

be the set all vectors of C realizing the above defined min- imum. Let B = {Supp(c) : c ∈ C

min

}. Show that B ∩ B

0

contains exactly one element for B, B

0

∈ B.

E-mail address: andrea.previtali@unimib.it Webpage: http://www.matapp.unimib/~prevital

Date: November 14, 2016.

Andrea Previtali. c

1

Riferimenti

Documenti correlati

Anche in questo test, i bambini con DSL hanno mostrato molta difficoltà nella ripetizione delle frasi relative contenenti i pronomi ‘cui’ e ‘quale’, confermando quindi le

Comparison of the cloud shape parameter k as a function of interaction strength for mean-field theory (solid line) and experimental data points (±).. good agreement with

Rispetto alla salute mentale sono state identificate distinte categorie di strumenti on-line: siti web, che includono sia risorse con informazioni stati- che sia programmi

We fill this gap by providing fresh new tests on the probability to start exporting into or to exit from foreign markets if firms have undertaken product, process and

Reply to the letter to the editor ‘European cancer mortality predictions for the year 2019 with focus on breast cancer, by Malvezzi M et al’ by Marsden and Hamoda, On behalf of

Methods: 25 patients long-term childhood lymphoblastic and myeloid acute leukaemia survivors followed at Pediatric Onco-Hematology, Stem Cell Transplantation and Cellular

Federico appare radicale, ed è ancora una volta fondata sul presupposto che la mancata parola del principe sia motivata esclusivamente dall’interesse privato, come dimostra il

E così, per come è venuto delineandosi dall’Unità in poi, solo un affanno di essere Per Bene può spiegare perché il Teatro di Prosa - termine ridicolo, fra l’altro, di fronte a