Hidetext
Computer Science

Hide & Unhide Text in Image

Hiding text within an image file is one of the tricks used in Steganography. Using this trick you can hide any text information or a message within an image file irrespective of the fact that how long your information or message is.So, lets see how to do it. Follow the steps below.



  1. Choose an image file. For example: abc.jpg
  2. Place this image in one of the drives in your computer system(running on Windows operating system only). Lets say you place it in /:D drive
  3. Open command prompt. (Press Windows+R, type ‘cmd’ and press ‘Enter’ key)
  4. Type following command: cd.. and press ‘Enter’ key. Repeat this step until you left with C:/> on your command prompt window.
  5. Now, type D: and press ‘Enter’ key. Now, your command prompt is able to locate D: drive.
  6. Type following command very carefully:echo “Type your message here” >> “abc.jpg” and press ‘Enter’ key. Do    mind the spaces given and braces I put in the command.If everything went perfect, Your text has been hidden within the image file abc.jpg.
  7. In order to see the hidden text, Right-click ‘abc.jpg’ image file and open it with ‘Notepad’.
  8. Simply, scroll down to the end or just keep pressing ‘Page dn’ key.
  9. Here you’re!You can see the text (you typed in Step 6) in simple readable form in the end.





Now you are able to transfer message within an image file if anything goes wrong in above process then feel free to ask in the comment box below.

Difference between Multiprogramming Multitasking and Multiprocessing
Computer Science

Difference between Multiprogramming Multitasking and Multiprocessing

Multiprogramming

The concept of multiprogramming is that more than one program that is to be executed by the processor is loaded into the memory .
Say we have 2 programs loaded into the memory. The first program that is loaded is getting executed . At one point of time it requires input from the user or waiting for some data.During the waiting time , the CPU is idle. Instead of wasting the time , the CPU will now begin to execute the second program. Meanwhile the first program once it receives the required data , will again get the CPU time and get executed blocking or pausing the execution of the second program. After the completion of the first program, the second program is executed from where it was paused.The concept was introduced to maximize the CPU usage.




Multitasking

Both the memory and CPU time is shared among the tasks It performs multiple tasks concurrently. It gives a illusion that all the processes or tasks are performed simultaneously. For example in your desktop you can listen to music , download things simultaneously. The concept is that the CPU time is shared equally among the processes or tasks. Again take an example that 3 tasks are loaded into the main memory . Consider that the time allocated for each program is 5 micro seconds .Now the first task is executed . After 5 microseconds irrespective whether the task gets completed or not it gets switched to the second task. Similarly after 5 seconds it goes to the third task . Thus the CPU time is shared equally among the tasks

Multiprocessing

The term multiprocessing is introduced around the modern times when they started to use more than one processor in a single computer (Remember the terms like dual core , quad core ,octa core processor). These processors share some things in common like Memory,peripherals etc. By sharing the memory and peripherals they are able execute different task simultaneously.

Multiprogramming – takes place in a system where it has a single processor .
Multitasking – single processor or sometimes multiprocessor
Multiprocessing – multiprocessor.




Each task is performed by separate processor incase of multiprocessing and this is were the actual concurrent execution or parallel execution take place.