Practice Hub

Master Move language concepts through hands-on interactive challenges.

Total Progress

0%Mastery
0
Exercises Mastered
0
Total XP Earned
intermediate

Generic Function with Type Parameters

Fill in the blanks to create a generic function that works with any type.

code completion60 XP
intermediate

Using Mutable References Correctly

Fill in the blanks to use mutable references to modify values in place.

code completion50 XP
beginner

Creating and Adding to Vectors

Fill in the blanks to create a vector and add elements to it.

code completion45 XP
beginner

Define and Create a Struct

Fill in the blanks to define a struct and create an instance of it.

code completion45 XP
beginner

Loop with Break and Continue

Fill in the blanks to create a loop that skips odd numbers and stops at a target.

code completion45 XP
beginner

Working with Addresses

Fill in the blanks to correctly declare and use address types.

code completion40 XP
beginner

Declare Variables

Fill in the blanks to correctly declare variables with different types.

code completion40 XP
beginner

Complete the Add Function

Fill in the blanks to create a function that adds two numbers.

code completion50 XP
intermediate

Define a Coin Struct

Complete the struct definition by filling in: (1) the visibility keyword, (2) the keyword before abilities, and (3) the field name for storing the coin amount.

code completion75 XP
intermediate

Vector Operations

Complete the vector manipulation functions.

code completion70 XP
advanced

Generic Container

Create a generic container struct that can hold any type.

code completion100 XP
beginner

Working with Option Types

Complete the code to work with optional values.

code completion60 XP
beginner

Fix the Function Visibility

This function should be callable from other modules but has a visibility bug.

bug fix50 XP
intermediate

Fix the Struct Abilities

This struct needs proper abilities to work with storage.

bug fix75 XP
intermediate

Fix the Reference Types

The function parameters have incorrect reference types.

bug fix70 XP
advanced

Fix Vector Out of Bounds

This code has a potential out-of-bounds error.

bug fix90 XP
beginner

Fix Type Mismatch

The function has a type mismatch error.

bug fix55 XP
intermediate

Type Constraints and Abilities

Understanding which type constraints are required for generic operations.

multiple choice55 XP
intermediate

Valid Borrow Scenarios

Understanding which borrowing patterns are allowed in Move.

multiple choice50 XP
beginner

Vector Safety and Bounds Checking

Understanding what happens when accessing vector elements.

multiple choice40 XP
beginner

Choosing Abilities for Digital Assets

Understanding which abilities should be used for different types of structs.

multiple choice40 XP
beginner

If Expression Rules

Understanding how if expressions return values in Move.

multiple choice35 XP
beginner

Integer Overflow

Understanding what happens when integers exceed their maximum values.

multiple choice35 XP
beginner

Module Basics

Test your understanding of Move modules.

multiple choice30 XP
beginner

Integer Types Range

Test your knowledge of integer type ranges in Move.

multiple choice40 XP
intermediate

Understanding Abilities

Which abilities does a struct need for different operations?

multiple choice60 XP
intermediate

Reference Types

Understanding when to use mutable vs immutable references.

multiple choice55 XP
beginner

If Expressions

How do if expressions work in Move?

multiple choice45 XP
advanced

Generic Type Constraints

Understanding constraints on generic types.

multiple choice80 XP
intermediate

Generic Type Inference

Predict how Move infers types for generic functions.

output prediction55 XP
intermediate

Complex Borrow and Modify

Predict the final value after multiple borrow and modify operations.

output prediction55 XP
beginner

Vector Length After Operations

Predict the vector length after push and pop operations.

output prediction40 XP
beginner

Struct Field Access

Predict the output after accessing and modifying struct fields.

output prediction40 XP
beginner

Assert Behavior

Predict what happens when an assert condition fails.

output prediction40 XP
beginner

Type Casting Result

Predict the output after type casting operations.

output prediction40 XP
beginner

Function Call Result

Predict what value this function returns.

output prediction35 XP
beginner

Simple Arithmetic

Predict the output of this arithmetic operation.

output prediction40 XP
intermediate

If Expression Result

What will this if expression return?

output prediction55 XP
intermediate

Vector Length

Predict the length of this vector after operations.

output prediction60 XP
advanced

Reference Modification

Predict the final value after reference operations.

output prediction75 XP
beginner

Function Return Value

What does this function return?

output prediction45 XP