CI-802-D Block Chain Technology

Block Chain Technology (CI-802-D) Important Questions

RGPV · B.Tech · CSIT · Semester 8 · Current scheme · 1 papers (2024 to 2024)

  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 - Block Chain Technology important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Block Chain 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 questions under each topic are copied from the RGPV papers.

Q1. Confirmations and the chance that an attacker catches up

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q1 a) Consider Bob the merchant deciding whether or not to accept the C_i to B transaction. What Bob is really interested in is whether or not the other chain will catch up? Why, then, does he simply check how many confirmations C_i to B has received, instead of computing the difference in length between the two chains?” (May 2024)

The short answer

A merchant counts confirmations because the attacker's secret chain is hidden, so Bob cannot measure the gap. Each confirmation also cuts the attacker's chance of catching up sharply.

Write these points

Why confirmations and not the chain difference

  • The competing chain is private. Bob sees only the public chain, so he cannot compute its length.
  • The public lead is exactly what a confirmation counts: the blocks on top of the block that holds the payment.
  • The chance that an attacker with hash share q catches up from z blocks behind falls exponentially with z.
  • So one simple number, z, is enough to read the risk. Bob waits until the risk is small enough for the value of the goods.

Catch-up probability (Nakamoto model)

Confirmations zAttacker share 10 percentAttacker share 30 percent
01.00001.0000
10.20460.6277
20.05100.4457
40.00350.2391
60.000240.1321

Reading the table.

Bob sells goods and waits for 6 confirmations. The attacker has 10 percent of the hash power.

The chance that the hidden chain overtakes is 0.000243, about 1 in 4,100 (computed by script).

If the attacker had 30 percent, the same 6 confirmations leave a 13.2 percent risk. Bob must wait longer or refuse.

Real-life example

A jeweller in a market does not check how many notes a thief might have hidden at home. He watches the cash counter in front of him and waits until the cheque clears. Bob does the same with confirmations. He relies on what he can see. Each extra block makes a reversal less likely.

Figure: chance that an attacker catches up
Figure: chance that an attacker catches up

Same or opposite: one confirmation and six confirmations

PointOne confirmationSix confirmationsSame or opposite
Risk of reversal against a 10 percent attackerAbout 20 percentAbout 0.02 percentOpposite
Waiting timeAbout 10 minutesAbout 60 minutesOpposite
Payment is in a block on the public chainYesYesSame
Fit forSmall goodsCostly goodsOpposite

Exam tip. Say that the rival chain is hidden, so only confirmations can be counted. Add the table of probabilities from the model. State that the risk falls exponentially.

Back to the topic list

Q2. Double spend attack by a malicious ISP

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q1 b) If a malicious ISP completely controls a user's connections, can it launch a double-spend attack against the user. How much computational effort would this take?” (May 2024)

The short answer

A malicious ISP that controls all of a user's connections can isolate the user and show a fake chain. It cannot fake proof of work cheaply, so the effort is the hash work of mining every fake block.

Write these points

What the ISP can do

  • Hide new real blocks and feed the user a private chain that pays the merchant nothing.
  • Let the user accept a payment on the fake chain, then show the real chain later and take the goods back.
  • Delay or drop transactions the user sends.

Effort needed

  1. If the ISP holds a share q of the world hash power, one block takes it 10 / q minutes on average.
  2. For z blocks of a fake chain the time is z x 10 / q minutes.
  3. A low share makes the attack very slow, but a user who accepts payments with few confirmations is exposed.

Time for a fake chain.

The ISP has 1 percent of the hash power (q = 0.01). One fake block takes 10 / 0.01 = 1,000 minutes, about 16.7 hours.

To fake 6 confirmations it needs 6 x 1,000 = 6,000 minutes, about 4.2 days of mining.

With 30 percent share one block takes 10 / 0.3 = 33.3 minutes and 6 blocks take 200 minutes, about 3.3 hours.

Real-life example

A shopkeeper hears all his news from one newspaper boy, who is a liar. The boy can say that a customer's payment cleared. The shopkeeper believes it because he cannot check anywhere else. Bitcoin users fix this by using several honest peers and waiting for confirmations.

Figure: a user cut off from the real network
Figure: a user cut off from the real network

Same or opposite: an ISP attack and a 51 percent attack

PointMalicious ISP51 percent attackerSame or opposite
What the victim losesSees a fake chainReal chain is rewrittenOpposite
Needs control of the victim's connectionYesNoOpposite
Needs real proof of workYesYesSame
FixUse many honest peersWait for more blocksOpposite

