-
Notifications
You must be signed in to change notification settings - Fork 9
add cs350 winter 2015 midterm #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
777lefty
left a comment
There was a problem hiding this 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: |
There was a problem hiding this comment.
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); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code block here
| ``` | ||
|
|
||
| --- | ||
|
|
There was a problem hiding this comment.
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?
| ``` | ||
|
|
||
| --- | ||
|
|
There was a problem hiding this comment.
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) | ||
| { | ||
| } |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 */ | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code block
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
Testing
Ran python3 courseexam/prepare.py to validate and prepare the exam data. The prepare script executed successfully.
Checklist