Final Exam Guide
DANL 101 · Fall 2026
The Final Exam is cumulative. Review material from throughout the course, including the concepts and R skills introduced before the midterm and the visualization and AI work that followed it.
| Section (regular class meeting) | Final exam time |
|---|---|
| DANL 101-01 (MW 3:30–4:45) | Friday, December 11, 3:30–5:30 PM |
| DANL 101-02 (MWF 10:30–11:20) | Thursday, December 10, 8:30–10:30 AM |
Follow the final-exam instructions for your section for the room and other exam-day procedures.
Start with the topics that feel least familiar. Rework a class example for each, then try the practice questions below before opening their answers.
Reference sheets and calculator
- You may bring two handwritten reference sheets on 8.5 × 11-inch regular notebook or printer paper.
- You may use both sides of each sheet, for four pages total: two fronts and two backs.
- Both sheets must be handwritten, not typed.
- You must submit both sheets with your exam.
- You may bring a calculator.
Put the definitions, formulas, and short R patterns you need most where you can find them quickly.
Exam structure
The final will be similar in style to the midterm. By points, 50% will focus on coding and 50% on concepts and interpretation. Expect multiple-choice, fill-in-the-blank, and short-answer questions. Coding work may ask you to read, complete, or write a short R expression or pipeline; concept questions may ask you to interpret a result or explain a choice.
What to review
1. Analytics thinking and R foundations — Lectures 1–3
Review Lectures 1–3 and the relevant early classwork.
- Turn a decision into a question, choose useful data and comparisons, and explain how evidence informs an action.
- Distinguish descriptive, diagnostic, predictive, and prescriptive questions. Interpret a simple decision tree or dashboard without treating a prediction as certain.
- Recognize the roles of spreadsheets, R, RStudio/Posit Cloud, SQL, and Git/GitHub.
- Read assignments, vectors, functions, arguments, logical expressions, and element-by-element R operations. Distinguish
<-from==and a parameter name from a supplied value. - Recognize numeric, character, logical, factor, and data-frame objects; distinguish an R storage type from a variable’s measurement scale.
2. Statistics, transformation, and databases — Lectures 4–6
Use the Midterm Exam Guide for the fuller early-course checklist.
- Interpret the mean, median, quartiles, IQR, standard deviation, and a boxplot. Explain how extreme values can affect summaries.
- Identify observations, variables, and values in tidy data. Read a CSV pathname and understand how the working directory affects a relative pathname.
- Read short
dplyrpipelines usingfilter(),arrange(),select(),rename(),distinct(), andcount(); trace which rows and columns remain. - Work with
NA,is.na(),!is.na(),&,|, and conditions separated by a comma infilter(). - Classify nominal, ordinal, interval, and ratio variables by their meaning. Recognize a schema, key, and
left_join()result, including unmatched rows and repeated keys.
3. Distributions and comparisons — Lecture 7
Review Lecture 7 and Classworks 10–13.
- Choose a histogram for a numerical distribution and a bar chart for categories. Read skew, peaks, spread, and unusual observations from a display.
- Explain the roles of data,
aes()mappings, and geometric objects inggplot2. Distinguish a mapped aesthetic from a fixed appearance outsideaes(). - Explain how histogram bin width changes what is visible. Compare numeric distributions across groups with facets or boxplots.
- Distinguish
geom_bar()(counts rows) fromgeom_col()(uses values already in a column). Read sorted bars and the role of factor ordering. - Decide when stacked counts, side-by-side bars, or 100% stacked bars answer the question. Interpret within-group proportions rather than confusing them with raw counts.
- Use readable labels and color choices; add text, shape, or line-type cues when color alone may be hard to distinguish.
4. Relationships, log scales, and time trends — Lecture 8
Review Lecture 8 and Classworks 14–16.
- Read a scatterplot’s direction, variation, and unusual points. Explain what a fitted line and its uncertainty ribbon summarize.
- Distinguish association from causation. A visible relationship alone does not prove that one variable caused another.
- Read mapped color, shape, line type, and facets. Know when a common visual appearance should be set outside
aes(). - Explain how
log10()changes a scale: equal ratios occupy equal distances, and large values are compressed relative to an original-value display. - Read a time-series plot and choose
geom_line()when observations form a meaningful ordered sequence. Keep separate groups as separate lines rather than connecting different groups together.
5. Career context, machine learning, and AI — Lectures 9–10
Review Lecture 9, Lecture 10, the AI reading, and Classworks 17–18.
- Connect the guest speakers’ career lessons to analytical judgment, communication, learning new tools, and checking AI-assisted work.
- Distinguish supervised learning, which uses known outcomes, from unsupervised learning, which looks for patterns without supplied outcome labels. Recognize deep learning as a machine-learning approach using multilayer neural networks.
- Explain tokens, next-token prediction, and why a context window limits what an LLM can use at once.
- Distinguish pre-training, fine-tuning, human preference feedback, and context supplied in a current conversation.
- Explain what an AI agent can do toward a goal, and why an analyst still needs to inspect data, run code, check claims, and take responsibility for the final story.
- Apply the course’s AI collaboration approaches and the four rules for working with AI to a concrete analysis task.
Practice the formats
Try the multiple-choice, fill-in-the-blank, and short-answer questions below before opening their answers.
Multiple choice: comparing unequal groups
Two campus stores recorded different numbers of transactions. You want to compare the proportion of transactions in each product category within each store. Which display most directly answers that question?
A. A histogram of transaction amounts
B. A 100% stacked bar for each store
C. A scatterplot of two numerical variables
D. A single bar for the combined number of transactions
B. A 100% stacked bar rescales each store’s bar to the same total and shows the category mix within that store. Raw counts can obscure the comparison when the stores have different transaction totals.
Fill in the blank: separate time-series lines
The data frame prices has one row per company and date. Complete the layer so the plot connects each company’s observed closing prices over time. The mapped color identifies the company.
ggplot(prices, aes(x = date, y = close, color = company)) +
geom_point() +
__________()geom_line. The company mapping keeps the histories visually separate and provides a grouping cue for the lines. The plotted observations still need to represent a meaningful time sequence.
Short answer: uneven AI performance
An AI assistant makes a correct faceted chart of restaurant reviews. For one restaurant type, 24 of its 60 reviews are low-star, but the assistant reports 20% after dividing 24 by 120 reviews across all types. Name the Lecture 10 concept illustrated by its success with the chart but error in the percentage. What percentage should it report within this restaurant type?
This illustrates the jagged frontier: an AI system can do one part of an analysis well and make a basic error in another. The within-type share is 24 / 60 = 40%. The denominator is the 60 reviews for that restaurant type, not the 120 reviews pooled across types.
Multiple choice: training versus current context
An analyst pastes two example summaries into an AI chat and asks the model to follow their style for the next summary. Which description best fits this action?
A. The analyst retrained the model’s weights through fine-tuning.
B. The analyst supplied context and instructions for the current task.
C. The analyst gave the model labeled outcomes for supervised training.
D. The analyst proved the model’s new summary will be factually correct.
B. The examples and request are part of the current conversation’s context. They can guide this response, but they do not by themselves change the model’s trained weights or guarantee accuracy.
How to study
- Revisit this semester’s midterm. Review the Fall 2026 midterm exam and answers for Version A, Version B, or Version C. They contain the same questions in different orders. Use the Midterm Exam Guide and selected past midterm questions for more practice with Lectures 1–6.
- Work through the newer material. Redo Classworks 10–18 and the relevant homework. Explain what each chart or code result means before opening an example answer.
- Use the selected past final questions. Work through the 37 questions and their charts, then use the collapsible answers to check your reasoning.
- Practice in both directions. Given code, predict the output or chart; given an analytical goal, choose the operation or display. Explain the result in plain language, including a limitation when appropriate.
- Check your reasoning. Run short R examples when useful, then explain why the result makes sense. For AI-assisted work, verify the data, calculations, visuals, and wording yourself.
Follow the syllabus’s academic-integrity policy for all exam work.
