|
1. What is a Thread? 2. What are the advantages of threads? 3. Write the code for semaphore 4. What are NP Hard Problems? 5. What is constructor? 6. What are the OS Components ? 7. Polymorphism in C++ 8. What is the scope of a variable ? 9. Difference between structure and class 10. How is memory allocated by new ? a) In a heap b) in a stack b) both a & b c) None of these 11. Operation of queue a) FIFO b) LIFO c) FILO d) None of these 12. What is static and dynamic binding in C ? 13. If Link list is used to implement a stack what operations should be implemented : a) insert front, delete front b) insert front , delete rear c) insert rear, delete front d) None of these 14. What is static class and static member function? 15. What is stream ? How is it opened and describe file handling in CPP?
|