About

WELCOME! Get Latest Tricks n Tips About Computers, Facebook, Internet and Everything Related...

Sunday, September 29, 2013

Program for Round Robin Scheduling Algorithm in C

Round robin is a CPU process scheduling algorithm. in this scheduling, cpu allots a fixed time slice or time quantum to each process in a queue. The process terminates, leaves the queue. 

#include<stdio.h>
#include<conio.h>
void main()
{
int st[10], bt[10], wt[10], tat[10], n, tq;
int i, count=0, swt=0, stat=0, temp, sq=0;
float awt=0.0, atat=0.0;    clrscr();
printf("Enter no. of processes (Gourav) : ");
scanf("%d", &n);
printf("\nEnter burst time for processes-- ");
for(i=0; i<n;i++)
{
printf("\nProcess P%d : ",i+1);
scanf("%d", &bt[i]);
st[i]=bt[i];
}
printf("\nEnter time slice : ");
scanf("%d", &tq);
while(1)
{
for(i=0, count=0;i<n;i++)
{
temp=tq;
if(st[i]==0)
{
count++;
continue;
}
if(st[i]>tq)
{
st[i]=st[i]-tq;
}
else
if (st[i]>=0)
{
temp=st[i];
st[i]=0;
}
sq=sq+temp;
tat[i]=sq;
}
if(n==count)
break;
}
for(i=0;i<n;i++)
{
wt[i]=tat[i]-bt[i];
swt=swt+wt[i];
stat=stat+tat[i];
}
awt=(float)swt/n;
atat=(float)stat/n;
printf(" \n process no.  burst time   wait time   turn around time");
for(i=0; i<n; i++)
{
printf("\n%d\t\t %d\t\t %d\t\t %d", i+1, bt[i], wt[i], tat[i]);
}
printf("\naverage wait time is %fnaverage turn_around_time is %fn", awt, atat);
getch();
}

Sunday, September 22, 2013

How to Create Bootable Pendrive in few Easy steps

Steps- (for any Windows/Linux version)

1. Download ISO image of the operating system you want to boot, from internet by googling it.

2. Download PowerIISO .

3. Install it and continue unregistered.

4. Open Tools --> Create Bootable USB Drive.

5. Select ISO image and the Pendrive you want to boot by browsing it.

6. Click Start.

7. Done.

How to break WinRar password

Use a RAR password recovery software, such as:

ZIP RAR ACE Password Recovery


http://www.keylack.com/zip-rar-ace-passw… 



RAR Password Cracker


http://www.rarpasswordcracker.com/ 

or use ALZip, an archiving software which supports cracking 


RAR passwords
http://www.altools.net/ 


None of them is free but you can use their trial versions.

Hope this helps :)


Drop a comment plz :)

Monday, September 16, 2013

Compress Big Files Into Small Files

compress big files

KGB Archiver is free and open source software which compress big file into small. With the Use of KGB Archiver you can convert 1GB to 10MB easily.

Note: If you are compressing any file with KGB archiver and sending the comprssed file to your friends then he must have KBG archiver installed on his computer to decompress the file. 

Click here To download KGB Archiver


System Requirements:


- 256 MB RAM
- 1.5 GHz Processor

Features of KGB Archiver


- Supports native .kgb files and .zip files
- AES-256 Encryption
- Able to create self-extracting archives.
- Multilanguage supports like Arabic, German, Greek, Japanese, Spanish many more.
- Unicode is supported in both User Interface and File Systems.
- An Explorer shell extension is available for the windows version.
- Make Password protected compressed file.

How to Hide Last Name from Facebook




Hello i'm going to share a tutorial by which you can hide your last name on facebook.
It may seems strange because facebook isn't allow you to do so but you can actually do that :-)

First you need Indonesian Proxy servers. You can use following,

HTTP Proxy: 118.97.223.210
Port: 3128

If this Proxy server is not working, get more proxy servers from here: http://www.proxynova.com/proxy-server-list/country-id/

