Tuesday, 20 November 2012

java program for inter process communication over a connection less service (using UDP)

 Program
Setup a inter process communication over a connection less service (using UDP)


 udpserver.java

import  java.io.*;
import java.net.*;
class udpserver
{public static void main(String args[]) throws Exception
{
DatagramSocket serversocket=new DatagramSocket(9876);
byte[] senddata=new byte[1024];
byte[] receivedata=new byte[1024];
while(true)
{
System.out.println("server side");
DatagramPacket receivepacket=new DatagramPacket(receivedata,receivedata.length);
serversocket.receive(receivepacket);
String sentence=new String(recievepacket.getData());

System.out.println("from server:"+replysentence);

InetAddress ipaddress=receivepacket.getAddress();
int port=receivepacket.setPort();

BufferedReader infromuser=new BufferedReader(new InputSreamReader(System.in));
System.out.println("Enter a message:");
String serversentence=infromuser.readLine();

senddata=sentence.getBytes();
DatagramPacket sendpacket=new DatagramPacket(senddata,senddata.length,ipaddress,port);
serversocket.send(sendpacket);

}}}

--------------------------------------------------------------------------------------------------------------
 udpclient.java

import  java.io.*;
import java.net.*;
class udpclient
{public static void main(String args[]) throws Exception
{
DatagramSocket clientsocket=new DatagramSocket();
InetAddress ipaddress=InetAddress.getByName("192.168.1.141");
clientsocket.close();

byte[] senddata=new byte[1024];
byte[] receivedata=new byte[1024];
System.out.println("client side");
BufferedReader infromuser=new BufferedReader(new InputSreamReader(System.in));
System.out.println("Enter a message:");
String sentence=infromuser.readLine();

senddata=sentence.getBytes();
DatagramPacket sendpacket=new DatagramPacket(senddata,senddata.length,ipaddress,9876);
clientsocket.send(sendpacket);

DatagramPacket receivepacket=new DatagramPackeet(receivedata,receivedata.length);
clientsocket.receive(receivepacket);
String replysentence=new String(recievepacket.getData());
System.out.println("from server:"+replysentence);

clientsocket.close();

}}}


java Program to implement multiply by using RMI

Program
java Program to implement multiply by using RMI


server.java

import java.rmi.*;
import java.rmi.server.*;
import java.net.*;
public class Server extends UnicastRemoteObject implements multiply
{
public Server() throws RemoteException
{
}
public static void main(String args[])throws Exception
{
System.out.println("server starts");
Server s=new Server();
Naming.rebind("Server",s);
}
public int multiply(int x1,int y1)
{
return(x1*y1);
}
}

Sunday, 11 November 2012

Optical Interconnects for High-Performance Computing IEEE Seminar Reports and ppt Free Download

 Name : Optical Interconnects for High-Performance Computing

Abstract : Read Optical Interconnects for High-Performance Computing (Visit Link)

  Publication Date : Feb.15, 2012  

Author(s): Taubenblatt, M.A.   

Product Type:    Journals & Magazines 



ATM terminal design is based on fingerprint recognition IEEE seminar reports+ppt

Seminar Name : ATM using fingerprint
Read Abstract   Visit IEEE
This paper appears in:
Computer Engineering and Technology (ICCET), 2010 2nd International Conference on
Date of Conference: 16-18 April 2010
Author(s): Yun Yang
Sch. of Electr. & Inf. Eng., Shaanxi Univ. of Sci. & Technol., Xi'an, China
Product Type: Conference Publications


EYE OS , THE CLOUD OPERATING SYSTEM Seminar Reports And ppt

Name: EYE OS , THE  CLOUD OPERATING SYSTEM
Author :
Introduction
  • A cloud OS simply refers to an operating system that resides on the Web and you can access to it anytime, anywhere as long as you have an Internet connection. 
  • Interface filled with a complete suite of desktop applications.
  • Can act as a standalone operating system.

Effect of network factors on VoIP IEEE seminar PPT

Article  Name : Effect of network factors on VoIP  
                             Read Full Abstract

 More Details...

This paper appears in:
Advanced Communication Technology (ICACT), 2011 13th International Conference on
Date of Conference: 13-16 Feb. 2011
Author(s): Jongkuk Lee
ETRI, Daejeon, South Korea
Kidong Nam Daeyoung Kim


Saturday, 10 November 2012

DATALEAKAGE DETECTION SEMINAR REPORT AND PPT


IEEE Seminar topic : DATALEAKAGE DETECTION SEMINAR REPORT AND PPT
Author :
Download full ppt

MIME Seminar Report and PPT


