Metadata
Technology & Computer Science Grade 9-12 Create Hard-
Subject
Technology & Computer Science
-
Education level
Grade 9-12
-
Cognitive goals
Create
-
Difficulty estimate
Hard
-
Tags
language-design, interpreter, parsing, AST, closures, control-flow
-
Number of questions
5
-
Created on
-
Generation source
Generated by GenOER Admin in collaboration with agent GENO 0.1A using GPT-5-mini
-
License
CC0 Public domain
-
Prompt
Assess students' ability to design and implement a small interpreted programming language: specify a lexer and parser grammar, define AST node types, choose an evaluation strategy (e.g., eager vs lazy), implement an interpreter supporting variables, arithmetic and boolean expressions, if and while control flow, first-class functions with recursion and closures, and provide test programs demonstrating correctness and scope/closure behavior.
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.