Admission News

Latest Admission Notifications for BA, B.Com. B.Sc, BBA, BCA, MA, M.Com, M.Sc, MBA, Other PG and UG Courses

Question Papers

Question Papers for Various Universities of India. Download 10 Year Question Paper for Free.

Placement Papers

Placement Papers for Various Companies. Download Placement Papers for Free.

Universities in India

List of Various Universities in India. Get the List of Various Universities, Deemed Universities, IITs and NITs.

Colleges in India

List of Various Colleges in India.

Wednesday, December 17, 2008

MAH-MCA-CET 2009

Directorate of Technical Education, Maharashtra State
3, Mahapalika Marg, Post Box No. 1967, Mumbai - 400 001
Ph: (022) 22626853, 22626854
Fax: 22692102
Telegram: Edutech
Email: desk2a@dte.org.in
Website: www.dte.org.in

DIRECTORATE OF TECHNICAL EDUCATION, MAHARASHTRA - 2009

MAH-MCA-CET 2009

Admissions Notice for MCA - 2009

Candidates seeking admission to AICTE approved full time MCA course for the academic year 2009-2010 are hereby informed that Common Entrance Test (CET) will be conducted as per the schedule given below:

CET ------------------------------Date of CET

MAH-MCA-CET 2009--------1st March 2009 (Sunday)

The detailed notification regarding availability of information brochure, filling up on-line CET Application form, eligibility criteria etc. will be published in leading newspapers in the month of February 2009.

For more details, visit: www.dte.org.in

Admission Notice For MCA 2009-10 of University of Delhi

UNIVERSITY OF DELHI

DEPARTMENT OF COMPUTER SCIENCE

ADMISSION NOTIFICATION FOR MCA 2009-2010

ADMISSION THROUGH JAM

Admission to Master of Computer Applications for the academic year 2009-2010 will be made through JAM (Joint Admission Test for M.Sc.) 2009 being conducted by IIT Kharagpur. Information brochure along with the application form can be obtained from the designated branches of Canara Bank or by post. The students can also apply online. For more details and online applications click here

Eligibility:

(a) Any Bachelor's Degree under 10+2+3 scheme of examination followed at the University of Delhi or an equivalent degree from any other recognized University with 60% marks (55% in case of SC/ST candidates) in aggregate and atleast one paper in Mathematics for annual system candidates/atleast two papers of Mathematics for semester system candidates.

(b) The candidates who are appearing in the final year examination of the degree on the basis of which admission is sought [as mentioned] are also eligible to apply.

Important dates:

Issue of form started w.e.f. : November 24, 2008

Last date to request IIT Kharagpur to send the form by post : January 07, 2009

Last date for Online registration : January 19, 2009

Last date to receive the completed form : January 22, 2009

Date of Entrance Examination : May 03, 2009

Note: 1. For details of JAM advertisement please see Employment News Paper dated 15.11.2008 to 21.11.2008.

2. The candidates qualifying JAM are required to report in person (to the Department) for counselling on 13th July 2009. At the time of counselling they will be required to fill up an application form and submit a bank draft of Rs.500/- (Rs.250/- in case of SC/ST candidates) drawn in favour of "The Registrar, University of Delhi". Time of counselling will be announced at the Department website.

3. The candidates would be required to produce the JAM score card at the time of counselling.

4. For further details visit http://jam.iitkgp.ac.in

University of Delhi Computer Department Website: http://cs.du.ac.in/

PTU Result of Technology (M.Tech) 2nd Semester (Regular Part Time ) 2008 of College GNDEC

Punjab Technical University Jalandhar

Guru Nanak Dev Engineering College Ludhiana

Result of Technology (M.Tech) 2nd Semester (Regular Part Time ) 2008

Examination Result Regular-Part Time Examination held in May 2008.

Click Here For Result

For more details, visit: www.gndec.ac.in

Program for interactive input to an applet

Free Java Programs

Program for interactive input to an applet

