# Assessment 4

#### Let's apply what you have learned so far to a specific scenario. Choose the correct response.

Alice wants to send 0.5 Bitcoin to Bob, but she only has 1 Bitcoin from a previous transaction. How should Alice structure her transaction to ensure both she and Bob receive the correct amounts?

* [x] Create a transaction with 1 Bitcoin as input, 0.5 Bitcoin as output to Bob, and 0.5 Bitcoin as change back to herself.
* [ ] Create a transaction with 0.5 Bitcoin as input and send it to Bob without any change.
* [ ] Create a transaction with 1 Bitcoin as input and send all of it to Bob.
* [ ] Create a transaction with 0.5 Bitcoin as input and return 0.5 Bitcoin to herself.\
  \
  \
  **Notes to learners**
* [ ] In a typical Bitcoin transaction, the structure involves specifying inputs and outputs correctly. Alice should use her 1 Bitcoin input to create two outputs: one for the payment of 0.5 Bitcoin to Bob and another for the change of 0.5 Bitcoin back to herself. This ensures that the transaction is valid and that Alice does not lose any funds.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-whitepaper-series/section-9-combining-and-splitting-value-bitcoin-whitepaper/assessment-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
