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, lexer, parser, type-checking, interpreter, recursion
-
Number of questions
5
-
Created on
-
Generation source
-
License
CC0 Public domain
-
Prompt
Test students' ability to design a simple statically-typed programming language and implement its toolchain: specify syntax and type system, build a lexer and parser that produce an AST, implement an AST-based static type checker (including function types and recursion checks), and create an interpreter or bytecode compiler/executor supporting variables, conditionals, recursive functions, and basic types (ints, booleans, strings). Evaluate correctness, type error reporting, and sample programs demonstrating recursion and control flow.
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.