An ordered set of instructions. It reads input, follows rules, and produces output.
Workspace
Scheme
minimal Lisp functional foundations and interpreter thinking
Definition first
What Scheme means
Scheme is a programming language for writing exact instructions, often used for minimal Lisp functional foundations and interpreter thinking. Start with one mental model: input goes through steps and becomes output.
main.scmRun scheme --script main.scmHabit Evaluate one expression at a time and keep parentheses intentionalA value is data. A variable is the name you use to hold and reuse that data.
A named piece of work. It takes input, does one job, and can return a result.
Scheme is the place that actually runs code from main.scm.
First readable code
Program output
entry point output syntax display(display 42)
Output 42Language lineage
Scheme family tree
See where Scheme comes from, which languages feel close, and what to learn next.
recursion, interpreters, and core programming ideas
Zero base path
Question bank
Search before practice
Pick a stage or search across the open programming bank. Jump straight to the matching drill.
Scheme practice 1
Scheme question 1. Choose the statement that matches printing a value.
Scheme practice 2
Scheme question 2. Choose the statement that matches naming a value.
Scheme practice 3
Scheme question 3. Choose the statement that matches reusable function.
Scheme practice 4
Scheme question 4. Choose the statement that matches basic collection.
Scheme practice 5
Scheme question 5. Choose the statement that matches printing a value.
Scheme practice 6
Scheme question 6. Choose the statement that matches naming a value.
Scheme practice 7
Scheme question 7. Choose the statement that matches reusable function.
Scheme practice 8
Scheme question 8. Choose the statement that matches basic collection.
Scheme practice 9
Scheme question 9. Choose the statement that matches printing a value.
Scheme practice 10
Scheme question 10. Choose the statement that matches naming a value.
Scheme practice 11
Scheme question 11. Choose the statement that matches reusable function.
Scheme practice 12
Scheme question 12. Choose the statement that matches basic collection.
Scheme practice 13
Scheme question 13. Choose the statement that matches printing a value.
Scheme practice 14
Scheme question 14. Choose the statement that matches naming a value.
Scheme practice 15
Scheme question 15. Choose the statement that matches reusable function.
Scheme practice 16
Scheme question 16. Choose the statement that matches basic collection.
Scheme practice 17
Scheme question 17. Choose the statement that matches printing a value.
Scheme practice 18
Scheme question 18. Choose the statement that matches naming a value.
Multiple choice
Scheme practice 1
Scheme question 1. Choose the statement that matches printing a value.
(display 42)
Reference
Patterns for main.scm
scheme --script main.scmentry point output syntax display
Program output
(display 42)
- Run the smallest file first
- Print one known value
- Check the output before adding more code
variables assignment types define
Values and names
(define total 42) (display total)
- Give values readable names
- Keep one idea per line while learning
- Trace the value before changing it
function collection List
Functions and collections
(define (add a b) (+ a b)) (define scores '(40 2)) (display (length scores))
- Keep functions small
- Return useful values
- Use the common collection before reaching for frameworks