Import java.awt.*;
Import java.applet.*;
Public class UserIn extends Applet
{
TextField text1,text2;
Public void init()
{
text1=new TextField(8);
text2=new TextField(8);
add(text1);
add(text2);
text1.setText(“0”);
text2.setText(“0”);
}
public void paint(Graphics g)
{
int x=0,y=0,z=0;
string s1,s2,s;
g.drawString(“Input a number in each box “,10,50);
try
{
s1=text1.getText();
x=Integer.parseInt(s1);
s2=text2.getText();
y=Integer.parseInt(s2);
}
catch(Exception ex) {}
z=x+y;
s=String.valueOf(z);
g.drawstring(“THE SUM IS: “,10,75);
g.drawstring(s,100,75);
}
public Boolean action(Event event,Object obj)
{
repaint();
return true;
}
}

Program for Throwing own exception

Java Programs

Program for Throwing own exception

Import java.lang.Exception;
Class MyException extends Exception
{
MyException(String message)
{
super(message);
}
}
class TestMyException
{
public static void main(String args[])
{
int x=5,y=1000;
try
{
float z=(float) x / (float) y;
if(z<0.01)
{
throw new MyException(“Number is small”);
}
}
catch (MyException e)
{
System.out.println(“my exception”);
System.out.println(e.getMessage( ));
}
finally
{
System.out.println(“ always here”);
}
}
}

Program to implement interfaces in Java

Free Java Programs

Program to implement interfaces

import java.io.*;
interface Area
{
final static float pi=3.14F;
float compute(float x,floaty);
}
class Rectangle implements Area
{
public float compute(float x,float y)
{
return(x*y);
}
}
class Circle implements Area
{
public float compute(float x,float y)
{
return(pi*x*x);
}
}
class InterfaceTest
{
public static void main(String args[])
{
rectangle rect=new Rectangle();
Circle cir=new Circle( );

Area area;
Area=rect;
System.out.println(“Area of Rectangle=” + area.compute(10,20));
Area=cir;
System.out.println(“area of circle=”+area.compute(10,0));
}
}

Output:
Area of Rectangle=200
Area of Circle=314

Program of single inheritance in Java

Free Java Programs

Program of single inheritance

class Room
{
int length;
int breadth;
Room(int x,int y)
{
length=x;
breadth=y;
}
int area()
{
return(length*breadth);
}
}
class BedRoom extends Rom // inheriting Room
{
int height;
BedRoom(int x,int y,int z)
{
super(x,y); // pass values to superclass
height=z;
}
int volume()
{
return(length*breadth*height);
}
}
class InherTest
{
public static void main(String args[])
{
BedRoom room1=new BedRoom(14,12,10);
int area1=room1.area(); //superclass method
int volume1=room1.volume(); //baseclass method
System.out.println(“Area1=”+area1);
System.out.println(“Volume1=”+Volume1);
}
}

Output is:
Area1=168
Volume1=1680

A program with multiple classes in Java

Free Java Programs

A program with multiple classes in Java

import java.io.*;
Class Room
{
float length;
float breadth;
void getdata(float a,float b)
{
length=a;
breadth=b;
}
}
class RoomArea
{
public static void main(String args[])
{
float area;
Room room1=new Room(); //creates an object room1
room1.getdata(14,10);
area=room1.length*room1.breadth;
system.out.println(“Area=”+area);
}
}

Output is:
Area=140

Program of Ifelse statement in Java

Free Java Programs

Program of Ifelse statement

