MidtermIII216Summer13 - University of Maryland College Park Dept of Computer Science CMSC216 Summer 2013 Midterm III Last Name(PRINT First Name(PRINT

MidtermIII216Summer13 - University of Maryland College Park...

This preview shows page 1 - 3 out of 7 pages.

1 University of Maryland College Park Dept of Computer Science CMSC216 Summer 2013 Midterm III Last Name (PRINT): _____________________________________________________ First Name (PRINT): _____________________________________________________ University Directory ID (e.g., umcpturtle)_____________________________________ I pledge on my honor that I have not given or received any unauthorized assistance on this examination. Your signature: _____________________________________________________________ Instructions This exam is a closed-book and closed-notes exam. Total point value is 200 points. The exam is a 50 minutes exam. Please use a pencil to complete the exam. WRITE NEATLY. You don’t need to use meaningful variable names; however, we expect good indentation. Grader Use Only #1 Problem 1 (Miscellaneous) (26) #2 Problem 2 (Process Control) (90) #3 Problem 3 (Assembly Programming) (84) Total Total (200) (200)
Image of page 1
2 Problem #1, Miscellaneous (26 pts) 1.(4 pts) A program has 8192 bytes of total heap space of which is currently using 8190 bytes. If the program creates a child using fork(), how much heap space would the child have?For the following questions assume we are using the stack frame organization discussed in class. 2.(4 pts) Complete the following irmovl statement so we can have 5local variables.
Image of page 2
Image of page 3

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture