CY-702-B Block Chain and Crypto Currencies

Block Chain and Crypto Currencies (CY-702-B) Important Questions

These are the 10 Block Chain and Crypto Currencies (CY-702-B) topics we chose from the RGPV syllabus for RGPV B.Tech Cyber Security semester 7. No past paper of this subject is on this site yet, so we could not count repeats.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • All papers on this site: 0
  • Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these

10 Block Chain and Crypto Currencies topics from the syllabus

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

Block Chain and Crypto Currencies important questions with answers

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

Q1. Blockchain: concept and characteristics

Short answer. A blockchain is a shared ledger kept as a chain of blocks, where each block holds transactions and the hash of the previous block. Copies sit on many computers, so no single party can change the past.

From the syllabus · Unit 1

From the papers

  • “Unit 1: Introduction, Concept of Blockchain, Fundamentals of Blockchain, Characteristics of Blockchain, Consensus in Trust-Building Exercise.” (Syllabus)

Write these points

Concept

  • Each block stores a list of transactions, a timestamp and the hash of the block before it.
  • Changing an old block changes its hash. Every later block then points to a wrong hash, so the change shows at once.
  • Many nodes hold a copy and agree on the next block by a consensus rule.

Characteristics

  • Decentralised: no central bank or server owns the ledger.
  • Immutable: past records cannot be edited without redoing the work of every later block.
  • Transparent: members can read and check the ledger.
  • Secure: hashes and digital signatures protect data and ownership.
  • Consensus as trust building: strangers trust the ledger because the rule is open and checked by all, not because they trust one another.

Tamper check on three blocks.

Block 101 stores prev = 91c2.., which is the hash of block 100.

Someone edits a payment in block 100. Its hash becomes, say, 55e0.. instead of 91c2...

Block 101 still says prev = 91c2.., so the link breaks. Every node sees the edit and rejects it.

Remember. The hash values in the figure are shortened labels, not real hashes.

Real-life example

A housing society keeps a visitor register at the gate. If each page ended with a stamp made from the page before, nobody could tear out or rewrite an old page without breaking every later stamp. Now give a copy of the register to every flat owner. That is a blockchain.

Diagram: Blockchain: concept and characteristics

Difference between blockchain and a central database

PointBlockchainCentral databaseSame or opposite
Who controls itMany nodesOne ownerOpposite
Stores recordsYesYesSame
Edit old recordsPractically impossibleEasy for the adminOpposite
CopiesEvery nodeOne main copyOpposite
Speed of writesSlowerFasterOpposite

Exam tip. Start with the one-line definition. Draw three chained blocks with prev hashes. Then list four or five characteristics with one line each.

Back to the topic list

Q2. Public, private, hybrid and permissioned blockchains

Short answer. Blockchains are public, private or hybrid by who may join and who may write. A permissioned blockchain admits only known members and gives each a set role.

From the syllabus · Unit 1

From the papers

  • “Unit 1: Public, Private and Hybrid Block chains, Permissioned Model of Blockchain.” (Syllabus)

Write these points

Public blockchain

  • Anyone can join, read, send transactions and take part in consensus.
  • Uses costly consensus such as Proof of Work, because members are unknown. Bitcoin and Ethereum are examples.

Private blockchain

  • One organisation controls who joins.
  • Faster, because few known nodes vote. Less decentralised.

Hybrid or consortium blockchain

  • A group of organisations runs it together, such as banks or shipping firms.
  • Private data stays inside. A proof or summary may be placed on a public chain.

Permissioned model

  • Members have identities from a membership service.
  • Roles decide who can read, write, endorse or run consensus.
  • Hyperledger Fabric is a common permissioned platform.
PointPublicPrivateHybrid
JoinOpenInvitedMembers of a group
ConsensusPoW or PoSSimple votingVoting by members
SpeedSlowFastMedium

Choosing a type.

A cricket fan app selling tokens to anyone: public chain.

One bank tracking its own branch transfers: private chain.

Ten banks sharing trade finance papers: consortium chain, permissioned.

Real-life example

A public park is open to all. Anyone can walk in. A company canteen lets in only staff with ID cards. A club shared by five colleges lets in members of those colleges only. Blockchains are opened or closed in the same three ways.

Diagram: Public, private, hybrid and permissioned blockchains

Difference between public and private blockchain

