What resources are used when a thread is created? How do they differ from those when a process is created?
Correct Answer
When a thread is created the threads does not require any new resources to execute the thread shares the resources like memory of the process to which they belong to The benefit of code sharing is that it allows an application to have several different threads of activity all within the same address space Whereas if a new process creation is very heavyweight because it always requires new address space to be created and even if they share the memory then the inter process communication is expensive when compared to the communication between the threads
More questions
1. In the relational model, relationships between relations or tables are created by using:
Correct Answer: Object Repository means not a collection of objects it's a common repository for all the people (testing, developers) for seeing all the data in single login for example QA wants to see 5 testers works then he goes to each person login and see the data It's very difficult job for this we can use Object Repository
Correct Answer: The OSI Model is used as a reference model The primary reason the OSI model was created was so that different networks could inter-operate Hence, different networks could communicate