Exam tip. Say yes, it can try. Then add the cost in hash work. Use the 10 / q rule and one numeric example. Name the fix: connect to several honest peers.

Back to the topic list

Q3. A script that needs a SHA-256 collision

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q2 a) Write a Script Pub Key that requires demonstrating a SHA-256 collision to redeem.” (May 2024)
  • “Q2 b) Write a corresponding ScriptSig that will successfully redeem this transaction.” (May 2024)

The short answer

A Script Pub Key is the lock on a Bitcoin output and the ScriptSig is the key that opens it. A lock that needs a SHA-256 collision accepts two different messages with the same SHA-256 hash.

Write these points

The locking script

OP_2DUP OP_EQUAL OP_NOT OP_VERIFY OP_SHA256 OP_SWAP OP_SHA256 OP_EQUAL
  • OP_2DUP copies the top two items. OP_EQUAL OP_NOT OP_VERIFY fail unless the two items differ.
  • OP_SHA256 hashes the top item. OP_SWAP exchanges the top two. A second OP_SHA256 hashes the other one.
  • OP_EQUAL leaves true only if both hashes match.
  • Anyone who finds such a pair can take the coins, so the lock works as a public bounty.

The matching ScriptSig

<m1> <m2>      where m1 is not equal to m2 and SHA256(m1) = SHA256(m2)

Remember. No SHA-256 collision is known today, so nobody can write real values for m1 and m2. The script shows the correct form. It cannot be redeemed in practice.

Stack trace

StepStack after the step
push m1, push m2m1 m2
OP_2DUPm1 m2 m1 m2
OP_EQUAL, OP_NOTm1 m2 true (they differ)
OP_VERIFYm1 m2
OP_SHA256, OP_SWAP, OP_SHA256H(m2) H(m1)
OP_EQUALtrue

Following a run with two equal messages.

If m1 equals m2, OP_EQUAL gives true and OP_NOT turns it into false.

OP_VERIFY then fails and the spend is rejected. This blocks the trivial answer m1 = m2.

Real-life example

A locker needs two keys that look different but open the same lock. Making such a pair is meant to be impossible. The shopkeeper who hides a reward behind this lock is safe unless someone breaks the hash. The Bitcoin wiki has a similar bounty script for the older SHA-1 hash, where collisions were found.

Figure: stack during the collision script
Figure: stack during the collision script

Same or opposite: a normal pay to public key hash lock and the collision lock

PointPay to public key hashCollision bountySame or opposite
Who can spendThe owner of the keyAnyone who finds a collisionOpposite
Checks a signatureYesNoOpposite
Is a Script program on the stackYesYesSame
Practical todayYesNo, none is known for SHA-256Opposite

Exam tip. Write the locking script as one line and explain each opcode in a short list. Show the stack trace. Say clearly that no real ScriptSig can be produced today.

Back to the topic list

Q4. Bitcoin price in person and the effect of exchange failures

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q3 a) Speculate about why buying bitcoins in person is generally more expensive than buying from an online exchange?” (May 2024)
  • “Q3 b) Moore and Christin observe that security breaches and other failures of exchanges have little impact on the Bitcoin exchange rate. Speculate on why this might be and explain the reason?” (May 2024)

The short answer

Buying bitcoins in person costs more because the seller takes on extra risk and gives extra convenience. Exchange failures barely move the rate because the price is set by a global market, not by one exchange.

Write these points

Why in person is dearer (reasons offered)

  • Risk for the seller: fake notes, theft, or meeting a stranger.
  • Convenience premium: instant cash for coins, no bank, no wait.
  • Privacy premium: no identity check or account is needed.
  • Small scale: one seller cannot spread cost like an exchange that handles thousands of trades.
  • Cash and payment risk: an exchange payment by bank can be reversed in some systems, so sellers want a margin.

Why exchange failures have little effect on the rate

  • Many exchanges trade the same coin. Arbitrage keeps their prices close.
  • A failed exchange is usually small. Most traders keep coins elsewhere.
  • Users who lose money lose a deposit, not coins held on the chain, so Bitcoin itself is untouched.
  • New buyers soon move to other exchanges.

Remember. Both parts ask you to speculate. These are the common explanations, not facts about one study. Add your own reasoning in the exam.

Size of an in person premium.