PointPublicPrivateSame or opposite
Who can joinAnyoneInvited membersOpposite
Uses blocks and hashesYesYesSame
Consensus costHighLowOpposite
Identity of membersUnknownKnownOpposite
Keeps a shared ledgerYesYesSame

Exam tip. Define all three types with one example each. Add the permissioned model with roles. A small table of join rule, consensus and speed earns full marks.

Back to the topic list

Q3. Architecture of blockchain, transactions and chaining blocks

Short answer. The architecture of a blockchain has layers: data, network, consensus, contract and application. Transactions are grouped into blocks, where each block is chained to the one before by its hash.

From the syllabus · Unit 1

From the papers

  • “Unit 1: Architecture of Blockchain, Transactions, Chaining Blocks.” (Syllabus)

Write these points

Layers

  • Data layer: blocks, hashes, Merkle trees and digital signatures.
  • Network layer: peer to peer links. Nodes pass new transactions and blocks to their neighbours.
  • Consensus layer: the rule that picks the next valid block, such as PoW, PoS or PBFT.
  • Contract layer: smart contracts and scripts that run on the chain.
  • Application layer: wallets, exchanges and apps that users touch.

Life of a transaction

  1. The user signs a transaction with a private key.
  2. Nodes check the signature and balance, then keep it in a waiting pool.
  3. A block maker puts waiting transactions into a new block.
  4. The block carries the previous block hash, so it joins the chain.
  5. Nodes check the block and add it to their copy.

Chaining in numbers.

Block 102 holds prev = 0be8.., the hash of block 101.

Block 101 holds prev = 91c2.., the hash of block 100.

To change block 100, an attacker must redo blocks 100, 101 and 102 faster than all honest nodes.

Real-life example

Think of a parcel sent through India Post. You fill and sign the form and the counter checks it. The parcel joins a sorted bag. The bag gets a sealed tag that refers to the previous bag. Each step is like a layer of the blockchain.

Diagram: Architecture of blockchain, transactions and chaining blocks

Difference between transaction and block

PointTransactionBlockSame or opposite
Made byA userA miner or validatorOpposite
SignedBy the senderHash linked to the previous blockOpposite
Stored on the ledgerYes, inside a blockYesSame
Holds many itemsNoYes, many transactionsOpposite
Checked by every nodeYesYesSame

Exam tip. Draw the five layers from data to application. Then write the transaction steps in order. End with one line on how chaining stops tampering.

Back to the topic list

Q4. Hash functions and SHA-1

Short answer. A hash function maps data of any size to a fixed-size value called a digest. SHA-1 gives a 160-bit digest, while blockchains such as Bitcoin use SHA-256.

From the syllabus · Unit 2

From the papers

  • “Unit 2: Hash Functions, Hashing, Secure Hash Algorithms (SHA-1).” (Syllabus)

Write these points

Properties of a cryptographic hash

  • Deterministic: the same input always gives the same digest.
  • Fast to compute for any input size.
  • Pre-image resistance: from a digest you cannot find the input.
  • Second pre-image resistance: given one input, you cannot find another with the same digest.
  • Collision resistance: you cannot find any two inputs with the same digest.
  • Avalanche effect: a one-character change flips about half the output bits.

SHA-1

  • Output 160 bits, shown as 40 hex characters.
  • Practical collisions have been shown, so it is not used for new security work. SHA-256 is preferred.
import hashlib
print(hashlib.sha1(b'paperwala').hexdigest())
print(hashlib.sha256(b'paperwala').hexdigest()[:16])

Output of the code above (run, from calc.py).

SHA-1 of paperwala = 560caa4966080e21188450150591a77d29e4f89c (40 hex = 160 bits).

SHA-256 of paperwala starts 963f5d23e62cf5d4. SHA-256 of Paperwala starts 6ebd5c1ca0e92dbf.

Changing one capital letter flips 124 of the 256 bits.

Remember. We have not checked the history of SHA-1 attacks in detail. Say only that collisions are known and SHA-1 is retired for signatures.

Real-life example

A fingerprint identifies a person but tells you nothing about their face or height. Two people never share one in practice. A hash is the fingerprint of a file. A bank can compare fingerprints of two files without reading them.

Hash function
Hash function

Difference between SHA-1 and SHA-256

PointSHA-1SHA-256Same or opposite
Output size160 bits256 bitsOpposite
Fixed size outputYesYesSame
Known practical collisionsYesNone knownOpposite
Used in Bitcoin blocksNoYesOpposite
One-wayYesYesSame