class IfElseTest
{
public static void main((String args[])
{
int number[]={50,65,56,71,81);
int even=0;odd=0;
for(int i=0;i
{
if((number [i]%2)= =0) //decide even or odd
{
even+=1; // counting even numbers
}
else
{
odd+=1; // counting ODD numbers
}
}
System.out.println(“Even Numbers:”+even+””ODD Numbers:”+Odd);
}
}

Output:
Even numbers:2 Odd numbers:3

WAP to implement a stack in Java

Free Java Programs

WAP to implement a stack in Java

import java.io.*;
class Stack
{
int st[]=new int[10];
int top,i;
Stack()
{
top=-1;
i=0;
}
void push(int s)
{
if(top==9)
System.out.println("Stack is full");
else
st[++top]=s;
}
int pop()
{
if(top<0)
{
System.out.println("Stack is Empty");
return 0;
}
else
return st[top--];
}
}
class ImplementStack
{
public static void main(String args[]) throws IOException
{
Stack stck =new Stack();
String ch;
int i;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter value for a stack");
for(i=0;i<10;i++)
stck.push(Integer.parseInt(br.readLine()));
System.out.println("values in stack are");
for(i=0;i<10;i++)
System.out.println(stck.pop());
}}

WAP to sort a array in Java

Free Java Programs

WAP to sort a array in Java

import java.io.*;
class sort
{
public static void main(String args[])throws IOException
{
int a[]=new int[5];
int i,j;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
System.out.println("enter the value");
for(i=0;i<5;i++) str="br.readLine();" i="0;i<5;i++)" j="i+1;j<5;j++)">a[j])
{
int temp=a[i];
a[i]=a[j];
a[j]=temp;
}

}
}
System.out.println("the sorted array is:");
for(i=0;i<5;i++)
{
System.out.println(a[i]);
} }
}

WAP to sort a given list of number

Free Java Programs

Write a program to sort a given list of number

import java.io.*;
class sorting
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int arr[]=new int[10],i,temp,j;
System.out.println("Enter an array of 10 numbers");
for(i=0;i<10;i++)
{
arr[i]=Integer.parseInt(br.readLine());
}

for(i=0;i<10;i++)
{
for(j=i+1;j<10;j++)
{
if(arr[i]>arr[j])
{
temp=arr[i];
arr[i]=arr[j];
arr[j]=temp;
}
}
}
System.out.println("Sorted array is");
for(i=0;i<10;i++)
{
System.out.println(arr[i]);
}
}
}

WAP to search a numbers from given list in Java

Free Java Programs

Write a program to search a numbers from given list

import java.io.*;
class search
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int arr[]=new int[10],i,temp,j,num;
System.out.println("Enter an array of 10 numbers");
for(i=0;i<10;i++)
{
arr[i]=Integer.parseInt(br.readLine());
}
System.out.println("Enter number to be searched");
num=Integer.parseInt(br.readLine());

for(i=0;i<10;i++)
{
if(num==arr[i])
{
System.out.println("Number found on position ="+(i+1));
break;
}

}
if(i==10)
System.out.println("Number not found");
}
}

WAP of array in Java

Free Java Programs

Write a program of array in Java

import java.io.*;
class arr
{
public static void main(String args[])throws IOException
{
int arr[] = new int[5];
int i;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the value");
for (i=0;i<5;i++)
{
String str= br.readLine();
arr[i]=Integer.parseInt(str);
}
System.out.println("The array is:");
for(i=0;i<5;i++)
System.out.println(arr[i]);
}
}

WAP to display the result of student in Java

Free Java Program

Write a program to display the result of student

import java.io.*;
class Student
{
String name,div,clas;
float marks[]=new float[5];
float tot,per;
int i;

Student()
{
name="";

for(i=0;i<5;i++) tot="0;" per="0;" div="" clas="" name="n;" clas="c;" i="0;i<5;i++)" i="0;i<5;i++)" per="tot/5;">=75)
{
div="First";
}
else
if(per >=60 && per <75) div="Second">=40 && per <60)
{
div="Third";
}
else
if(per <40)
{
div="Fail";
}
}
void showData()
{
System.out.println("\t\t\tStudent Result");
System.out.println();

System.out.println("Name\t\t"+ "Marks\t"+ "Class\t"+"Division");
System.out.println("----------------------------------------");
System.out.println(name+"\t "+tot+"\t"+clas+"\t"+div);
}
}
class StudentResult extends Student
{
public static void main(String args[]) throws IOException
{
Student s1=new Student();
String name=new String();
String clas=new String();
float m[]=new float[5];
int i;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter Name");
name=br.readLine();
System.out.println("Enter Your Class");
clas=br.readLine();
System.out.println("Enter Marks in Five Subjetcs");
for(i=0;i<5;i++)
{
m[i]=Float.parseFloat(br.readLine());
}
s1.getData(name,m,clas);
s1.calcDivision();
s1.showData();
}
}