Go to firefox browser and change proxy setting like this image below

trick for hiding last name of facebook profile



Steps to change proxy on Firefox

Click firefox Button att the top > Options > Advanced > Network > Settings > Connection settings and choose manual proxy configuration. also tick use this proxy server for all protocols.

put 118.97.223.210 on No Proxy for box.

Now go to your Profile,

Change the language to bhasha indonesia

remove your last name and save changes. 

(Just remember the steps if you dont understand bhasha indonesia. after you got your single name change your language to whatever you want )


You are Done now your last name will not visible anymore.

You can use some weird spacial characters just check this out,
http://www.facebook.com/notes/cyber-tweaks/facebook-weird-names/426367524089364

Demo : http://www.facebook.com/assi.invinsible -

How To Post Animated smiley on your Facebook wall



1. go to this page ----> http://fbnoob.ho.am/emoji.php

2.You can see smiley just click on smiley you want it will generated as as text. see textbox.

3. Copy that code and update it using fb status Updater code.

Code for your staus update :-

http://www.facebook.com/dialog/feed?app_id=Your API&redirect_uri=http://www.facebook.com/

Ex:

http://www.facebook.com/dialog/feed?app_id=9926d66ea6ddb663b3fae82f4e6a66d7&redirect_uri=http://www.facebook.com/


Change you api ----- HOw to get you own API



Update friends status :-

http://www.facebook.com/dialog/feed?app_id=Your API&redirect_uri=http://www.facebook.com/&to=Your friends ID

Ex:

http://www.facebook.com/dialog/feed?app_id=9926d66ea6ddb663b3fae82f4e6a66d7&redirect_uri=http://www.facebook.com/&to=100000514929594


Find Facebook id ------ How to find Facebook ID


4. You are Done :)



How To Post Animated smiley on your About me and Favorite Quotations :


1. go to this page ----> http://fbnoob.ho.am/emoji.php

2. Copy the code from textbox and paste it on you about me.

3. You are Done ;)


Some Blank Smiley code :

Check out this page ------ http://pastebin.com/x6qkTN7C


For more smiley Code use these Applications:

http://apps.facebook.com/animated-picture Go to Emoji Emotions Tab
http://h.hatena.com/KamikoUrin/

Wednesday, September 11, 2013

Solution For Avast Black Screen Problem In Windows 8



--Open Avast-
go to  security >Behavior Shield > Settings. and click on  Trusted Processes

Add the following 2  files by browsing them to this paths
” C:\Windows\explorer.exe ” and
” C:\Windows\ImmersiveControlPanel\SystemSettings.exe “

 IF you have difficulties in browsing those two files then you can copy them and directly past them into the fields.

    C:\Windows\explorer.exe

    C:\Windows\ImmersiveControlPanel\SystemSettings.exe

avast black screen problem in Windows 8-

this technique should have solved your black screen problem ….. :) :)

 If the information on our website has helped you then pay us with a like in Facebook :)  .

If the above feedback does not work for your computer.You can even follow below procedure and solve your problem with windows 8.
Alternative way !

     Start your computer and log in to your windows 8 OS
    After you login with your password or a direct login with out password as usually you will get a black screen if you have an installed 
avast anti-virus
    press ctrl+alt+del and choose task manager , you can also do it by pressing  ctrl+shift+Esc .
    Go to startup tab in Task manager and right-click your avast! Antivirus there and choose  Open file location.
    A window will open , click on AvastUI  which will take you to avast user interface .
    Now go to security >Behavior Shield > Settings.
    Uncheck the  ” Monitor the system for unauthorized modifications  ” box .
    You are done now press ctrl+alt+del and sign out and login again. You are with your windows 8 desktop and your windows 8 
black screen problem is gone. If you feel this knowledge helped you, you can comment and subscribe for forzeal to get more updates.

If your problem is sill not yet solved after trying the above 2 procedures then you  can comment your experience . I am glad to tell you 
if there is an alternative to your problem . Mostly your problem will be solved if you correctly follow the above procedures.