first

Sunday, 1 July 2018

List of PSU's availabe for CS/IT graduates through GATE

CS/IT PSU's Through GATE


The following are the list of PSU jobs available for Computer Science and IT graduates having a valid GATE score. following are the required score out of 100

GATE Cut-off   25    - for  GENERAL
cut-off             22.5  - for   OBC-NCL
cut-off              16    - for   SC/ST.

The above is the minimum requirement for passing the GATE exam . for getting a job you need to meet the below mentioned criteria


GENERAL  CATEGORY


GATE score Should be Greater than 69.74/100 ( average score calculated by  the GATE cut-off of 2016,2017,2018 recruitment ) and All India Rank Should be between 1-700

OBC-NCL


GATE score Should be Greater than 63.02/100 ( average score calculated by the GATE cut-off of 2016,2017,2018 recruitment ) and All India Rank Should be between 1-1800



SC/ST


GATE score Should be Greater than 57.32/100  for SC and 42.85 for ST( average score calculated by the GATE cut-off of 2016,2017,2018 recruitment ) and All India Rank Should be between 1-2500

The above score and Rank will be different for different companies.

General and OBC (NCL) category candidates should have secured at least 60% aggregate marks (average of all semesters in all years)in the undergraduate engineering programmes, to be eligible to apply for the recruitment.

SC/ST and PwD category candidates should have secured at least 50% aggregate marks in the qualifying test

list of PSU's

  • BBCL-(Bharath Broadband Network limited)
  • for more details click here
  • NLC India Limited -(formerly known as Neyveli Lignite Corporation)
    for more details click here
  • IOCL- (Indian Oil Corporation Limited)
    for more details click here
  • PGCIL- (PowerGrid India Limited)
    for more details Click here_ about other recruitment click here.
  • ONGC -(Oil and Natural Gas Corporation Limited)
    for more details click here
  • NHAI -(National Highway Authority of India)
    for more details click here
  • NFL -(National Fertilizers limited)
    for more details click here
  • PSTCL -(Punjab State Transmission Corporation Limited)
    for more details click here
  • KRIBHCO
    for more details click here
  • ISRO (Indian Space Research Organization )

    ISRO Recruitment is NOT done through GATE., You Have to write the ISRO SC EXAM


    complete list and cut-off table will be available soon....

Friday, 27 April 2018

first and follow in compiler design examples| FIRST and FOLLOW| How to find out first and follow ? from a given Grammar

Consider the  following Grammar :

    E  -> TE'
    E' -> +TE'/
    T  -> FT'
    T' -> *FT'/∈ 
    F  -> (E)/id

To find the FIRST(E) follow the steps given below:

 STEP1:  Take the production  E-> TE', here the first symbol is T a Non-Terminal then Find the Production of T,

STEP 2: T -> FT', here also a non- terminal occurs at the first position. then find the production of F.

