Use facebook SDK in PYTHON

1. Download facebook-sdk from developers.facebook.com OR 1. Download facebook-sdk from here https://codeload.github.com/pythonforfacebook/facebook-sdk/zip/master 2. Extract zip file and click on setup.py 3. Open cmd and goto downloads(facebook sdk folder) directory 4. Type python setup.py install

Read More

Auto Like Facebook Posts using Python

Auto Like Facebook Posts using Python For auto liking facebook posts we will need following 2 things:1. Access token2. Object IdDo you know where to get this from???? Goto: developers.facebook.com->Tools and Support->GraphAPI Explorer1. Copy access token2. Click on submit3. Copy id Following is the auto-like script written in PYTHON: import facebook token = “Your access token” graph […]

Read More

Auto Like and Auto Comment Facebook posts

Like and comment all the posts on Facebook(using python) We will need following 2 things: 1. Access token 2. Object IdWhere to get this from???? Goto:  developers.facebook.com->Tools and Support->GraphAPI Explorer1. Copy access token 2. Click on submit 3. Copy id Following is the auto-like and auto-comment script:import facebook import re token = “Paste your access […]

Read More

Socket Programming-UDP

UDP Program to print welcome Create 2 Files: 1)dsender.java 2)dreceiver.java dsender.java import java.net.*; //for java programming we have to use this package public class dsender //class name should be name as file name { public static void main(String args[]) throws Exception //throws exception should be written { DatagramSocket ds = new DatagramSocket(); //socket will create […]

Read More

RMI basic program-Add 2 numbers

1. Create Calculator.java file.Write following code in it. import java.rmi.Remote; import java.rmi.RemoteException; public interface Calculator extends Remote { public long add(long a,long b)throws RemoteException; }  2. Create CalculatorImpl.java file.Write following code in it. import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; public class CalculatorImpl extends UnicastRemoteObject implements Calculator { protected CalculatorImpl() throws RemoteException { super(); } public long add(long […]

Read More

Bubble sort,Insertion sort,Selection sort programs

Q-1: write a program to implement sorting with BUBBLESORT METHOD. ANS : #include <stdio.h> #include <conio.h> Void main() { Int i,j,n,a[20],temp; Clrscr(); Printf(“enter the number of elements:”); Scanf(“%d”,&n); Printf(“enter the elements of array:”); Scanf(“%d”,&a[i]); For(i=0;i<n;i++) { Scanf(“%d”,&a[i]); } For(i=0;i<n-i;i++) { For(j=0;j<n-i;j++) { If(a[j]>a[j+1]) { Temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } Printf (“the ascending order is:n”); […]

Read More

Frequently Asked Questions In Information/Network Security

 Frequently Asked Questions and their weight-age 1. Briefly describe the security services. (8) 2. Explain classical encryption techniques(Steps involved in each encryption technique like Caesar cipher, playfair cipher, hill cipher, vigenere cipher, one time pad cipher, rail fence, etc) 3. Explain about steganography,transposition cipher. 4. Describe the key generation of DES and encryption algorithm(8/16) 5. […]

Read More