SD-802-C Blockchain Technology

Blockchain Technology (SD-802-C) Important Questions

RGPV · B.Tech · Semester 8 · Current scheme · 0 papers

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Blockchain Technology important questions

Download Paperwala Imp Question & Answer (PDF)

Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.

Blockchain Technology important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.

Q1. Need for distributed records and blockchain architecture

From the syllabus · Unit 1

From the papers

  • “Unit 1: Need for distributed record keeping, blockchain architecture, block header detailed design.” (Syllabus)

The short answer

A blockchain is a shared ledger kept as a chain of blocks. Each block holds a batch of transactions and the hash of the block before it, so old records cannot be changed without breaking every later block.

Write these points

Why a shared record is needed

  • One company keeping all records is a single point of failure. The owner can edit, delete or lose the data.
  • Many parties who do not trust each other (banks, sellers, buyers) need one version of the truth.
  • A blockchain gives every node a copy. The nodes agree on new blocks by a consensus rule.

Architecture and block header

  • A block has a header and a body. The body lists the transactions.
  • The header holds the version, the previous block hash, the Merkle root of the transactions, the timestamp, the difficulty target and the nonce.
  • The block hash is the hash of the header only. The next header stores it, which forms the chain.
  • A node can check a block alone by hashing the header and comparing it with the target.

Tamper check on a three block chain.

Block 2 stores the hash of Block 1. Change one transaction in Block 1 and its hash changes.

Block 2 now points to a hash that no longer exists, so the link is broken.

The attacker must redo the work for Block 1, Block 2 and Block 3. The attacker must also beat the honest nodes.

Remember. Header fields follow the Bitcoin design. Other chains use different fields. Check the exact list in your class notes.

Real-life example

A land record office in a district keeps its register in one cupboard. A clerk with a pen can change an entry and nobody notices. If ten offices, the bank and the court each keep a copy that is linked by hashes, a change in one copy shows up at once. The shared linked copy is the blockchain.

Diagram: Need for distributed records and blockchain architecture

Same or opposite: blockchain and a central database

PointBlockchainCentral databaseSame or opposite
Who keeps the dataMany nodesOne ownerOpposite
Editing old recordsVery hardEasy for the adminOpposite
Speed of writingSlowerFastOpposite
Stores records as rows of dataYes, as transactionsYesSame

Exam tip. Draw three blocks joined by hash arrows and label the header fields. State why a change breaks the chain. Many students list features and forget the picture.

Back to the topic list

Q2. Proof of Work, liveness and fairness

From the syllabus · Unit 1

From the papers

  • “Unit 1: Abstract models for blockchain, Proof of Work, liveness and fairness.” (Syllabus)

The short answer

Proof of Work (PoW) makes a node find a nonce so that the block hash falls below a target. The search is hard and the check is easy. The abstract model asks for liveness and fairness.

Write these points

How PoW works

  1. Collect transactions and build the block header.
  2. Try nonce values and hash the header each time.
  3. Stop when the hash is below the target. Broadcast the block.
  4. Other nodes hash the header once and accept it if the hash is valid.

Liveness and fairness

  • Liveness: a valid transaction sent to honest nodes is added to the chain after some time.
  • Fairness: a miner with a share q of the total hash power wins about a share q of the blocks.
  • Safety is the matching property. Honest nodes must not disagree on a settled block.

Toy mining with a script.

Hash the text block1 plus a nonce with SHA-256. Ask for a hash that starts with zeros.

One leading zero hex digit needed nonce 10. Two needed nonce 754. Three needed 4779. Four needed 52533.

Each extra zero makes the search about 16 times longer. That is how the difficulty is raised.

Remember. The nonce values come from my own run with the text block1. They are illustrative and will differ for another text.

Real-life example

A school gives a prize to the first student who solves a very hard puzzle in the hall. Everyone checks the answer in seconds. A student with three helpers solves it about three times as often as a student alone. This is the idea of fairness in PoW.

Diagram: Proof of Work, liveness and fairness

Same or opposite: PoW and a normal lottery

