A study app for computer science students

Computer science students need a study app that keeps code runnable: notes with screenshots of code cannot be tested, and most exam questions ask you to trace or write code. Dex Notes lets you write and run Python, JavaScript, TypeScript, SQL, R, C, C++, Go and Rust inside the lecture, saved with your notes and lined up with the recording.

Why coding lectures are hard to take notes in

In a programming lecture the professor types code, runs it, changes one line and runs it again. Copying every line by hand falls behind; photographing the screen gives you code you cannot run. And intro programming exams usually ask you to trace what code prints or to write a short function, which you only learn by doing.

A useful approach: write each code block as you understand it, add a one-line comment saying what it shows, and predict the output before the professor runs it.

What Dex Notes does for coding classes

  • Run code in the lecture. Python, JavaScript, TypeScript, SQL, R, C, C++, Go and Rust run in the lecture workspace. Each run is capped at 10 seconds so a hanging program stops on its own.
  • Packages per lecture. Python reads a requirements.txt, JavaScript and TypeScript a package.json, SQL a schema.sql that sets up tables, and R a packages.R.
  • Code saved with notes and recording. The code you ran sits beside the note and the moment in the recording when the professor explained it.
  • Ask Dex about the code. Answers cite the note, slide or transcript line they used.

The free plan includes 100 code runs a month; Plus includes 1,000. See Code and environments for details on where each language runs.

How to study for a programming exam

  1. Trace by hand. Take code from lecture and write what it prints, line by line, before running it.
  2. Change one thing. Edit a value or a condition, predict the new output, then run it.
  3. Write from a blank editor. Re-implement a function from lecture without looking.
  4. Mix problem types. Interleaving different kinds of problems in one session improved later test performance in math (Rohrer & Taylor, 2007); the same idea applies to mixing loops, recursion and data structure questions.
  5. Quiz yourself on concepts. Generate a quiz from the lecture for definitions and trade-offs such as time complexity.

Common questions

Which languages can I run in Dex Notes?

Python, JavaScript, TypeScript, SQL, R, C, C++, Go and Rust.

Is Dex Notes only for computer science?

No. It works for any lecture course. Code is one part of the lecture workspace, alongside notes, slides, recording and study tools.

Sources

  1. Rohrer, D., & Taylor, K. (2007). The shuffling of mathematics problems improves learning. Instructional Science, 35(6), 481-498. doi.org/10.1007/s11251-007-9015-8
  2. Roediger, H. L., III, & Karpicke, J. D. (2006). Test-enhanced learning: Taking memory tests improves long-term retention. Psychological Science, 17(3), 249-255. doi.org/10.1111/j.1467-9280.2006.01693.x
  3. Dunlosky, J., Rawson, K. A., Marsh, E. J., Nathan, M. J., & Willingham, D. T. (2013). Improving students' learning with effective learning techniques. Psychological Science in the Public Interest, 14(1), 4-58. doi.org/10.1177/1529100612453266