×
Everyone has a talent and so do you. Let it shine out, is all you have to do.
--Your friends at LectureNotes
Close

Note for Object Oriented Programming Using JAVA - OOPJ By kundanapally vamshi

  • Object Oriented Programming Using JAVA - OOPJ
  • Note
  • svs group of institution - SVSGOI
  • Computer Science Engineering
  • 32 Topics
  • 38 Views
  • Uploaded 1 year ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-2

MULTITASKING Multitasking- executing multiple tasks simultaneously is called multitasking.  Ex- student in a class room 1. listening class 2. taking running notes 3. checking mobile phone 4. sleeping 5. observing environment.  S.Durga Devi,CSE,CBIT

Text from page-3

 1. 2. Two types of multitasking. Process based multitasking Thread based multitasking. multitasking Processed based MT Thread based MT S.Durga Devi,CSE,CBIT

Text from page-4

1. process based MT executing several tasks simultaneously where each task is a separate independent process is called process based multitasking. Example below tasks are executed simultaneously 1. Typing java program in text editors 2. Listening audio songs 3. Download a file from internet - Process based multitasking is best suitable for operating system level not for the programmatic level.  S.Durga Devi,CSE,CBIT

Text from page-5

2. Thread based multitasking - Executing several tasks simultaneously where each task is a separate independent flow of execution is called thread based multitasking. Ex1. open several tabs in browser. 2. search for file in all drives simultaneously. 3. scan all the drives using anti virus. - Thread based multitasking is best suitable for programmatic level. Thread- each independent flow of execution is called a Thread. S.Durga Devi,CSE,CBIT

Lecture Notes