Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
Java multitasking
2 Answer(s)      4 years and a month ago
Posted in : Java Interview Questions


What is multi-tasking Types?

Advertisement
View Answers

October 30, 2010 at 12:36 PM


Hi,

The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved.

In multitasking, only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing all of the programs at the same time.

There are two basic types of multitasking: preemptive cooperative.

In preemptive multitasking, the operating system parcels out CPU time slices to each program.OS/2, Windows 95, Windows NT, the Amiga operating system and UNIX use preemptive multitasking.

In cooperative multitasking, each program can control the CPU for as long as it needs it. If a program is not using the CPU, however, it can allow another program to use it temporarily. Microsoft Windows 3.x and the MultiFinder (for Macintosh computers) use cooperative multitasking.

Thanks.



October 30, 2010 at 12:36 PM


Hi,

The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved.

In multitasking, only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing all of the programs at the same time.

There are two basic types of multitasking: preemptive cooperative.

In preemptive multitasking, the operating system parcels out CPU time slices to each program.OS/2, Windows 95, Windows NT, the Amiga operating system and UNIX use preemptive multitasking.

In cooperative multitasking, each program can control the CPU for as long as it needs it. If a program is not using the CPU, however, it can allow another program to use it temporarily. Microsoft Windows 3.x and the MultiFinder (for Macintosh computers) use cooperative multitasking.

Thanks.



Related Tutorials/Questions & Answers:
Java multitasking
Java multitasking  What is multi-tasking Types
multitasking and multithreading
multitasking and multithreading  what is the difference between multitasking and multithreading
Advertisements
Parallel Processing & Multitasking
Parallel Processing & Multitasking       Multitasking & Multithreading Multitasking.... In multitasking only one CPU is involved but it can switches from one program
Multithreading in Java
Multithreading in Java      ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU
Threads in Java
Threads in Java help in multitasking. They can stop or suspend a specific... in increasing the speed of the processes. In Java programming, Java Virtual Machine (JVM... and allows other threads to execute. Example of Threads in Java: public class
java - Java Beginners
Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU is involved.... Multitasking allow processes (i.e. programs) to run concurrently on the program
Multithreading in Java
Multithreading in Java      ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU
Multithreading in Java
Multithreading in Java     ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one
java - JSP-Servlet
is the difference between multitasking and multithreading
Multithreading in Java
Multithreading in java is running multiple threads sharing same address space... at a time is called Multitasking. (A CPU does multitasking all the time). Now, multitasking can be carried out in two ways: Multiprocessing Multithreading
Java - Threads in Java
Java - Threads in Java       Thread is the feature of mostly languages including Java. Threads... running process and start or resume the suspended processes. Multitasking
Uses of Android Technology
phones because of their great multitasking capabilities and a completely innovative... functions and needs. Purely multitasking is the most common standard of almost... on the enormous multitasking capabilities and on being in the forefront of regularly coming
PBX
PBX       PBX refers to Private Branch eXchange, a private owned multitasking exchange system that is being popular in the small and big institutes and corporation houses because
Classes in Java
Classes in Java      ... java have mechanisms for handling exceptions. This is known as catching exception in Java. The exceptions that occur in the program can be caught using try
Social Media Marketing Advertising Strategy
easy, social media marketing requires multitasking to be called effective
java
java  diff bt core java and java
java
java  what is java
An Overview of Java      Java is a programming language      Java is Object Oriented Programming
Master java in a week       An Overview of Java Starting Java   Java as a programming language Java is an Object oriented
Java
Java   Whether Java is pure object oriented Language
java
java  different between java & core java
java
java  explain technologies are used in java now days and structure java
java
java   why iterator in java if we for loop
JAVA
JAVA  how the name came for java language as "JAVA
java
java  what is java reflection
java
java  is java open source
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
Thread Deadlocks - Java Tutorials
Thread Deadlock Detection in Java Thread deadlock relates to the multitasking. When two threads have circular dependency on a synchronized, deadlock is possible. In other words, a situation where a thread is waiting for an object
java
java  write a java program using filenotfoundexception
Java
Java  how to draw class diagrams in java
java
java   difference between class and interface
Advertisements
 

 

 

DMCA.com