Abstract
                                                                                           
 Continuous patient monitoring requires real-time processing of signals over a long period of time, varying from few hours to many days, depending on the patient’s medical condition and the symptoms being monitored. For example, in fall monitoring, movement-related information is required to distinguish normal activities of daily living (ADL) from abnormal. It requires continuous monitoring during daytime, in which a person is engaged in many day-to-day activities, as shown in the extensive survey on monitoring human movements to detect falls. Monitoring of sleep-related fall and other disorders such as apnea, requires data for 8 h during the night, in which a person is often found less active. With the study of sizeable data collected over the past from passive monitoring, researchers are now interested in studying physiological signals for early detection, prevention, and prediction of anomalous events.
                   The passive monitoring systems consist of simple off-the shelf cameras and on/off sensors placed on doors, toilets, beds, chairs in the individual’s living area, to monitor his/her activities. In addition, the system provides reminders for medication and similar instructions. When people interact with the environment, infrared or pressure sensors on the floor or bed are triggered and the system is able to recognize an abnormal activity, such as a fall.

Friday, 9 November 2012

How to delete Flashvortex.com Ad from Banner

Hi friends, Today i am  discuss about how to remove Flashvortex.com advertise from your banner . Flashvortex is a online flash banner generating site.using this we can generate your own banner easy and simple without any knowledge in flash. But major disadvantage of free user is show  a water mark ads in bottom right corner .This ads remove only after purchase a premium membership .

Just follow below steps to easy to remove ads ...!!

Step 1:

  • SWix is a free version software used to edit .swf files

 

Tuesday, 6 November 2012

Windows 8 Minimum System Requirements


To run Windows 8, Microsoft recommends using a computer  that has at least:
  • 1 GHz or faster processor
  • 1 GB RAM (32-bit) or 2 GB RAM (64-bit)
  • 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
  • DirectX 9 graphics device with WDDM 10 or higher driver
      This is the minimum required for Windows 8 to run, and there are some few caveats you need to be aware of:

Monday, 29 October 2012

SecurityGuard in Distributed System Environment IEEE seminar reports and ppt


ABSTRACT
IEEE Article: Security Events Monitoring in Distributed Systems Environment
Author: Kufel, L.
GlaxoSmithKline Poznan University of Technology, Poznan Poznan
Volume: PP , Issue: 99 

THE DETECTION AND FOLLOWING OF HUMAN LEGS BY INDUCTIVE APPROACHES FOR MOBILE ROBOT IEEE SEMINAR REPORTS AND PPT

Abstract

IEEE Paper:  The Detection and Following of Human Legs Through Inductive Approaches for a Mobile Robot With a Single Laser Range Finder 
Author(s): Woojin Chung
Hoyeon Kim ;  Yoonkyu Yoo ;  Chang-Bae Moon ;  Jooyoung Park
Volume: 59 , Issue: 8

A novel hybrid cryptobiometric authentication scheme for ATM based banking applications IEEE Seminar reports and ppt

Subject: ATM using fingerprint IEEE Seminar reports and ppt 

Abstract

Crypto-Biometric authentication scheme for ATM banking systems
The fingerprint image is enhanced and then encrypted using 128 bit private key algorithm
The proposed scheme is fast and more secure
Computer simulations and statistical analysis are presented
Introduction
Biometrics based authentication is a potential candidate to replace password-based authentication
Cryptography provides the necessary tools for accomplishing secure and authenticated transactions

HYBRID FILTERS IEEE Seminar reports and ppt

ABSTRACT

IEEE Name :A Study of a Hybrid Filter
 Authors: Ostroznik, S.
Hidria d.d, Ljubljana, Slovenia
Bajec. P, Zajec. P.

This paper presents results of a comparative study of two possible hybrid filter topologies, comprised of a passive and active stage, which can be implemented in any general dc supply distribution system. The main filter task is to mitigate current dynamics in the dc distribution system in order to prolong the operational life of delicate dc supplies, i.e., fuel cells, and to reduce the electromagnetic interferences between sensitive electronic circuits connected to the distribution net.
The active stage is incorporated into the passive part in order to:
 1) improve its insufficient attenuation in the low-frequency range and
2) source or sink any surplus energy flow between the dc source and load in case of low frequency current dynamics.
Two active stage topologies are proposed, analyzed, and evaluated in detail:
1) an active filter based on a single-leg inverter and
 2) an active filter based on an electronic smoothing inductor.

Sunday, 28 October 2012

microprocessor 8085 program for division of 2 8it numbers

Problem
microprocessor 8085 program for division of 2 8it numbers
Program with opcode


ADDRESS LOOP MNEMONICS OPCODE
4200
LXI H 4500 21
4201

0
4202

45
4203
MOV A,M 7E
4204
MVI C,00 0E
4205

0
4206
INX H 23
4207
MOV B,M 46
4208 LOOP 1: CMP B B8
4209
JC LOOP2 DA
420A

11
420B