STEP 3:  F -> (E) and F-> id,  here we can see two terminals, we conclude that :
       
 FIRST(E) = { (,id }

Similarly 

FIRST(E')={+,∈}
FIRST(T)={(,id}
FIRST(T')={*,∈}
FIRST(F)={(,id}


IMPLEMENTATION OF FIRST OF A GRAMMAR USING C

Check the sample output..Non terminal must be capital letter, epsilon is represented by # symbol
#include<stdio.h>
#include<ctype.h>

void firstof(char[], char);
void arrangearray(char[], char);
int visited(char );

int noproduction;
char production[100][100];

char visit[100];
int nTerm;
int main()
{
      char option;
      char ch;
      char array[100];
      int c,k;
      printf("\nEnter Total Number of Productions:");
      scanf("%d", &noproduction);
      for(c = 0; c < noproduction; c++)
      {
     printf("\nEnter Production%d:", c + 1);
     scanf("%s", production[c]);
      }
      k=0;
      while(k<noproduction)
      {

     ch=production[k][0];
     if(!visited(ch))
     {
  firstof(array, ch);
  printf("\nFirst(%c):\t{ ", ch);
  for(c = 0; array[c] != '\0'; c++)
  {
     printf("%c,", array[c]);
  }
  printf("}\n");
     }
     k++;

      }
      return 0;
}

void firstof(char* array, char ch)
{
      int c, j, k;
      char tmpresult[100];
      int x;
      tmpresult[0] = '\0';
      array[0] = '\0';
      if(!(isupper(ch)))
      {
     arrangearray(array, ch);
     return ;
      }
      c=0;
      while( c < noproduction)
      {
     if(production[c][0] == ch)
     {
    if(production[c][2] == '#')
    {
   arrangearray(array, '#');
    }
    else
    {
   j = 2;
   while(production[c][j] != '\0')
   {
         x = 0;
         firstof(tmpresult, production[c][j]);
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        arrangearray(array,tmpresult[k]);
         }
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        if(tmpresult[k] == '#')
        {
       x = 1;Check the sample output..Non terminal must be capital letter, epsilon is represented by # symbol
#include<stdio.h>
#include<ctype.h>

void firstof(char[], char);
void arrangearray(char[], char);
int visited(char );

int noproduction;
char production[100][100];

char visit[100];
int nTerm;
int main()
{
      char option;
      char ch;
      char array[100];
      int c,k;
      printf("\nEnter Total Number of Productions:");
      scanf("%d", &noproduction);
      for(c = 0; c < noproduction; c++)
      {
     printf("\nEnter Production%d:", c + 1);
     scanf("%s", production[c]);
      }
      k=0;
      while(k<noproduction)
      {

     ch=production[k][0];
     if(!visited(ch))
     {
  firstof(array, ch);
  printf("\nFirst(%c):\t{ ", ch);
  for(c = 0; array[c] != '\0'; c++)
  {
     printf("%c,", array[c]);
  }
  printf("}\n");
     }
     k++;

      }
      return 0;
}

void firstof(char* array, char ch)
{
      int c, j, k;
      char tmpresult[100];
      int x;
      tmpresult[0] = '\0';
      array[0] = '\0';
      if(!(isupper(ch)))
      {
     arrangearray(array, ch);
     return ;
      }
      c=0;
      while( c < noproduction)
      {
     if(production[c][0] == ch)
     {
    if(production[c][2] == '#')
    {
   arrangearray(array, '#');
    }Check the sample output..Non terminal must be capital letter, epsilon is represented by # symbol
#include<stdio.h>
#include<ctype.h>

void firstof(char[], char);
void arrangearray(char[], char);
int visited(char );

int noproduction;
char production[100][100];

char visit[100];
int nTerm;
int main()
{
      char option;
      char ch;
      char array[100];
      int c,k;
      printf("\nEnter Total Number of Productions:");
      scanf("%d", &noproduction);
      for(c = 0; c < noproduction; c++)
      {
     printf("\nEnter Production%d:", c + 1);
     scanf("%s", production[c]);
      }
      k=0;
      while(k<noproduction)
      {

     ch=production[k][0];
     if(!visited(ch))
     {
  firstof(array, ch);
  printf("\nFirst(%c):\t{ ", ch);
  for(c = 0; array[c] != '\0'; c++)
  {
     printf("%c,", array[c]);
  }
  printf("}\n");
     }
     k++;

      }
      return 0;
}

void firstof(char* array, char ch)
{
      int c, j, k;
      char tmpresult[100];
      int x;
      tmpresult[0] = '\0';
      array[0] = '\0';
      if(!(isupper(ch)))
      {
     arrangearray(array, ch);
     return ;
      }
      c=0;
      while( c < noproduction)
      {
     if(production[c][0] == ch)
     {
    if(production[c][2] == '#')
    {
   arrangearray(array, '#');
    }
    else
    {
   j = 2;
   while(production[c][j] != '\0')
   {
         x = 0;
         firstof(tmpresult, production[c][j]);
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        arrangearray(array,tmpresult[k]);
         }
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        if(tmpresult[k] == '#')
        {
       x = 1;
       break;
        }
         }
         if(x==0)
         {
        break;
         }
         j++;
   }
    }
     }
 c++;
      }
      return;
}

void arrangearray(char array[], char value)
{
      int tmp;
      for(tmp = 0; array[tmp] != '\0'; tmp++)
      {
     if(array[tmp] == value)
     {
    return;
     }
      }
      array[tmp] = value;
      array[tmp + 1] = '\0';
}

int visited(char ch)
{
 int i=0;
 for(i=0;i<nTerm;i++)
 {
  if(visit[i]==ch)
  {
   return 1;
  }
 }
 visit[i]=ch;
 nTerm++;
 return 0;
}
    else
    {
   j = 2;
   while(production[c][j] != '\0')
   {
         x = 0;
         firstof(tmpresult, production[c][j]);
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        arrangearray(array,tmpresult[k]);
         }
         for(k = 0; tmpresult[k] != '\0'; k++)
         {
        if(tmpresult[k] == '#')
        {
       x = 1;
       break;
        }
         }
         if(x==0)
         {
        break;
         }
         j++;
   }
    }
     }
 c++;
      }
      return;
}

void arrangearray(char array[], char value)
{
      int tmp;
      for(tmp = 0; array[tmp] != '\0'; tmp++)
      {
     if(array[tmp] == value)
     {
    return;
     }
      }
      array[tmp] = value;
      array[tmp + 1] = '\0';
}

int visited(char ch)
{
 int i=0;
 for(i=0;i<nTerm;i++)
 {
  if(visit[i]==ch)
  {
   return 1;
  }
 }
 visit[i]=ch;
 nTerm++;
 return 0;
}
       break;
        }
         }
         if(x==0)
         {
        break;
         }
         j++;
   }
    }
     }
 c++;
      }
      return;
}

