Skip to content

Rust Programming Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 50 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

What is Rust?

Show ▼

Rust is a systems programming language focused on safety, speed, and concurrency. It achieves memory safety without a garbage collector through its ownership system.

What is ownership in Rust?

Show ▼

Ownership is Rust's core memory management concept. Each value has exactly one owner, and when the owner goes out of scope, the value is dropped (freed). This prevents memory leaks and double frees at compile time.

What are the three ownership rules in Rust?

Show ▼

  • Each value in Rust has a single owner
  • There can only be one owner at a time
  • When the owner goes out of scope, the value is dropped

What is borrowing in Rust?

Show ▼

Borrowing lets you reference a value without taking ownership. You create a reference with &. The original owner retains ownership while the borrower can read (or write, if mutable) the data.

What is the difference between &T and &mut T?

Show ▼

&T is an immutable reference (shared borrow) — multiple allowed simultaneously.
&mut T is a mutable reference (exclusive borrow) — only one allowed at a time, and no immutable references may coexist with it.

🎯 Take the Rust Programming Practice Exam