70 likes | 89 Views
Templates. January 6, 2005. Step 1: Activity Template. An activity is a task that requires a single submission. Multiple activities may be combined into an assignment. Comprised of: Name: for internal reference - e.g. “Sample Template” (Accepted filenames - e.g. “asdf*.java”)
E N D
Templates. January 6, 2005
Step 1: Activity Template • An activity is a task that requires a single submission. Multiple activities may be combined into an assignment. • Comprised of: • Name: for internal reference - e.g. “Sample Template” • (Accepted filenames - e.g. “asdf*.java”) • (Ignored filenames e.g. “asdf9.java”) • (Compile statements e.g. “javac asdf.java”) • (Tests)
Step 2: Test • Optional step • Comprised of: • Command – e.g. “java asdf input.txt” • Max run time • Required? • Quiet? • Hidden? • (input files) • (expected stdout) • (expected errout) • (solution files)
Step 3: Repeat • Repeat step 2 for each additional test. • Return to step 1 for each addition activity template.
Step 4: Assignment • An assignment is a lab or project. • Comprised of: • Name • 1 or more activity templates • Copied to allow modifications • (Start time) • Deadline
Step 5a: XML • Extract fields: • Course # • Team size • Point values • (Generate student website) • (Generate graders guide)
Step 5b: Manual • Enter fields: • Course # • Team size • Point values