Rust (Coding) Quiz
Rust ownership, borrowing, and the compiler's safety guarantees.
This category currently has 102 questions in the SERVBG quiz bank. Below are a few sample questions: the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
Which keyword declares an immutable binding in Rust?
- var
- let
- def
- const
- final
Which keyword is required to make a binding mutable?
- var
- unsafe
- rw
- mut
- mutable
Which crate manager is standard for Rust projects?
- cargo
- rustpm
- crates
- rustup
- cargo-cult
Which command creates a new Rust binary project?
- cargo new my_app
- rustc create my_app
- cargo init --bin my_app --new
- rust new my_app
- cargo gen my_app
Which type is an owned heap-allocated UTF-8 string?
- str
- String
- &str
- CString
- OsString
Related categories
Python (Coding)
Python syntax and standard-library usage, from quick scripts to full applications.
JavaScript (Coding)
Core JavaScript behavior and async patterns, including the quirks that trip up beginners and veterans alike.
Linux
Linux command-line usage, file permissions, process management. The daily admin tasks.
Security
General information security concepts: common threats and standard defenses.
Hardware
Hardware components, how they interact, and basic troubleshooting to keep systems running.