PointProof of WorkLottery drawSame or opposite
Winner chosen byComputing effortChanceOpposite
Cost to take partElectricity and hardwareA ticketOpposite
Answer easy to checkYesYesSame
Chance rises withHash powerTickets boughtOpposite

Exam tip. State the hash below target rule first. Then define liveness and fairness in one line each. Add the toy mining numbers to show the rise in difficulty.

Back to the topic list

Q3. Proof of Stake and hybrid models

From the syllabus · Unit 1

From the papers

  • “Unit 1: Proof of Stake based chains, hybrid models (PoW + PoS).” (Syllabus)

The short answer

Proof of Stake (PoS) picks the next block creator in proportion to the coins it locks as stake. A hybrid model joins PoW and PoS so that both work and stake count.

Write these points

PoS idea

  • Validators lock coins. The protocol picks one at random, weighted by stake.
  • A validator who signs a bad block can lose part of the stake. This loss is called slashing.
  • No heavy hashing is needed, so energy use is far lower than PoW.

Weak points and fixes

  • Nothing at stake: a validator may sign two forks at no cost. Slashing and deposits remove this gain.
  • Rich get richer: big holders win more often. Caps and random choice reduce this.
  • Long range attack: old keys may rewrite history. Checkpoints stop it.

Hybrid models

  • PoW proposes blocks and PoS validators confirm them, or the other way round.
  • An attacker must hold both hash power and stake, so the attack costs more.

Chance of being chosen.

A pool has 100,000 coins staked in total. Validator A stakes 3,200 coins.

Chance for one slot = 3,200 / 100,000 = 3.2 percent. With 1,000 slots A expects about 32 blocks.

Remember. Real chains add many rules to this simple model. The numbers here are my own example.

Real-life example

A housing society picks a committee member by a draw. A family that owns three flats gets three tickets and a family with one flat gets one. If a member is caught cheating the society, the deposit paid is taken back. That is stake based choice with a penalty.

Diagram: Proof of Stake and hybrid models

Same or opposite: PoW and PoS

PointProof of WorkProof of StakeSame or opposite
Resource that countsHash powerLocked coinsOpposite
Energy useHighLowOpposite
Punishment for cheatingLost electricity costLost stakeOpposite
Needs a consensus ruleYesYesSame

Exam tip. Define stake and slashing in the first lines. Name the nothing at stake problem and its fix. Mention hybrid models in one sentence for the full marks.

Back to the topic list

Q4. Types of blockchain

From the syllabus · Unit 1

From the papers

  • “Unit 1: Types of blockchain.” (Syllabus)

The short answer

Blockchains are of three main types: public, private and consortium. The type decides who can read, who can write and who can validate.

Write these points

The three types

  • Public: anyone can join, read and write. Bitcoin and Ethereum are examples. Consensus is open, such as PoW or PoS.
  • Private: one organisation controls who joins. It is fast and it suits internal records.
  • Consortium (federated): a group of known organisations share control. Banks in a trade network use it.
  • A chain is also permissioned if members need approval, or permissionless if anyone can join.
FeaturePublicPrivateConsortium
Who joinsAnyoneInvited by one ownerInvited by a group
SpeedSlowFastFast
Trust neededNoneIn the ownerIn the group
Example useDigital coinInternal audit logTrade finance

Choosing a type.

A national lottery that anyone may audit needs a public chain.

Five banks that settle payments among themselves need a consortium chain.

A company that tracks its own stock needs a private chain.

Real-life example

Take a railway ticket system. The whole country can see the train timetable, which is public. Only railway staff can change the seat chart, which is private. A joint booking tie up between railway and an airline sits in between, which is consortium.

Diagram: Types of blockchain

Same or opposite: public and private blockchain

PointPublicPrivateSame or opposite
Join ruleOpen to allApproval neededOpposite
Transaction speedLowHighOpposite
PrivacyLowHighOpposite
Keeps a copy at each nodeYesYesSame

Exam tip. Always draw the table of three types with who joins, speed and one example. Use the word permissioned for private and consortium. Examiners reward the comparison.

Back to the topic list

Q5. Consensus challenges and solutions

