DAY 39 / 40
>> Module 04 / Day 39 / Thursday

Final Mini-Test

60 minutes · pen, paper, and Codespaces

The last assessment. Two Python/blockchain coding problems and one Polkadot concept question. This is your chance to show everything you've learned in 39 days.

Part A / 20 min
Concept questions
Part B / 40 min
Coding problems
Total / 60 min
Full assessment
>> Test structure

Three parts — 60 minutes total

20
PART A — 20 MIN
Concept questions
Pen and paper. 5 short-answer questions covering blockchain concepts and Polkadot. No code required.
30
PART B — 30 MIN
Coding problems
Codespaces. Two Python problems using blockchain code. Open your own files from Days 22–29 for reference — closed internet.
10
PART C — 10 MIN
Reflection question
Written answer. "Explain how our tiny blockchain relates to one specific thing you saw on Subscan."
>> Part A · Concepts (pen and paper)

Sample questions — the format you'll see

  • In one sentence: why does changing a block's data break the chain?
  • What are the TWO checks that is_valid_chain() performs?
  • What is a nonce? What do we do with it in Proof of Work?
  • Name ONE difference between Proof of Work and Proof of Stake.
  • In Polkadot, what is the difference between a validator and a nominator?
>> Part B · Coding (Codespaces)

Sample coding problems — the format you'll see

PROBLEM 1 — 15 MIN

Given the hash_block() and make_block() functions (provided in the starter file), build a chain of 3 blocks. The first block's data should be 'Genesis'. The second should be 'Alice sends 10 DOT to Bob'. The third: 'Bob sends 4 DOT to Carol'. Print the hash of each block.

PROBLEM 2 — 15 MIN

The chain below has been tampered with. Write is_valid_chain() and use it to find which block is broken. Print: the index of the broken block, what check failed (hash integrity or chain link), and the two hash values that don't match.

>> Part C · Reflection (written)

One open-ended question — 10 minutes

Reflection Question

Open Subscan (polkadot.subscan.io) and find any block from the last hour. Choose one specific field from that block — for example, the Parent Hash, or one Extrinsic — and explain how it relates to something you built in your Python blockchain. Be specific: name the field, name the Python function or code line that does the same thing, and explain why they match.

>> Exam strategy

60 minutes — use them well

0:00 – 0:20
Part A first
Five concept questions. ~4 minutes each. Write in full sentences — partial credit for partial understanding.
0:20 – 0:50
Part B coding
15 minutes per problem. Read the problem fully before writing any code. Start with the function signature.
0:50 – 1:00
Part C reflection
Open Subscan. Pick a block. Write your answer. Even a half-page answer is fine if it shows understanding.
>> Good luck

39 days of work — one hour to show it

You have built a working blockchain in Python from scratch. You understand hashing, blocks, chains, validation, mining, consensus, and Polkadot. That is not trivial knowledge.

  • → Your code files are your notes — use them.
  • → Subscan is allowed — the chain is your reference.
  • → One final day tomorrow — presentations and course wrap-up.
01 / 7
←/→ navigate   F fullscreen