\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{Bayan (Bayan.A)} \pdfinfo{ /Title (my-comptia-mistake-compilation.pdf) /Creator (Cheatography) /Author (Bayan (Bayan.A)) /Subject (My CompTIA Mistake compilation 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}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \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{My CompTIA Mistake compilation Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Bayan (Bayan.A)} via \textcolor{DarkBackground}{\uline{cheatography.com/122738/cs/34801/}}} \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}Bayan (Bayan.A) \\ \uline{cheatography.com/bayan-a} \\ \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 20th October, 2022.\\ 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}{Virtualisation}} \tn % Row 0 \SetRowColor{LightBackground} Type I (Bare metal) & Hypervisor is installed directly on the computer and interacts directly with its hardware \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Type II & Hypervisor runs as a software application within a host operating system \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} \seqsplit{Virtualisation:} & Multiple systems can be installed and run simultaneously on a single computer. No single specific operating system is required as a platform component \tn % Row Count 13 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.18988 cm} x{2.78712 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Common Computing Devices}} \tn % Row 0 \SetRowColor{LightBackground} Would laptops make good servers? & Laptops have limited options to expanding resources and storage, and therefore cannot compare to the performance of a full rack server, for example. A laptop is also not meant to run nonstop for long periods such as months or years. Overheating and battery life will be problematic \tn % Row Count 13 (+ 13) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.74655 cm} x{4.23045 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Using a Workstation}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Alt-Tab} & show previews of the window and allow a user to quickly switch between them \tn % Row Count 3 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Using an OS}} \tn % Row 0 \SetRowColor{LightBackground} Open Source OS: & Linux, Chromium, or Android & \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Commercial OS & Windows \& MacOS & \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Key \seqsplit{Combinations:} & {\bf{CTRL + F50}} & force the browser to ignore any locally cached files when refreshing a page \tn % Row Count 11 (+ 6) % Row 3 \SetRowColor{white} & {\bf{Ctrl and pressing either + or - }} & instruct the browser to either zoom in or zoom out. \tn % Row Count 15 (+ 4) % Row 4 \SetRowColor{LightBackground} & {\bf{Holding Ctrl + Alt + Del }} & bring up a page for account controls and locking the Windows session. This is not a browser hotkey combination. \tn % Row Count 24 (+ 9) % Row 5 \SetRowColor{white} & {\bf{ALT + F4}} & will invoke a Windows function that closes the currently open window. \tn % Row Count 30 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Using an OS (cont)}} \tn % Row 6 \SetRowColor{LightBackground} Windows 10: & Windows 10 \seqsplit{Enterprise/Windows} 10 Enterprise (Long Term Servicing Channel) is similar to the Pro edition, but it is designed for licensing by large businesses. & \tn % Row Count 13 (+ 13) % Row 7 \SetRowColor{white} & Windows 10 Pro is designed for medium to large sized businesses, and comes with networking and management features designed to allow network \seqsplit{administrators} more control over each client device. & \tn % Row Count 28 (+ 15) % Row 8 \SetRowColor{LightBackground} & Windows 10 Home is designed for domestic small/home office business use. & \tn % Row Count 34 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Using an OS (cont)}} \tn % Row 9 \SetRowColor{LightBackground} & Windows 10 \seqsplit{Education/Pro} Education has some of the same features as the Enterprise and Pro editions, but it is designed for licensing by schools and colleges. & \tn % Row Count 13 (+ 13) % Row 10 \SetRowColor{white} Shell: & The "shell" provides an interface between the user and the computer. Early operating systems for PCs utilized command-line interfaces or simple menu systems. Modern computers utilize a Graphical User Interface (GUI) and a command-line interface. & \tn % Row Count 32 (+ 19) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.55618 cm} x{1.51041 cm} x{1.51041 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Using an OS (cont)}} \tn % Row 11 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{Your first step to open a file located on a network server is to open the Network object from Explorer and locate the server (computer) the file is hosted on.} \tn % Row Count 4 (+ 4) % Row 12 \SetRowColor{white} Which of the following methods can be used to open the Computer Management console? (Select all that apply.) & Right-click the This PC object in File Explorer. & \tn % Row Count 13 (+ 9) % Row 13 \SetRowColor{LightBackground} & Right-click the Start button. & \tn % Row Count 16 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Managing an OS}} \tn % Row 0 \SetRowColor{LightBackground} UAC & protection feature in windows that prevents scripts or other software from performing administrative tasks without authorization. Using UAC, the user must input their credentials or click through an authorization prompt before configuration changes can be made. \tn % Row Count 14 (+ 14) % Row 1 \SetRowColor{white} GUI & A GUI is any interface that is controlled by a mouse, keyboard, and/or touchscreen. \tn % Row Count 19 (+ 5) % Row 2 \SetRowColor{LightBackground} Command Line Interface (CLI) & allows users to interface with the operating system without using a Graphical User Interface (GUI). It is not recommended for use by a standard user. \tn % Row Count 27 (+ 8) % Row 3 \SetRowColor{white} Microsoft Management Console (MMC) & provides a framework for building management consoles. The Service snap-in allows you to configure service properties as well as start and stop services. \tn % Row Count 35 (+ 8) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Managing an OS (cont)}} \tn % Row 4 \SetRowColor{LightBackground} Task Manager & allows only the starting, stopping, or restarting of services. \tn % Row Count 4 (+ 4) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Administrators can assist you in changing your password, but you should be able to do that on your own.} \tn % Row Count 7 (+ 3) % Row 6 \SetRowColor{LightBackground} Linux equivalent of Task Scheduler & Cron \tn % Row Count 9 (+ 2) % Row 7 \SetRowColor{white} Pagefile (swap file/virtual memory file) & It's a file that Windows uses as Virtual Memory. Virtual Memory is disk space Windows uses when it runs out of physical memory, or RAM. \tn % Row Count 16 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Programming and App Development}} \tn % Row 0 \SetRowColor{LightBackground} What is an interpreted programming language? & Interpreted languages do not need to be compiled because the code gets converted to machine code at runtime \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} Pseudocode & a code-like language that does not use a specific syntax for a particular programming language. It contains many of the same features (like variables, functions, and conditional statements) but it is generic and can be used as a guide to developing the actual source code. \tn % Row Count 20 (+ 14) % Row 2 \SetRowColor{LightBackground} conditional branch & Branches are instructions to your computer to execute a different sequence of instructions based on a condition. In this scenario, the conditional branch being used is called an IF-THEN-ELSE statement. \tn % Row Count 31 (+ 11) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Programming and App Development (cont)}} \tn % Row 3 \SetRowColor{LightBackground} vector & programming concept that allows for a variable size container. Vectors can grow or shrink in size as elements are added or removed. \tn % Row Count 7 (+ 7) % Row 4 \SetRowColor{white} markup language & A markup language is not considered a programming language. It uses nested tags within a document to describe its structure and contents. \tn % Row Count 14 (+ 7) % Row 5 \SetRowColor{LightBackground} Compiled language & like C++, use syntax to perform actions which are compiled and linked resulting in an executable file. \tn % Row Count 20 (+ 6) % Row 6 \SetRowColor{white} loop & a sequence of instructions that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting an item of data and changing it, and then some condition is checked such as whether a counter has reached a prescribed number. \tn % Row Count 34 (+ 14) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Programming and App Development (cont)}} \tn % Row 7 \SetRowColor{LightBackground} advantage of using a server over a workstation & If data is stored on the server and not on the local workstation, it is easier to apply access controls and to back it up. \tn % Row Count 7 (+ 7) % Row 8 \SetRowColor{white} function & will do something and return a value to the main program \tn % Row Count 10 (+ 3) % Row 9 \SetRowColor{LightBackground} procedure & A procedure just "does something" without returning a value to the main program. \tn % Row Count 14 (+ 4) % Row 10 \SetRowColor{white} identifier & used in a program to access a program element, such as a stored value, class, method, or interface. For example, you might assign the identifier FirstName to a stored value that contains a user's first name. In essence, an identifier is a label for something within your program. If your identifier stores data, then it will be either a variable or a constant. \tn % Row Count 33 (+ 19) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Programming and App Development (cont)}} \tn % Row 11 \SetRowColor{LightBackground} define an object? & Attributes, methods, and properties. Attributes are values and data types that define the object. Methods define what you can do to an object. Properties represent an alternative way of accessing a field publicly. \tn % Row Count 11 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Batch files, Windows PowerShell scripts, and VB Scripts are the three scripting options commonly used in Windows 10 to perform administrative activities and other tasks.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}