From the syllabus · Unit 2

From the papers

  • “Unit 2: Blockchain consensus algorithm challenges and solutions.” (Syllabus)

The short answer

A consensus algorithm lets all nodes agree on one order of blocks even when some nodes fail or lie. The main challenges are delay, forks, faults and attacks, each with a known solution.

Write these points

Challenges and solutions

ChallengeCauseSolution
ForksTwo blocks found togetherLongest chain rule or finality votes
Slow networkMessages arrive lateWait for more confirmations
Faulty nodesCrash or bugReplicate and vote
Malicious nodesLies and double spendByzantine tolerant protocol or costly work
Sybil attackOne party makes many identitiesCharge by work or stake

Three families

  • Work based: PoW. The longest chain with the most work wins.
  • Stake based: PoS. Validators vote and are slashed for bad votes.
  • Vote based (BFT): nodes exchange votes in rounds. A block is final once enough votes arrive.
  • A hybrid design may mix these families, such as PoW blocks with PoS finality votes.

Why confirmations help.

An attacker with 10 percent hash power catches up from one block behind with chance 0.2046. From 6 blocks behind the chance is 0.0002.

So a seller waits for about 6 confirmations before handing over goods.

Remember. The chances come from the Bitcoin white paper formula, run by my script.

Real-life example

A shop owner in a market takes a payment by UPI and waits for the success message before handing over the goods. If the bank shows pending he waits. The wait for more confirmations on a blockchain is the same habit.

Diagram: Consensus challenges and solutions

Same or opposite: PoW consensus and BFT voting

PointPoWBFT votingSame or opposite
FinalityProbable, grows with blocksFinal after one vote roundOpposite
Number of nodesVery largeSmall and knownOpposite
Handles malicious nodesYesYes, below one thirdSame
Energy costHighLowOpposite

Exam tip. Write the table of challenge, cause and solution. It gathers marks quickly. Then name the three families of consensus.

Back to the topic list

Q6. Modeling faults and adversaries

From the syllabus · Unit 2

From the papers

  • “Unit 2: Modeling faults and adversaries.” (Syllabus)

The short answer

A fault model states how nodes can fail and an adversary model states what an attacker can do. A protocol is proved safe only against the model it names.

Write these points

Kinds of faults

  • Crash fault: a node stops and says nothing more.
  • Omission fault: a node drops some messages.
  • Byzantine fault: a node acts in any way it likes, including lying to different peers.

Describing the adversary

  • Power: the share of nodes or hash power it controls, such as f out of n nodes.
  • Timing: in a synchronous network messages arrive within a known time. In an asynchronous network they can be late without limit.
  • Corruption: a static adversary picks its nodes at the start. An adaptive one corrupts nodes during the run.
  • Goal: break safety (two answers) or break liveness (no answer).

Counting the limit.

A crash tolerant system with n = 5 nodes survives f = 2 crashes, since a majority of 3 remains.

A Byzantine tolerant system with f = 2 liars needs n = 3f + 1 = 7 nodes.

PoW systems state the limit as hash power instead. Honest miners must hold more than half.

Remember. The sharp limits depend on the exact model. Use the figures given in your class notes for proofs.

Real-life example

A bank has five branches that must agree on a customer balance. If a branch phone line is cut, that is a crash fault. If one branch manager lies to the others to steal money, that is a Byzantine fault. The bank must plan for both.

Diagram: Modeling faults and adversaries

Same or opposite: crash fault and Byzantine fault

PointCrash faultByzantine faultSame or opposite
Node behaviourStopsActs in any wayOpposite
Nodes needed for f faults2f + 13f + 1Opposite
Harm to agreementCan stall itCan split itOpposite
Needs replicationYesYesSame

Exam tip. Define fault and adversary in two lines. List crash, omission and Byzantine in order. Give the synchronous and asynchronous difference. This answer is mostly definitions, so keep every term sharp.

Back to the topic list

Q7. Byzantine fault tolerance

From the syllabus · Unit 2

From the papers

  • “Unit 2: Byzantine models of fault tolerance.” (Syllabus)

The short answer