Exam tip. List the five properties with one line each. Give the output sizes of SHA-1 and SHA-256. Show the avalanche effect with two inputs that differ by one letter.

Back to the topic list

Q5. Hashing in mining: Proof of Work

Short answer. Mining is the work of building a new block and finding a nonce that makes the block's hash smaller than a target. This Proof of Work makes adding a block costly but checking it cheap.

From the syllabus · Unit 2

From the papers

  • “Unit 2: Hashing in Blockchain Mining.” (Syllabus)

Write these points

Steps

  1. Collect waiting transactions and add a coinbase transaction that pays the miner.
  2. Build the header: previous hash, Merkle root, time, target and nonce.
  3. Hash the header with double SHA-256.
  4. If the hash is below the target, broadcast the block. If not, change the nonce and try again.
  5. Other nodes check with one hash and accept the block.

Why it secures the chain

  • Rewriting an old block means redoing its work and all later work.
  • Honest nodes follow the chain with the most total work.
  • An attacker needs more than half of all hash power to win the race. This is the 51 percent attack.

Difficulty

  • The target is adjusted so blocks come at a steady rate, about every 10 minutes in Bitcoin.
  • A smaller target means more zeros in front and more tries.

Toy mining (from calc.py, SHA-256 of a short text).

Header text: block7|prev=ab12|tx=3|nonce=n.

Hash starting with 0: nonce 54. With 00: nonce 214. With 000: nonce 18,077.

Expected tries grow 16 times per zero: 16, 256, 4,096. Checking takes one hash.

Real-life example

A school gives a puzzle lock to the class monitor. Opening it needs thousands of tries, but any student can check an opened lock in a second. Whoever opens it first writes the next page of the class register. Mining works like this puzzle.

Diagram: Hashing in mining: Proof of Work

Difference between mining and verifying

PointMiningVerifyingSame or opposite
Hashes neededVery manyOneOpposite
Done byMinersEvery full nodeOpposite
Uses double SHA-256YesYesSame
Earns a rewardYesNoOpposite
Follows the same targetYesYesSame

Exam tip. Draw the nonce loop. State the target rule and the difficulty adjustment. Show the toy example where each extra zero needs 16 times more tries.

Back to the topic list

Q6. Consensus algorithms and Byzantine agreement

Short answer. A consensus algorithm makes all honest nodes agree on the same next block. Byzantine agreement methods reach this even when some nodes lie or crash, provided n is at least 3f + 1 for f faulty nodes.

From the syllabus · Unit 2

From the papers

  • “Unit 2: Consensus, Consensus Algorithm, Byzantine Agreement Methods.” (Syllabus)

Write these points

Common consensus algorithms

  • Proof of Work (PoW): the first to solve the hash puzzle proposes the block.
  • Proof of Stake (PoS): validators lock coins as stake. The chance to propose grows with stake. Cheating loses stake.
  • Delegated PoS: holders vote for a small set of block producers.
  • PBFT (Practical Byzantine Fault Tolerance): known nodes exchange votes in rounds and commit when 2f + 1 agree.

Byzantine generals problem

  • Generals must agree to attack or retreat, but some are traitors who send different messages.
  • With n nodes and f traitors, agreement is possible only when n is at least 3f + 1.
  • PBFT phases: pre-prepare, prepare, commit. Each node waits for 2f + 1 matching messages.

Nodes needed (from calc.py).

f = 1: n = 4 nodes, 3 votes to commit.

f = 2: n = 7 nodes, 5 votes.

f = 3: n = 10 nodes, 7 votes.

Real-life example

Four friends decide by message where to meet. One friend is a prankster who tells two of them the mall and one the station. If each friend waits for three matching messages, the honest three still meet at the same place. The prankster cannot split them.

Diagram: Consensus algorithms and Byzantine agreement

Difference between PoW and PBFT

PointPoWPBFTSame or opposite
MembersOpen, unknownKnown, permissionedOpposite
Energy useHighLowOpposite
Gives agreement on blocksYesYesSame
FinalityAfter several blocksImmediate after commitOpposite
Handles some bad nodesYesYesSame

Exam tip. Name and explain three algorithms. State the generals problem and the 3f + 1 rule. Draw four nodes with one traitor and the 2f + 1 vote count.

Back to the topic list

Q7. Ethereum and the Ethereum Virtual Machine

