Computer Science > EXAM > University of Southern California - CSCI 402midterm-exam (All)

University of Southern California - CSCI 402midterm-exam

Document Content and Description Below

CSci 402 - Operating Systems Midterm Exam (DEN Section) Fall 2020 (11:00:00am - 11:40:00am, Wednesday, October 7) Instructor: Bill Cheng Teaching Assistant: Ben Yan ( This exam is open book and ... open notes. Remember what you have promised when you signed your Academic Integrity Honor Code Pledge. ) https://www.coursehero.com/file/75357404/midterm-exampdf/ This study resource was shared via CourseHero.comPage 1 of 6 Time: 40 minutes ——————————————- Name (please print) Total: 32 points ——————————————- Signature Instructions 1. This is the first page of your exam. The previous page is a title page and does not have a page number. Since this is a take-home exam, no need to sign above since you won’t submit this file. 2. Read problem descriptions carefully. You may not receive any credit if you answer the wrong question. Furthermore, if a problem says “in N words or less”, use that as a hint that N words or less are expected in the answer (your answer can be longer if you want). Please note that points may get deducted if you put in wrong stuff in your answer. 3. If a question doesn’t say weenix, please do not give weenix-specific answers. 4. Write answers to all problems in the answers text file. 5. For non-multiple-choice and non-fill-in-the blank questions, please show all work (if applicable and appropriate). If you cannot finish a problem, your written work may help us to give you partial credit. We may not give full credit for answers only (i.e., for answers that do not show any work). Grading can only be based on what you wrote and cannot be based on what’s on your mind when you wrote your answers. 6. Please do not just draw pictures to answer questions (unless you are specifically asked to draw pictures). Pictures will not be considered for grading unless they are clearly explained with words, equations, and/or formulas. It’s very difficult to draw pictures in a text file and you are not permitted to submit additional files other than the answers text file. 7. For problems that have multiple parts, please clearly label which part you are providing answers for. 8. Please ignore minor spelling and grammatical errors. They do not make an answer invalid or incorrect. 9. During the exam, please only ask questions to clarify problems. Questions such as “would it be okay if I answer it this way” will not be answered (unless it can be answered to the whole class). Also, you are suppose to know the definitions and abbreviations/acronyms of all technical terms. We cannot “clarify” them for you. We also will not answer any clarification-type question for multiple choice problems since that would often give answers away. 10. Unless otherwise specified and stated explicitly, multiple choice questions have one or more correct answers. You will get points for selecting correct ones and you will lose points for selecting wrong ones. 11. When we grade your exam, we must assume that you wrote what you meant and you meant what you wrote. So, please write your answers accordingly. https://www.coursehero.com/file/75357404/midterm-exampdf/ This study resource was shared via CourseHero.comCSci 402 Midterm Exam (32 points) Page 2 of 6 (Q1) (2 points) For the x86 processor, the switch() function is depicted below: void switch(thread_t *next_thread) { CurrentThread->SP = SP; CurrentThread = next_thread; SP = CurrentThread->SP; } In what way is this switch() function different from a regular function? (1) one thread enters the function and a different thread leaves the function (2) this function does not touch the ebp register (3) this function uses no local variables and that’s unusual (4) this function is unusually short (5) none of the above is correct Answer (just give numbers): [Show More]

Last updated: 2 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$10.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

63
0

Document information


Connected school, study & course


About the document


Uploaded On

Mar 23, 2021

Number of pages

7

Written in

Seller


seller-icon
Muchiri

Member since 4 years

209 Documents Sold

Reviews Received
19
5
1
1
6
Additional information

This document has been written for:

Uploaded

Mar 23, 2021

Downloads

 0

Views

 63

Document Keyword Tags


$10.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·