2009 First exam

2009 First exam - 2009 First exam Your name 1 True/False...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
2009 First exam Your name: _________________________ 1. True/False Questions (write F or T) (10 points, 1 point each) __ The linker adds shared libraries (.so files) to the executable file when it builds a program. __ In a 32-bit architecture, a pointer to an array of pointers defined as “char *(*a)[5]”. If “a” has the value 1000, “a+1” points to the address 1020. __ In Preemptive Scheduling a context switch happens only when the running process goes to a waiting state or when the process gives up the CPU voluntarily. __ An operating system is a program that can be compiled with a normal compiler. __ A call to strcat(a,b) will allocate space with a number of bytes equal to the length of string "a" plus the length of string "b" plus 1. __ A canary is a process that gets killed and transformed into a zombie. __ The data section stores initialized global variables. __ A signal that isn't specifically handled by a process, is automatically ignored. __ A context switch is always the result of an interrupt.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern