Click Here to Get Worlds Smallest Email Id (Better than Gmail & Yahoo!)

JobsAssist.com - Jobs Resources & Placement Papers
Get Vyom Interview Success Kit Now!
» Now 9,000 Questions & Answers !!
» 10,000+ Pages | Written by 58 Subject Experts | 81 Question Categories
» Every Successful Candidate has this!
Special

Get Salary before getting a Job!
Click here


Main Menu

JobsAssist.com Home Home
 Freshers Jobs Freshers Jobs
Latest Freshers Jobs Latest Jobs
Add Freshers Jobs to My Yahoo My Yahoo!
Free Vyom Career Magazine Free Career Mag
 IT Companies Placement Papers IT Placement Papers
 Govt. Sector Companies Placement Papers Govt. Sector Papers
 5000 IT Companies Directory IT Directory
 Free Magazines Free Magazines
 Consultants Directory Consultants
 Training Institutes Directory Training Inst.
 Interview Questions Interview Questions
 Motivational Quotes Motivational Quotes
 Call Center Information Call Center Info
 Final Year Projects Final Year Projects
 Jobs Discussion Forums Jobs Forum
 Vyom Resume Submitter Resume Submitter
 Free Resume Builder Downloads Free Resume Builders
 Contact Us Contact Us


Resume Submitter

Vyom Network
    Vyom Resources
    Source Codes
    Online Exams
    Discussions World
    Free eBooks
    20,000 Downloads

HOT Resources
Free Career eMagazine

  Advertise for FREE!

HOT eBook

Search JobsAssist.com
Google



Your Ad Here

Welcome to JobsAssist.com - Single Stop for Complete Career Resources
Home » Placement Papers » iNautics Placement Papers » iNautics Placement Paper 3
Join VYOM-JOBS and receive latest 2008 Placement Papers for FREE


iNautics Placement Paper 3


Error icon Receive Genuine Job Information & latest Walk-in details in your mailbox everyday! Join our Yahoo! Group by entering your email in the form below:


Search Jobs:
(For Example: Software Testing Jobs, BPO Jobs, J2EE Jobs, etc.)
Click here to register on India's Fastest growing Job site.



iNautics 14 Feb 2004, Saturday


1. Why do you want to leave current company ?


2. What is your role in project and how you manage you role at your company ?


3. How do you manage people, how you do reviews, testing ? Do you use any automated tools for testing ? How do you do performance testing ?


4. How you manage configuration control ?


5. What is the difference between forward tag and sendRedirect() ?



6. What is a singleton class ?



7. What is the difference between Abstract class and Interface. In what situations, they can be used ?



8. How do you send data from an applet to Servlet ? What are the steps involved in it ?

Answer :
It's pretty straightforward. You can use the java.net.URLConnection and java.net.URL classes to open a standard HTTP connection to the web server. The server then passes this information to the servlet in the normal way. 

Basically, the applet pretends to be a web browser, and the servlet doesn't know the difference. As far as the servlet is concerned, the applet is just another HTTP client. 

(Of course, you can write a servlet that is meant to be called only by your applet, in which case it *does* know the difference. You can also open a ServerSocket on a custom TCP port, and have your applet open a Socket connection. You must then design and implement a custom socket-level protocol to handle the communication. This is how you could write, e.g., a Chat applet communicating with a servlet. In general, a custom protocol requires more work than HTTP, but is more flexible. However, custom protocols have a harder time getting through firewalls.) 

