Skip to content

Conversation

@qimcis
Copy link
Collaborator

@qimcis qimcis commented Jan 18, 2026

Description

Adds the CS 350 Winter 2015 Midterm exam to the repository. Includes raw exam data and the solutions file. Metadata references the exam ID cs350_winter_2015_midterm and the exam directory path.

Changes

  • Add exam directory /home/qi/system-intelligence-benchmark/benchmarks/courseexam_bench/data/raw/cs350_winter_2015_midterm with raw exam files.
  • Add solutions file W15-midterm-soln.pdf to the exam directory.
  • Update metadata to register exam ID cs350_winter_2015_midterm and note that there are no reference files.

Testing

Ran python3 courseexam/prepare.py to validate and prepare the exam data. The prepare script executed successfully.

Checklist

  • Tests pass locally
  • Code follows project style guidelines
  • Documentation updated (if needed)

Copy link
Collaborator

@777lefty 777lefty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing and format issue, and the format of subproblems seems not to be consistent

values or ranges.
/* From func1 */ A:
/* From func2 */ B:
/* From func3 */ C:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code block here

void func2()
{
printf("C: %d\n", x);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code block here

```

---

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Problem 4 is skipped but seems to be feasible?

```

---

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diagram in Problem 3 seems to be expressible

void
barrier_wait(struct barrier *b)
{
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code block better


## Question 4 [3 point(s)]

The physical address that results from a load from virtual address = 6 125 273 127 604
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

background information for all subproblems in problem 4 is missed

vaddr_t as_vbase3 = 0x4 0000 0000; /* stack segment: virtualbase address */
paddr_t as_pbase3 = 0x1 0000 0000; /* stack segment: physical base address */
size_t as_npages3 = 0x18; /* stack segment: number of pages */
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants