Rust (2024 edition) practice
0 exercises and 16 quizzes from the lessons of this track. Sample tests run in your browser; what you pass is kept in this browser only.
Getting started: rustup, Cargo and compiler messages
Values, types, functions and control flow
- Quiz: Variables, mutability, shadowing and constants
- Quiz: Integers, floats, bool, char and overflow
- Quiz: Tuples, arrays and type conversions
- Quiz: Functions, blocks and expressions
- Quiz: Control flow: if, loop, while and for
- Quiz: Format strings: Display, Debug, width, precision
- Quiz: Standard input: read lines, parse numbers safely
Ownership, borrowing and slices
Results here are what this browser has checked: feedback for you, not proof. They stay on this device; your Learn progress can be exported to a file. · Back to the Rust (2024 edition) track