1.

How do we define the term Thread?(a) Device that controls input(b) Variable that controls movement(c) Controlled execution of applications(d) Device that controls input & Variable that controls movementI have been asked this question in semester exam.My question comes from Performance Measures in JavaScript topic in chapter Performance Measures in JavaScript of JavaScript

Answer»

Correct answer is (c) Controlled EXECUTION of APPLICATIONS

To explain I would say: Threads are sequential units of controlled execution for applications. A thread of execution is the smallest sequence of PROGRAMMED INSTRUCTIONS that can be MANAGED independently by a scheduler, which is typically a part of the operating system.



Discussion

No Comment Found

Related InterviewSolutions