# Question 2: Programming Fundamentals [5 Marks]

**Assessment:** FA1 Mock Hands-On (PMIS-FA-1-Generic-Mock)  
**Package / Class:** `pfusingjava2.Solution`

---

## Problem Description
The **"CERT-AO"** organization audits inventory batches. Write code in the given Java method to implement the requirement.

---

## Input Format
- A 1D integer array named `actualArr` represents actual quantity.
- A 1D integer array named `thresholdArr` represents the target threshold of corresponding actual quantity.

---

## Rules
- For each element in `actualArr`:
  - If the element is greater than or equal to the corresponding threshold value (`actualArr[i] >= thresholdArr[i]`), it is considered valid: add `"<element>_RELEASED"` to `outArr`.
  - Otherwise, it is invalid: add `"<element>_REJECTED"` to `outArr`.
- Process for all elements of `actualArr` and return `outArr`.

---

## Output Format
- Returns a 1D String array named `outArr`.

---

## Constraints
- `0 <= actual quantity <= 99`
- `0 <= target threshold <= 99`
- The length of `actualArr`, `thresholdArr`, and `outArr` will be the same.

---

## Sample Input and Output

| # | Input (`actualArr`, `thresholdArr`) | Expected Output (`outArr`) | Explanation |
|---|---|---|---|
| 1 | `actualArr = [8, 3, 24, 28, 55, 44]`<br>`thresholdArr = [5, 5, 6, 25, 18, 42]` | `["8_RELEASED", "3_REJECTED", "24_RELEASED", "28_RELEASED", "55_RELEASED", "44_RELEASED"]` | `8 >= 5` -> add `"8_RELEASED"`<br>`3 >= 5` is false -> add `"3_REJECTED"`<br>`24 >= 6` -> add `"24_RELEASED"`<br>`28 >= 25` -> add `"28_RELEASED"`<br>`55 >= 18` -> add `"55_RELEASED"`<br>`44 >= 42` -> add `"44_RELEASED"` |
| 2 | `actualArr = [6, 77, 66, 23]`<br>`thresholdArr = [5, 99, 50, 68]` | `["6_RELEASED", "77_REJECTED", "66_RELEASED", "23_REJECTED"]` | `6 >= 5` -> add `"6_RELEASED"`<br>`77 >= 99` is false -> add `"77_REJECTED"`<br>`66 >= 50` -> add `"66_RELEASED"`<br>`23 >= 68` is false -> add `"23_REJECTED"` |
| 3 | `actualArr = [10, 15, 20, 21, 10]`<br>`thresholdArr = [20, 25, 31, 23, 15]` | `["10_REJECTED", "15_REJECTED", "20_REJECTED", "21_REJECTED", "10_REJECTED"]` | All elements fail threshold conditions |
| 4 | `actualArr = [29, 10, 31, 55, 35]`<br>`thresholdArr = [20, 5, 20, 20, 10]` | `["29_RELEASED", "10_RELEASED", "31_RELEASED", "55_RELEASED", "35_RELEASED"]` | All elements meet or exceed thresholds |
