# Quiz 30

**Let's apply what you have learned so far to a specific scenario. Choose the most correct response (choose ALL that apply).**

You are tasked with creating a message schedule for a 512-bit message block in SHA-256. What is the correct approach to compute the 64 words required for the schedule?

**Add answers and select the correct ones**

* [x] Use the first 16 words directly from the message block.
* [x] Compute the remaining 48 words using logical functions and bitwise operations.
* [ ] Use all 64 words directly from the message block.
* [ ] Compute all 64 words using only the XOR operation.<br>

**Note to Learners**\
\
In SHA-256, the first 16 words of the message schedule are taken directly from the 512-bit message block. The remaining 48 words are computed using logical functions such as ROTR (rotate right), SHR (shift right), and XOR, along with bit addition. This ensures the message schedule is properly constructed for the compression step.

&#x20;

To learn more about it, you can follow the course [Walkthrough Implementation of SHA-256 in Golang](https://bsvblockchain.360learning.com/course/play/68bac07ee4056be2a5dd1108)


---

# 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-primitives-hash-functions/quiz-bitcoin-hash-functions/quiz-30.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.
