| Select | ID | Category | Description |
|---|---|---|---|
| 101 | js-Map | const prices = [10, 20, 30, 40]; const taxedPrices = prices.map(p => p * 1.1); console.log(taxedPrices); | |
| 102 | js-Filter | const students = [{name: "Kevin", active: true}, {name: "Guest", active: false}]; const active = students.filter(s => s.active); | |
| 103 | js-Reduce | const credits = [3, 4, 3, 2]; const total = credits.reduce((sum, c) => sum + current, 0); | |
| 104 | js-Recursion | function fact(n) { return (n <= 1) ? 1 : n * fact(n - 1); } console.log(fact(5)); | |
| 105 | js-Sort | const grades = [85, 92, 78]; const sorted = [...grades].sort((a, b) => b - a); | |
| 106 | js-Composition | const clean = s => s.trim().toUpperCase(); console.log(clean(" scholar ")); | |
| 113 | java-Loop | public class Main { public static void main(String[] args) { for(int i=1; i<=5; i++) { System.out.println("Iteration: " + i); } } } | |
| 114 | java-List | import java.util.*; public class Lab { public static void main(String[] args) { List |
|
| 115 | php-Array | $students = ["Kevin", "Scholar", "Guest"]; foreach($students as $s) { echo "Access Granted: " . $s . " "; } |
|
| 116 | php-PDO | $stmt = $pdo->prepare("SELECT * FROM app_list WHERE status = ?"); $stmt->execute(["active"]); $res = $stmt->fetchAll(); print_r($res); | |
| 117 | python-ListComp | numbers = [1, 2, 3, 4, 5] squares = [n**2 for n in numbers] print(f"Neural Output: {squares}") |
|
| 118 | python-Dict | foundry = {"name": "GAC", "status": "Online"} for key, value in foundry.items(): print(f"{key.upper()}: {value}") |
|
| 119 | jsx-Component | const GacButton = ({ label }) => { return ; }; | |
| 120 | tsx-Interface | interface User { id: number; name: string; } const scholar: User = { id: 1, name: "Kevin" }; console.log(scholar.name); | |
| 121 | cpp-Pointer | #include int main() { int val = 100; int* ptr = &val; std::cout << "Memory Address: " << ptr << std::endl; return 0; } |
|
| 122 | cpp-Vector | #include #include int main() { std::vector |
|
| 123 | mysql-Select | SELECT category, COUNT(*) as total FROM app_list WHERE status = "active" GROUP BY category ORDER BY total DESC; | |
| 124 | mysql-Join | SELECT a.title, h.api_key FROM app_list a JOIN `api-hook` h ON a.id = h.seq_mp WHERE a.status = "active"; | |
| 125 | java-Conditionals | public class Logic { public static void main(String[] args) { int score = 85; if (score >= 90) { System.out.println("Elite"); } else if (score >= 75) { System.out.println("Scholar"); } else { System.out.println("Foundry Access"); } } } | |
| 126 | js-Events | const btn = document.querySelector("#run-btn"); btn.addEventListener("click", () => { const status = "Active"; console.log(`System Status: ${status}`); }); | |
| 127 | python-Exceptions | try: value = 10 / 0 except ZeroDivisionError: print("Logic Error: Cannot divide by zero in the Foundry.") finally: print("Cleanup sequence complete.") |
|
| 128 | php-PostRequest | if ($_SERVER["REQUEST_METHOD"] == "POST") { $user = htmlspecialchars($_POST["name"]); echo "Welcome to GAC, " . $user; } | |
| 129 | cpp-Switch | #include int main() { int mode = 2; switch(mode) { case 1: std::cout << "Read Mode"; break; case 2: std::cout << "Write Mode"; break; default: std::cout << "Locked"; } return 0; } |
|
| 130 | mysql-Create | CREATE TABLE `scholar_credits` ( `id` INT AUTO_INCREMENT PRIMARY KEY, `student_id` INT NOT NULL, `credits` DECIMAL(5,2) DEFAULT 0.00, `updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); | |
| 131 | tsx-PropValidation | type LabProps = { id: number; isActive: boolean; }; const LabStatus = ({ id, isActive }: LabProps) => { return Lab {id}: {isActive ? "ONLINE" : "OFFLINE"} ; }; |
|
| 132 | jsx-ListRender | const AppList = ({ apps }) => { return
|