Section 2 - Wrap Up
Overview​
- 2.14 Section 2 Quiz
- 2.15 Section Wrap Up Discussion
[2.14] Section 2 Quiz​
Question 1:
(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:
(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:
(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:
(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:
(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:
(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:
- 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:
(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:
- A. & C.
- B. & D.
- B. & C.
- B. & D.
- A., C., & D.
- A., B., & C.
- D.
- A., B., D., & E.