Rust Data Types: Practice Set
This practice set accompanies Lesson 1.2 of the Rust Programming course: Rust Data Types. It has 9 auto-graded challenges covering the main ideas from the lesson. Challenges 1 to 8 are short exercises, each focused on a single concept. The final challenge, a BMI calculator, combines several concepts in one program. Topics covered: - Selecting integer types and sizes - Handling overflow with saturating and checked methods - Mixing floats and integers, and fixing error E0277 - Integer division and converting with the as keyword - Booleans and comparison operators - The char type and Unicode values - Tuples and destructuring - Floats, tuples and booleans together in a BMI calculator All challenges use only the Rust standard library and require no control flow, loops or functions beyond main. Each challenge includes tips, an explanation and a reference solution.
Get Started!
Challenge Details
Duration
1 Days
Difficulty
Beginner
Certificate
No
Skills You'll Gain
Completion reward
40coins on completing this bundle

