An ordered set of instructions. It reads input, follows rules, and produces output.
Workspace
Julia
scientific computing numerical modeling and fast data work
Definition first
What Julia means
Julia is a programming language for writing exact instructions, often used for scientific computing numerical modeling and fast data work. Start with one mental model: input goes through steps and becomes output.
main.jlRun julia main.jlHabit Write math clearly first then optimize after measuringA 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.
Julia is the place that actually runs code from main.jl.
First readable code
Program output
entry point output syntax printlnprintln(42)
Output 42Language lineage
Julia family tree
See where Julia comes from, which languages feel close, and what to learn next.
Zero base path
Question bank
Search before practice
Pick a stage or search across the open programming bank. Jump straight to the matching drill.
Julia practice 1
Julia question 1. Choose the statement that matches printing a value.
Julia practice 2
Julia question 2. Choose the statement that matches naming a value.
Julia practice 3
Julia question 3. Choose the statement that matches reusable function.
Julia practice 4
Julia question 4. Choose the statement that matches basic collection.
Julia practice 5
Julia question 5. Choose the statement that matches printing a value.
Julia practice 6
Julia question 6. Choose the statement that matches naming a value.
Julia practice 7
Julia question 7. Choose the statement that matches reusable function.
Julia practice 8
Julia question 8. Choose the statement that matches basic collection.
Julia practice 9
Julia question 9. Choose the statement that matches printing a value.
Julia practice 10
Julia question 10. Choose the statement that matches naming a value.
Julia practice 11
Julia question 11. Choose the statement that matches reusable function.
Julia practice 12
Julia question 12. Choose the statement that matches basic collection.
Julia practice 13
Julia question 13. Choose the statement that matches printing a value.
Julia practice 14
Julia question 14. Choose the statement that matches naming a value.
Julia practice 15
Julia question 15. Choose the statement that matches reusable function.
Julia practice 16
Julia question 16. Choose the statement that matches basic collection.
Julia practice 17
Julia question 17. Choose the statement that matches printing a value.
Julia practice 18
Julia question 18. Choose the statement that matches naming a value.
Multiple choice
Julia practice 1
Julia question 1. Choose the statement that matches printing a value.
println(42)
Reference
Patterns for main.jl
julia main.jlentry point output syntax println
Program output
println(42)
- Run the smallest file first
- Print one known value
- Check the output before adding more code
variables assignment types =
Values and names
total = 42 println(total)
- Give values readable names
- Keep one idea per line while learning
- Trace the value before changing it
function collection Array
Functions and collections
function add(a, b) return a + b end scores = [40, 2] println(length(scores))
- Keep functions small
- Return useful values
- Use the common collection before reaching for frameworks