WAP to find the sum of all the prime numbers between 100 to 200 in Java

Java Programs

Write a program to find the sum of all the prime numbers between 100 to 200

class prime
{
public static void main(String args[])
{
int sum=0,i,j,prime;
boolean flag=false;
for(i=100;i<=200;i++)
{
flag=false;
for(j=2;j<=i/2;j++)
{
if(i%j==0)
{
flag=true;
}
}
if(flag==false)
{
System.out.println("Prime ="+i);
sum+=i;
}
}
System.out.println("Sum of prime numbers between 100 and 200 is= "+sum);
}
}

WAP to find the sum of digit of number in Java

Java Programs

Write a program to find the sum of digit of number in Java

import java.io.*;
class sumdig
{
public static void main(String args[]) throws IOException
{
int num,sum=0,digit;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter a number");
num=Integer.parseInt(br.readLine());
while(num>0)
{
digit=num%10;
sum+=digit;
num=num/10;
}
System.out.println("Sum of the digits of a number is="+ sum);
}
}

WAP to find the largest of numbers in Java

Java Programs

Write a program to find the largest of numbers

import java.io.*;
class largestNumber
{
public static void main(String args[]) throws IOException
{
int arr[]= new int[10],i,max;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter 10 numbers");
for(i=0;i<10;i++)
{
arr[i]=Integer.parseInt(br.readLine());
}
max=arr[0];
for(i=0;i<10;i++)
{
if(max < arr[i])
max=arr[i];
}
System.out.println("Largest Number is "+max);
}
}

WAP to find the roots of quadratic equation in Java

Java Programs

Write a program to find the roots of quadratic equation


import java.io.*;
import java.math.*;
import java.lang.*;
class quad
{
public static void main(String args[]) throws IOException
{
int a,b,c,dis;
double x,x1,x2,x3,x4,dis1,dis2;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Quadratic Equation ==> ax2+bx+c");
System.out.println("------------------");
System.out.println("Enter coefficient of x square");
a=Integer.parseInt(br.readLine());
System.out.println("Enter coefficient of x");
b=Integer.parseInt(br.readLine());
System.out.println("Enter constant c");
c=Integer.parseInt(br.readLine());
dis=(b*b)-(4*a*c);
if(dis>0)
{
x1=(-b + Math.sqrt(dis))/(2*a);
x2=(-b - Math.sqrt(dis))/(2*a);
System.out.println("Roots are distinct");
System.out.println("x=" + x1 + "," + x2);
}
else
if(dis==0)
{
x=(-b)/(2*a);
System.out.println("Only one root is distinct");
System.out.println("x=" + x);
}
else
if(dis<0)
{
x3=(-b)/(2*a);
dis1=((4*a*c)-(b*b))/(2*a);
System.out.println("No real roots are there only complex roots");
System.out.println("x=" + x3 + "+ " + dis1 + "i" + "," + x3 + "- " + dis1 +"i");
}
}
}

Write a program to to find sum of three numbers in Java

Java Programs

WAP to to find sum of three numbers

import java.io.*;
class greatest
{
public static void main(String args[]) throws IOException
{
int a,b,c;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter three numbers");
a=Integer.parseInt(br.readLine());
b=Integer.parseInt(br.readLine());
c=Integer.parseInt(br.readLine());
if(a>b && a>c)
{
System.out.println(a +" is greatest");
}
else
if(b>a && b>c)
{
System.out.println(b +" is greatest");
}
else
{
System.out.println(c +" is greatest");
}
}
}

Recent Educational News