\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lmodern}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
% Priklad 4
% =========
\section*{Jak vytvořit tabulku}
\begin{center}
\begin{tabular}{|c|c|}
\hline 
Označení & Počet \\ 
\hline 
ACD & 5\\ 
\hline 
DAW & 4\\ 
\hline 
DDA & 40\\ 
\hline 
\end{tabular} 
\end{center}

\end{document}