---
name: stu-decks-flashcards
description: Turn notes, slides, readings or a topic into a flashcard CSV for Stu-Decks (stu-decks.com), with term, multiple-choice, ordering and sorting cards in one file.
---

# Making a Stu-Decks flashcard deck

You turn a student's study material into one CSV file that they upload to
**Stu-Decks** (https://www.stu-decks.com), a free flashcard site. On the site they press
**Build a deck → Upload a CSV**, check the cards, and save. Stu-Decks checks every row
separately. A row that breaks the rules below is skipped and reported to the student by
row number, so getting the format exactly right matters.

## How to work

1. **Read the material** the student gives you: notes, slides, a reading, a study guide or
   a topic. If they don't say how many cards they want, aim for one card per important
   idea (usually 15–60), and tell them they can ask for more or fewer.
2. **Only use facts from the material.** If the student asks about a topic without giving
   you material, use well-established facts and say so. Never make up details. If
   something is unclear in the source, leave it out and mention it.
3. **Pick the card type that fits each fact:**
   - a term, name, date or formula and what it means → **term/definition** (`terms`)
   - a fact that is easy to confuse with similar ones → **multiple choice** (`mc`)
   - steps, stages, a timeline or a ranking → **put in order** (`order`)
   - things that belong in groups or classes → **sort into categories** (`sort`)
4. **Write one CSV** in the mixed format below, with all card types in one file.
5. **Check it** against the checklist at the end.
6. **Hand it over.** If you can create files, give the student a downloadable file named
   after the topic (e.g. `cell-biology.csv`). Otherwise, put the whole CSV in a single
   code block and tell them to paste it into a plain-text editor and save it with a `.csv`
   ending. Then tell them: *"On stu-decks.com, press Build a deck, then Upload a CSV,
   choose this file, check the cards, and press Save deck."*
7. If the student reports rows that Stu-Decks skipped (e.g. "Row 7: …"), fix just those
   rows and give them back as a small CSV with the same header row.

## The file format

UTF-8 text, separated by commas, with one card per row. The first row is always this
header:

```
type,front,back,grading
```

| `type` | `front` | `back` | `grading` |
|---|---|---|---|
| `terms` | the term | its definition | leave empty |
| `mc` | the question, then one choice per line: `A. …`, `B. …` | the correct choice, written exactly as `B. …` | leave empty |
| `order` | the instruction, saying what "first" means | the items **in the correct order**, one per line, numbered `1. `, `2. `… | `all`, `partial` or empty |
| `sort` | the instruction | one line per category: `Name: term; term; term` | `all`, `partial` or empty |

**Quoting:** a cell containing a comma, a double quote or a line break must be wrapped
in double quotes, `"like this"`. A double quote inside a cell is written twice (`""`).
Every `mc`, `order` and `sort` back cell has line breaks, so it must be quoted. So must
an `mc` front cell. Don't put blank lines inside a cell.

### Rules for each card type

- **terms**: both cells filled in. Each card is studied both ways, and the wrong answers
  shown are other cards' definitions. So keep definitions distinct and similar in length,
  don't repeat the term inside its own definition, and write at least 4 term cards.
- **mc**: 2–6 choices, lettered from `A` in order, all different. The back cell repeats
  the correct choice word for word, letter included. Make the wrong choices plausible
  and similar in length to the right one. Avoid "all of the above".
- **order**: 3–10 items, all different, with no ties (if two items could swap places,
  rephrase or drop one). The instruction says the direction, e.g. "from earliest to
  latest" or "from smallest to largest".
- **sort**: 2–6 categories with different names. At least 3 terms in total, up to 20 per
  category, terms in at least two categories, and each term in exactly one category and
  appearing only once. A category with nothing after the colon (`Fish:`) is a decoy, a
  wrong place a student might put something. Category names can't contain `:` and terms
  can't contain `;`.
- **grading** (order and sort only): `all` means the whole answer must be right (the
  default). `partial` gives credit for each item placed correctly.

### Limits

At most 1000 cards per file, and at most 1000 characters in any single term, definition,
question, choice, item, category name or sort term.

## Example

```csv
type,front,back,grading
terms,Mitochondria,The organelle that produces most of a cell's ATP through cellular respiration.
terms,Ribosome,The structure that builds proteins by reading messenger RNA.
mc,"Which planet is closest to the Sun?
A. Venus
B. Mercury
C. Mars
D. Earth",B. Mercury
mc,"What is the chemical symbol for sodium?
A. So
B. Sd
C. Na",C. Na
order,Order these events from earliest to latest,"1. Signing of the Magna Carta
2. Columbus reaches the Americas
3. Declaration of Independence
4. Fall of the Berlin Wall",all
order,Order the planets from closest to the Sun to farthest,"1. Mercury
2. Venus
3. Earth
4. Mars
5. Jupiter",partial
sort,Sort each animal into its class,"Mammals: Whale; Bat; Dolphin
Reptiles: Gecko; Python
Amphibians: Frog
Fish:",partial
sort,Sort each element by type,"Metal: Iron; Copper; Sodium
Nonmetal: Oxygen; Carbon; Nitrogen",all
```

## Checklist before handing over

- [ ] The first row is exactly `type,front,back,grading`.
- [ ] Every row's `type` is `terms`, `mc`, `order` or `sort`.
- [ ] Every multi-line cell, and every cell with a comma or quote, is in double quotes.
- [ ] `terms` and `mc` rows have nothing in the grading column.
- [ ] Each `mc` answer matches one of its choices exactly, letter included.
- [ ] `order` items are numbered `1.`, `2.`… and are in the right order.
- [ ] `sort` lines all look like `Name: term; term`. No term appears twice in a card.
- [ ] Nothing is duplicated within a card, and every fact comes from the material.

If you can run code, re-read the file with a real CSV parser (for example Python's `csv`
module). Confirm that every row has 3 or 4 cells and that the counts above hold before
you hand it over.
