Step 1: Open Your Notepad and Type
%0|%0 [By the way, Its the smallest computer virus code even written]
Step 2:Save it on Desktop as a batch file. That means File type will be "All Files" and name will be "something.bat".
Step 3:(optional) Now open your task manager by pressing ctrl+alt+del and click on performance tab to view the changes those are going to happen. and place it at a corner of desktop.
Step 4:Double-click on the batch file.
Step 5:See, within a few seconds performance of your machine will be 100% memory will be full and within a minute your machine will be hanged.
Now, you have a good excuse. Sir, my PC has hung. Can I submit this assignment tomorrow?