An exchange sells 1 BTC for Rs 50,00,000. A local seller asks 3 percent more.

3 percent of Rs 50,00,000 = Rs 1,50,000. The price in person is Rs 51,50,000.

The buyer pays that extra Rs 1,50,000 for cash and privacy.

Real-life example

Buying mangoes from a roadside seller costs more than at the wholesale market. The seller pays for the walk, the risk and your time. A local coin seller adds the same margin. If one wholesale market closes, the mango price in the city hardly changes, because other markets are open.

Figure: why one exchange failing hardly changes the price
Figure: why one exchange failing hardly changes the price

Same or opposite: in person purchase and exchange purchase

PointIn personOnline exchangeSame or opposite
PriceHigherLowerOpposite
Identity checkOften noneUsually requiredOpposite
Gets you real bitcoinsYesYesSame
Speed of cash paymentInstantWait for the bankOpposite

Exam tip. Give four reasons for the premium and three reasons for the weak effect of failures. Mark the answer as reasoning. Keep one number example.

Back to the topic list

Q5. Four stages of Ethereum development

Asked 1 time in 2024 · Unit 3

From the papers

  • “Q4 a) Write the four stages of Ethereum development.” (May 2024)

The short answer

The four stages of Ethereum development are Frontier, Homestead, Metropolis and Serenity. Each stage moved the network from an early test version toward a stable, faster and greener platform.

Write these points

The four stages

StageMeaning
Frontier (2015)First live version for developers. Command line only, mining by proof of work.
Homestead (2016)First stable release. Gave a graphical wallet and safer rules.
Metropolis (2017 to 2019)Made in two steps called Byzantium and Constantinople. Better privacy tools, lower costs.
SerenityMoved to proof of stake. Known as Ethereum 2.0 and it was completed in 2022 with the Merge.

Remember. Some books name more stages (Ice Age, Casper, Shasta, Sharding). Write the four your textbook gives.

What changed across the stages

  1. From proof of work mining to proof of stake validators.
  2. From a test network to a stable network with fixed rules.
  3. More tools for smart contracts and cheaper operations (gas).
  4. Plans for scaling with sharding and rollups.

Real-life example

A road is built in four steps: a rough track, a paved road, lanes with signs, then a flyover. Ethereum went the same way. It moved from a rough track for developers to a fast road for everyone.

Figure: four stages of Ethereum
Figure: four stages of Ethereum

Same or opposite: early Ethereum and later Ethereum

PointFrontierSerenitySame or opposite
ConsensusProof of workProof of stakeOpposite
Aimed atDevelopersAll usersOpposite
Runs smart contractsYesYesSame
Energy useHighVery lowOpposite

Exam tip. Write the four names in order with the year and one line each. Add a note that books differ. Mention the move to proof of stake for the last stage.

Back to the topic list

Q6. Components of a blockchain

Asked 1 time in 2024 · Unit 1

From the papers

  • “Q4 b) What are the components of Blockchain.” (May 2024)

The short answer

A blockchain has nodes, blocks, cryptography, a consensus mechanism, a peer to peer network and often smart contracts and wallets.

Write these points

Components

ComponentJob
NodeA computer that keeps a copy of the ledger and checks the rules
BlockA batch of transactions with a header and the hash of the previous block
TransactionA signed record of a transfer or action
CryptographyHash links the blocks. Digital signatures prove who sent a transaction
ConsensusThe rule by which nodes agree on the next block (proof of work, proof of stake)
  • Distributed ledger: every node holds the same record, so no single owner controls it.
  • Network: nodes gossip new transactions and blocks to their peers.
  • Smart contracts and wallets: programs on the chain and tools that hold keys.

A block header holds

  1. Version.
  2. Hash of the previous block.
  3. Merkle root of the transactions.
  4. Time stamp and difficulty target.
  5. Nonce.

Real-life example

A school keeps a register of fees. Many class teachers each hold a copy and compare it every day. Each page quotes the earlier page number and each payment is signed. If one teacher changes a figure, the others reject it. The copies, the page links, the signatures and the agreement are the parts of a blockchain.

Figure: components of a blockchain
Figure: components of a blockchain

Same or opposite: a blockchain and a normal database

PointBlockchainNormal databaseSame or opposite
ControlShared by many nodesOne ownerOpposite
Past records can be editedVery hardEasy for the ownerOpposite
Stores records in an organised formYesYesSame
Trust comes fromCryptography and consensusThe administratorOpposite