Byzantine fault tolerance (BFT) means a group of nodes still agrees on one value even if up to f of them lie. It needs at least n = 3f + 1 nodes and a vote of 2f + 1.

Write these points

The generals problem

  • Several generals must attack together or retreat together. Some generals may be traitors who send different messages to different people.
  • The loyal generals must agree. A loyal leader's order must be followed.

Why 3f + 1

  • Up to f nodes may be silent, so a node can wait for only n minus f replies.
  • Among those replies up to f may be from liars. The honest replies must still outnumber the liars.
  • n minus f minus f must be larger than f, which gives n greater than 3f.

Practical BFT

  1. The leader sends a proposal to all nodes.
  2. Nodes exchange votes in two rounds.
  3. A node commits when it sees 2f + 1 matching votes.
  4. If the leader is faulty, the nodes change the leader.

Sizing a network.

To tolerate f = 1 liar we need n = 4 and a quorum of 3. For f = 2 we need n = 7 and a quorum of 5. For f = 3 we need n = 10 and a quorum of 7.

With n = 3 and one liar, no safe rule exists, so 3 nodes cannot tolerate even one liar.

Real-life example

Four members of a society committee must note the same figure for the water bill. One member may change the figure to hide a theft. If three members match, the figure is accepted even if one differs. With only three members, the vote could not tell who is lying.

Diagram: Byzantine fault tolerance

Same or opposite: PoW and BFT agreement

PointPoWBFTSame or opposite
Limit on bad nodesUnder half of hash powerUnder one third of nodesOpposite
FinalityProbableImmediateOpposite
Nodes known in advanceNoYesOpposite
Tolerates lying nodesYesYesSame

Exam tip. Write n = 3f + 1 and quorum 2f + 1 in the first two lines. Then show the table for f = 1, 2, 3. Most marks go to the reason for 3f + 1, so write the three step argument.

Back to the topic list

Q8. Zero knowledge proofs and protocols

From the syllabus · Unit 2

From the papers

  • “Unit 2: Zero knowledge proofs and protocols in blockchain.” (Syllabus)

The short answer

A zero knowledge proof lets a prover show that a statement is true without revealing why it is true. It has three properties: completeness, soundness and zero knowledge.

Write these points

The three properties

  • Completeness: an honest prover always convinces an honest verifier.
  • Soundness: a cheating prover is caught with high probability.
  • Zero knowledge: the verifier learns nothing except that the statement is true.

How it is used in blockchains

  • Private payments: a user proves a transaction is valid without showing the sender, receiver or amount.
  • Scaling: one short proof can confirm thousands of transactions.
  • Identity: a user proves age or balance above a limit without sharing the data.
  • Forms include zk-SNARK and zk-STARK proofs. Both are short to check.

Cave story, repeated.

A prover knows a secret door in a cave. The verifier calls a random side to exit. A cheater guesses right half the time.

After 1 round the cheater survives with chance 0.5. After 5 rounds 0.03125. After 10 rounds 0.000977. After 20 rounds about 0.00000095.

Schnorr style proof, toy numbers.

Take p = 23 and g = 5. The secret is x = 6, so y = g^x mod 23 = 8 is public.

Prover sends t = 5^7 mod 23 = 17. Verifier sends c = 4. Prover replies s = 7 + 4 x 6 = 31 mod 22 = 9.

Check: g^s = 5^9 mod 23 = 11 and t x y^c = 17 x 8^4 mod 23 = 11. They match, so the proof is accepted.

Real-life example

A student wants to show a shopkeeper that she is above 18 without showing her date of birth. A proof that says only older than 18, checked by a trusted rule, gives the shopkeeper what he needs and nothing more. A ZK proof does this with mathematics.

Diagram: Zero knowledge proofs and protocols

Same or opposite: interactive and non interactive proof

PointInteractiveNon interactiveSame or opposite
Rounds of talkManyOne messageOpposite
Challenge comes fromThe verifierA hash of the messageOpposite
Needs soundnessYesYesSame
Suits blockchainsPoorlyWellOpposite