Short answer. Ethereum is a public blockchain that runs programs called smart contracts. The Ethereum Virtual Machine (EVM) is the engine on every node that runs contract bytecode and charges gas for each step.

From the syllabus · Unit 3

From the papers

  • “Unit 3: Blockchain Components, Ethereum Virtual Machine, Working of Ethereum.” (Syllabus)

Write these points

Working of Ethereum

  • Two account types: externally owned accounts held by users with keys. The other type is contract accounts that hold code.
  • A transaction moves ether or calls a contract function.
  • Every node runs the call in its EVM and gets the same new state.
  • The state holds balances, contract code and contract storage.

EVM

  • A stack-based machine that runs bytecode compiled from Solidity.
  • Same input gives the same output on every node, so all copies agree.
  • Each instruction costs gas. If gas runs out, the changes are undone but the fee is kept.

Gas

  • Fee = gas used x gas price. Gas price is quoted in gwei, where 1 gwei = 10^-9 ether.
  • Gas stops endless loops and pays validators for work.

Fees (from calc.py).

A plain ether transfer uses 21,000 gas.

At 20 gwei: 21,000 x 20 = 420,000 gwei = 0.00042 ETH. At 50 gwei: 0.00105 ETH.

A contract call using 60,000 gas at 20 gwei costs 0.0012 ETH.

Remember. Ethereum fee rules have changed over time (a base fee and a tip). The simple gas x price form is used here to show the idea.

Real-life example

A prepaid electricity meter charges for every unit used. If the balance runs out midway, power stops but the used units are still paid. The EVM is the meter for computation. Gas is the unit. A heavy program costs more units.

Diagram: Ethereum and the Ethereum Virtual Machine

Difference between Bitcoin and Ethereum

PointBitcoinEthereumSame or opposite
Main purposeDigital cashPlatform for contractsOpposite
Public blockchainYesYesSame
ScriptingLimited scriptFull programs in the EVMOpposite
Fee unitSatoshi per byteGasOpposite
Uses digital signaturesYesYesSame

Exam tip. Draw the transaction to state flow through the EVM. Define gas and write the fee formula with one example. Name the two account types.

Back to the topic list

Q8. Merkle trees

Short answer. A Merkle tree is a binary tree of hashes: leaves are transaction hashes and each parent is the hash of its two children. The top is the Merkle root stored in the block header.

From the syllabus · Unit 4

From the papers

  • “Unit 4: Merkle Trees.” (Syllabus)

Write these points

Building it

  1. Hash every transaction to get the leaves.
  2. Join leaves in pairs and hash each pair.
  3. If a level has an odd count, Bitcoin copies the last hash.
  4. Repeat until one hash, the root, is left.

Why it is used

  • Any change in any transaction changes the root, so the header protects all transactions.
  • Merkle proof: to show a transaction is in a block, send only the sibling hashes up the path.
  • A proof needs about log2(n) hashes for n transactions.
  • Light wallets check payments with the header and a short proof, without the full block.

Four transactions (from calc.py, double SHA-256, first 8 hex).

Leaves: 2d236efa, da6e238b, c9b37e5b, 9b6b4cce.

H12 = f7e820fd, H34 = d98cbdc8, root = 5a04ea45.

Proof that T3 is in the block: H(T4) and H12. Two hashes.

For 1,024 transactions a proof needs 10 hashes. For 4,096 it needs 12.

Real-life example

A school has 1,024 students in a tree of classes and sections. To prove one student belongs, you do not show the full list. You show the section list, then the class list, then the school stamp. A Merkle proof climbs the tree the same way.

Diagram: Merkle trees

Difference between Merkle root and block hash

PointMerkle rootBlock hashSame or opposite
SummarisesAll transactionsThe whole headerOpposite
Made by hashingYesYesSame
Stored inThe headerThe next block's headerOpposite
Changes if a transaction changesYesYesSame
Used for short proofsYesNoOpposite

Exam tip. Draw a four-leaf tree with labelled hashes. State the pairing rule. Show which two hashes prove one transaction and give the log2(n) rule.

Back to the topic list

Q9. Bitcoin block structure

Short answer. A Bitcoin block has an 80-byte header and a list of transactions. The header holds the version, previous block hash, Merkle root, timestamp, difficulty target and nonce.

From the syllabus · Unit 4

From the papers

  • “Unit 4: Bitcoin Block Structure, Mining in Blockchain.” (Syllabus)

Write these points

Header fields

