2022-2023/SNT/03_Internet/2E_encodage.tex

48 lines
976 B
TeX

\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}
\author{Benjamin Bertrand}
\title{Internet - Cours}
\date{Janvier 2023}
\pagestyle{empty}
\newcommand\tableEncodage{%
\begin{center}
\small
\setlength{\tabcolsep}{2pt}
\begin{tabular}{|c|*{13}{c|}}
\hline
Caractère & a & b & c & d & e & f & g & h & i & j & k & l & m \\
\hline
Codage & 00000 & 00001 & 00010 & 00011 & 00100 & 00101 & 00110 & 00111 & 01000 & 01001 & 01010 & 01011 & 01100 \\
\hline
\hline
Caractère & n & o & p & q & r & s & t & u & v & w & x & y & z\\
\hline
Codage & 01101 & 01110 & 01111 & 10000 & 10001 & 10010 & 10011 & 10100 & 10101 & 10110 & 10111 & 11000 & 11001 \\
\hline
\end{tabular}
\end{center}
}
\begin{document}
\tableEncodage
\vfill
\tableEncodage
\vfill
\tableEncodage
\vfill
\tableEncodage
\vfill
\tableEncodage
\vfill
\tableEncodage
\vfill
\tableEncodage
\vfill
\end{document}