Questions:

  1. Code:

    This is \textbf{very} important.

    Question: What is the primary visual effect on the word “very”?

  2. Code:

    \documentclass[12pt, a4paper]{article}

    Question: What are the two main effects defined by the options [12pt, a4paper]?

  3. Code:

    \begin{itemize}
      \item Apples
      \item Oranges
    \end{itemize}

    Question: How will “Apples” and “Oranges” be presented?

  4. Code:

    The value is $E=mc^2$.

    Question: How will the formula E=mc^2 be typeset relative to the surrounding text?

  5. Code:

    \[ \int_{a}^{b} f(x) \, dx \]

    Question: Describe the appearance and positioning of the integral formula.

  6. Code (Preamble):

    \usepackage{graphicx}

    Code (Body):

    \includegraphics[width=0.5\textwidth]{logo.png}

    Question: What is the primary action performed by the \includegraphics command?

  7. Code:

    \begin{enumerate}
      \item First step
      \item Second step
    \end{enumerate}

    Question: How will “First step” and “Second step” be presented?

  8. Code:

    \section{Introduction}\label{sec:intro}
    ...
    As discussed in Section~\ref{sec:intro}.

    Question: What will \ref{sec:intro} likely be replaced with in the output?

  9. Code:

    This line ends here.\\ And this starts on a new line.

    Question: What is the effect of the \\ command?

  10. Code (Inside tabular):

    Left & Center & Right \\ \hline

    Question: What visual element does \hline add within a table?

  11. Code:

    \textit{This text is emphasized.} \emph{So is this.}

    Question: What is the visual style applied to the text in both cases? Is there a semantic difference between \textit and \emph?

  12. Code (amsmath needed):

    \begin{align*}
      y &= mx + c \\
      E &= mc^2
    \end{align*}

    Question: Describe the alignment and numbering (or lack thereof) of these two equations.

  13. Code (Preamble):

    \newcommand{\R}{\mathbb{R}} % Requires amssymb

    Code (Body):

    The set of real numbers is $\R$.

    Question: What symbol will \R produce in the output (assuming amssymb is loaded)?

  14. Code (Inside figure):

    \caption{My Data Plot}
    \label{fig:myplot}

    Question: What are the two main functions of these two commands together?

  15. Code (booktabs needed):

    \begin{tabular}{lcc}
    \toprule
    Col1 & Col2 & Col3 \\
    \midrule
    A & B & C \\
    \bottomrule
    \end{tabular}

    Question: Describe the type of horizontal lines produced by \toprule, \midrule, and \bottomrule.

  16. Code (Beamer):

    \begin{frame}
      \frametitle{Overview}
      Content goes here.
    \end{frame}

    Question: What structural element does this code create in a Beamer presentation?

  17. Code (Beamer):

    \begin{block}{Important Point}
      Remember this!
    \end{block}

    Question: How is the text “Remember this!” visually structured or highlighted on the Beamer slide?

  18. Code (amsmath needed):

    $f(x) = \frac{x^2}{x-1}$

    Question: How will the fraction be displayed?

  19. Code:

    % This is a comment.
    Actual text appears here.

    Question: What part of this code snippet will be visible in the final PDF?

  20. Code (Preamble):

    \usepackage[margin=2cm]{geometry}

    Question: What aspect of the document layout does this command primarily affect?

  21. Code (Preamble):

    \newenvironment{warning}
      {\color{red}\textbf{Warning:}}
      {}

    Code (Body):

    \begin{warning} Be careful! \end{warning}

    Question: Describe the appearance of the text “Warning: Be careful!” in the output.

  22. Code (amsmath needed):

    \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}

    Question: What kind of mathematical structure is created, and what type of delimiters (brackets) does it use?

  23. Code (Beamer):

    Item 1 \pause Item 2

    Question: In a Beamer presentation, what is the effect of the \pause command between “Item 1” and “Item 2”?

  24. Code (TikZ needed):

    \draw (0,0) -- (2,1);

    Question: What graphical element is drawn by this TikZ command?

  25. Code (TikZ needed):

    \node at (1,1) {Label};

    Question: What does this TikZ command place at the coordinate (1,1)?

  26. Code (Preamble):

    \usepackage{hyperref}

    Question: What general functionality does loading the hyperref package add to elements like \ref and \cite in the PDF?

  27. Code (biblatex needed):

    \cite{Smith2023} argues...

    Question: What is the purpose of the \cite{Smith2023} command in the text?

  28. Code:

    {\Large This is larger text.} Normal text follows.

    Question: What is the effect of {\Large ... } on the enclosed text, and does it affect the text that follows?

  29. Code (amsmath needed):

    \begin{cases} x+y=1 \\ x-y=0 \end{cases}

    Question: Describe the visual appearance of this mathematical structure, particularly its main characteristic brace.

  30. Code (subcaption needed):

    \begin{figure}
      \begin{subfigure}{0.4\textwidth} ... \caption{A} \end{subfigure}
      \hfill
      \begin{subfigure}{0.4\textwidth} ... \caption{B} \end{subfigure}
      \caption{Main Figure}
    \end{figure}

    Question: What is the primary layout effect achieved by using the subfigure environments and \hfill within the main figure?


End of Examination