Skip to main content

Section 2 - Wrap Up

Overview​

  • 2.14 Section 2 Quiz
  • 2.15 Section Wrap Up Discussion

[2.14] Section 2 Quiz​

Question 1:

Which of the following are true regarding the contents of a UTXO based transaction?

(Select all that apply)

  • A transaction can have many inputs
  • A transaction can only have one output
  • Inputs in a single transaction can reference outputs in different transactions
  • All transaction outputs in the same transaction must be assigned to the same account

Question 2:

Which of the following apply to Bitcoin scripts?

(Select all that apply)

  • They can be written in a Turing complete language
  • They are used to describe spending conditions of bitcoin transaction outputs
  • A bitcoin script in one transaction, can save state to be accessed in another transaction
  • They do not allow loops

Question 3:

Which of the following are true regarding an unspent transaction output?

(Select all that apply)

  • They cannot have a spending condition written in a Turing complete programming language
  • They map to a single entry of the UTXO current state database
  • When used, all of the assets in the output need to be spent (i.e. a utxo cannot be spent twice)
  • Anyone can spend any unspent transaction output
  • Only a signature is required in order to spend an unspent transaction output

Question 4:

Which of the following are true regarding the contents of an Accounts-based transaction?

(Select all that apply)

  • It must contain many origins
  • It must contain a sequence (nonce) value
  • It must contain only one destination
  • It may contain smart contract code

Question 5:

Which of the following are true regarding processing Ethereum mainnet transactions?

(Select all that apply)

  • Smart contract code can be invoked
  • Unspent transaction outputs are added to the current state database
  • A transaction can revert
  • A transaction fee must be paid

Question 6:

Which of the following apply to Ethereum smart contracts?

(Select all that apply)

  • They can be written in a Turing complete programming language.
  • They can have associated state.
  • Transactions invoking a smart contract must include a maximum computational limit on the associated processing.
  • When creating a smart contract, the smart contract code is not placed inside a transaction.

Question 7:

Which of the following are valid differences between the UTXO and Accounts based data storage models?
  • Smart contracts are only used in Accounts-based distributed ledgers
  • Transaction fees are only required for the Accounts based model
  • Permissioned DLT networks can only use the UTXO model
  • To protect against reply attacks, UTXO based distributed ledgers use the fact that unspent transaction outputs can only be spent once, while accounts based distributed ledgers use a nonce value
  • To protect against reply attacks, UTXO based distributed ledgers use the fact that unspent transaction outputs can only be spent once, while accounts based distributed ledgers use the account identifier

Question 8:

Which of the following are true regarding the Overledger DLT Gateway?

(Select all that apply)

  • Overledger can connect to different networks of different DLTs.
  • Code utilising Overledger can be reused across different DLT networks by changing only the location details object.
  • Overledger has no user authentication system.
  • Overledger responses also include data in DLT native form.
  • Overledger uses a standardised cross-DLT data model.

Solutions:

  1. A. & C.
  2. B. & D.
  3. B. & C.
  4. B. & D.
  5. A., C., & D.
  6. A., B., & C.
  7. D.
  8. A., B., D., & E.