\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{kim\_charland} \pdfinfo{ /Title (seg2105-midterm.pdf) /Creator (Cheatography) /Author (kim\_charland) /Subject (SEG2105 Midterm Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A331A3} \definecolor{LightBackground}{HTML}{F9F2F9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{SEG2105 Midterm Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{kim\_charland} via \textcolor{DarkBackground}{\uline{cheatography.com/95371/cs/20759/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}kim\_charland \\ \uline{cheatography.com/kim-charland} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 11th October, 2019.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{1.59264 cm} x{3.38436 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Types of Software}} \tn % Row 0 \SetRowColor{LightBackground} Temps-réel & Réaction immédiate requise et environnement souvent contraignant \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Traitement données & Fiabilité des résultats et sécurité dans l'accès aux données \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Game & Games to users \tn % Row Count 7 (+ 1) % Row 3 \SetRowColor{white} Mobile & Built for a specific platform, such as iOS for the Apple iPhone or Android for a Samsung device \tn % Row Count 11 (+ 4) % Row 4 \SetRowColor{LightBackground} Web & Accessed via the internet browser and will adapt to whichever device you're viewing them on \tn % Row Count 15 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.24425 cm} x{3.73275 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Types of Projects}} \tn % Row 0 \SetRowColor{LightBackground} Correctif & Projet qui corrige un défaut \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Adaptif & Modifications à apporter au système de façon à tenir compte de changements dans le système d'opération, les données, les règles, etc \tn % Row Count 6 (+ 5) % Row 2 \SetRowColor{LightBackground} \seqsplit{Amélioration} & Ajout de nouvelles options \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} Perfectif & Changements apportés à la structure interne du programme \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{Greenfield} & Nouveau développement \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.09494 cm} x{3.88206 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Catégories}} \tn % Row 0 \SetRowColor{LightBackground} Sur mesure & Client spécifique \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{Générique} & Vendu sur le marché \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Embarqué} & Scellé dans du matérial électronique et difficile à modifier \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Conception}} \tn % Row 0 \SetRowColor{LightBackground} Cadre \seqsplit{d'application} & Un cadre d'applications est un logiciel général dont certains éléments demeurent ouverts \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Travaux d'assemblage & Ils impliques la mise ensemble de composantes fonctionnelles existantes \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Activités}} \tn % Row 0 \SetRowColor{LightBackground} Déf. \& spéc. des exigences & Analyse de domaine, définition de problème, cueillette des besoins, analyse des besoins, spécification formelle des exigences \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} Conception & Décider comment la technologie sera utlisée. Déterminer ce qui sera réalisé par le logiciel et par le matériel—Mettre au point l'architecture du système, la définition des sous-systèmes et de leurs \seqsplit{interactions—Élaboration} des éléments internes de chaque \seqsplit{sous-système—Conception} des interfaces usagers et des bases de données \tn % Row Count 22 (+ 16) % Row 2 \SetRowColor{LightBackground} Modélisation & Créer des représentations du logicial et de son domaine d'application. Modéliser - son utlisation - sa structure - sa dynamique et son comportement \tn % Row Count 29 (+ 7) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Programmation} \tn % Row Count 30 (+ 1) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Activités (cont)}} \tn % Row 4 \SetRowColor{LightBackground} Assurance de qualité & Révision, inspections, mise à l'épreuve \tn % Row Count 2 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Déploiement} \tn % Row Count 3 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Gestion du processus} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.59264 cm} x{3.38436 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qualité}} \tn % Row 0 \SetRowColor{LightBackground} Aspects & Convivialité, efficacité, fiabilité, maintenabilité, réutilisabilité \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Parties impliquées & Utilisateurs, clients, développeurs, gestionnaires \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Conflicts & Efficiency vs maintainability \& reusability \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4577 cm} x{2.05965 cm} x{2.05965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Methodologies}} \tn % Row 0 \SetRowColor{LightBackground} Agile & Continuous iteration of development and testing in the software development process & P: focused on client process, self-organized teams, quality maintenance, reduces risk in development process C: no bueno for small development projects, il faut un expert, cost of implementation is higher and project can easily go off track \tn % Row Count 14 (+ 14) % Row 1 \SetRowColor{white} \seqsplit{Waterfall} & Followed in the sequential order, and so project development team only moves to next phase of development or testing if the previous step completed successfully & P: easiest to manage, works well for small projects, faster delivery, process and results are well documented, easily adaptable C: no bueno for large projects, less effective if requirements are not well established, very difficult to move back steps, high chance of bugs being found late \tn % Row Count 30 (+ 16) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Oientation}} \tn % Row 0 \SetRowColor{LightBackground} Paradigme procédural & Organisation autour de la notation des procédures ABSTRACTION DES PROCÉDURES: fonctionnne bien lorsque les données sont simples ABSTRACTION DES DONNÉES: grouper ensemble les données décrivant une même entité, aide à réduire la complexité \tn % Row Count 11 (+ 11) % Row 1 \SetRowColor{white} Paradigme orienté object & Les abstractions de procédures sont placées à l'intérieur des abstractions de données. es objets sont des instances de classes:—Ce sont des abstractions de données—Contenant des abstractions de procédures \tn % Row Count 21 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Diagrammes}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/kim-charland_1570828504_15084493877125_C03p01ch03-procedural-vs-oop.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Objets}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Définition} & Ensemble structuré de données s'exécutant dans un logiciel \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \seqsplit{Propriétés} & Représentant son état \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Comportement} & -déinissant ses actions et réactions -simulant parfois le comportement d'un objet du monde réel \tn % Row Count 9 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Classes}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Définition} & Unité d'abstraction dans un programme orienté-objet \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Instances & Des objets similaires que la classe représente \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Module logiciel & -Décrivant la structure de ses instances \seqsplit{(propriétés)—Contenant} des méthodes définissant leur comportement \tn % Row Count 8 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}