Micro processor 8085 program Program for multiplication of two 8 bit numbers

PROBLEM
Micro processor 8085 program Program for multiplication of two 8 bit numbers..

Full program with Opcode

VHVG
ADDRESS  LOOP MNEMONICS OPCODE
4200
MVI A 00 3E
4201

00
4202
MVI C 00 3E
4203

00
4204
LXI H 5000 21
4205

00
4206

50
4207
MOV B,M 46
4208
INX H 23
4209 LOOP1:  ADD M 86
420A
JNC LOOP2 D2
420B

0E
420C

42
420D
INR C 0C
420E LOOP2: DCR B 05
420F
JNZ LOOP1 C2
4210

09
4211

Tuesday, 2 October 2012

Mg university cse sem 7 Computer Graphics previous year question paper


Java program for Public Chat

AIM
Write a program for implement Public chat using JAVA

PROGRAM

//publicchatC.java

import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
public class publicchatC extends Frame implements ActionListener
{
TextArea txt1,txt2;
Button btn;
String msg;
PrintWriter pw;
Socket s;
public publicchatC()
{
   setLayout(new GridLayout(3,1));
   txt1=new TextArea();
   btn=new Button("Send");
   txt2=new TextArea();
   add(txt1);
   add(btn);
   add(txt2);
   txt1.setText("");
   txt2.setText("");
   btn.addActionListener(this);
   addWindowListener(new WindowAdapter()
   {
      public void WindowClosing(WindowEvent e)
      {
       setVisible(false);
      } 
  
   });

}

public void setConnection()
{

   try
   {
      s=new Socket("localhost",6969);
      BufferedReader br=new BufferedReader(new InputStreamReader(s.getInputStream()));
      pw=new PrintWriter(s.getOutputStream());
      while(true)
      {
      
         msg=br.readLine();
         txt2.append("Rec:"+msg+"\n");
       
      
      }
    }
   catch(Exception e)
   {
    System.out.println(e);
   
   }

}

public void actionPerformed(ActionEvent ae)
{
  try
  {
  
      
     if(ae.getSource()==btn)
     {
      msg=txt1.getText();
      txt2.append("Send:"+msg+"\n");
      pw.println(msg);
      pw.flush();
     }
   }
 
   catch(Exception e)
   {
    System.out.println(e);
   
   } 

}


public static void main(String args[])throws Exception
{
  publicchatC obj=new publicchatC();
  obj.setSize(300,300);
  obj.setVisible(true);
  obj.setConnection();

}
}

Thursday, 20 September 2012

Book catalog in xml using XSL

 Question:
------------
 Create a book catalog in xml using xsl.
Program

catalog.xml (save file as catalog.xml)

