Question
What is the difference between multitasking and multithreading

Answers

Multitasking includes two ways for representation :
1. Preemptive multitasking: where the system terminates the idle process without asking the user.
For example: Unix/Linux, Windows NT
2. Non-preemptive multitasking: where the system ask the process to give the control to other process for execution.
For example: Windows 3.1 and Mac OS 9.
Multithreading :
1. Multithreaded programs are the program that extend the functionality of the multitasking by dividing the program in thread and then execute the task as individual threads.
2. Threads run in a different area and each thread utilizes some amount of CPU and memory for execution.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Explain the differences and similarities of Relative Layout and Linear Layout.
  • Q What part of the body is most bitten by insects
  • Q Tell us about your training project.
  • Q Compute the nth number in the Fibonacci sequence?
  • Q Rajendra Narayan Singh Deo and Bishwanath Das led two coalition governments between March 8, 1967-January 9, 1971 and April 3, 1971 to June 14, 1972 respectively. Which party was common to both the coalitions?
  • Q You're the captain of a pirate ship, and your crew gets to vote on how the gold is divided up. If fewer than half of the pirates agree with you, you die. How do you recommend apportioning the gold in such a way that you get a good share of the booty, but still survive?
  • Q How to set the deletion flag to functional location and also want to know how to hide the flagged functional location?
  • Q Given the title of a product, identify the category and sub-category of the product.
  • Q The Vitra Design Museum is in which European country?
  • Q "storage location in pm" we have a problem here. Our design is, the delivery address in the purchase order is deriving from the storage location. So, when creating the request from work order, we enter the material master (if it is stock item) as well as the storage location, vendor details, etc, under the component tab. Then, the storage location will be defaulted into pr, then po. Hence, the delivery address is there. But in service, i can't enter any storage location. Is there a solution for this? if i create the service in pm (via iw31), is there a way for me to enter the storage location?
  • Q What is the locale class?