Skip to content

Topic in Programming & Coding

Rust

Rust quizzes on ownership and borrowing, predicting whether Rust code compiles and what it prints, and enums, traits and error handling.

Part of Programming & Coding: 3 quizzes.

Quizzes
3
Rust quizzes

3 quizzes

Rust quizzes

Programming & Coding · Rust

Rust Intermediate Quiz: Enums, Traits & Error Handling

A Rust traits and error handling quiz: Option and Result, the ? operator, enums with data, exhaustive matches, trait bounds, lifetimes and derive.

Hard difficulty15 questions~12 min
+150 XPPlay

Programming & Coding · Rust

Rust Code Quiz: Predict the Result

Rust borrowing and output questions: will it compile, and what will it print? Covers match, vectors, moves, mutable references, Option, Result and slices.

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · Rust

Rust Basics Quiz: Variables, Types & Ownership

A Rust quiz for beginners: immutable bindings and let mut, shadowing, default types, ownership and moves, Copy types, clone(), borrowing and String.

Easy difficulty15 questions~8 min
+75 XPPlay