Thursday, November 29, 2018

Guide , How to access classroom program and submission of Assignment | Mtech 2018

Hi , Just go to below link

https://classroom.google.com/

Login with your google account .
Note : You need gmail account to access classroom services .

 After successfully log in you will get below screen .



Click on + icon , on right .

Go to option join course .
Put below course id .

course id is : avofmiw


Now successfully , you will access the course .
Updates will available on this site .

Assignment File
https://drive.google.com/open?id=1vTx0xDKACUklh6PECgad_yRIWWddQ3bc

Guidelines to Submit the assignments:

1. Create a folder for each problem you solve and put the following in the folder:
(a) All the programs related to the problem
(b) README file which contains information on how to compile and run the program.

2. Create pdf file containing the following:
(a) Details of each problem, problem statement and a brief description on how you solved it
(b) Proof of submission to CodeChef

3. Create a directory with your roll number and put all the folders you created in step 1. and put the pdf you created in step 2.

4. Create a tar.gz file, name the compressed file with your roll number.

5. Submit the compressed file in google classroom.

Thursday, November 1, 2018

Checking OF Palindrome Enter Using Stack And Queue (Linked List)

Here in this program we are checking , whether we have enter Palindrome or not .
We are using stack and queue .

Algorithm :

1. Enter the each element and store it in linkedlist.
2. After Entering the element we are passing the linkedlist to stack and queue .

At each iteration we

 We are popping element deqeuing the element from linkedlist .

For even length number we are doing till linkedlist is not empty.
For odd length number we are doing till one element is not remain .


#include<stdio.h>
#include<stdlib.h>

void performoperation();
int stackdelete();
int queuedelete();

int count=0;

struct node
{
  struct node *next;
  int num;
};
struct node *head=NULL;

void create();

int main()
{
int choice;

while(1)
{
  printf("For termination type 1 :: Else Other ");
  scanf("%d",&choice);
  if(choice==1)
  break;
  create();
}
performoperation();


return 1;
}


void create()
{
  struct node *temp,*trav;

  count++;

  temp=(struct node*)malloc(sizeof(struct node));
  temp->next=NULL;

  printf("Enter the item ");
  scanf("%d",&temp->num);

  if(head==NULL)
  head=temp;
  else
  {
    trav=head;
    while(trav->next!=NULL)
    {
      trav=trav->next;
    }
    trav->next=temp;
  }
  printf("\n");
}

int stackdelete()
{
  struct node *temp,*pre;
  temp=head;
  count--;
  while(temp->next!=NULL)
  {
    pre=temp;
    temp=temp->next;
  }
   pre->next=NULL;
   return (temp->num);

}

int queuedelete()
{
  struct node *temp,*pre;
    count--;
    temp=head;
    head=head->next;
   return (temp->num);

}


void performoperation()
{
struct node *trav;
trav=head;

int flag=0;

printf("Palindrome Length %d \n", count);

if(head==NULL)
printf("Nothing Enter");
else if(head->next==NULL)
printf("Palindrom Enter \n");
else
{
if(count%2==1)
{
  while(count!=1)
  {
  if(stackdelete()!=queuedelete())
  {
    flag=1;
    break;
  }
  }
}
else
{
while(count!=0)
{
if(stackdelete()!=queuedelete())
{
  flag=1;
  break;
}
}
}

if(flag==1)
printf("Not a Palindrome \n");
else
printf("Palindrome Enter \n");
}
}
 

Behavior Recognition System Based on Convolutional Neural Network

Our this article is on this  research paper .  Credit : Bo YU What we will do ? We build a set of human behavior recognition syste...