Exam tip. Write the three properties first. Then give the cave example in two lines and one blockchain use. If you show the toy numbers, the check step earns a mark.

Back to the topic list

Q9. Cryptographic hashing

From the syllabus · Unit 3

From the papers

  • “Unit 3: Cryptographic basics for cryptocurrency: hashing.” (Syllabus)

The short answer

A cryptographic hash function turns any input into a fixed size output that cannot be reversed. Blockchains use SHA-256 to link blocks and to mine.

Write these points

Properties

  • Deterministic: the same input always gives the same hash.
  • Fast to compute but pre-image resistant: from a hash you cannot find the input.
  • Collision resistant: it is very hard to find two inputs with the same hash.
  • Avalanche effect: changing one character flips about half the output bits.

Uses in a blockchain

  • Link blocks by storing the previous block hash.
  • Build the Merkle tree of transactions.
  • Make the proof of work puzzle.
  • Make addresses from public keys.

Avalanche on SHA-256.

SHA-256 of abc starts ba7816bf. SHA-256 of abd starts a52d159f.

Out of 256 bits, 122 bits differ. That is about 48 percent, close to half.

Output size is always 256 bits, which is 64 hex digits, for any input size.

Real-life example

A courier company seals every parcel with a numbered tag. If the tag number on arrival differs from the number on the bill, the parcel was opened. A hash works like that tag for digital data.

Diagram: Cryptographic hashing

Same or opposite: hash and encryption

PointHashEncryptionSame or opposite
Can you get the input backNoYes, with the keyOpposite
Output sizeFixedGrows with inputOpposite
Needs a keyNoYesOpposite
Turns data into other dataYesYesSame

Exam tip. List the four properties with one line each. Add the avalanche numbers to show that you ran an example. Mention SHA-256 and its 256 bit output.

Back to the topic list

Q10. Digital signature schemes

From the syllabus · Unit 3

From the papers

  • “Unit 3: Digital signature schemes.” (Syllabus)

The short answer

A digital signature proves who created a message and that it was not changed. The signer uses a private key and anyone can check it with the matching public key.

Write these points

Steps

  1. Hash the message.
  2. Sign the hash with the private key.
  3. Send the message and the signature.
  4. The receiver hashes the message again.
  5. The receiver uses the public key on the signature and compares both hashes.

What it gives

  • Authentication: only the key owner could sign.
  • Integrity: any change to the message breaks the check.
  • Non repudiation: the signer cannot deny the signature later.
  • In a blockchain, each transaction is signed by the owner of the coins. Nodes check it before they accept it.

Toy RSA signature.

Take p = 61 and q = 53. Then n = 3233 and the public exponent e = 17. The private exponent is d = 2753.

Message value m = 65. Signature s = 65^2753 mod 3233 = 588.

Check: 588^17 mod 3233 = 65. This equals m, so the signature is valid.

Remember. The numbers are textbook size, not safe. Real systems use ECDSA with 256 bit keys.

Real-life example

A cheque is valid only when the bank sees the matching signature on it. Anyone may look at the cheque, but only the account holder can write that signature. A digital signature works the same way for every transaction on the chain.

Diagram: Digital signature schemes

Same or opposite: signature and encryption

PointDigital signaturePublic key encryptionSame or opposite
Private key used toSignDecryptOpposite
GoalProof of originSecrecyOpposite
Uses key pairYesYesSame
Public key used toVerifyEncryptOpposite

Exam tip. Draw sign and verify as two short flows. State the three gains: authentication, integrity, non repudiation. Name ECDSA as the scheme used in Bitcoin.

Back to the topic list

Start with the latest papers

Previous year papers will be added soon!

Blockchain Technology (SD-802-C) FAQs

What are the most important topics in Blockchain Technology?

No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Need for distributed records and blockchain architecture; Proof of Work, liveness and fairness; Proof of Stake and hybrid models; Types of blockchain; Consensus challenges and solutions.

How were these Blockchain Technology important questions chosen?

Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Blockchain Technology important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Blockchain Technology is free to download from this page.

The 10 topics of Blockchain Technology (SD-802-C) for RGPV B.Tech semester 8, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.