|
|
@ -6,10 +6,12 @@
|
|
|
|
\usepackage[a4paper,hmargin=20mm,vmargin=30mm]{geometry}%\usepackage{fullpage}
|
|
|
|
\usepackage[a4paper,hmargin=20mm,vmargin=30mm]{geometry}%\usepackage{fullpage}
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage{comment}
|
|
|
|
\usepackage{comment}
|
|
|
|
\usepackage{fancyhdr}% fancy header
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage{adjustbox}
|
|
|
|
\usepackage{adjustbox}
|
|
|
|
\usepackage{slashbox}
|
|
|
|
\usepackage{slashbox}
|
|
|
|
%\usepackage{times}
|
|
|
|
%\usepackage{times}
|
|
|
|
|
|
|
|
\usepackage{amsmath}
|
|
|
|
|
|
|
|
\usepackage{amsthm}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{tikz,pgflibraryarrows,pgffor,pgflibrarysnakes}
|
|
|
|
\usepackage{tikz,pgflibraryarrows,pgffor,pgflibrarysnakes}
|
|
|
@ -21,51 +23,22 @@
|
|
|
|
\usepackage{fancyvrb}
|
|
|
|
\usepackage{fancyvrb}
|
|
|
|
|
|
|
|
|
|
|
|
\fancypagestyle{monstyle}{
|
|
|
|
\fancypagestyle{monstyle}{
|
|
|
|
%\fancyhead{}
|
|
|
|
|
|
|
|
\renewcommand{\headrulewidth}{1pt}
|
|
|
|
\renewcommand{\headrulewidth}{1pt}
|
|
|
|
%% %\renewcommand{\footrulewidth}{0.4pt}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% \fancyhead[LE]{\slshape \thepage/ \pageref{LastPage}}
|
|
|
|
|
|
|
|
%% \fancyhead[RO]{\slshape \thepage/ \pageref{LastPage}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%\fancyhf{}
|
|
|
|
|
|
|
|
%\fancyhead[LE]{\slshape LE}
|
|
|
|
|
|
|
|
%\fancyhead[CE]{\slshape CE}
|
|
|
|
|
|
|
|
%\fancyhead[RE]{\slshape RE}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\fancyhead[LO]{\bfseries 2019-2020 BD PLS/SQL\rightmark}
|
|
|
|
\fancyhead[LO]{\bfseries 2019-2020 BD PLS/SQL\rightmark}
|
|
|
|
%\fancyhead[CO]{\slshape APF}
|
|
|
|
|
|
|
|
\fancyhead[RO]{\bfseries ~\leftmark }
|
|
|
|
\fancyhead[RO]{\bfseries ~\leftmark }
|
|
|
|
|
|
|
|
\fancyfoot[CO,CE]{}
|
|
|
|
%% %\fancyfoot{}
|
|
|
|
|
|
|
|
% \fancyfoot[LE,RO]{}
|
|
|
|
|
|
|
|
\fancyfoot[CO,CE]{}%\slshape\thepage/\pageref{LastPage}}
|
|
|
|
|
|
|
|
%% %\fancyfoot[LO,RE]{\small\slshape \ddmmyyyydate version du \today}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
% \pagestyle{fancy}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{amsmath}
|
|
|
|
|
|
|
|
\usepackage{amsthm}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{exercice}{Exercice}
|
|
|
|
\newtheorem{exercice}{Exercice}
|
|
|
|
|
|
|
|
|
|
|
|
\pagestyle{monstyle}
|
|
|
|
\pagestyle{monstyle}
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{amsmath}
|
|
|
|
|
|
|
|
\usepackage{amsthm}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\newcommand{\code}[1]{\texttt{#1}}
|
|
|
|
\newcommand{\code}[1]{\texttt{#1}}
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{boxedminipage}
|
|
|
|
\usepackage{boxedminipage}
|
|
|
|
\usepackage{setspace}
|
|
|
|
\usepackage{setspace}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\newsavebox\svbx
|
|
|
|
\newsavebox\svbx
|
|
|
|
\newif\ifcache
|
|
|
|
\newif\ifcache
|
|
|
|
\long\def\cache#1{\ \newline
|
|
|
|
\long\def\cache#1{\ \newline
|
|
|
@ -80,23 +53,16 @@
|
|
|
|
\par\smallskip}
|
|
|
|
\par\smallskip}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\cachefalse % version prof
|
|
|
|
%\cachefalse % version prof
|
|
|
|
%\cachetrue % version etudiant
|
|
|
|
\cachetrue % version etudiant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{center}
|
|
|
|
\begin{center}
|
|
|
|
NOM : \hfill Partiel \hfill~\\
|
|
|
|
NOM : \hfill Partiel \hfill~\\
|
|
|
|
PRENOM : \hfill 90 minutes, 90 points \hfill ~\\
|
|
|
|
PRENOM : \hfill 90 minutes, 90 points \hfill ~\\
|
|
|
|
GROUPE : \hfill Aucun document autoris\'e \hfill~\\
|
|
|
|
GROUPE : \hfill Aucun document autoris\'e \hfill~\\
|
|
|
|
\end{center}
|
|
|
|
\end{center}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{exercice}[Curseur (20 points)] \ \\
|
|
|
|
\begin{exercice}[Curseur (20 points)] \ \\
|
|
|
|
\begin{enumerate}
|
|
|
|
\begin{enumerate}
|
|
|
|
\item (3 points) Expliquer \`a quoi sert un curseur.
|
|
|
|
\item (3 points) Expliquer \`a quoi sert un curseur.
|
|
|
|