# Assessment 3

#### Which validation pattern correctly enforces "data must be between 4 and 8 bytes"?

* [x] OP\_SIZE OP\_4 OP\_GREATERTHANOREQUAL OP\_SIZE OP\_8 OP\_LESSTHANOREQUAL OP\_BOOLAND
* [ ] OP\_SIZE OP\_4 OP\_8 OP\_WITHIN
* [ ] OP\_SIZE OP\_4 OP\_EQUAL OP\_SIZE OP\_8 OP\_EQUAL OP\_BOOLOR
* [ ] OP\_DEPTH OP\_4 OP\_8 OP\_WITHIN

\
**Notes to Learners**

You need to check both the lower bound (≥4) and upper bound (≤8), then combine those checks with OP\_BOOLAND. Option B doesn't exist (OP\_WITHIN checks numeric range, not size), option C checks for exact equality (wrong), and option D measures stack depth instead of data size.


---

# 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/bsv-opcodes/stack-data-queries/assessment-3.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.
