Posts

Showing posts from March, 2017

Top 10 programming languages to be learned in 2017

Image
2k17   is here with lots and lots of languages..!!But the question arises that which language should I prefer?????Or which language is in demand😓?????If you are just beginning,then you might not know about these languages,but you can certainly make efforts and do mastery . Here we have 10 programming languages which are in full-fledged demand. 1.JAVA Java is considered as a perfect language for the programmers to build sever-side applications to build video games and mobile apps.It is the top most programming language and has grabbed the highest position in Android OS,though it was a bit down few years ago.This language has long term compatibility. From where to learn: Oracle.com ,  tutorialspoint.com , javatpoint                                                                            2.JAVASCRIPT Javascript (don't get confused with java) is a client-side programming language.This is also called a 'client-side scripting' language since it is downloaded with web pages on

Implementation of Rabin-Karp String Matching Algorithm in C

#include<stdio.h> #include<string.h> #include<math.h> char text[100],pattern[100]; void rabinKarpMatcher(int d,int q) {  int m,n,i,s,h,p,t;  n=strlen(text);  m=strlen(pattern);  h=pow(d,m-1);  h=h % q;  p=0;  t=0;  printf("m=%d\tn=%d\th=%d\tq=%d\n",m,n,h,q);  for(i=0;i<m;i++)           //Preprocessing  {   p=(d*p+pattern[i])%q;   t=(d*t+text[i])%q;   printf("i=%d\tp=%d\tt=%d\n",i,p,t);  }  for(s=0;s<=(n-m);s++)   //Matching..  {   printf("s=%d\t",s);   if(p==t)     //Possibility of match found   {    for (i = 0; i < m; i++)    {     if (text[i+s] != pattern[i])      break;    }    if (i==m)     printf("Pattern occours with shift %d\n",s);   }   if(s<(n-m))   {    t=(d*(t-text[s]*h)+text[s+m]);     //Updating the value of t for the next pass    t=t % q;    if (t < 0)   //to avoid negative values    t = (t + q);   }   printf("t=%d\n",t);  } } void main() {  int x;  printf("Enter the text ");  sca

Top 10 Hacking Techniques 2017

Unethical hacking can be called an illegal activity to get unauthorized information by modifying a system’s features and exploiting its loopholes. In this world where most of the things happen online, hacking provides wider opportunities for the hackers to gain unauthorized access to the unclassified information like credit card details, email account details, and other personal information. So, it is also important to know some of the hacking techniques that are commonly used to get your personal information in an unauthorized way. 10. Keylogger Keylogger is a simple software that records the key sequence and strokes of your keyboard into a log file on your machine. These log files might even contain your personal email IDs and passwords. Keylogger is one of the main reasons why online banking sites give you an option to use their virtual keyboards. 9. Denial of Service (DoS\DDoS) A Denial of Service attack is a hacking technique to take down a site or server by flooding that site or