iwantcoding
.com
Tutorials
▾
Web Frontend
HTML
CSS
HTML5
CSS3
JavaScript
TypeScript
Sass
React
Vue
Svelte
Tailwind
Backend
Python
PHP
Node.js
Java
Go
Rust
Ruby
C#
Databases
SQL
MySQL
PostgreSQL
MongoDB
Firebase
GraphQL
Redis
Mobile
React Native
Flutter
Swift
Kotlin
Ionic
Cloud & DevOps
AWS
Docker
Kubernetes
CI/CD
Linux/Bash
AI & Data
NumPy/Pandas
Machine Learning
TensorFlow
PyTorch
LangChain
RAG
Cybersecurity
XSS
SQL Injection
CSRF
OWASP Top 10
Cryptography
Ethical Hacking
Tools
Git
DSA
Design Patterns
RegEx
VS Code
Specialty
Game Dev
WordPress
Web3/Solidity
Three.js
Capstone
Enterprise Architecture
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
TYPESCRIPT
REACT
NODEJS
MONGODB
DOCKER
GIT
TAILWIND
GRAPHQL
LINUX-BASH
AWS
KUBERNETES
VUE
SVELTE
SASS
THREEJS
GO
RUST
JAVA
RUBY
CSHARP
WORDPRESS
POSTGRESQL
MYSQL
REDIS
FIREBASE
REACT-NATIVE
FLUTTER
SWIFT
KOTLIN
IONIC
CICD
NUMPY-PANDAS
ML
TENSORFLOW
PYTORCH
LANGCHAIN
XSS
SQLI
CSRF
OWASP
CRYPTO
DSA
DESIGN-PATTERNS
REGEX
VSCODE
GAMEDEV
WEB3
ENTERPRISE
CAPSTONE
ETHICAL-HACKING
🔥 Daily
👥 Rooms
🏆 Top
Log in
Sign up
AI ✨
Rust Tutorial
BOSS QUIZ
10 questions · 5 minutes · pass at 70% to clear the track.
05:00
Start
Q1.
The ? operator…
from Result & ?
Panics on Err
Early-returns Err from the function
Converts to Option
Ignores the value
Q2.
Moving a String value out…
from Ownership
Copies it
Invalidates the old binding
Is illegal
Borrows it
Q3.
Rust's memory safety is enforced…
from Intro
By a GC
At compile time by the borrow checker
By a runtime sanitiser
Only in debug builds
Q4.
Rust models "possibly missing" via…
from Option
null
Option<T>
undefined
NaN
Q5.
Types that implement Copy…
from Ownership
Move on assignment
Are bitwise-copied on assignment
Cannot be passed to functions
Always live on the heap
Q6.
A mutable reference is created with…
from Borrowing & References
&mut
*mut
ref mut
@mut
Q7.
Result is used for…
from Result & ?
Optional values
Recoverable errors
Logging
Concurrency
Q8.
At any time you can have either…
from Borrowing & References
One mutable OR many immutable references
Many mutable and many immutable
No references at all
Only one immutable reference
Q9.
Each value has…
from Ownership
Multiple owners
Exactly one owner at a time
No owner
A weak owner
Q10.
A Rust function returns the last expression…
from Intro
Only with return;
If it has no trailing semicolon
Only if marked #[return]
It does not return values
Submit
Back to Rust Tutorial
🏆
Achievement unlocked!