Exam tip. Name five components and give one line to each. Draw the hub figure. Add the header fields if marks allow.

Back to the topic list

Q7. Structure of a Bitcoin transaction

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q5 a) Write the structure of Transaction.” (May 2024)

The short answer

A Bitcoin transaction moves value by spending earlier outputs and creating new ones. Its structure has a version, a list of inputs, a list of outputs and a lock time.

Write these points

Fields of a transaction

FieldMeaning
VersionRule set used for the transaction
Input count and inputsEach input names an earlier transaction (hash) and an output number, with a ScriptSig and a sequence number
Output count and outputsEach output has a value in satoshi (one hundred millionth of a bitcoin) and a ScriptPubKey lock
Lock timeEarliest time or block when the transaction may be mined
  • An input spends an unspent output (UTXO). The whole output is used, so change returns to the sender as a new output.
  • Fee = total of inputs minus total of outputs. Miners take it.
  • The ScriptSig of the input must open the ScriptPubKey of the output it spends.
  • The sequence number and the lock time can delay when an input may be spent.

A payment with change.

Asha holds one output of 0.50 BTC. She pays Bala 0.30 BTC with a fee of 0.001 BTC.

Outputs: 0.30 to Bala and 0.199 back to herself as change.

Check: 0.30 + 0.199 + 0.001 = 0.50. Inputs equal outputs plus fee, so the transaction is valid.

Real-life example

You pay Rs 500 for a Rs 320 bill with one note. The shopkeeper keeps Rs 320 and returns Rs 180. Bitcoin works the same way: the whole old note, the unspent output, is used and the change comes back as a new output. A small tip for the cashier is the miner's fee.

Figure: structure of a Bitcoin transaction
Figure: structure of a Bitcoin transaction

Same or opposite: inputs and outputs of a transaction

PointInputsOutputsSame or opposite
Refer toEarlier unspent outputsNew locks with valuesOpposite
Carry a scriptScriptSig, the keyScriptPubKey, the lockOpposite
Total must balance with the other side plus feeYesYesSame
Marked spent after useYesNo, they become new UTXOsOpposite

Exam tip. Draw the layered figure and list the four fields. Show change and fee in a small sum so the balance rule is clear.

Back to the topic list

Q8. Smart contracts

Asked 1 time in 2024 · Unit 4

From the papers

  • “Q5 b) What is a Smart Contract? Explain in detail.” (May 2024)

The short answer

A smart contract is a program stored on a blockchain that runs by itself when its conditions are met. Nobody can stop it or change it after deployment, so two parties can trust it without a middleman.

Write these points

How it works

  1. Parties agree the rules and write them as code (Solidity on Ethereum).
  2. The code is deployed in a transaction and gets an address.
  3. A user or another contract sends a transaction that calls it.
  4. Every node runs the code and gets the same result.
  5. The new state is written to the chain. A fee called gas pays for the work.

Uses named in the syllabus

  • Escrow: funds stay locked until both sides are satisfied.
  • Micropayments: many tiny payments inside a payment channel.
  • Decentralised lottery: the contract picks and pays the winner.
contract Escrow {
  address buyer; address seller; bool paid;
  function release() public { require(msg.sender == buyer); payable(seller).transfer(address(this).balance); }
}

Remember. The code is a short sketch and was not run on a test network.

Escrow of Rs 10,000.

Buyer locks Rs 10,000 in the contract. The seller ships.

Buyer calls release(). The contract sends Rs 10,000 to the seller.

If the buyer never calls it, a timeout clause (added by the author) returns the funds.

Real-life example

A flat is sold with an agent holding the money until the papers are done. A smart contract is that agent made of code. It holds the money, checks the rule and pays out. Nobody can bribe it, but a mistake in the code is also final.

Figure: life of a smart contract
Figure: life of a smart contract

Same or opposite: a smart contract and a paper contract

PointSmart contractPaper contractSame or opposite
Enforced byCode on the chainCourtsOpposite
Can be changed after signingNoOnly by agreementOpposite
Records the agreed termsYesYesSame
Speed of settlementAutomaticSlowOpposite

Exam tip. Define it, then give the five steps. Name escrow, micropayments and lottery from the syllabus. A tiny code sketch adds marks.

Back to the topic list

Q9. Probability that a block is found in the next 10 minutes

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q6 a) Assuming that the total hash power of the network stays constant, what is the probability that a block will be found in the next 10 minutes?” (May 2024)