void arrangearray(char array[], char value)
{
      int tmp;
      for(tmp = 0; array[tmp] != '\0'; tmp++)
      {
     if(array[tmp] == value)
     {
    return;
     }
      }
      array[tmp] = value;
      array[tmp + 1] = '\0';
}

int visited(char ch)
{
 int i=0;
 for(i=0;i<nTerm;i++)
 {
  if(visit[i]==ch)
  {
   return 1;
  }
 }
 visit[i]=ch;
 nTerm++;
 return 0;
}

Wednesday, 11 April 2018

Assembly program to read two decimal numbers, then add them together and finally print out the result (in decimal ) | MASM program to add two 8-bit numbers (decimal)

assume ds:data,cs:code
data segment
num1 db ?
num2 db ?
result db ?
msg1 db 10,13,"enter first number to add : $"
msg2 db 10,13,"enter second number to add : $"
msg3 db 10,13,"result of addition is : $"
data ends
code segment
start:
mov ax,data
mov ds,ax
mov dx,offset msg1
mov ah,9h
int 21h
mov ah,1
int 21h
sub al,30h
mov num1,al
mov dx,offset msg2
mov ah,9h
int 21h
mov ah,1h
int 21h
sub al,30h
mov num2,al
add al,num1
mov result,al
mov ah,0h
aaa
add ah,30h
add al,30h
mov bx,ax
mov dx,offset msg3
mov ah,9
int 21h
mov ah,2
mov dl,bh
int 21h
mov ah,2
mov dl,bl
int 21h
mov ah,4ch
int 21h
code ends
end start

Round Robin Scheduling program in C | Round Robin scheduling Algorithm with Gantt chart c program|scheduling algorithms

/*Copy right SHYAM REGHU $$http://shyamtr.blogspot.in/*/ #include<stdio.h> int at[100],bt[100],rt[100],temp[100]; float wait_time=0,...