FieldSizePurpose
Version4 bytesRules the block follows
Previous block hash32 bytesLinks to the parent block
Merkle root32 bytesSummary of all transactions
Timestamp4 bytesWhen the block was made
Bits (target)4 bytesDifficulty in short form
Nonce4 bytesNumber changed by miners

Body

  • A transaction counter, then the transactions.
  • The first one is the coinbase transaction. It creates the block reward and collects the fees.
  • The block hash is the double SHA-256 of the header only.
  • The block hash is not stored in the block. The next block stores it as its previous hash.

Header size and rewards (from calc.py).

4 + 32 + 32 + 4 + 4 + 4 = 80 bytes.

The reward halves every 210,000 blocks: 50, 25, 12.5, 6.25, 3.125 BTC.

Remember. We list the reward steps as halvings from 50 BTC. Check the current reward on the date of your exam if asked.

Real-life example

A railway parcel has a small label on top and the goods inside. The label shows the train, the parcel before it, a seal number for the contents and the date. Staff check the label without opening the box. The block header is that label.

Diagram: Bitcoin block structure

Difference between block header and block body

PointHeaderBodySame or opposite
SizeFixed 80 bytesVaries with transactionsOpposite
Hashed for the block hashYesNo, only through the Merkle rootOpposite
Part of the blockYesYesSame
Holds the nonceYesNoOpposite
Protected against changeYesYesSame

Exam tip. Draw the header as a stack with sizes. Add the 80-byte sum. Say that the block hash comes from the header only and the coinbase comes first.

Back to the topic list

Q10. Blockchain vertical solutions and use cases

Short answer. Blockchain vertical solutions apply the shared ledger to one industry, such as insurance, asset management, healthcare or manufacturing. Smart assets and electronic currency are two building blocks used across them.

From the syllabus · Unit 5

From the papers

  • “Unit 5: Blockchain Vertical Solutions and Use Cases, Blockchain in Different domain like Insurance, Assets Management, healthcare etc., Smart Assets, Electronic Currency, Manufacturing.” (Syllabus)

Write these points

Use cases by domain

  • Insurance: smart contracts pay claims when data proves the event, such as flight delay or rainfall. Shared records cut duplicate claims.
  • Asset management: tokens record who owns a share of a building or fund. Settlement is faster.
  • Healthcare: patient consent and record access logs on chain. Records stay off chain with only hashes on chain.
  • Manufacturing: parts history, quality certificates and machine logs shared with buyers.
  • Smart assets: physical or digital assets whose ownership is a token, transferred by contract.
  • Electronic currency: cryptocurrencies and central bank digital currencies move value on a ledger.

When to use blockchain

  1. Many parties share data.
  2. They do not fully trust one another.
  3. They need an audit trail.
  4. No single party should own the system.

Crop insurance by smart contract (illustrative).

Rule: pay 5,000 rupees if rainfall in July is below 100 mm.

The weather feed reports 82 mm for the village.

The contract pays each insured farmer 5,000 rupees with no claim form.

Real-life example

A farmer in Vidarbha waits months for a crop insurance claim, with forms and visits. With a smart contract linked to a rain gauge, the payment comes when the rain data shows a dry month. The farmer gets money when he needs it. This is a vertical solution for insurance.

Blockchain vertical solutions
Blockchain vertical solutions

Difference between insurance use case and healthcare use case

PointInsuranceHealthcareSame or opposite
Main dataClaims, event dataConsent, access logsOpposite
Uses smart contractsYesYesSame
Stores full records on chainClaims summaryNo, only hashesOpposite
BenefitFast payoutPatient controlOpposite
Many parties share dataYesYesSame

Exam tip. Give at least four domains with one concrete use each. Add the four-point test for when blockchain fits. One worked smart contract example earns extra marks.

Back to the topic list

Start with the latest papers

Previous year papers will be added soon!

Block Chain and Crypto Currencies (CY-702-B) FAQs

What are the most important topics in Block Chain and Crypto Currencies?

No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Blockchain: concept and characteristics; Public, private, hybrid and permissioned blockchains; Architecture of blockchain, transactions and chaining blocks; Hash functions and SHA-1; Hashing in mining: Proof of Work.

How were these Block Chain and Crypto Currencies 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 Block Chain and Crypto Currencies important questions with answers?

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

The 10 topics of Block Chain and Crypto Currencies (CY-702-B) for RGPV B.Tech Cyber Security semester 7, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.