The short answer

Bitcoin blocks arrive as a random process with an average gap of 10 minutes. The chance of at least one block in the next 10 minutes is 1 minus e to the power minus 1, which is about 63.2 percent.

Write these points

The model

  • Finding a block is like a lottery with many tiny tries. Past tries do not change the next one (memoryless).
  • With a mean gap of m minutes, the chance of at least one block in t minutes is 1 - e^(-t/m).
  • The network keeps m near 10 minutes by the difficulty adjustment every 2,016 blocks.
  • A longer wait raises the chance: after 30 minutes it is 95 percent.
Time tChance of at least one block
10 minutes63.2 percent
20 minutes86.5 percent
30 minutes95.0 percent

The answer for 10 minutes.

m = 10 and t = 10 give t / m = 1.

Chance of no block = e^(-1) = 0.368. Chance of at least one block = 1 - 0.368 = 0.632.

So there is a 36.8 percent chance that a 10 minute wait ends with no block at all. The average of 10 minutes does not mean exactly one block.

Real-life example

A bus on a busy route comes every 10 minutes on average but not at fixed times. Sometimes two buses arrive together and sometimes you wait 25 minutes. Block times behave the same way. That is why a payment can wait much longer than 10 minutes for its first confirmation.

Figure: chance of at least one block over time
Figure: chance of at least one block over time

Same or opposite: average block time and exact block time

PointAverage (10 minutes)Exact gap of one blockSame or opposite
ValueFixed by difficultyRandom each timeOpposite
Known in advanceYesNoOpposite
Both describe the same block arrivalsYesYesSame
UsePlan and expectationReal waitingOpposite

Exam tip. State the formula first and put numbers in: 1 - e^(-1) = 0.632. If the question assumes the hash power is constant, say that the mean stays 10 minutes. Draw the curve if you can.

Back to the topic list

Q10. Task of Bitcoin miners

Asked 1 time in 2024 · Unit 2

From the papers

  • “Q6 b) What is the task of bitcoin miners?” (May 2024)

The short answer

A Bitcoin miner collects pending transactions, checks them, builds a block and searches for a nonce so the block hash falls below the target. The winner broadcasts the block and earns the block reward plus fees.

Write these points

Tasks of a miner

  1. Collect transactions from the memory pool.
  2. Validate each one: valid signatures, unspent inputs, correct scripts.
  3. Build a block with a coinbase transaction that pays the miner.
  4. Search for a nonce by repeated SHA-256 hashing until the hash is below the target.
  5. Broadcast the block. Other nodes verify it and add it.
  6. Collect the reward and fees, then start on the next block.

Why miners matter

  • They order transactions and stop double spending.
  • They secure the chain with the cost of work.
  • They create new bitcoins. The reward halves every 210,000 blocks, so the total stops near 21 million.

Share of rewards.

About 144 blocks are mined each day (24 x 6). A miner with 1 percent of the network finds about 1.44 blocks a day.

That is about one block every 0.69 days, or 16.7 hours.

Small miners join a pool and share the reward by work done, so their income is steady.

Real-life example

Miners are like clerks who stamp the common register. Each clerk must solve a hard puzzle before stamping a page. The first to solve it gets a bonus and every other clerk checks the page in seconds. The puzzle cost keeps clerks honest.

Figure: work of a miner
Figure: work of a miner

Same or opposite: a miner and a full node

PointMinerFull nodeSame or opposite
Builds new blocksYesNoOpposite
Checks all rulesYesYesSame
Needs special hardwareUsually yesNoOpposite
Earns rewardYesNoOpposite

Exam tip. List the six tasks in order. Mention the reward and fees. A short example of the expected blocks for a small miner makes the answer concrete.

Back to the topic list

Start with the latest papers

Block Chain Technology - May 2024

See all 1 papers →

Block Chain Technology (CI-802-D) FAQs

What are the most important topics in Block Chain Technology?

By how often they were asked in the papers on this site: Confirmations and the chance that an attacker catches up (1 times); Double spend attack by a malicious ISP (1 times); A script that needs a SHA-256 collision (1 times); Bitcoin price in person and the effect of exchange failures (1 times); Four stages of Ethereum development (1 times).

How were these Block Chain Technology important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2024). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Block Chain Technology important questions with answers?

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

The 10 most repeated topics of Block Chain Technology (CI-802-D) for RGPV B.Tech CSIT semester 8, counted from the previous year papers on this site.