For more detail, you can see the Sun Web Server FAQ (http://www.sun.com/software/jwebserver/faq/faq.html) 
Questions C8 (http://www.sun.com/software/jwebserver/faq/faq.html#c8) 
and C9 (http://www.sun.com/software/jwebserver/faq/faq.html#c9) . 

Also, Chad Darby has an article with source code (http://www.j-nine.com/pubs/applet2servlet/index.htm) on the subject. 

And Netscape DevEdge Online has a similar article - Applet-to-Servlet Communication for Enterprise Applications (http://developer.netscape.com/viewsource/index_frame.html?content=fields_servlet/fields_servlet.html) skip to the "Communication Tactics" section to get to the good part. 



9. What is Polymorphism. Explain ?



10.What are the types of Polymorphism ? What is Run-Time polymorphism ?



11. Any questions for us ?


iNautics Paper


1.main()
{
char **p="Hello";
printf("%s",**p);
}

Ans: Garbage or nothing

2.main()
{
printf("%d%c\n");
printf("%d%c\n");
}

Ans: Garbage Value

3. main()
{
int x=5;
printf("%d%d",x++,++x);
}

Ans=6 6

4. main()
{
int x=4;
printf("%d",printf(" %d %d ",x,x) );
}

Ans: 4 4 5

5. main()
{
union 
{
int i;
char p; 

struct 
{
int t;
char e;
char o;
}w;

}l;
printf("%d\n",sizeof(l) );
}

Ans: 4

6. main()
{
int i=0,n=6;
while(n-->0);
i+=n;
printf("%d\n",i);
}

Ans: -1

7. main()
{
char a[]="Hello";

printf("%c\n",*a++);
}
Ans: Error

8. a=3,b=2,c=1;
What's the value of k?
k= a< b < c-1;

Ans: 0

9. main()
{
int a=3;
do
{
printf("%d", a);
a=-1;
} while(a>0);

}

Ans: 3

10.It is not "exact" Question; But the given Answers is:
a) PASS1 PASS2
b) PASS1 FAIL1
c)FAIL1 FAIL2
d)FAIL1 PASS2

main()
{
char c=-32;
int i=-64;
unsigned u=-26;
if(c>i)
printf("PASS1");
if( i < c)
printf("PASS2");
else
printf("FAIL1");
if(i<u)
printf("PASS2");
else
printf("FAIL2");
}

Ans: PASS1 PASS2 PASS1

11. 
main()
{
int i=0;
for( i=0; i<=20;i++)
{
switch(i)
{
case 0: i+=5;
case 1: i+=2;
case 2: i+=5;
default: i+=4;
break;
}
printf("%d",i);
}


Ans: 16 21


12.main()
{
int i=4;
switch(i)
{
case 1:
printf("HEllo"):
case default: // "case" should not come with "default"
printf("****");
}
}

Ans: Error

13.
main()
{
int sum=0,count;
for(count=1;sum+=count)
printf("%d\t",sum);
}
Ans: Error

14.
#define cond(a) a>=65 && a<=90 
main()
{
char s='R';
if( cond(s) )
printf("UPPER CASE");
else
printf("LOWER CASE");
}

Ans:UPPER CASE

15.main()
{
static int i=5;
printf("%d\t",i--);
if( i)
main();
}

Ans: 5 4 3 2 1

16. main()
{
char *a1="new",*a2="dictionary",*t;
swap(a1,a2); 
printf("(%s%s)",a1,a2);
t=a1;
a1=a2;
a2=t;
printf("-(%s%s)",a1,a2);
}
swap( char *s1,char *s2)
{
char *temp;
s1=s2;
s2=s1;
temp=s1;
}

Ans: (newdictionary)-(dictionarynew)

17.
*p++?

Ans: increments Address

18.
main()
{
int a[]={ 10,20,30,40,50};
char*p=(char*)a;
printf("%d", * ( (int *) p+4);
}

Ans: 50

19.one question nothig but calling a function before it has been defined.


Join VYOM-JOBS and receive latest 2008 Placement Papers for FREE
Click here to register on India's Fastest growing Job site

Vyom Network     Privacy Policy

JobsAssist.com is a part of Vyom Network.

Vyom Network : Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | Delhi Info | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing


Placement Papers
Copyright ©2003-2010 Vyom Technologies, All Rights Reserved.
Page URL: http://www.jobsassist.com/placementpapers/inautics-placement-paper-2.asp

Download Yahoo Messenger | Job Interview Questions | Software Testing Tutorials | Winrunner Tutorial | Test Director Tutorial | C++ Projects