<?xml version="1.0"?>
<?xml:stylesheet href="catalog.xsl" type="text/xsl"?>
<!DOCTYPE CATALOGS[
<!ELEMENT CATALOGS (CATEGORY)>
<!ELEMENT CATEGORY (BOOK)>
<!ATTLIST CATEGORY TYPE CDATA #REQUIRED>
<!ELEMENT BOOK (BOOKNAME,AUTHORNAME,ISBN,PUBLISHER,PAGES,PRICE)>
<!ATTLIST BOOK BESTSELLER (YES|NO) #REQUIRED>
<!ELEMENT BOOKNAME (#PCDATA)>
<!ELEMENT AUTHORNAME (#PCDATA)>
<!ELEMENT ISBN (#PCDATA)>
<!ELEMENT PUBLISHER (#PCDATA)>
<!ELEMENT PAGES (#PCDATA)>
<!ATTLIST PRICE CURRENCY CDATA #REQUIRED>
]>
<CATALOGS>
<CATEGORY TYPE ="XML">
<BOOK BESTSELLER ="NO">
<BOOKNAME>advanced sse</BOOKNAME>
<AUTHORNAME>ram</AUTHORNAME>
<ISBN>222</ISBN>
<PUBLISHER>VAS BOOKS</PUBLISHER>
<PAGES>800</PAGES>
<PRICE CURRENCY ="USD">200</PRICE>
</BOOK>
<BOOK BESTSELLER ="YES">
<BOOKNAME>Advaced physics</BOOKNAME>
<AUTHORNAME>Ma manual</AUTHORNAME>
<ISBN>2020</ISBN>
<PUBLISHER>Current BOOKS</PUBLISHER>
<PAGES>950</PAGES>
<PRICE CURRENCY ="USD">500</PRICE>
</BOOK>
</CATEGORY>
</CATALOGS>

Saturday, 8 September 2012

C program for Eliminates Comment Lines

#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<ctype.h>
int main()
{
      char c;
      File *f1,*f2;
      clrscr();
      f1=fopen("C:\2026.input.c","r");
      f2=fopen("C:\2026.output.c","w");
      c=fgetc(f1);
      while(c!=EOF)
      {
                   if(c=='/'||c=='*')
                   {
                                     c=fgetc(f1);
                                     if(c=='/')
                                     {
                                               do
                                               {
                                                    c=fgetc(f1);
                                                    while(c!='/n');
                                                    }
                                                    c=fgetc(f1);
                                                    }
                                                    else
                                                    {
                                                         do
                                                         {
                                                                c=fgetc(f1);
                                                                }
                                                                while(c!='/');
                                                                c=fgetc(f1)
                                                                }
                                                                }
                                                                fputc(c,f2);
                                                                c=fgetc(f1);
                                                                }
                                                                fclose(f1);
                                                                fclose(f2);
                                                                getch();
                                                                }      

Friday, 7 September 2012

Java Program For Factorial Of A Given Number Using RMI

//Server.java
import java.rmi.*;
import java.rmi.server.*;
public class server extends UnicastRemoteObject implements factorial
{
  public server() throws RemoteException
  {
  }
  public static void main(String args[])throws Exception
  {
    System.out.println("Server starts");
    server s=new server();
    Naming.rebind("Server",s);
  }
  public int factorial(int x)
  {
    int f=1;
    if(x==0||x==1)
    {
       System.out.println("Factorial"+1);
    }
    else
    { 
      while(x>0)
      {
        f=f*x;
        x--;
      }
    }
    return f;
  }
}

Sunday, 19 August 2012

ADVANCED SOFTWARE ENVIRONMENTS FULL NOTES MG UNIVERSITY






NAME : ADVANCED SOFTWARE ENVIRONMENTS FULL NOTES MG UNIVERSITY
UTY :mgu .
Branch: Computer Science And Engineering. 

 

Infosys Placement Paper (sample Question With Answer)


                Name:    Infosys Placement Paper (sample Question With Answer)

                                         Download Now

NP Lab Viva Questions

:
Name : NP Lab viva Question
Document Type: doc

Download Now

Wednesday, 1 August 2012

Java Program for implement Inter Applet communication In The Distributed System

Aim
Write a java program to implement Inter applet communication in the Distributed System
Program

 FirstApplet.java 
import java.awt.*;
import java.io.*;
import java.awt.event.*;
import javax.swing.*;

/*<applet code="FirstApplet.class"  width=300 height=300 name="first">
</applet>*/
/*<applet code="SecondApplet.class" width=300 height=300 name="second"></applet>*/

public class FirstApplet extends JApplet implements ActionListener
{
JTextArea ta;
JButton b1;
JTextField txt1;

public void init()
{
Container c=getContentPane();
c.setLayout(new FlowLayout(FlowLayout.LEFT));
txt1=new JTextField(20);
b1=new JButton("send");
ta=new JTextArea(20,30);
ta.setEditable(false);
b1.addActionListener(this);
c.add(txt1);
c.add(b1);
c.add(ta);
}
public void actionPerformed(ActionEvent ae)
{
JApplet second=(JApplet)getAppletContext().getApplet("second");
((SecondApplet)second).ta.append("first>"+txt1.getText()+"\n");
ta.append("first>"+txt1.getText()+"\n");
txt1.setText("");
}
}

Bidirectional Datatransfer Using Threads

Aim
Write a program to perform bi directional data transfer using Threads .
Progrram

  thserver.java
import java.io.*;
import java.net.*;
public class thserver implements Runnable
{
Thread t1=null,t2=null;
BufferedReader in,br;
PrintWriter pw;
Socket s;
ServerSocket ser;

public thserver()
{
    try
    {
    int port=8002;
    ser=new ServerSocket(port);
    }

    catch(Exception e)
     {System.out.println("ERROR");}
}

public void run()
{
String msg;
if(Thread.currentThread()==t1)
{
    try
    {
    s=ser.accept();
    br=new BufferedReader(new InputStreamReader(s.getInputStream()));
   
    do
    {
    System.out.println("Enter a message");
    msg=br.readLine();
    System.out.println("Client:"+msg);
    }while(!msg.equals("Quit"));
    System.exit(0);
    }
catch(Exception e)
{
System.out.println("Error running program");
}
}

else
{
    try
    {
    in=new BufferedReader(new InputStreamReader(System.in));
    do
    {
    msg=in.readLine();
    pw=new PrintWriter(s.getOutputStream(),true);
    pw.println(msg);
    }while(!msg.equals("Quit"));
    System.exit(0);
    }
    catch(Exception e)
    {
    System.out.println("Error running program");
    }
}
}

public static void main(String args[])

{
thserver ss=new thserver();
System.out.println("Sever started");
ss.t1=new Thread(ss);
ss.t2=new Thread(ss);
ss.t1.start();
ss.t2.start();
}
}

Sunday, 29 July 2012