<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>MATERIALS FOR JOB</title><description></description><managingEditor>noreply@blogger.com (Jegadeesan)</managingEditor><pubDate>Tue, 5 Nov 2024 19:02:16 -0800</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">85</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://materialsforjob.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>C program to add, subtract, multiply and divide Complex Numbers, complex arithmetic</title><link>http://materialsforjob.blogspot.com/2011/11/c-program-to-add-subtract-multiply-and.html</link><category>C</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Tue, 22 Nov 2011 01:43:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-6276366237067417888</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Asked in Honeywell Technical Interview&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
C Program to add, subtract, multiply and divide complex numbers :- This program performs basic operations on complex numbers i.e addition, subtraction, multiplication and division. This is a menu driven program in which user will have to enter his/her choice to perform an operation. User can perform operations until desired. To easily handle a complex number a structure named complex has been used, which consists of two integers first integer is for real part of a complex number and second for imaginary part.&lt;br /&gt;
&lt;blockquote&gt;#include&lt;stdio.h&gt;&lt;br /&gt;
#include&lt;conio.h&gt;&lt;br /&gt;
#include&lt;stdlib.h&gt;&lt;br /&gt;
&lt;br /&gt;
struct complex&lt;br /&gt;
{&lt;br /&gt;
int real;&lt;br /&gt;
int img;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
int choice, temp1, temp2, temp3;&lt;br /&gt;
struct complex a, b, c;&lt;br /&gt;
&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
printf("Press 1 to add two complex numbers.\n");&lt;br /&gt;
printf("Press 2 to subtract two complex numbers.\n");&lt;br /&gt;
printf("Press 3 to multiply two complex numbers.\n");&lt;br /&gt;
printf("Press 4 to divide two complex numbers.\n");&lt;br /&gt;
printf("Press 5 to exit.\n");&lt;br /&gt;
printf("Enter your choice ");&lt;br /&gt;
scanf("%d",&amp;amp;choice);&lt;br /&gt;
&lt;br /&gt;
if( choice == 5)&lt;br /&gt;
exit(0);&lt;br /&gt;
&lt;br /&gt;
if(choice &amp;gt;= 1 &amp;amp;&amp;amp; choice &amp;lt;= 4)         {             printf("Enter a and b where a + ib is the first complex number.");             printf("\na = ");             scanf("%d", &amp;amp;a.real);             printf("b = ");             scanf("%d", &amp;amp;a.img);             printf("Enter c and d where c + id is the second complex number.");             printf("\nc = ");             scanf("%d", &amp;amp;b.real);             printf("d = ");             scanf("%d", &amp;amp;b.img);         }         if ( choice == 1 )         {             c.real = a.real + b.real;             c.img = a.img + b.img;               if ( c.img &amp;gt;= 0 )&lt;br /&gt;
printf("Sum of two complex numbers = %d + %di",c.real,c.img);&lt;br /&gt;
else&lt;br /&gt;
printf("Sum of two complex numbers = %d %di",c.real,c.img);&lt;br /&gt;
}&lt;br /&gt;
else if ( choice == 2 )&lt;br /&gt;
{&lt;br /&gt;
c.real = a.real - b.real;&lt;br /&gt;
c.img = a.img - b.img;&lt;br /&gt;
&lt;br /&gt;
if ( c.img &amp;gt;= 0 )&lt;br /&gt;
printf("Difference of two complex numbers = %d + %di",c.real,c.img);&lt;br /&gt;
else&lt;br /&gt;
printf("Difference of two complex numbers = %d %di",c.real,c.img);&lt;br /&gt;
}&lt;br /&gt;
else if ( choice == 3 )&lt;br /&gt;
{&lt;br /&gt;
c.real = a.real*b.real - a.img*b.img;&lt;br /&gt;
c.img = a.img*b.real + a.real*b.img;&lt;br /&gt;
&lt;br /&gt;
if ( c.img &amp;gt;= 0 )&lt;br /&gt;
printf("Multiplication of two complex numbers = %d + %di",c.real,c.img);&lt;br /&gt;
else&lt;br /&gt;
printf("Multiplication of two complex numbers = %d %di",c.real,c.img);&lt;br /&gt;
}&lt;br /&gt;
else if ( choice == 4 )&lt;br /&gt;
{&lt;br /&gt;
if ( b.real == 0 &amp;amp;&amp;amp; b.img == 0 )&lt;br /&gt;
printf("Division by 0 + 0i is not allowed.");&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
temp1 = a.real*b.real + a.img*b.img;&lt;br /&gt;
temp2 = a.img*b.real - a.real*b.img;&lt;br /&gt;
temp3 = b.real*b.real + b.img*b.img;&lt;br /&gt;
&lt;br /&gt;
if ( temp1%temp3 == 0 &amp;amp;&amp;amp; temp2%temp3 == 0 )&lt;br /&gt;
{&lt;br /&gt;
if ( temp2/temp3 &amp;gt;= 0)&lt;br /&gt;
printf("Division of two complex numbers = %d + %di",temp1/temp3,temp2/temp3);&lt;br /&gt;
else&lt;br /&gt;
printf("Division of two complex numbers = %d %di",temp1/temp3,temp2/temp3);&lt;br /&gt;
}&lt;br /&gt;
else if ( temp1%temp3 == 0 &amp;amp;&amp;amp; temp2%temp3 != 0 )&lt;br /&gt;
{&lt;br /&gt;
if ( temp2/temp3 &amp;gt;= 0)&lt;br /&gt;
printf("Division of two complex numbers = %d + %d/%di",temp1/temp3,temp2,temp3);&lt;br /&gt;
else&lt;br /&gt;
printf("Division of two complex numbers = %d %d/%di",temp1/temp3,temp2,temp3);&lt;br /&gt;
}&lt;br /&gt;
else if ( temp1%temp3 != 0 &amp;amp;&amp;amp; temp2%temp3 == 0 )&lt;br /&gt;
{&lt;br /&gt;
if ( temp2/temp3 &amp;gt;= 0)&lt;br /&gt;
printf("Division of two complex numbers = %d/%d + %di",temp1,temp3,temp2/temp3);&lt;br /&gt;
else&lt;br /&gt;
printf("Division of two complex numbers = %d %d/%di",temp1,temp3,temp2/temp3);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
if ( temp2/temp3 &amp;gt;= 0)&lt;br /&gt;
printf("Division of two complex numbers = %d/%d + %d/%di",temp1,temp3,temp2,temp3);&lt;br /&gt;
else&lt;br /&gt;
printf("Division of two complex numbers = %d/%d %d/%di",temp1,temp3,temp2,temp3);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
printf("Invalid choice.");&lt;br /&gt;
&lt;br /&gt;
printf("\nPress any key to enter choice again...");&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
}&lt;/stdlib.h&gt;&lt;/conio.h&gt;&lt;/stdio.h&gt;&lt;/blockquote&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Honeywell Technical Interview Questions</title><link>http://materialsforjob.blogspot.com/2011/11/honeywell-technical-interview-questions.html</link><category>C</category><category>Honeywell</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Fri, 18 Nov 2011 01:47:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-1613416252167636887</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-size: small;"&gt;1. Introduce yourself briefly.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;2. How much good you are in C (on the scale of 1-10)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;3. They gave me the same complex number program and told me what modification I can do in it. (Again write the program) &lt;a href="http://materialsforjob.blogspot.com/2011/11/c-program-to-add-subtract-multiply-and.html" target="_blank"&gt;Click here to see this program&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;4. Write the same complex number addition program with passing values to function, passing structure to function and passing address of the structure to the function.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;5. What is recursion? What will happen is we don't give termination condition? How efficient recursion is compared to iteration. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;ans:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Recursion is a programming technique that allows the programmer to express operations in terms of themselves. In C++, this takes the form of a function that calls itself. A useful way to think of recursive functions is to imagine them as a process being performed where one of the instructions is to "repeat the process". This makes it sound very similar to a loop because it repeats the same code, and in some ways it is similar to looping. On the other hand, recursion makes it easier to express ideas in which the result of the recursive call is necessary to complete the task. Of course, it must be possible for the "process" to sometimes be completed without the recursive call. One simple example is the idea of building a wall that is ten feet high; if I want to build a ten foot high wall, then I will first build a 9 foot high wall, and then add an extra foot of bricks. Conceptually, this is like saying the "build wall" function takes a height and if that height is greater than one, first calls itself to build a lower wall, and then adds one a foot of bricks.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;6. What are the storage classes? Explain each with examples.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;C has a concept of 'Storage classes' which are used to define the scope (visability) and life time of variables and/or functions. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;There are four type of storage classes in C. These are used &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;to store variables. These are  Extern, Static, Register and &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Auto. Auto is the default class assigned to any variable.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;eg.  if we define   int x=10;    then it means auto int x=10&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;register and static differ in  only one  grounds that  &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;register is there in the cpu and static in the main memory.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;extern is global and can be accessed by any program and &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;anywhere.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;7. Where register variables are stored? Where registers remain in computer? How many registers are there?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;register is there in the cpu and static in the main memory.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;8. Write a program to implement static storage class. (Many questions on this)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;9. What is Union? Write syntax of union. How memory is allocated for the members of Union. How it is different from structure? When we use union and when structure.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;10. What is dynamic memory allocation?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;11. Write syntax for allocating memory for Integer using malloc().&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;12. What is type casting?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;13. What is the need of type casting in malloc().&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;12. What is difference between malloc() and calloc().&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;13. How memory is released?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;14. Where malloc() save variables? (In which memory- Primary, RAM)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;15. What is Preprocessor?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;16. What it is called in C?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;17. How it works? What is the need of macros?&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;18. How parameters are passed in C?&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>List of Engineering Entrance Exams In India</title><link>http://materialsforjob.blogspot.com/2011/11/list-of-engineering-entrance-exams-in.html</link><category>Entrance Exams</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 17 Nov 2011 22:02:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-1997538015469113296</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a list of a few examinations I know :&lt;br /&gt;
&lt;ol class="decimal"&gt;&lt;li&gt;AICE - All India Competitive Examination for Admissions to Master's Degree Programmes&lt;/li&gt;
&lt;li&gt;AICET - All India Common Entrance Test&lt;/li&gt;
&lt;li&gt;AIEEE - All India Engineering Entrance Examination&lt;/li&gt;
&lt;li&gt;AMIE - Associate Membership of Institution of Engineers&lt;/li&gt;
&lt;li&gt;AMIETE - Associate Membership of Institute of Electronics and Telecommunication Engineers&lt;/li&gt;
&lt;li&gt;Annamalai University Engineering Entrance Exam&lt;/li&gt;
&lt;li&gt;BEE- Bureau of Energy Efficiency&lt;/li&gt;
&lt;li&gt;BITSAT - Birla Institute of Technology and Science Examination&lt;/li&gt;
&lt;li&gt;Dhirubhai Ambani Institute Of Information and Communication Technology&lt;/li&gt;
&lt;li&gt;GATE - Graduate Aptitude Test in Engineering&lt;/li&gt;
&lt;li&gt;IIT JEE - IIT Joint Entrance Examination&lt;/li&gt;
&lt;li&gt;ISAT - IIST Admission Test&lt;/li&gt;
&lt;li&gt;JNU EEE - Jawaharlal Nehru University Engineering Entrance Exam&lt;/li&gt;
&lt;li&gt;MP PET - Madhya Pradesh Pre Engineering Test&lt;/li&gt;
&lt;li&gt;NIT - National Institute of Technology&lt;/li&gt;
&lt;li&gt;RPET - Rajasthan Pre Engineering Test&lt;/li&gt;
&lt;li&gt;SRM EEE - SRM Engineering Entrance Exam [ BTech, MTech ]&lt;/li&gt;
&lt;li&gt;VITEEE Vellore Institute of Technology Engineering Entrance Exam&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
If any more exams are conducted in your area, post them here.       &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Latest CTS Placement Paper September 2011 Kolkata</title><link>http://materialsforjob.blogspot.com/2011/11/latest-cts-placement-paper-september.html</link><category>CTS</category><category>Placement Papers</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 17 Nov 2011 00:58:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-513893021169725982</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     At first the cognizant people came to the college,gave the pre placement talk.Then started the aptitude exam.&lt;br /&gt;
There was two part in the paper ----1st part is Verbal and 2nd part is Analytical.&lt;br /&gt;
Question was not so easy.You should practice properly specially the verbal part.&lt;br /&gt;
322 selected from 340 in the aptitude test .&lt;br /&gt;
After a long wait my name was called for the interview.I was lil' bit  tensed because that was the 1st interview in my life.Hopefully my HR  was a very good person after entering in the interview room-&lt;br /&gt;
HR:Sit down&lt;br /&gt;
me:thank you sir.&lt;br /&gt;
HR:He asked for the CV and look it properly.asked some common question from CV about hobby,achievements&lt;br /&gt;
me: answered properly&lt;br /&gt;
HR:Then he asked except this(which was written in my hobby) what can u do?&lt;br /&gt;
me: bla bla&lt;br /&gt;
HR:which is your preferable language&lt;br /&gt;
me:java&lt;br /&gt;
HR:what are the properties of oops&lt;br /&gt;
me:told&lt;br /&gt;
HR:gave me a situation about inheritence (cat and dog has some  properties,implement this in inheritence) and then he asked me to write  the code&lt;br /&gt;
me:properly done&lt;br /&gt;
HR:what is polymorphism?then overloading,overriding,run time polymorphism&lt;br /&gt;
me:told&lt;br /&gt;
HR:then he asked do u know non linear datastructure?&lt;br /&gt;
me:told  about tree,different types of trees&lt;br /&gt;
HR:asked about level,height,node,edge,b tree,b+ tree&lt;br /&gt;
me:told&lt;br /&gt;
HR:told me to do a quick sort of some no.s&lt;br /&gt;
me:I just told the algorithm,i didn't do the sorting.&lt;br /&gt;
HR:what is the best and worst case of bubble sort&lt;br /&gt;
me:told ,he looked satisfied&lt;br /&gt;
HR:Tell me something about your project&lt;br /&gt;
me:told&lt;br /&gt;
HR:so at the back end u r going to use dbms?&lt;br /&gt;
me:yes&lt;br /&gt;
HR:what is candidate key,unique key?&lt;br /&gt;
me:told&lt;br /&gt;
HR:give me a table asked me to write a query (it was pretty tough)&lt;br /&gt;
me:I wrote a code and show him&lt;br /&gt;
HR:This is not my question told the question properly&lt;br /&gt;
me:again write the code and show him ,he looked satisfied&lt;br /&gt;
HR:then he asked me why cognizant?&lt;br /&gt;
me: told&lt;br /&gt;
HR:r u rellocating?&lt;br /&gt;
me:yes&lt;br /&gt;
HR:souvik,do u have any query about cognizant?&lt;br /&gt;
me:asked 4 questions(prepare some questions)&lt;br /&gt;
HR:gave the answers.&lt;br /&gt;
Don't be nervous.Whatever comes in your mind just tell,don't miss a single question.Almost every HR is a nice person.&lt;br /&gt;
Always use cognizant,don't use CTS.&lt;br /&gt;
I'm selected for cognizant.&lt;br /&gt;
I'm going to join in the next year.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>L&amp;T Infotech Job Fair Campus Placement Papers OGI Bhopal MP 2011</title><link>http://materialsforjob.blogspot.com/2011/11/l-infotech-job-fair-campus-placement.html</link><category>L and T Infotech</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 17 Nov 2011 00:56:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-5821943118883241304</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     Hi friend's...i m Gunjan Shivhare from bhopal got selected in  L&amp;amp;T infotech..i m in my 6th semister pursuing my B.E from O.G.I  bhopal (m.p) in EC branch.....&lt;br /&gt;
PROCESS OF SELECTION:-&lt;br /&gt;
(1)Written Exam {total 90 questions in 90 mins}&lt;br /&gt;
(2)Group Discussion / Extempore&lt;br /&gt;
(3) Technical + Hr Interview&lt;br /&gt;
(1)WRITTEN EXAM:-( R.S AGRAWAL VERBAL &amp;amp; NON VERBAL + QUANTATIVE)&lt;br /&gt;
(1) QUANTATIVE PART {30 questions}&lt;br /&gt;
(2)  VERBAL PART {30 questions}&lt;br /&gt;
(3)   LOGICAL REASONING PART {30 questions} &lt;br /&gt;
Note:-There was no negative marks but there is sectional cutoff &amp;amp; about 20-22 would be for each section. &lt;br /&gt;
Some Questions:- &lt;br /&gt;
Syno-ADULATION, RECUPERATE, EXONERATE, IMMACULATE.&lt;br /&gt;
Analogy-&lt;br /&gt;
Q: practice : perfection&lt;br /&gt;
Q: triangle : hexagon&lt;br /&gt;
Q: paralysis : movement&lt;br /&gt;
Q traitor : disloyalty &lt;br /&gt;
Odd one out-&lt;br /&gt;
Q: a.illusion b.delusion c.identification d.hallucination&lt;br /&gt;
Q: a.dinosaur b.mermaid c.sphinx d.unicorn &lt;br /&gt;
AND THE OTHER TOPICS ARE::-&lt;br /&gt;
venn diagram,,puzzals,,,finding next in figure,,,problem on  age,,percentage,,si/ci,,,statement-argument,,RC,,,blood relation etc &lt;br /&gt;
(2) GROUP DISCUSSION:&lt;br /&gt;
Around 240 student's were short listed for GD out off 550..  we were  divided into panel's i was in the 1st panel onlyyy...each panel had  around 16 students.. we all know GD round is considered as Rejection  round..&amp;amp; that was my 1st attemp for any GD.. i was nervous but try  to relax myself by talking with my friends...well HR came into our  room..we all wished her.. then she told every one to give there  introduction...she was checking the confidence level of each student..  then she told each to choose the topic as per their interest &amp;amp; to  speak on it for about 2-3 mins...so friend's always be ready with a  topic of ur own.. &lt;br /&gt;
(3) TECHNICAL + HR INTERVIEW:&lt;br /&gt;
About 130 student were selected for the final round...&amp;amp; i was one of the lucky person to be there for final round..&lt;br /&gt;
my interview was more of HR but most of my friend's were asked technical  too..so be prepared.. i was the first to go for the interview..a bit  nervous but happy because i had cleared GD &amp;amp; if u cleared it then u  were almost in ..my interview goes like......&lt;br /&gt;
me-may i come in sir&lt;br /&gt;
hr-please come in&lt;br /&gt;
me-(standing) GOOD EVENING SIR&lt;br /&gt;
hr-(smiling) have ur seat&lt;br /&gt;
hr-give me ur form &amp;amp; a copy of resume&lt;br /&gt;
hr-tell me about ur self in BRIEF...&lt;br /&gt;
me..told confidently&lt;br /&gt;
hr-your father is in Govt. sector why you want to go in private sector.&lt;br /&gt;
me - told...(he was impressed with the answer)&lt;br /&gt;
hr-you want to do MBA then how will u continue with the company&lt;br /&gt;
me-told truely me future aspects&lt;br /&gt;
hr-u prefered area is mumbai..if i"ll send u to chennai then&lt;br /&gt;
me- no problem..sir i preferred mumbai because of my close relatives living there..so it hardly matters for me.&lt;br /&gt;
hr- you have any questions???&lt;br /&gt;
me-should i have to do any other courses for the company????&lt;br /&gt;
hr-explained me clearly..&lt;br /&gt;
me-how appraisel's were given???&lt;br /&gt;
hr- explained&lt;br /&gt;
then..&lt;br /&gt;
hr- well nice talking to u (hand shake) best of luck for the result.&lt;br /&gt;
me -thank you sir.. &lt;br /&gt;
Next day result declared &amp;amp; about 117 student made it to L&amp;amp;T  infotech finally ...&amp;amp; i was one of the student to get selected..was  very happy &amp;amp; in full of joy..because i was rejected in CTS, WIPRO,  INFOSYS..but made it finally at L&amp;amp;Tinfotech....best of luck to u all&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>CTS Campus Recuitment drive conducted on 14 February 2011 at Hyderabad</title><link>http://materialsforjob.blogspot.com/2011/11/cts-campus-recuitment-drive-conducted.html</link><category>CTS</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 17 Nov 2011 00:36:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-559506051971248923</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     Hi Friends,&lt;br /&gt;
I would like to share my interview experience with Cognizant. &lt;br /&gt;
Myself G Parmesh B Tech-2010, I had appeared for CTS Off-campus  recruitment on 5th February, 2011 at MLR Engineering College, Hyderabad.&lt;br /&gt;
The Aptitude paper was easy but is time consuming.&lt;br /&gt;
Total question: 55&lt;br /&gt;
Total marks: 55&lt;br /&gt;
No negative marking but there is a sectional cut-off.&lt;br /&gt;
The exam consists of two sections.&lt;br /&gt;
1) Analytical Pattern:(30Q)&lt;br /&gt;
1) Figure sequence&lt;br /&gt;
2-4) Syllogisms&lt;br /&gt;
5-9) Data Sufficiency&lt;br /&gt;
10-13) Puzzle Test&lt;br /&gt;
14-17) Coding decoding (Pattern some what different from previous papers)&lt;br /&gt;
18-23) Figure Sequence&lt;br /&gt;
24-28) Data interpretation&lt;br /&gt;
29-30) Data sufficiency&lt;br /&gt;
Minimum : 50% i.e, 15+&lt;br /&gt;
2) English:(25Q)&lt;br /&gt;
1-3) Pick 2 Correct Sentences from 4 Sentences&lt;br /&gt;
4-8) Passage1 Regarding "Nelson Mandela" (Got In my Paper but there are 4 sets)&lt;br /&gt;
9-13) Passage2 Regarding "Fossilized remains of pterosaurs" (Got In my Paper but there are 4 sets)&lt;br /&gt;
14-15) Pick Incorrect Sentences&lt;br /&gt;
16-17) Pick Correct Sentences&lt;br /&gt;
18-22) Jumbled Sentence Arranging&lt;br /&gt;
23-25) Pick Incorrect Sentences&lt;br /&gt;
Minimum : 35-50% i.e, 12+&lt;br /&gt;
After 30 mins they will collect the first section paper (analytical) and give the second section paper(English).&lt;br /&gt;
First section kills your time, you can't even study the whole paper unless you are quick enough.&lt;br /&gt;
Results will be displayed in cognizant website i.e., Login with your  Application ID and DOB regularly and check status. Me waiting 4 the  results.&lt;br /&gt;
Don't rely on mail.&lt;br /&gt;
Prepare well guyzzz.&lt;br /&gt;
All the Best!&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Infosys Aptitude Questions II</title><link>http://materialsforjob.blogspot.com/2011/11/infosys-aptitude-questions-ii.html</link><category>Aptitude</category><category>Infosys</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 16 Nov 2011 21:53:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-8410670871055576585</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1. The passage given below is followed by questions based on its  content. Read the passage &amp;amp; choose the best answer 4 the questions&lt;br /&gt;
The Death Car&lt;br /&gt;
It was cold night in September. The rain was drumming on the car roof  as George &amp;amp; Marie Winston drove through the empty country roads  towards the house of their friends, the Harrison’s, where they were  going to attend a party to celebrate the engagement of the Harrison’s  daughter, Lisa. As they drove, they listened to the local radio station,  which was playing classical music. They were about 5 miles from the  destination when the music on the radio was interrupted by a news  announcement: “The Cheshire police have issued a serious warning after a  man escaped from Colford Mental Hospital earlier this evening. The man,  John Downey, is murderer who killed 6 people before he was captured 2  years ago. He is described as large, very strong &amp;amp; extremely  dangerous. People in the Cheshire area are warned to keep their doors  &amp;amp; windows locked, &amp;amp; to call the police immediately if they se  anyone acting strangely.” Marie shivered, “A crazy killer. And he’s out  there somewhere. That’s scary.” Don’t worry about it,” said her husband.  “We’re nearly there now. Anyway, we have more important things to worry  about. This car is losing power for some reason—it must be that old  problem with the carburetor, If it gets any worse, we’ll have to stay at  the Harrison’s’ tonight &amp;amp; get it fixed before we travel back  tomorrow,” As he spoke, the car began to slow down, George pressed the  accelerator, but the engine only coughed. Finally they rolled to a halt,  as the engine died completely, Just as they stopped, George pulled the  car off the road, &amp;amp; it came to rest under a large tree. “Blast!”  said George angrily. “Now we’ll have to walk in the rain.” “But that’ll  take us an hour at least,” said Marie. “And I have my high-held shoes  &amp;amp; my nice clothes on. They’ll be ruined!” “Well, you’ll have to wait  while I run to the nearest house &amp;amp; call the Harissons. Someone can  come out &amp;amp; picks us up,” said George. “But George! Have you  forgotten what the radio said? There’s a homicidal maniac out there! You  can’t leave me alone here!” “You’ll have to hide in the back of the  car. Lock all the doors &amp;amp; lie on the floor in the back, under this  blanket. No-one will see you, when I come back, I’ll knock 3 times on  the door. Then you can get up &amp;amp; open it. Don’t open it unless you  here 3 knocks.” George opened the door &amp;amp; slipped out into the rain.  He quickly disappeared into the blackness. Marie quickly locked the  doors &amp;amp; settled down under the blanket in the back for a long wait.  She was frightened &amp;amp; worried, but she was a strong-minded woman. She  had not been waiting long, however, when she heard a strange scratching  noise. It seemed to be coming from the roof of the car. Marie was  terrified. She listened, holding her breath. Then she heard 3 slow  knocks, one after the other, also on the roof of the car. Was it her  husband? Should she open the door? Then she heard another knock, and  another. This was not her husband. It was somebody--or something--else.  She was shaking with fear. But she forced herself to lie still. The  knocking continued-- bump, bump, bump, bump many hours later, as the sun  rose, she was still lying there. She had not slept for a moment. The  knocking had never stopped, all night long. She did not know what to do.  Where was George? Why had he not come for her?&lt;br /&gt;
Suddenly, she heard the sound of 3 or 4 vehicles, racing quickly down  the road. All of them pulled up around her, their tires screeching on  the road. At last! Some one had come! Marie sat up quickly &amp;amp; looked  out the window.&lt;br /&gt;
The 3 vehicles were all police cars, &amp;amp; 2 still had their lights  flashing. Several policemen leap out. One of them rushed towards the car  as Marie opened the door. He took her by the hand.&lt;br /&gt;
“Get out of the car &amp;amp; walk with me to the police vehicle. Miss  you’re safe now. Look straight ahead. Keep looking at police car.  Don’t  look back. Just don’t look back.”&lt;br /&gt;
Something in the way he spoke filled Marie with cold horror. She could  not help herself. After 10 yards from the police car, she stopped,  turned &amp;amp; looked back at the empty vehicle.&lt;br /&gt;
George was hanging from the tree above the car, a rope tied around his  neck. As the wind blew his body back &amp;amp; forth, his feet were bumping  gently on the roof of the car-- bump, bump, bump, bump&lt;br /&gt;
1) What was the reason for the news announcement on the radio?&lt;br /&gt;
a) 6 people. Including John Downey, had been murdered?&lt;br /&gt;
b) A dangerous prisoner had escaped&lt;br /&gt;
c) The police were warning of accidents on the roads in the bad weather&lt;br /&gt;
d) Some people had bens en acting strangely in the Cheshire area&lt;br /&gt;
&lt;br /&gt;
2) What did George think was causing trouble with the car?&lt;br /&gt;
a) The carburetor&lt;br /&gt;
b) The rain drumming on the roof&lt;br /&gt;
c) The accelerator&lt;br /&gt;
d) He had no idea&lt;br /&gt;
&lt;br /&gt;
3) Why did he pull the car off the road?&lt;br /&gt;
a) To have a rest&lt;br /&gt;
b) To go for a walk&lt;br /&gt;
c) To walk to the nearest house&lt;br /&gt;
d) It broke down&lt;br /&gt;
&lt;br /&gt;
4) Why did Marie stay in the car when George left?&lt;br /&gt;
a) She was afraid to go out in the dark&lt;br /&gt;
b) So no one could steel the car&lt;br /&gt;
c) Her clothes weren’t suitable for the rain&lt;br /&gt;
d) She wanted to get some sleep&lt;br /&gt;
&lt;br /&gt;
5) Where did George set off to walk?&lt;br /&gt;
a) The mental hospital&lt;br /&gt;
b) The nearest house&lt;br /&gt;
c) The Harrison’s house&lt;br /&gt;
d) The police station&lt;br /&gt;
&lt;br /&gt;
6) What made Marie so frightened as she waited in the car?&lt;br /&gt;
a) There was a strange sound coming from the roof&lt;br /&gt;
b) She could see a man strangely outside the car&lt;br /&gt;
c) Some police cars came racing down the road&lt;br /&gt;
d) She was afraid of the rain and the dark&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each sentence below has 1 or 2 blanks – each blank indicating that  something has been omitted. Beneath the sentence are some words. Choose  the word for each blank that best fits the meaning of the sentence as a  whole&lt;br /&gt;
&lt;br /&gt;
7) Athletes have so perfected their techniques in track and field  events that the _________ becomes _________ before record books&lt;br /&gt;
a) Announcement …………public&lt;br /&gt;
b) Meet…………………….official&lt;br /&gt;
c) Time…………………….authentic&lt;br /&gt;
d) Fantastic………………...common place&lt;br /&gt;
&lt;br /&gt;
8) A________ child, she was soon bored in class; she already knew more mathematics than her junior school teachers&lt;br /&gt;
a) Obdurate&lt;br /&gt;
b) Precocious&lt;br /&gt;
c) Recalcitrant&lt;br /&gt;
d) Contemporary&lt;br /&gt;
&lt;br /&gt;
9)  The subtle shades of meaning, &amp;amp; still subtler echoes of  association, make language an instrument which scarcely anything short  of genius can wield with ____________ &amp;amp; ________________&lt;br /&gt;
a) Confidence----------aloofness&lt;br /&gt;
b) Definiteness---------certainty&lt;br /&gt;
c) Sincerity--------------hope&lt;br /&gt;
d) Eloquence------------ruthlessness&lt;br /&gt;
&lt;br /&gt;
10) Unwilling to admit that they had been in error, the researchers  tried to_______ tried case with more data obtained from dubious sources&lt;br /&gt;
a) Ascertain&lt;br /&gt;
b) Buttress&lt;br /&gt;
c) Refute&lt;br /&gt;
d) Dispute&lt;br /&gt;
&lt;br /&gt;
11) His one vice was gluttony &amp;amp; so it is not surprising that as he aged he became increasingly_______________&lt;br /&gt;
a) Despondent&lt;br /&gt;
b) Corpulent&lt;br /&gt;
c) Carping&lt;br /&gt;
d) Lithe&lt;br /&gt;
&lt;br /&gt;
Please read all the questions in the table below (12-21) as one  continuous passage. Tick the verb with right tense or the correct word  to fill in the gaps in each of the sentences.&lt;br /&gt;
&lt;br /&gt;
Statement          Options&lt;br /&gt;
12) A famous singer had been contracted to sign at a Paris opera house  &amp;amp; ticket sales_______________ booming.         a) is&lt;br /&gt;
b) are&lt;br /&gt;
c) were&lt;br /&gt;
d) have been&lt;br /&gt;
13) In fact, the night of the concert, the house was packed; every ticket ________________    a) is selling&lt;br /&gt;
b) was selling&lt;br /&gt;
c) sold&lt;br /&gt;
d) had been sold&lt;br /&gt;
&lt;br /&gt;
14) The feeling of anticipation &amp;amp; excitement was in the air as the  house manager__________ the stage &amp;amp; said, “Ladies &amp;amp; gentlemen,  thank you for your enthusiastic support!      a) took&lt;br /&gt;
b) takes&lt;br /&gt;
c) had taken&lt;br /&gt;
d) was taking&lt;br /&gt;
15) I am afraid that due to illness, the man whom you’ve all come to  hear________________ performing tonight          a) will not be&lt;br /&gt;
b) has not been&lt;br /&gt;
c) had not been&lt;br /&gt;
d) was not&lt;br /&gt;
16) However, we _________ a suitable substitute who, we hope, will  provide you with comparable entertainment.”    a) are finding&lt;br /&gt;
b) were finding&lt;br /&gt;
c) had found&lt;br /&gt;
d) have found&lt;br /&gt;
17) The crowd____________ in disappointment &amp;amp; failed to hear the announcer mention the stand-in’s name  a) groans&lt;br /&gt;
b) groaned&lt;br /&gt;
c) had groaned&lt;br /&gt;
d) were groaning&lt;br /&gt;
&lt;br /&gt;
18) The environment turned from excitement to frustration&lt;br /&gt;
The stand-in performer__________ the performance everything he had.           a) will give&lt;br /&gt;
b) had given&lt;br /&gt;
c) gave&lt;br /&gt;
d) gives&lt;br /&gt;
19) When he had finished, there was nothing but an uncomfortable silence. No one _____________   a) Applauded&lt;br /&gt;
b) Applauds&lt;br /&gt;
c) Was applauding&lt;br /&gt;
d) Has applauded&lt;br /&gt;
20) Suddenly, from the balcony, a little boy stood up and____________, “Daddy, I think you’re wonderful!”     a)shouts&lt;br /&gt;
b) was shouting&lt;br /&gt;
c) had shouted&lt;br /&gt;
d) shouted&lt;br /&gt;
21) The crowd_________________ into thunderous applause a) breaks&lt;br /&gt;
b) broke&lt;br /&gt;
c) had broken&lt;br /&gt;
d) was breaking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From each group of sentences given below, indicate the sentence that contains the error:&lt;br /&gt;
&lt;br /&gt;
22) Group 1&lt;br /&gt;
a) Driving long distances causes sleepiness, &amp;amp; sleepiness causes serious accidents.&lt;br /&gt;
b) On a table at the rear of the room was a notebook, a pair of scissors, &amp;amp; a biology textbook&lt;br /&gt;
c) Finally, there seems to be a growing interest in vegetarianism in this country&lt;br /&gt;
d) Either the local chief of police or his officers are guilty of violating the rights of prisoners&lt;br /&gt;
&lt;br /&gt;
23) Group 2&lt;br /&gt;
a) Simple cookbooks for inexperienced cooks have become quite popular in recent years they are available at many bookstores&lt;br /&gt;
b) Some cookbooks, such as The Joy of cooking, have been classics for generations&lt;br /&gt;
c) One popular cookbook is The Art of French Cooking, by Julia Child, a  colorful character who charmed television audiences for many years&lt;br /&gt;
d) The Art of French Cooking blends classic recipes with meticulous explanation; ordinary cooks find the recipes manageable&lt;br /&gt;
&lt;br /&gt;
24) Group 3&lt;br /&gt;
a) Around 50% of the forest are destroyed every year&lt;br /&gt;
b) The bus leaves tomorrow morning&lt;br /&gt;
c) A tiger is a dangerous animal&lt;br /&gt;
d) Can you please the sugar?&lt;br /&gt;
&lt;br /&gt;
25) Group 4&lt;br /&gt;
a) There must be some mistake. I should have scored more marks&lt;br /&gt;
b) The number of trainees are hundred&lt;br /&gt;
c) 50% of the houses need repairs&lt;br /&gt;
d) The Commissioner, along with his family members was seen the party&lt;br /&gt;
&lt;br /&gt;
26) Group 5&lt;br /&gt;
a) The scissors is very sharp&lt;br /&gt;
b) Congratulations are in order&lt;br /&gt;
c) One of the cases is open&lt;br /&gt;
d) She plays tennis well but she’ll never be a Steffi Graf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please mark the correct statement from the pairs given below:&lt;br /&gt;
27) Pair 1&lt;br /&gt;
a) Repeated occurrences cannot be ignored&lt;br /&gt;
b) Repeated occurrences cannot be ignored&lt;br /&gt;
28) Pair 2&lt;br /&gt;
a) We need to get a consensus on the decision&lt;br /&gt;
b) We need to get a consensus on the decision&lt;br /&gt;
29) Pair 3&lt;br /&gt;
a) Only authority personnel are allowed in this area&lt;br /&gt;
b) Only authorized personnel are allowed in this area&lt;br /&gt;
30) Pair 4&lt;br /&gt;
a) The actress decided to sue the sleazy tabloid for deformation of her character&lt;br /&gt;
b) The actress decided to sue the sleazy tabloid for defamation of her character&lt;br /&gt;
31) Pair 5&lt;br /&gt;
a) Everyone knows that Hogwarts in the Harry Potter series is a mythical school&lt;br /&gt;
b) Everyone knows that Hogwarts in the Harry Potter series is a legendary school&lt;br /&gt;
32) Pair 6&lt;br /&gt;
a) Most people think caffeine is not good for health&lt;br /&gt;
b) Most people think caffiene is not good for health&lt;br /&gt;
Exercise 6:&lt;br /&gt;
Select the best word/phrase/line to complete each sentence in the most appropriate manner&lt;br /&gt;
33) ‘Reema’s bad-mouthing Peter only because she is jealous of him.’ Means______________&lt;br /&gt;
a) Peter really is a nice person&lt;br /&gt;
b) Peter really is a mean person&lt;br /&gt;
c) Peter really is a difficult person&lt;br /&gt;
d) Peter really is a tough person&lt;br /&gt;
34) If some one is “gung ho”, they are_______&lt;br /&gt;
a) stupid&lt;br /&gt;
b) Childish&lt;br /&gt;
c) Enthusiastic&lt;br /&gt;
d) Loud&lt;br /&gt;
35)  Mr. Hughes has been asked to___________ this difficult project because of his experience working for many years in Iran&lt;br /&gt;
a) Undergo&lt;br /&gt;
b) Understand&lt;br /&gt;
c) Undervalue&lt;br /&gt;
d) Undertake&lt;br /&gt;
36) ‘Stop talking to those angry men, you are just adding fuel to the fire’ is the same as________&lt;br /&gt;
a) Stop talking to those angry men, you are just coming in the way&lt;br /&gt;
b) Stop talking to those angry men, you are just making it worse&lt;br /&gt;
c) Stop talking to those angry men, you are just adding to the noise&lt;br /&gt;
d) Stop talking to those angry men, you are just talking too much&lt;br /&gt;
37) ‘Sudhir’s work is behind schedule – I think he bit more than he could chew’ is the same as________&lt;br /&gt;
a) Sudhir has taken too much of work&lt;br /&gt;
b) Sudhir takes very long breaks&lt;br /&gt;
c) Sudhir does not know how to do the work&lt;br /&gt;
d) Sudhir is a lazy person&lt;br /&gt;
38) There are many__________ to our rules, and I do not think that’s fair.&lt;br /&gt;
a) Examples&lt;br /&gt;
b) Exceptions&lt;br /&gt;
c) Instances&lt;br /&gt;
d) Provisions&lt;br /&gt;
&lt;br /&gt;
Choose the correct / most appropriate word/s to fill in the gap in the sentences given below.&lt;br /&gt;
39)  I didn’t set _________ to do this but I’m pleased with the result.&lt;br /&gt;
a) In&lt;br /&gt;
b) Out&lt;br /&gt;
c) On&lt;br /&gt;
d) Down&lt;br /&gt;
40) This looks too heavy,______________ pick it up?&lt;br /&gt;
a) Can I&lt;br /&gt;
b) May I&lt;br /&gt;
c) Need I&lt;br /&gt;
d) Would I&lt;br /&gt;
41)  I am glad so many people have passed the test. In fact, there were_________ who haven’t.&lt;br /&gt;
a) little&lt;br /&gt;
b) a little&lt;br /&gt;
c) few&lt;br /&gt;
d) a few&lt;br /&gt;
42) Pope John Paul II ___________ more than 90 countries.&lt;br /&gt;
a) Has visited&lt;br /&gt;
b) Was visited&lt;br /&gt;
c) Visits&lt;br /&gt;
d) Has been visiting&lt;br /&gt;
43)  I _____________ Carl since I ______________ a little child.&lt;br /&gt;
a) Have known, have been&lt;br /&gt;
b) Have known, was&lt;br /&gt;
c) knew, have been&lt;br /&gt;
d) Knew, was&lt;br /&gt;
44)  I wonder if _____________ will show up at the meeting?&lt;br /&gt;
a) Someone&lt;br /&gt;
b) Anyone&lt;br /&gt;
c) One&lt;br /&gt;
d) Everyone&lt;br /&gt;
45) Have you given up______________.&lt;br /&gt;
a) To smoke&lt;br /&gt;
b) Smoke&lt;br /&gt;
c) Some smoking&lt;br /&gt;
d) Smoking       &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Verizon most Recent February 2011 Placement Papers</title><link>http://materialsforjob.blogspot.com/2011/11/verizon-most-recent-february-2011.html</link><category>Verizon</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 16 Nov 2011 00:36:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-8865949098102149055</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     Hi Friends,&lt;br /&gt;
The aptitude consists of 4 sections.&lt;br /&gt;
1) Verbal&lt;br /&gt;
2) Analytical&lt;br /&gt;
3) Mental Ability&lt;br /&gt;
4) Technical&lt;br /&gt;
Time Duration: 90 Minute&lt;br /&gt;
They will give us one answer sheet. But after every section they will collect the question paper back&lt;br /&gt;
There may/may not be negative marking&lt;br /&gt;
Verbal: (20 Questions 15 Minutes)&lt;br /&gt;
1-10 questions of the type&lt;br /&gt;
Rose is _______ beautiful flower.&lt;br /&gt;
Options: a, an, the, none&lt;br /&gt;
11-16 Reading comprehension... on computer protection and security&lt;br /&gt;
17-20 Reading comprehension on Databases (Actually you don't need to  read the passage you will be able to answer without reading it--- its so  trivial)&lt;br /&gt;
Analytical: ( 30 questions 30 minutes)&lt;br /&gt;
21. Sheela is 16th from first. 29th from last in a test . 6 boys did  not come. 3 failed what is the strength of the class 22-26 problems on  sets.. eg 15 speak Tamil 25 speak Tamil and Hindi out of 53 people how  many speak Tamil alone. etc( Do not remember exact figures)&lt;br /&gt;
27-32 Problems on sets eg 54 boys play cricket.61play football,66  play tennis. 24 play all three, 32 play football and cricket, 15 play  foot ball and tennis. How many players played only cricket, football,  tennis same kind of problem on white ,green and yellow kites&lt;br /&gt;
33-37 Typical annals question( u find in RS Agarwals)&lt;br /&gt;
6 movies need to be screened in a movie festival. The slots are 9.30,10.30,1 3.30 5.30, 7&lt;br /&gt;
A can screen in afternoon or morning B cannot screen before C nobody  else can screen when D is screening..( similar conditions.. Watch out we  all ran out of time trying to attempt this question)&lt;br /&gt;
38-40 Question on cube. A cube is painted with three colours namely  Red, yellow ,green its [anted in such a way that colors are on the  adjacent sides are not same. The cube is cut into 27 small cubes. How  many cubes with one color, two color, three color etc&lt;br /&gt;
41-45 One question and Two statements would be given Mark A if  statement 1 alone is enough to get the answer. B if statement 2 alone is  enough, C if statement 1 and 2 are necessary. D if answer cannot be  arrived at&lt;br /&gt;
eg 1.P-X&amp;gt;0&lt;br /&gt;
2., pX&amp;gt;0&lt;br /&gt;
is p positive.&lt;br /&gt;
46-50 Question on cube.. 16 cubes are kept on top of which 4 cubes r  kept at the centre , on top of that 2 cubes are kept and on top of that  one cube is kept. It is painted from top to bottom. How many cubes with  1,2,3,4, 0,sides painted.&lt;br /&gt;
Mental Ability (15 questions 25 minutes)&lt;br /&gt;
51-53 Questions on pattern matching. Like mark A if first and third  are identical, B if second and third are identical, C if first and  second are identical D if they are different.&lt;br /&gt;
54-59 Questions of the form if +is - and - is * . * is / and / is + then find 12/3*5-2+5&lt;br /&gt;
60-62 A set of conditions for admissions of a school student is given  like he should be in top 20 in the entrance test or should have sports  excellence etc.. and questions of different cases are given and we need  to find if the candidate can be admitted or not.&lt;br /&gt;
63-65 Similar questions for recruitment of cook. He should be 25 yrs  of age with 3 yrs experience if he has lesser exp. he should meet the  head cook . if he is below 25 yrs he should meet the manager and  questions on various cases.&lt;br /&gt;
Technical (C and DS) :&lt;br /&gt;
66. Of the following select a code to print a singly link list in a reverse order.&lt;br /&gt;
67. select a code to print elements of a dequeue&lt;br /&gt;
68. a=3,b=3,c=3&lt;br /&gt;
a-=b-- - --c;&lt;br /&gt;
printf (a, b, c);&lt;br /&gt;
69. Find a declaration of ADT of a polynomial.&lt;br /&gt;
70. Select code that shows DFS of a graph&lt;br /&gt;
71. Select the statement that appropriately fills the DFS algorithm&lt;br /&gt;
72. File *fp1,*fp2;&lt;br /&gt;
fp1=fopen ("a","w");&lt;br /&gt;
fp2=fopen ("a","w");&lt;br /&gt;
and operations using these two file pointers . and 4 options based on that&lt;br /&gt;
73. int *px;&lt;br /&gt;
do{&lt;br /&gt;
*px=f(1);&lt;br /&gt;
} while( i&amp;lt;10 &amp;amp;&amp;amp; *px&amp;lt;900);&lt;br /&gt;
f(int a)&lt;br /&gt;
{&lt;br /&gt;
int x= a*50;&lt;br /&gt;
return &amp;amp;x;&lt;br /&gt;
}&lt;br /&gt;
And four options about value of *px also has options on error conditions&lt;br /&gt;
74. Some question on strings.4 codes given and we need to select an appropriate code.&lt;br /&gt;
75. I think code for printing an array&lt;br /&gt;
Time Duration of the Interview: 45 Minutes&lt;br /&gt;
Step 1: We were asked to write a 100 word write-up on " Your greatest strength (s) that would help Verizon".&lt;br /&gt;
We were asked to take the write-up with us when we go to the interview..&lt;br /&gt;
Step 2: Actual interview&lt;br /&gt;
The interviewing team introduced themselves.( there were two people -  One person was asking technical questions and other person was asking  HR questions) Both were asking questions alternating.&lt;br /&gt;
They went through my write-up, and the HR person asked me an hypothetical situation&lt;br /&gt;
" Assume you are working on a bidding . You quote a price after lot  of analysis. At the last moment your boss says that you should quote a  lower price. what will you do"&lt;br /&gt;
he kept asking subsequent questions to corner me and was focused on  making me accept that I did not have the quality that i mentioned in the  write-up.&lt;br /&gt;
Technical person asked me what I was comfortable with C, C++ or Java . I told Java.&lt;br /&gt;
1. What is inheritance?&lt;br /&gt;
2. What is a constructor?&lt;br /&gt;
3. Can a constructor be private?&lt;br /&gt;
4. Can we OVERRIDE a constructor?&lt;br /&gt;
5. Are there pointers in java?&lt;br /&gt;
6. Why is there no pointers in java?&lt;br /&gt;
7. Identify classes...for bus, car, cycle tricycle?&lt;br /&gt;
The HR person took over and asked&lt;br /&gt;
1. Instances where I have exhibited my leadership qualities?&lt;br /&gt;
2. How do I motivate my team members?&lt;br /&gt;
3. What is my biggest achievement in life so far?&lt;br /&gt;
4. What is my biggest failure and what I learnt from it?&lt;br /&gt;
The Technical person saw my Area of interest to be " DBMS" and started asking on&lt;br /&gt;
DBMS:&lt;br /&gt;
1. What are different types of databases&lt;br /&gt;
2. Difference between RDBMS and File based databases&lt;br /&gt;
3. Even in RDBMS the data is stored as files , so why go for it&lt;br /&gt;
4. Three layered architecture&lt;br /&gt;
5. Can you change physical design&lt;br /&gt;
6. Write a simple employee and dept table&lt;br /&gt;
7. Then he asked me to retrieve all employees working in MCA dept( i wrote a nested sub query)&lt;br /&gt;
8. What is the advantage of nested sub query. will it improve or reduce the performance&lt;br /&gt;
The HR person took over and&lt;br /&gt;
1. He saw that I have won prize in Marketing in Login and asked me what the event was and asked me how we won the event.&lt;br /&gt;
2. What I have learnt in college or what the college has taught me apart from subjects&lt;br /&gt;
The technical person asked me what other subjects I have learnt so  far in curricular and he interrupted me when I said " Software quality  Management "&lt;br /&gt;
1. What is quality&lt;br /&gt;
2. What is quality management&lt;br /&gt;
3. Difference between software engineering and SQM&lt;br /&gt;
The HR person took over and asked me one last question&lt;br /&gt;
1. I just want to know why you are wearing a tie.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>i-Flex Placement Papers for March 2011</title><link>http://materialsforjob.blogspot.com/2011/11/i-flex-placement-papers-for-march-2011.html</link><category>i-Flex</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 16 Nov 2011 00:18:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-60283473511914812</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     I don't remember whole testpaper but i will hereby provide you the pattern:&lt;br /&gt;
It was a online test&lt;br /&gt;
it had three section:&lt;br /&gt;
1.Quantitative&lt;br /&gt;
2.technical&lt;br /&gt;
3. Verbal&lt;br /&gt;
1. Quantitative:  This was again divided into 4 parts&lt;br /&gt;
1. 10 simple question in 10 mins(you have to be really fast)&lt;br /&gt;
2. 10 questions in which they will provide you a question and you  have to make formula.(i found it tough)  and this also has data  sufficiency question which were very easy.&lt;br /&gt;
3. A flow chart was given based on which 5 question were there.  Basically thr will be five blank boxes within the flowchart which you  have to fill.this also 10mins&lt;br /&gt;
4.  A database table was given having around 25 to 30 rows. we had to  ans the ques by just looking at them.it was very easy. 10 ques in  5mins.&lt;br /&gt;
2. Technical:&lt;br /&gt;
1.   Java-&amp;gt;object,encapsulation,polymorphism&lt;br /&gt;
2. Dbms&lt;br /&gt;
3. OS&lt;br /&gt;
4. Big O notation and codd's rule&lt;br /&gt;
3. Verbal:&lt;br /&gt;
Fill in the blanks(very easy)&lt;br /&gt;
* Reading comprehension(easy)&lt;br /&gt;
* Jumbled up sentences&lt;br /&gt;
I would sugeest prepare quantitative nicely coz it is very time consuming.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Wipro English Aptitude and Technical Interview questions</title><link>http://materialsforjob.blogspot.com/2011/11/wipro-english-aptitude-and-technical.html</link><category>Wipro</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Tue, 15 Nov 2011 00:34:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-4842148074870332580</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     test proceedure&lt;br /&gt;
written- 50q's 60mins&lt;br /&gt;
essay writing - 10mins (any general topic)&lt;br /&gt;
technical interview&lt;br /&gt;
H.R&lt;br /&gt;
NO REPEATED QUESTIONS FROM PREVIOUS PAPERS&lt;br /&gt;
ENGLISH&lt;br /&gt;
1) paragraph question....&lt;br /&gt;
ans) plz guys dn't waste time here. very big paragraph.. but only one question asked from it...&lt;br /&gt;
2-20) sentence competion, antonyms, synonyms, active and passive voice questions. we can easily answer them.&lt;br /&gt;
APTITUDE&lt;br /&gt;
20-40) all are R.S AGARWAL MODELS. If you r familiar with it u can answer it.&lt;br /&gt;
40-50) C program output type questions , digital circuits&lt;br /&gt;
ESSAY WRITING&lt;br /&gt;
Globalization is boon or bane&lt;br /&gt;
TECHNICAL INTERVIEW&lt;br /&gt;
I am from ECE&lt;br /&gt;
1) tell me about your self&lt;br /&gt;
2) TCP/IP (chain of questions regarding this, like UDP, ICMP,... in COMPUTER NETWORKS)&lt;br /&gt;
3) a question on my mini project&lt;br /&gt;
4) c program if the given number was a prime number or not&lt;br /&gt;
upto here all went normally, but suddenly he said that I bluffed him  he said that he gave me program to print a sequence of prime numbers  from 1-100..... that fool entirely insulted our ECE guys with some  rubbish words... now-a-days they are not atall willing to take ECE  candates... so all my ECE friends please be careful... if u clear this  round u r in the company....&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>i-Gate Placement Papers Campus Recuitment Question Paper pattern</title><link>http://materialsforjob.blogspot.com/2011/11/i-gate-placement-papers-campus.html</link><category>IGate</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Mon, 14 Nov 2011 00:33:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-6629034251769749887</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     IGATE Placement Papers&lt;br /&gt;
Question paper consists of 2 parts&lt;br /&gt;
Analytical skills: 20 questions, 20 mins&lt;br /&gt;
C Skills: 30 quesitons, 30 mins&lt;br /&gt;
Analytical:&lt;br /&gt;
1) Complete the diagram:&lt;br /&gt;
Four figure will be given, you have to draw the final one&lt;br /&gt;
Triangle figure&lt;br /&gt;
2) Draw venn diagram relating rhombus, quadrilateral &amp;amp; polygon&lt;br /&gt;
3) In a group of 5 persons A, B, C, D, E one of the person is  advogate, one is doctor, one business man, one shopkeeper and one is  professor.&lt;br /&gt;
There of them A,C and professor prefer playing Cricket to foot ball  and two of them B and businessman prefer playing foot ball to Cricket.  The shop keeper and B and A are friends but two of these prefer playing  foot ball to cricket. The advogate is C's brother and both play same  game. The docotor and e play cricket.&lt;br /&gt;
a) Who is advogate?&lt;br /&gt;
A, B, C, D&lt;br /&gt;
b) Who is shop keeper?&lt;br /&gt;
A, B, C, D&lt;br /&gt;
c) Which of the following group include presons who like playing cricket but doesn't inculde professor?&lt;br /&gt;
AB, BC, CD, None&lt;br /&gt;
d) who is doctor?&lt;br /&gt;
A, B, C, D&lt;br /&gt;
(same model problem was aksed in question paper but professions will  be different such as horticulturist, physicst, journalist, advocate and  other one. Instead of football and cricket they will give Tea and  Coffee)&lt;br /&gt;
4. They will give some condition's and asked ot find out farthest city in the west (Easy one)?&lt;br /&gt;
5. Travelling sales man problem.&lt;br /&gt;
Some condition will be given we have to find out the order of station the sales man moves&lt;br /&gt;
Sales man moves&lt;br /&gt;
(Three questions)&lt;br /&gt;
6. +,-,*, /, will be given different meaning&lt;br /&gt;
Example: Take + as* and so on.&lt;br /&gt;
They will give expression and we have to finf the value of that.&lt;br /&gt;
7. 3+5-2 =4&lt;br /&gt;
Which has to be interchange to get the result?&lt;br /&gt;
8. We don't no exact problem.&lt;br /&gt;
Ex: 8A3B5C7D.&lt;br /&gt;
A will given + sign.&lt;br /&gt;
B will be given -sign&lt;br /&gt;
Find the value of expression?&lt;br /&gt;
9. Find the total number of squares in 1/4 of chess board?&lt;br /&gt;
10. 6 face of a cube are painted in a manner, no 2 adjacent face have  same colour. Three colurs used Red, Blue and Green. Cube is cut in to  36 smaller cube in such a manner that 32 cubes are of one size and rest  of them bigger size and each bigger side have no Red side. Following  this three questions will be asked.&lt;br /&gt;
(In questions paper colors will be different)&lt;br /&gt;
11. Two ladies, two men sit in north east west south position of rectancular table. Using clues identify their position?&lt;br /&gt;
12. Clock problem.&lt;br /&gt;
(one question)&lt;br /&gt;
13. All men are vertebrate.&lt;br /&gt;
Some mammals are men.&lt;br /&gt;
Conclude.&lt;br /&gt;
C skills&lt;br /&gt;
1. find(int x,int y)&lt;br /&gt;
{ return ((x call find(a,find(a,b)) use to find&lt;br /&gt;
(a) maximum of a,b&lt;br /&gt;
(b) minimum of a,b&lt;br /&gt;
(c) positive difference of a,b&lt;br /&gt;
(d) sum of a,b&lt;br /&gt;
2. integer needs 2bytes , maximum value of an unsigned integer is&lt;br /&gt;
(a) { 2 power 16 } -1&lt;br /&gt;
(b) {2 power 15}-1&lt;br /&gt;
(c) {2 power16}&lt;br /&gt;
(d) {2 power 15}&lt;br /&gt;
3.y is of integer type then expression&lt;br /&gt;
3*(y-8)/9 and (y-8)/9*3 yields same value if&lt;br /&gt;
(a)must yields same value&lt;br /&gt;
(b)must yields different value&lt;br /&gt;
(c)may or may not yields same value&lt;br /&gt;
(d) none of the above&lt;br /&gt;
4. 5-2-3*5-2 will give 18 if&lt;br /&gt;
(a)- is left associative,* has precedence over -&lt;br /&gt;
(b) - is right associative,* has precedence over -&lt;br /&gt;
(c) - is right associative,- has precedence over *&lt;br /&gt;
(d)- is left associative,- has precedence over *&lt;br /&gt;
5. printf("%f", 9/5);&lt;br /&gt;
prints&lt;br /&gt;
(a) 1.8,&lt;br /&gt;
(b) 1.0,&lt;br /&gt;
(c) 2.0,&lt;br /&gt;
(d) none&lt;br /&gt;
6. if (a=7)&lt;br /&gt;
printf(" a is 7 ");&lt;br /&gt;
else&lt;br /&gt;
printf("a is not 7");&lt;br /&gt;
prints&lt;br /&gt;
(a) a is 7,&lt;br /&gt;
(b) a is not 7,&lt;br /&gt;
(c) nothing,&lt;br /&gt;
(d) garbage.&lt;br /&gt;
7. if (a&amp;gt;b)&lt;br /&gt;
if(b&amp;gt;c)&lt;br /&gt;
s1;&lt;br /&gt;
else s2;&lt;br /&gt;
s2 will be executed if&lt;br /&gt;
(a) a&amp;lt;= b,&lt;br /&gt;
(b) b&amp;gt;c,&lt;br /&gt;
(c) b&amp;lt;=c and a&amp;lt;=b,&lt;br /&gt;
(d) a&amp;gt;b and b&amp;lt;=c.&lt;br /&gt;
8. main()&lt;br /&gt;
{&lt;br /&gt;
inc(); ,inc(); , inc();&lt;br /&gt;
}&lt;br /&gt;
inc()&lt;br /&gt;
{ static int x;&lt;br /&gt;
printf("%d", ++x);&lt;br /&gt;
}&lt;br /&gt;
prints&lt;br /&gt;
(a) 012,&lt;br /&gt;
(b) 123,&lt;br /&gt;
(c) 3 consecutive unprectiable numbers&lt;br /&gt;
(d) 111.&lt;br /&gt;
9. preprocessing is done&lt;br /&gt;
(a) either before or at begining of compilation process&lt;br /&gt;
(b) after compilation before execution&lt;br /&gt;
(c) after loading&lt;br /&gt;
(d) none of the above.&lt;br /&gt;
10. printf("%d", sizeof(""));&lt;br /&gt;
prints&lt;br /&gt;
(a) error&lt;br /&gt;
(b)0&lt;br /&gt;
(c) garbage&lt;br /&gt;
(d) 1.&lt;br /&gt;
11.main()&lt;br /&gt;
{&lt;br /&gt;
int a=5,b=2;&lt;br /&gt;
printf("%d", a+++b);&lt;br /&gt;
}&lt;br /&gt;
(a) results in syntax,&lt;br /&gt;
(b) print 7,&lt;br /&gt;
(c) print 8,&lt;br /&gt;
(d) none,&lt;br /&gt;
12. process by which one bit patten in to another by bit wise operation is&lt;br /&gt;
(a) masking,&lt;br /&gt;
(b) pruning,&lt;br /&gt;
(c) biting,&lt;br /&gt;
(d) chopping,&lt;br /&gt;
13.value of automatic variable that is declared but not intialized&lt;br /&gt;
will be&lt;br /&gt;
(a) 0,&lt;br /&gt;
(b) -1,&lt;br /&gt;
(c) unpredictable,&lt;br /&gt;
(d) none,&lt;br /&gt;
14. int v=3, *pv=&amp;amp;v;&lt;br /&gt;
printf(" %d %d ", v,*pv);&lt;br /&gt;
output will be&lt;br /&gt;
(a) error&lt;br /&gt;
(b) 3 address of v,&lt;br /&gt;
(c) 3 3&lt;br /&gt;
(d) none.&lt;br /&gt;
15. declaration&lt;br /&gt;
enum cities{bethlehem,jericho,nazareth=1,jerusalem}&lt;br /&gt;
assian value 1 to&lt;br /&gt;
(a) bethlehem&lt;br /&gt;
(b) nazareth&lt;br /&gt;
(c)bethlehem &amp;amp; nazareth&lt;br /&gt;
(d)jericho &amp;amp; nazareth&lt;br /&gt;
16. #include&lt;br /&gt;
#include&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
char buffer[82]={80};&lt;br /&gt;
char *result;&lt;br /&gt;
printf( "input line of text, followed by carriage return : ");&lt;br /&gt;
result = cgets(buffer);&lt;br /&gt;
printf("text=%s ",result);&lt;br /&gt;
}&lt;br /&gt;
(a) printf("length=%d",buffer[1]);&lt;br /&gt;
(b) printf("length=%d",buffer[0]);&lt;br /&gt;
(c) printf("length=%d",buffer[81]);&lt;br /&gt;
(d) printf("length=%d",buffer[2]);&lt;br /&gt;
17. Consider scanf and sscanf function , which is true&lt;br /&gt;
(a) no standard function called sscanf&lt;br /&gt;
(b) sscanf(s,...) is equivalent to scanf(...) except that&lt;br /&gt;
input charecter are taken from string s.&lt;br /&gt;
(c) sscanf is equivalent to scanf.&lt;br /&gt;
(d) none of above.&lt;br /&gt;
18. #include&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
char line[80];&lt;br /&gt;
scanf("%[^ ]",line);&lt;br /&gt;
printf("%s",line);&lt;br /&gt;
}&lt;br /&gt;
what scanf do ?&lt;br /&gt;
(a) compilation error . illegal format string.&lt;br /&gt;
(b) terminates reading input into variable line.&lt;br /&gt;
(c) and (d) other two options.&lt;br /&gt;
19. problem was big so i couldn’t remember . simple one.&lt;br /&gt;
20 . ceil(-2.8) ?&lt;br /&gt;
(a) 0&lt;br /&gt;
(b) -3.0&lt;br /&gt;
(c) -2.0&lt;br /&gt;
(d) 2&lt;br /&gt;
21. for( p=head; p!=null; p= p -&amp;gt; next)&lt;br /&gt;
free(p);&lt;br /&gt;
(a) program run smooth.&lt;br /&gt;
(b) compilation error.&lt;br /&gt;
(c) run time error.&lt;br /&gt;
(d) none of above.&lt;br /&gt;
22. int x[3][4] ={&lt;br /&gt;
{1,2,3},&lt;br /&gt;
{4,5,6},&lt;br /&gt;
{7,8,9}&lt;br /&gt;
}&lt;br /&gt;
(a) x[2][1] = x[2][2] =x[2][3] = 0&lt;br /&gt;
(b) value in fourth column is zero&lt;br /&gt;
(c) value in last row is zero&lt;br /&gt;
(d) none of above.&lt;br /&gt;
23. Problem was big so I couldn’t remember. Simple one.&lt;br /&gt;
24. main ()&lt;br /&gt;
{&lt;br /&gt;
printf("%u" , main());&lt;br /&gt;
}&lt;br /&gt;
(a) print garbage.&lt;br /&gt;
(b) execution error&lt;br /&gt;
(c) printing of starting address of function main.&lt;br /&gt;
(d) infinite loop.&lt;br /&gt;
25 . int a, *b = &amp;amp;a, **c =&amp;amp;b;&lt;br /&gt;
....&lt;br /&gt;
....&lt;br /&gt;
.....&lt;br /&gt;
a=4;&lt;br /&gt;
** c= 5;&lt;br /&gt;
(a) doesnot change value of a&lt;br /&gt;
(b) assign address of c to a.&lt;br /&gt;
(c) assign value of b to a.&lt;br /&gt;
(d) assign 5 to a.&lt;br /&gt;
26. Problem was big so i couldn’t remember . simple one.&lt;br /&gt;
27. Problem was big so i couldn’t remember . simple one.&lt;br /&gt;
28. Answer : swapping of values .&lt;br /&gt;
29. Simple one.&lt;br /&gt;
30. i =5;&lt;br /&gt;
i= (++i)/(i++);&lt;br /&gt;
printf( "%d" , i);&lt;br /&gt;
prints ,&lt;br /&gt;
(a) 2&lt;br /&gt;
(b) 5&lt;br /&gt;
(c) 1&lt;br /&gt;
(d) 6&lt;br /&gt;
In interview they will ask questions related to you are project and some C fundas.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>TCS  placement papers 2011</title><link>http://materialsforjob.blogspot.com/2011/11/tcs-placement-papers-2011.html</link><category>Placement Papers</category><category>TCS</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Sun, 13 Nov 2011 00:16:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-2241690309606790229</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="divStyle" id="ctl00_ContentPlaceHolder1_dv_Desc"&gt;&lt;h3&gt;Welcome  to TCS Placement Papers 2012 Section. Here you will find Latest  Placement Papers of TCS 2011 with Answers, Solutions, Paper Pattern,  Download Questions, August, November TCS Placement Papers 2011. These  tcs Placement Papers are required for getting a job in companies like  TCS. This list of TCS Placement Papers 2012 is provided by students of  various engineering colleges like SSN, SRM, VIT, SVIT, etc.&lt;br /&gt;
TCS Placement Papers would generally have three sections: Verbal, Quantitative Aptitude &amp;amp; Critical Reasoning. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;About TCS Company:-&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Tata Consultancy Services - TCS is the pioneer of software services in  India and is headquartered in Mumbai. With over 45,000 consultants  working from offices and development centers spread all over the  country, TCS works with global and Indian companies to create real  business results. Apart from the development centers, TCS has centers of  excellence and innovation labs that strengthen TCS’ ability to deliver  innovative business solutions.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;TCS Careers- Working at TCS - Why Should I Join TCS?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
TCS offers a wide range of industry verticals, technology platforms, and  business functions. The TCS employer brand positioning builds on its  strengths and communicates TCS as an organization that offers its  employees a complete Global IT Career by highlighting the three main  value propositions: Global exposure, Freedom to work across domains and  Work life balance.&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>HCL Placement Papers 2011</title><link>http://materialsforjob.blogspot.com/2011/11/hcl-placement-papers-2011.html</link><category>HCL</category><category>Placement Papers</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Sun, 13 Nov 2011 00:01:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-8008335762420768039</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCL is one of the most advanced companies that recruit hundreds of  bright candidates that have earned the degree of B.Tech. The questions  paper involves various modern aspects that would test the basic  knowledge of the candidates. The placement papers involve various  questions on loyalty as well as organization related that exposes the  candidate’s minds in the rue form. The placement paper involves various  questions on diligence as well as judgment skills. The candidates also  are tested for their endurance and responsibility. &lt;span id="more-8658"&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company too frequently asks questions on general awareness that  is in the multiple types. The questions also cover topics of mathematics  and are divided into various parts. Part I and Part II are very  important as they mainly cover the Language and the mathematics part.  The company has specific type of placement paper for the software engineering that involves questions on computer programming and various computer languages such as C, C++ and such others.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company through this placement test tends to choose the best of  the lots of the candidates and try to eliminate the non quality indented  candidates. Thus the placement paper is of major significance to the  HCL candidates as it directly relate to the standard check of the  company.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6965d1293953782-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-1.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper 1&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6966d1293953788-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-2.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;2&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6967d1293953795-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-3.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;3&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6968d1293953800-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-4.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;4&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6969d1293953806-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-5.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;5&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6970d1293953811-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-6.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;6&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6971d1293953817-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-7.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;7&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6972d1293953822-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-8.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper 8&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6973d1293953838-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-9.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;9&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://entrance-exam.net/forum/attachments/question-papers/6974d1293953843-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-10.pdf" target="_blank"&gt;Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;10&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><enclosure length="67086" type="application/pdf" url="http://entrance-exam.net/forum/attachments/question-papers/6965d1293953782-hcl-placement-exam-download-previous-years-question-papers-hcl-placement-sample-paper-1.pdf"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCL is one of the most advanced companies that recruit hundreds of bright candidates that have earned the degree of B.Tech. The questions paper involves various modern aspects that would test the basic knowledge of the candidates. The placement papers involve various questions on loyalty as well as organization related that exposes the candidate’s minds in the rue form. The placement paper involves various questions on diligence as well as judgment skills. The candidates also are tested for their endurance and responsibility. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company too frequently asks questions on general awareness that is in the multiple types. The questions also cover topics of mathematics and are divided into various parts. Part I and Part II are very important as they mainly cover the Language and the mathematics part. The company has specific type of placement paper for the software engineering that involves questions on computer programming and various computer languages such as C, C++ and such others. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company through this placement test tends to choose the best of the lots of the candidates and try to eliminate the non quality indented candidates. Thus the placement paper is of major significance to the HCL candidates as it directly relate to the standard check of the company. Download&amp;nbsp;HCL Placement Question Paper 1 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;2 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;3 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;4 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;5 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;6 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;7 Download&amp;nbsp;HCL Placement Question Paper 8 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;9 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;10</itunes:subtitle><itunes:author>noreply@blogger.com (Jegadeesan)</itunes:author><itunes:summary>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCL is one of the most advanced companies that recruit hundreds of bright candidates that have earned the degree of B.Tech. The questions paper involves various modern aspects that would test the basic knowledge of the candidates. The placement papers involve various questions on loyalty as well as organization related that exposes the candidate’s minds in the rue form. The placement paper involves various questions on diligence as well as judgment skills. The candidates also are tested for their endurance and responsibility. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company too frequently asks questions on general awareness that is in the multiple types. The questions also cover topics of mathematics and are divided into various parts. Part I and Part II are very important as they mainly cover the Language and the mathematics part. The company has specific type of placement paper for the software engineering that involves questions on computer programming and various computer languages such as C, C++ and such others. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The company through this placement test tends to choose the best of the lots of the candidates and try to eliminate the non quality indented candidates. Thus the placement paper is of major significance to the HCL candidates as it directly relate to the standard check of the company. Download&amp;nbsp;HCL Placement Question Paper 1 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;2 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;3 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;4 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;5 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;6 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;7 Download&amp;nbsp;HCL Placement Question Paper 8 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;9 Download&amp;nbsp;HCL Placement Question Paper&amp;nbsp;10</itunes:summary><itunes:keywords>HCL, Placement Papers</itunes:keywords></item><item><title>Infosys May 2011 Placement paper recent paper with solutions</title><link>http://materialsforjob.blogspot.com/2011/11/infosys-may-2011-placement-paper-recent.html</link><category>Infosys</category><category>Placement Papers</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Sat, 12 Nov 2011 00:32:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-293734917333513827</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="content"&gt;     I attended infosys recuritment drive (through jkc) on 24th March,  2011. So  the pattern of Infosys  which mentioned in previous papers as  same. First of all before starting written exam we have  pre-presentation activity that may takes nearly one hour(explained  company details by  HR). After that written exam wouid be started.&lt;br /&gt;
Patteren like this&lt;br /&gt;
1: logicol reasoing(30ques-40min)&lt;br /&gt;
2: verbal ability(40ques-35min)&lt;br /&gt;
First of all reasoing paper given that consists structure like this&lt;br /&gt;
1-5 (three figures given those are some arrangements and fourth given  as questoin mark and Select a suitable figure from the Answer Figures  that would replace the question mark (?).this type of questions are in  indiabix the exact part is non-verbal reasoing analogy part)&lt;br /&gt;
6-10(simple puzzle)&lt;br /&gt;
11-15(data interpertation more calculations require)&lt;br /&gt;
16-20(data suffiency )&lt;br /&gt;
21-25(did not say complex but some wat tough puzzle)&lt;br /&gt;
26-30(syllogims) &lt;br /&gt;
so after 5min gap verbal paper was given that consists like this&lt;br /&gt;
1-8(spotting errors)&lt;br /&gt;
9-16(choosing apprapriate sentence from the given options)&lt;br /&gt;
17-23(sentence filler ,sentence completion,synonyms,antonyms e.t.c will be given)&lt;br /&gt;
24-30(about theme detection)&lt;br /&gt;
31-35(small passage)&lt;br /&gt;
35-40(lenghthy and tough so u go  question to answer)&lt;br /&gt;
totaly after 75mins answer sheet collected and result announced afetr  three hrs sectional cuttoff may be reasoing 60% and verbal 50% based on  requirement of those.&lt;br /&gt;
one thing would remind that if u need compulsary placement in infosys  u can do the written paper espacially verbal its look like simple and  also answers are nearly same but picking of best one is main thing so do  those with another people or with team.&lt;br /&gt;
All the best guys!&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Master list of Java interview questions - 115 questions</title><link>http://materialsforjob.blogspot.com/2011/11/master-list-of-java-interview-questions.html</link><category>Java</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Mon, 7 Nov 2011 07:36:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-7153261072394757993</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="entry-content"&gt;                       115 questions total, not for the weak. Covers everything from basics to JDBC connectivity, AWT and JSP. &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;What is the difference between procedural and object-oriented programs?&lt;/b&gt;-  a) In procedural program, programming logic follows certain procedures  and the instructions are executed one after another. In OOP program,  unit of program is object, which is nothing but combination of data and  code. b) In procedural program, data is exposed to the whole program  whereas in OOPs program, it is accessible with in the object and which  in turn assures the security of the code.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are Encapsulation, Inheritance and Polymorphism?&lt;/b&gt;-  Encapsulation is the mechanism that binds together code and data it  manipulates and keeps both safe from outside interference and misuse.  Inheritance is the process by which one object acquires the properties  of another object. Polymorphism is the feature that allows one interface  to be used for general class actions.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between Assignment and Initialization?&lt;/b&gt;- Assignment can be done as many times as desired whereas initialization can be done only once.&lt;/li&gt;
&lt;span id="more-214"&gt;&lt;/span&gt;
&lt;li&gt;&lt;b&gt;What is OOPs?&lt;/b&gt;- Object oriented programming organizes a  program around its data, i. e. , objects and a set of well defined  interfaces to that data. An object-oriented program can be characterized  as data controlling access to code.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are Class, Constructor and Primitive data types?&lt;/b&gt;- Class  is a template for multiple objects with similar features and it is a  blue print for objects. It defines a type of object according to the  data the object can hold and the operations the object can perform.  Constructor is a special kind of method that determines how an object is  initialized when created. Primitive data types are 8 types and they  are: byte, short, int, long, float, double, boolean, char.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is an Object and how do you allocate memory to it?&lt;/b&gt;-  Object is an instance of a class and it is a software unit that combines  a structured set of data with a set of operations for inspecting and  manipulating that data. When an object is created using new operator,  memory is allocated to it.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between constructor and method?&lt;/b&gt;- Constructor will be automatically invoked when an object is created whereas method has to be called explicitly.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are methods and how are they defined?&lt;/b&gt;- Methods are  functions that operate on instances of classes in which they are  defined. Objects can communicate with each other using methods and can  call methods in other classes. Method definition has four parts. They  are name of the method, type of object or primitive type the method  returns, a list of parameters and the body of the method. A method’s  signature is a combination of the first three parts mentioned above.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the use of bin and lib in JDK?&lt;/b&gt;- Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is casting?&lt;/b&gt;- Casting is used to convert the value of one type to another.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How many ways can an argument be passed to a subroutine and explain them?&lt;/b&gt;-  An argument can be passed in two ways. They are passing by value and  passing by reference. Passing by value: This method copies the value of  an argument into the formal parameter of the subroutine. Passing by  reference: In this method, a reference to an argument (not the value of  the argument) is passed to the parameter.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between an argument and a parameter?&lt;/b&gt;-  While defining method, variables passed in the method are called  parameters. While using those methods, values passed to those variables  are called arguments.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are different types of access modifiers?&lt;/b&gt;- public: Any  thing declared as public can be accessed from anywhere. private: Any  thing declared as private can’t be seen outside of its class. protected:  Any thing declared as protected can be accessed by classes in the same  package and subclasses in the other packages. default modifier : Can be  accessed only to classes in the same package.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is final, finalize() and finally?&lt;/b&gt;- final : final keyword  can be used for class, method and variables. A final class cannot be  subclassed and it prevents other programmers from subclassing a secure  class to invoke insecure methods. A final method can’t be overridden. A  final variable can’t change from its initialized value. finalize() :  finalize() method is used just before an object is destroyed and can be  called just prior to garbage collection. finally : finally, a key word  used in exception handling, creates a block of code that will be  executed after a try/catch block has completed and before the code  following the try/catch block. The finally block will execute whether or  not an exception is thrown. For example, if a method opens a file upon  exit, then you will not want the code that closes the file to be  bypassed by the exception-handling mechanism. This finally keyword is  designed to address this contingency.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is UNICODE?&lt;/b&gt;- Unicode is used for internal representation of characters and strings and it uses 16 bits to represent each other.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is Garbage Collection and how to call it explicitly?&lt;/b&gt;-  When an object is no longer referred to by any variable, java  automatically reclaims memory used by that object. This is known as  garbage collection. System. gc() method may be used to call it  explicitly.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is finalize() method?&lt;/b&gt;- finalize () method is used just before an object is destroyed and can be called just prior to garbage collection.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are Transient and Volatile Modifiers?&lt;/b&gt;- Transient: The  transient modifier applies to variables only and it is not stored as  part of its object’s Persistent state. Transient variables are not  serialized. Volatile: Volatile modifier applies to variables only and it  tells the compiler that the variable modified by volatile can be  changed unexpectedly by other parts of the program.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is method overloading and method overriding?&lt;/b&gt;- Method  overloading: When a method in a class having the same method name with  different arguments is said to be method overloading. Method overriding :  When a method in a class having the same method name with same  arguments is said to be method overriding.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is difference between overloading and overriding?&lt;/b&gt;- a) In  overloading, there is a relationship between methods available in the  same class whereas in overriding, there is relationship between a  superclass method and subclass method. b) Overloading does not block  inheritance from the superclass whereas overriding blocks inheritance  from the superclass. c) In overloading, separate methods share the same  name whereas in overriding, subclass method replaces the superclass. d)  Overloading must have different method signatures whereas overriding  must have same signature.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is meant by Inheritance and what are its advantages?&lt;/b&gt;-  Inheritance is the process of inheriting all the features from a class.  The advantages of inheritance are reusability of code and accessibility  of variables and methods of the super class by subclasses.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between this() and super()?&lt;/b&gt;- this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between superclass and subclass?&lt;/b&gt;- A super class is a class that is inherited whereas sub class is a class that does the inheriting.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What modifiers may be used with top-level class?&lt;/b&gt;- public, abstract and final can be used for top-level class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are inner class and anonymous class?&lt;/b&gt;- Inner class :  classes defined in other classes, including those defined in methods are  called inner classes. An inner class can have any accessibility  including private. Anonymous class : Anonymous class is a class defined  inside a method without a name and is instantiated and declared in the  same place and cannot have explicit constructors.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a package?&lt;/b&gt;- A package is a collection of classes and  interfaces that provides a high-level layer of access protection and  name space management.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a reflection package?&lt;/b&gt;- java. lang. reflect package has the ability to analyze itself in runtime.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is interface and its use?&lt;/b&gt;- Interface is similar to a  class which may contain method’s signature only but not bodies and it is  a formal set of method and constant declarations that must be defined  by the class that implements it. Interfaces are useful for: a)Declaring  methods that one or more classes are expected to implement b)Capturing  similarities between unrelated classes without forcing a class  relationship. c)Determining an object’s programming interface without  revealing the actual body of the class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is an abstract class?&lt;/b&gt;- An abstract class is a class designed with implementation gaps for subclasses to fill in and is deliberately incomplete.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between Integer and int?&lt;/b&gt;- a) Integer  is a class defined in the java. lang package, whereas int is a primitive  data type defined in the Java language itself. Java does not  automatically convert from one to the other. b) Integer can be used as  an argument for a method that requires an object, whereas int can be  used for calculations.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a cloneable interface and how many methods does it contain?&lt;/b&gt;- It is not having any method because it is a TAGGED or MARKER interface.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between abstract class and interface?&lt;/b&gt;-  a) All the methods declared inside an interface are abstract whereas  abstract class must have at least one abstract method and others may be  concrete or abstract. b) In abstract class, key word abstract must be  used for the methods whereas interface we need not use that keyword for  the methods. c) Abstract class must have subclasses whereas interface  can’t have subclasses.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Can you have an inner class inside a method and what variables can you access?&lt;/b&gt;- Yes, we can have an inner class inside a method and final variables can be accessed.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between String and String Buffer?&lt;/b&gt;- a)  String objects are constants and immutable whereas StringBuffer objects  are not. b) String class supports constant strings whereas StringBuffer  class supports growable and modifiable strings.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between Array and vector?&lt;/b&gt;- Array is a set of related data type and static whereas vector is a growable array of objects and dynamic.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between exception and error?&lt;/b&gt;- The  exception class defines mild error conditions that your program  encounters. Exceptions can occur when trying to open the file, which  does not exist, the network connection is disrupted, operands being  manipulated are out of prescribed ranges, the class file you are  interested in loading is missing. The error class defines serious error  conditions that you should not attempt to recover from. In most cases it  is advisable to let the program terminate when such an error is  encountered.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between process and thread?&lt;/b&gt;- Process is a program in execution whereas thread is a separate path of execution in a program.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is multithreading and what are the methods for inter-thread  communication and what is the class in which these methods are defined?&lt;/b&gt;-  Multithreading is the mechanism in which more than one thread run  independent of each other within the process. wait (), notify () and  notifyAll() methods can be used for inter-thread communication and these  methods are in Object class. wait() : When a thread executes a call to  wait() method, it surrenders the object lock and enters into a waiting  state. notify() or notifyAll() : To remove a thread from the waiting  state, some other thread must make a call to notify() or notifyAll()  method on the same object.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the class and interface in java to create thread and which is the most advantageous method?&lt;/b&gt;-  Thread class and Runnable interface can be used to create threads and  using Runnable interface is the most advantageous method to create  threads because we need not extend thread class here.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the states associated in the thread?&lt;/b&gt;- Thread contains ready, running, waiting and dead states.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is synchronization?&lt;/b&gt;- Synchronization is the mechanism that ensures that only one thread is accessed the resources at a time.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;When you will synchronize a piece of your code?&lt;/b&gt;- When you  expect your code will be accessed by different threads and these threads  may change a particular data causing data corruption.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is deadlock?&lt;/b&gt;- When two threads are waiting each other and can’t precede the program is said to be deadlock.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is daemon thread and which method is used to create the daemon thread?&lt;/b&gt;-  Daemon thread is a low priority thread which runs intermittently in the  back ground doing the garbage collection operation for the java runtime  system. setDaemon method is used to create a daemon thread.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Are there any global variables in Java, which can be accessed by other part of your program?&lt;/b&gt;-  No, it is not the main method in which you define variables. Global  variables is not possible because concept of encapsulation is eliminated  here.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is an applet?&lt;/b&gt;- Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between applications and applets?&lt;/b&gt;-  a)Application must be run on local machine whereas applet needs no  explicit installation on local machine. b)Application must be run  explicitly within a java-compatible virtual machine whereas applet loads  and runs itself automatically in a java-enabled browser. d)Application  starts execution with its main method whereas applet starts execution  with its init method. e)Application can run with or without graphical  user interface whereas applet must run within a graphical user  interface.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How does applet recognize the height and width?&lt;/b&gt;- Using getParameters() method.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;When do you use codebase in applet?&lt;/b&gt;- When the applet class file is not in the same directory, codebase is used.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the lifecycle of an applet?&lt;/b&gt;- init() method - Can be  called when an applet is first loaded start() method - Can be called  each time an applet is started. paint() method - Can be called when the  applet is minimized or maximized. stop() method - Can be used when the  browser moves off the applet’s page. destroy() method - Can be called  when the browser is finished with the applet.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How do you set security in applets?&lt;/b&gt;- using setSecurityManager() method&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is an event and what are the models available for event handling?&lt;/b&gt;-  An event is an event object that describes a state of change in a  source. In other words, event occurs when an action is generated, like  pressing button, clicking mouse, selecting a list, etc. There are two  types of models for handling events and they are: a) event-inheritance  model and b) event-delegation model&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the advantages of the model over the event-inheritance model?&lt;/b&gt;-  The event-delegation model has two advantages over the  event-inheritance model. They are: a)It enables event handling by  objects other than the ones that generate the events. This allows a  clean separation between a component’s design and its use. b)It performs  much better in applications where many events are generated. This  performance improvement is due to the fact that the event-delegation  model does not have to be repeatedly process unhandled events as is the  case of the event-inheritance.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is source and listener?&lt;/b&gt;- source : A source is an object  that generates an event. This occurs when the internal state of that  object changes in some way. listener : A listener is an object that is  notified when an event occurs. It has two major requirements. First, it  must have been registered with one or more sources to receive  notifications about specific types of events. Second, it must implement  methods to receive and process these notifications.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is adapter class?&lt;/b&gt;- An adapter class provides an empty  implementation of all methods in an event listener interface. Adapter  classes are useful when you want to receive and process only some of the  events that are handled by a particular event listener interface. You  can define a new class to act listener by extending one of the adapter  classes and implementing only those events in which you are interested.  For example, the MouseMotionAdapter class has two methods,  mouseDragged()and mouseMoved(). The signatures of these empty are  exactly as defined in the MouseMotionListener interface. If you are  interested in only mouse drag events, then you could simply extend  MouseMotionAdapter and implement mouseDragged() .&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is meant by controls and what are different types of controls in AWT?&lt;/b&gt;-  Controls are components that allow a user to interact with your  application and the AWT supports the following types of controls:  Labels, Push Buttons, Check Boxes, Choice Lists, Lists, Scrollbars, Text  Components. These controls are subclasses of Component.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between choice and list?&lt;/b&gt;- A Choice is  displayed in a compact form that requires you to pull it down to see the  list of available choices and only one item may be selected from a  choice. A List may be displayed in such a way that several list items  are visible and it supports the selection of one or more list items.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between scrollbar and scrollpane?&lt;/b&gt;- A  Scrollbar is a Component, but not a Container whereas Scrollpane is a  Conatiner and handles its own events and perform its own scrolling.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a layout manager and what are different types of layout managers available in java AWT?&lt;/b&gt;-  A layout manager is an object that is used to organize components in a  container. The different layouts are available are FlowLayout,  BorderLayout, CardLayout, GridLayout and GridBagLayout.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How are the elements of different layouts organized?&lt;/b&gt;-  FlowLayout: The elements of a FlowLayout are organized in a top to  bottom, left to right fashion. BorderLayout: The elements of a  BorderLayout are organized at the borders (North, South, East and West)  and the center of a container. CardLayout: The elements of a CardLayout  are stacked, on top of the other, like a deck of cards. GridLayout: The  elements of a GridLayout are of equal size and are laid out using the  square of a grid. GridBagLayout: The elements of a GridBagLayout are  organized according to a grid. However, the elements are of different  size and may occupy more than one row or column of the grid. In  addition, the rows and columns may have different sizes.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Which containers use a Border layout as their default layout?&lt;/b&gt;- Window, Frame and Dialog classes use a BorderLayout as their layout.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Which containers use a Flow layout as their default layout?&lt;/b&gt;- Panel and Applet classes use the FlowLayout as their default layout.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are wrapper classes?&lt;/b&gt;- Wrapper classes are classes that allow primitive types to be accessed as objects.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are Vector, Hashtable, LinkedList and Enumeration?&lt;/b&gt;-  Vector : The Vector class provides the capability to implement a  growable array of objects. Hashtable : The Hashtable class implements a  Hashtable data structure. A Hashtable indexes and stores objects in a  dictionary using hash codes as the object’s keys. Hash codes are integer  values that identify objects. LinkedList: Removing or inserting  elements in the middle of an array can be done using LinkedList. A  LinkedList stores each object in a separate link whereas an array stores  object references in consecutive locations. Enumeration: An object that  implements the Enumeration interface generates a series of elements,  one at a time. It has two methods, namely hasMoreElements() and  nextElement(). HasMoreElemnts() tests if this enumeration has more  elements and nextElement method returns successive elements of the  series.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between set and list?&lt;/b&gt;- Set stores  elements in an unordered way but does not contain duplicate elements,  whereas list stores elements in an ordered way but may contain duplicate  elements.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a stream and what are the types of Streams and classes of the Streams?&lt;/b&gt;-  A Stream is an abstraction that either produces or consumes  information. There are two types of Streams and they are: Byte Streams:  Provide a convenient means for handling input and output of bytes.  Character Streams: Provide a convenient means for handling input &amp;amp;  output of characters. Byte Streams classes: Are defined by using two  abstract classes, namely InputStream and OutputStream. Character Streams  classes: Are defined by using two abstract classes, namely Reader and  Writer.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between Reader/Writer and InputStream/Output Stream?&lt;/b&gt;- The Reader/Writer class is character-oriented and the InputStream/OutputStream class is byte-oriented.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is an I/O filter?&lt;/b&gt;- An I/O filter is an object that reads  from one stream and writes to another, usually altering the data in  some way as it is passed from one stream to another.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is serialization and deserialization?&lt;/b&gt;- Serialization is  the process of writing the state of an object to a byte stream.  Deserialization is the process of restoring these objects.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is JDBC?&lt;/b&gt;- JDBC is a set of Java API for executing SQL  statements. This API consists of a set of classes and interfaces to  enable programs to write pure Java Database applications.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are drivers available?&lt;/b&gt;- a) JDBC-ODBC Bridge driver b) Native API Partly-Java driver c) JDBC-Net Pure Java driver d) Native-Protocol Pure Java driver&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between JDBC and ODBC?&lt;/b&gt;- a) OBDC is for  Microsoft and JDBC is for Java applications. b) ODBC can’t be directly  used with Java because it uses a C interface. c) ODBC makes use of  pointers which have been removed totally from Java. d) ODBC mixes simple  and advanced features together and has complex options for simple  queries. But JDBC is designed to keep things simple while allowing  advanced capabilities when required. e) ODBC requires manual  installation of the ODBC driver manager and driver on all client  machines. JDBC drivers are written in Java and JDBC code is  automatically installable, secure, and portable on all platforms. f)  JDBC API is a natural Java interface and is built on ODBC. JDBC retains  some of the basic features of ODBC.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the types of JDBC Driver Models and explain them?&lt;/b&gt;-  There are two types of JDBC Driver Models and they are: a) Two tier  model and b) Three tier model Two tier model: In this model, Java  applications interact directly with the database. A JDBC driver is  required to communicate with the particular database management system  that is being accessed. SQL statements are sent to the database and the  results are given to user. This model is referred to as client/server  configuration where user is the client and the machine that has the  database is called as the server. Three tier model: A middle tier is  introduced in this model. The functions of this model are: a) Collection  of SQL statements from the client and handing it over to the database,  b) Receiving results from database to the client and c) Maintaining  control over accessing and updating of the above.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the steps involved for making a connection with a database or how do you connect to a database?&lt;/b&gt;a)  Loading the driver : To load the driver, Class. forName() method is  used. Class. forName(”sun. jdbc. odbc. JdbcOdbcDriver”); When the driver  is loaded, it registers itself with the java. sql. DriverManager class  as an available database driver. b) Making a connection with database:  To open a connection to a given database, DriverManager. getConnection()  method is used. Connection con = DriverManager. getConnection  (”jdbc:odbc:somedb”, “user”, “password”); c) Executing SQL statements :  To execute a SQL query, java. sql. statements class is used.  createStatement() method of Connection to obtain a new Statement object.  Statement stmt = con. createStatement(); A query that returns data can  be executed using the executeQuery() method of Statement. This method  executes the statement and returns a java. sql. ResultSet that  encapsulates the retrieved data: ResultSet rs = stmt.  executeQuery(”SELECT * FROM some table”); d) Process the results :  ResultSet returns one row at a time. Next() method of ResultSet object  can be called to move to the next row. The getString() and getObject()  methods are used for retrieving column values: while(rs. next()) {  String event = rs. getString(”event”); Object count = (Integer) rs.  getObject(”count”);&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What type of driver did you use in project?&lt;/b&gt;- JDBC-ODBC Bridge  driver (is a driver that uses native(C language) libraries and makes  calls to an existing ODBC driver to access a database engine).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the types of statements in JDBC?&lt;/b&gt;- Statement: to be  used createStatement() method for executing single SQL statement  PreparedStatement — To be used preparedStatement() method for executing  same SQL statement over and over. CallableStatement — To be used  prepareCall() method for multiple SQL statements over and over.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is stored procedure?&lt;/b&gt;- Stored procedure is a group of SQL  statements that forms a logical unit and performs a particular task.  Stored Procedures are used to encapsulate a set of operations or queries  to execute on database. Stored procedures can be compiled and executed  with different parameters and results and may have any combination of  input/output parameters.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How to create and call stored procedures?&lt;/b&gt;- To create stored  procedures: Create procedure procedurename (specify in, out and in out  parameters) BEGIN Any multiple SQL statement; END; To call stored  procedures: CallableStatement csmt = con. prepareCall(”{call procedure  name(?,?)}”); csmt. registerOutParameter(column no. , data type); csmt.  setInt(column no. , column name) csmt. execute();&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is servlet?&lt;/b&gt;- Servlets are modules that extend  request/response-oriented servers, such as java-enabled web servers. For  example, a servlet might be responsible for taking data in an HTML  order-entry form and applying the business logic used to update a  company’s order database.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the classes and interfaces for servlets?&lt;/b&gt;- There are two packages in servlets and they are javax. servlet and&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between an applet and a servlet?&lt;/b&gt;- a)  Servlets are to servers what applets are to browsers. b) Applets must  have graphical user interfaces whereas servlets have no graphical user  interfaces.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between doPost and doGet methods?&lt;/b&gt;- a)  doGet() method is used to get information, while doPost() method is used  for posting information. b) doGet() requests can’t send large amount of  information and is limited to 240-255 characters. However,  doPost()requests passes all of its data, of unlimited length. c) A  doGet() request is appended to the request URL in a query string and  this allows the exchange is visible to the client, whereas a doPost()  request passes directly over the socket connection as part of its HTTP  request body and the exchange are invisible to the client.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the life cycle of a servlet?&lt;/b&gt;- Each Servlet has the  same life cycle: a) A server loads and initializes the servlet by init  () method. b) The servlet handles zero or more client’s requests through  service() method. c) The server removes the servlet through destroy()  method.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Who is loading the init() method of servlet?&lt;/b&gt;- Web server&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are the different servers available for developing and deploying Servlets?&lt;/b&gt;- a) Java Web Server b) JRun g) Apache Server h) Netscape Information Server i) Web Logic&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How many ways can we track client and what are they?&lt;/b&gt;- The servlet API provides two ways to track client state and they are: a) Using Session tracking and b) Using Cookies.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is session tracking and how do you track a user session in servlets?&lt;/b&gt;-  Session tracking is a mechanism that servlets use to maintain state  about a series requests from the same user across some period of time.  The methods used for session tracking are: a) User Authentication -  occurs when a web server restricts access to some of its resources to  only those clients that log in using a recognized username and password.  b) Hidden form fields - fields are added to an HTML form that are not  displayed in the client’s browser. When the form containing the fields  is submitted, the fields are sent back to the server. c) URL rewriting -  every URL that the user clicks on is dynamically modified or rewritten  to include extra information. The extra information can be in the form  of extra path information, added parameters or some custom,  server-specific URL change. d) Cookies - a bit of information that is  sent by a web server to a browser and which can later be read back from  that browser. e) HttpSession- places a limit on the number of sessions  that can exist in memory. This limit is set in the session. maxresidents  property.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is Server-Side Includes (SSI)?&lt;/b&gt;- Server-Side Includes  allows embedding servlets within HTML pages using a special servlet tag.  In many servlets that support servlets, a page can be processed by the  server to include output from servlets at certain points inside the HTML  page. This is accomplished using a special internal SSINCLUDE, which  processes the servlet tags. SSINCLUDE servlet will be invoked whenever a  file with an. shtml extension is requested. So HTML files that include  server-side includes must be stored with an . shtml extension.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are cookies and how will you use them?&lt;/b&gt;- Cookies are a  mechanism that a servlet uses to have a client hold a small amount of  state-information associated with the user. a) Create a cookie with the  Cookie constructor: public Cookie(String name, String value) b) A  servlet can send a cookie to the client by passing a Cookie object to  the addCookie() method of HttpServletResponse: public void  HttpServletResponse. addCookie(Cookie cookie) c) A servlet retrieves  cookies by calling the getCookies() method of HttpServletRequest: public  Cookie[ ] HttpServletRequest. getCookie().&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Is it possible to communicate from an applet to servlet and how many ways and how?&lt;/b&gt;-  Yes, there are three ways to communicate from an applet to servlet and  they are: a) HTTP Communication(Text-based and object-based) b) Socket  Communication c) RMI Communication&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is connection pooling?&lt;/b&gt;- With servlets, opening a  database connection is a major bottleneck because we are creating and  tearing down a new connection for every page request and the time taken  to create connection will be more. Creating a connection pool is an  ideal approach for a complicated servlet. With a connection pool, we can  duplicate only the resources we need to duplicate rather than the  entire servlet. A connection pool can also intelligently manage the size  of the pool and make sure each connection remains valid. A number of  connection pool packages are currently available. Some like  DbConnectionBroker are freely available from Java Exchange Works by  creating an object that dispenses connections and connection Ids on  request. The ConnectionPool class maintains a Hastable, using Connection  objects as keys and Boolean values as stored values. The Boolean value  indicates whether a connection is in use or not. A program calls  getConnection() method of the ConnectionPool for getting Connection  object it can use; it calls returnConnection() to give the connection  back to the pool.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Why should we go for interservlet communication?&lt;/b&gt;- Servlets  running together in the same server communicate with each other in  several ways. The three major reasons to use interservlet communication  are: a) Direct servlet manipulation - allows to gain access to the other  currently loaded servlets and perform certain tasks (through the  ServletContext object) b) Servlet reuse - allows the servlet to reuse  the public methods of another servlet. c) Servlet collaboration -  requires to communicate with each other by sharing specific information  (through method invocation)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Is it possible to call servlet with parameters in the URL?&lt;/b&gt;- Yes. You can call a servlet with parameters in the syntax as (?Param1 = xxx || m2 = yyy).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is Servlet chaining?&lt;/b&gt;- Servlet chaining is a technique in  which two or more servlets can cooperate in servicing a single request.  In servlet chaining, one servlet’s output is piped to the next  servlet’s input. This process continues until the last servlet is  reached. Its output is then sent back to the client.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How do servlets handle multiple simultaneous requests?&lt;/b&gt;- The  server has multiple threads that are available to handle requests. When a  request comes in, it is assigned to a thread, which calls a service  method (for example: doGet(), doPost() and service()) of the servlet.  For this reason, a single servlet object can have its service methods  called by many threads at once.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is the difference between TCP/IP and UDP?&lt;/b&gt;- TCP/IP is a  two-way communication between the client and the server and it is a  reliable and there is a confirmation regarding reaching the message to  the destination. It is like a phone call. UDP is a one-way communication  only between the client and the server and it is not a reliable and  there is no confirmation regarding reaching the message to the  destination. It is like a postal mail.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is Inet address?&lt;/b&gt;- Every computer connected to a network  has an IP address. An IP address is a number that uniquely identifies  each computer on the Net. An IP address is a 32-bit number.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is Domain Naming Service(DNS)?&lt;/b&gt;- It is very difficult to  remember a set of numbers(IP address) to connect to the Internet. The  Domain Naming Service(DNS) is used to overcome this problem. It maps one  particular IP address to a string of characters. For example, www.  mascom. com implies com is the domain name reserved for US commercial  sites, moscom is the name of the company and www is the name of the  specific computer, which is mascom’s server.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is URL?&lt;/b&gt;- URL stands for Uniform Resource Locator and it  points to resource files on the Internet. URL has four components:  http://www. address. com:80/index.html, where http - protocol name,  address - IP address or host name, 80 - port number and index.html -  file path.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is RMI and steps involved in developing an RMI object?&lt;/b&gt;-  Remote Method Invocation (RMI) allows java object that executes on one  machine and to invoke the method of a Java object to execute on another  machine. The steps involved in developing an RMI object are: a) Define  the interfaces b) Implementing these interfaces c) Compile the  interfaces and their implementations with the java compiler d) Compile  the server implementation with RMI compiler e) Run the RMI registry f)  Run the application&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is RMI architecture?&lt;/b&gt;- RMI architecture consists of four  layers and each layer performs specific functions: a) Application layer -  contains the actual object definition. b) Proxy layer - consists of  stub and skeleton. c) Remote Reference layer - gets the stream of bytes  from the transport layer and sends it to the proxy layer. d)  Transportation layer - responsible for handling the actual  machine-to-machine communication.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;what is UnicastRemoteObject?&lt;/b&gt;- All remote objects must extend  UnicastRemoteObject, which provides functionality that is needed to make  objects available from remote machines.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Explain the methods, rebind() and lookup() in Naming class?&lt;/b&gt;-  rebind() of the Naming class(found in java. rmi) is used to update the  RMI registry on the server machine. Naming. rebind(”AddSever”,  AddServerImpl); lookup() of the Naming class accepts one argument, the  rmi URL and returns a reference to an object of type AddServerImpl.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a Java Bean?&lt;/b&gt;- A Java Bean is a software component that has been designed to be reusable in a variety of different environments.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is a Jar file?&lt;/b&gt;- Jar file allows to efficiently deploying  a set of classes and their associated resources. The elements in a jar  file are compressed, which makes downloading a Jar file much faster than  separately downloading several uncompressed files. The package java.  util. zip contains classes that read and write jar files.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is BDK?&lt;/b&gt;- BDK, Bean Development Kit is a tool that  enables to create, configure and connect a set of set of Beans and it  can be used to test Beans without writing a code.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What is JSP?&lt;/b&gt;- JSP is a dynamic scripting capability for web  pages that allows Java as well as a few special tags to be embedded into  a web file (HTML/XML, etc). The suffix traditionally ends with .jsp to  indicate to the web server that the file is a JSP files. JSP is a server  side technology - you can’t do any client side validation with it. The  advantages are: a) The JSP assists in making the HTML more functional.  Servlets on the other hand allow outputting of HTML but it is a tedious  process. b) It is easy to make a change and then let the JSP capability  of the web server you are using deal with compiling it into a servlet  and running it.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are JSP scripting elements?&lt;/b&gt;- JSP scripting elements lets  to insert Java code into the servlet that will be generated from the  current JSP page. There are three forms: a) Expressions of the form  &amp;lt;%= expression %&amp;gt; that are evaluated and inserted into the output,  b) Scriptlets of the form&amp;lt;% code %&amp;gt;that are inserted into the  servlet’s service method, and c) Declarations of the form &amp;lt;%! Code  %&amp;gt;that are inserted into the body of the servlet class, outside of  any existing methods.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are JSP Directives?&lt;/b&gt;- A JSP directive affects the overall  structure of the servlet class. It usually has the following  form:&amp;lt;%@ directive attribute=”value” %&amp;gt; However, you can also  combine multiple attribute settings for a single directive, as  follows:&amp;lt;%@ directive attribute1=”value1″ attribute 2=”value2″ . . .  attributeN =”valueN” %&amp;gt; There are two main types of directive: page,  which lets to do things like import classes, customize the servlet  superclass, and the like; and include, which lets to insert a file into  the servlet class at the time the JSP file is translated into a servlet&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are Predefined variables or implicit objects?&lt;/b&gt;- To  simplify code in JSP expressions and scriptlets, we can use eight  automatically defined variables, sometimes called implicit objects. They  are request, response, out, session, application, config, pageContext,  and page.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;What are JSP ACTIONS?&lt;/b&gt;- JSP actions use constructs in XML  syntax to control the behavior of the servlet engine. You can  dynamically insert a file, reuse JavaBeans components, forward the user  to another page, or generate HTML for the Java plugin. Available actions  include: jsp:include - Include a file at the time the page is  requested. jsp:useBean - Find or instantiate a JavaBean. jsp:setProperty  - Set the property of a JavaBean. jsp:getProperty - Insert the property  of a JavaBean into the output. jsp:forward - Forward the requester to a  newpage. Jsp: plugin - Generate browser-specific code that makes an  OBJECT or EMBED&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How do you pass data (including JavaBeans) to a JSP from a servlet?&lt;/b&gt;-  (1) Request Lifetime: Using this technique to pass beans, a request  dispatcher (using either “include” or forward”) can be called. This bean  will disappear after processing this request has been completed.  Servlet: request. setAttribute(”theBean”, myBean); RequestDispatcher rd =  getServletContext(). getRequestDispatcher(”thepage. jsp”); rd.  forward(request, response); JSP PAGE:&amp;lt;jsp: useBean id=”theBean”  scope=”request” class=”. . . . . ” /&amp;gt;(2) Session Lifetime: Using this  technique to pass beans that are relevant to a particular session (such  as in individual user login) over a number of requests. This bean will  disappear when the session is invalidated or it times out, or when you  remove it. Servlet: HttpSession session = request. getSession(true);  session. putValue(”theBean”, myBean); /* You can do a request dispatcher  here, or just let the bean be visible on the next request */ JSP  Page:&amp;lt;jsp:useBean id=”theBean” scope=”session” class=”. . . ” /&amp;gt;  3) Application Lifetime: Using this technique to pass beans that are  relevant to all servlets and JSP pages in a particular app, for all  users. For example, I use this to make a JDBC connection pool object  available to the various servlets and JSP pages in my apps. This bean  will disappear when the servlet engine is shut down, or when you remove  it. Servlet: GetServletContext(). setAttribute(”theBean”, myBean); JSP  PAGE:&amp;lt;jsp:useBean id=”theBean” scope=”application” class=”. . . ”  /&amp;gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How can I set a cookie in JSP?&lt;/b&gt;- response.  setHeader(”Set-Cookie”, “cookie string”); To give the response-object to  a bean, write a method setResponse (HttpServletResponse response) - to  the bean, and in jsp-file:&amp;lt;% bean. setResponse (response); %&amp;gt; &lt;/li&gt;
&lt;li&gt;&lt;b&gt;How can I delete a cookie with JSP?&lt;/b&gt;- Say that I have a  cookie called “foo, ” that I set a while ago &amp;amp; I want it to go away.  I simply: &amp;lt;% Cookie killCookie = new Cookie(”foo”, null);  KillCookie. setPath(”/”); killCookie. setMaxAge(0); response.  addCookie(killCookie); %&amp;gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;How are Servlets and JSP Pages related?&lt;/b&gt;- JSP pages are  focused around HTML (or XML) with Java codes and JSP tags inside them.  When a web server that has JSP support is asked for a JSP page, it  checks to see if it has already compiled the page into a servlet. Thus,  JSP pages become servlets and are transformed into pure Java and then  compiled, loaded into the server and executed.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>10 mistakes managers make during job interviews</title><link>http://materialsforjob.blogspot.com/2011/11/10-mistakes-managers-make-during-job.html</link><category>Tips</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Fri, 4 Nov 2011 20:28:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-12490100844449101</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hiring is oneof the hardest parts of managing a team. A lot is riding  on the initialmeeting, and if you're nervous or ill-prepared -- or both  -- it can make you dostrange things. The following mistakes are all too  common, but they're easy toavoid with some advance preparation.&lt;br /&gt;
&lt;h2&gt;#1: You talk too much&lt;/h2&gt;When  giving companybackground, watch out for the tendency to prattle on  about your own job,personal feelings about the company, or life story.  At the end of theconversation, you'll be aflutter with  self-satisfaction, and you'll see thecandidate in a rosy light -- but  you still won't know anything about his or herability to do the job.&lt;br /&gt;
&lt;h2&gt;#2: You gossip or swap war stories&lt;/h2&gt;Curb  your desire toask for dirt on the candidate's current employer or trash  talk other people inthe industry. Not only does it cast a bad light on  you and your company, butit's a waste of time.&lt;br /&gt;
&lt;h2&gt;#3: You're afraid to ask tough questions&lt;/h2&gt;Interviews  areawkward for everyone, and it's easy to over-empathize with a nervous  candidate.It's also common to throw softball questions at someone whom  you like or whomakes you feel comfortable. You're better off asking  everyone the same set ofchallenging questions -- you might be surprised  what they reveal. Often aNervous Nellie will spring to life when given  the chance to solve a problem orelaborate on a past success.&lt;br /&gt;
&lt;h2&gt;#4: You fall prey to the halo effect (or the horns effect)&lt;/h2&gt;If  a candidatearrives dressed to kill, gives a firm handshake, and answers  the first questionperfectly, you might be tempted to check the  imaginary "Hired!" boxin your mind. But make sure you pay attention to  all the answers and don't beswayed by a first impression. Ditto for the  reverse: The mumblerwith the tattoos might have super powers that go  undetected at first glance.&lt;br /&gt;
&lt;h2&gt;#5: You ask leading questions&lt;/h2&gt;Watch  out forquestions that telegraph to the applicant the answer you're  looking for. Youwon't get honest responses from questions like, "You are  familiar withExcel macros, aren't you?"&lt;br /&gt;
&lt;h2&gt;#6: You invade their privacy&lt;/h2&gt;First  of all, it'sillegal to delve too deeply into personal or lifestyle  details. Second, itdoesn't help you find the best person for the job.  Nix all questions about homelife ("Do you have children?" "Do you think  you'd quit if yougot married?"), gender bias or sexual preference ("Do  you get alongwell with other men?"), ethnic background ("That's an  unusual name,what nationality are you?"), age ("What year did you  graduate fromhigh school?"), and financials ("Do you own your home?")&lt;br /&gt;
&lt;h2&gt;#7: You stress the candidate out&lt;/h2&gt;Some  interviewersuse high-pressure techniques designed to trap or fluster  the applicant. Whileyou do want to know how a candidate performs in a  pinch, it's almost impossibleto re-create the same type of stressors an  employee will encounter in theworkplace. Moreover, if you do hire the  person, he or she may not trust youbecause you launched the relationship  on a rocky foundation.&lt;br /&gt;
&lt;h2&gt;#8: You cut it short&lt;/h2&gt;A series  ofinterviews can eat up your whole day, so it's tempting to keep them  brief. Buta quick meeting just doesn't give you enough time to gauge a  candidate'sresponses and behavior. Judging candidates is nuanced work,  and it relies ontracking lots of subtle inputs. An interview that runs  45 minutes to an hourincreases your chances of getting a meaningful  sample.&lt;br /&gt;
&lt;h2&gt;#9: You gravitate toward the center&lt;/h2&gt;If everyone  youtalk to feels like a "maybe," that probably means you aren't  gettingenough useful information -- or you're not assessing candidates  honestlyenough. Most "maybes" are really "no, thank yous."(Face it: The  candidate didn't knock your socks off.) Likewise, if you thinkthe person  might be good for some role at some point in the future, he orshe is  really a "no."&lt;br /&gt;
&lt;h2&gt;#10: You rate candidates against each other&lt;/h2&gt;Mediocre  candidatesmay look like superstars when they follow a dud, but that  doesn't mean they'rethe most qualified for the job. The person who comes  in tomorrow may smoke all ofthem, but you won't be able to tell if you  rated mediocre candidates too highlyin your notes. Evaluate each  applicant on your established criteria -- don'tgrade on a curve.&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Top Interview Questions on Java</title><link>http://materialsforjob.blogspot.com/2011/11/top-interview-questions-on-java.html</link><category>Java</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 2 Nov 2011 23:10:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-4476891792795610466</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table border="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;Is it possible to communicate from an applet to servlet and how many ways and how?-&lt;/b&gt;  Yes, there are three ways to communicate from an applet to servlet and  they are: a) HTTP Communication(Text-based and object-based) b) Socket  Communication c) RMI Communication            &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;What is connection pooling?-&lt;/b&gt;  With servlets, opening a database connection is a major bottleneck  because we are creating and tearing down a new connection for every page  request and the time taken to create connection will be more. Creating a  connection pool is an ideal approach for a complicated servlet. With a  connection pool, we can duplicate only the resources we need to  duplicate rather than the entire servlet. A connection pool can also  intelligently manage the size of the pool and make sure each connection  remains valid. A number of connection pool packages are currently  available. Some like DbConnectionBroker are freely available from Java  Exchange Works by creating an object that dispenses connections and  connection Ids on request. The ConnectionPool class maintains a  Hastable, using Connection objects as keys and Boolean values as stored  values. The Boolean value indicates whether a connection is in use or  not. A program calls getConnection() method of the ConnectionPool for  getting Connection object it can use; it calls returnConnection() to  give the connection back to the pool.           &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;Why should we go for interservlet communication?-&lt;/b&gt;  Servlets running together in the same server communicate with each  other in several ways. The three major reasons to use interservlet  communication are: a) Direct servlet manipulation - allows to gain  access to the other currently loaded servlets and perform certain tasks  (through the ServletContext object) b) Servlet reuse - allows the  servlet to reuse the public methods of another servlet. c) Servlet  collaboration - requires to communicate with each other by sharing  specific information (through method invocation)           &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;Is it possible to call servlet with parameters in the URL?-&lt;/b&gt; Yes. You can call a servlet with parameters in the syntax as (?Param1 = xxx || m2 = yyy).            &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;What is Servlet chaining?-&lt;/b&gt;  Servlet chaining is a technique in which two or more servlets can  cooperate in servicing a single request. In servlet chaining, one  servlet’s output is piped to the next servlet’s input. This process  continues until the last servlet is reached. Its output is then sent  back to the client.&amp;nbsp;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;How do servlets handle multiple simultaneous requests?- The server has multiple threads that are available to handle requests. When a request comes in, it is assigned to a thread, which calls a service method (for example: doGet(), doPost() and service()) of the servlet. For this reason, a single servlet object can have its service methods called by many threads at once.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is Inet address?&lt;/b&gt;- Every computer connected to a network has an IP address. An IP address is a number that uniquely identifies each computer on the Net. An IP address is a 32-bit number.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is Domain Naming Service(DNS)?&lt;/b&gt;- It is very difficult to remember a set of numbers(IP address) to connect to the Internet. The Domain Naming Service(DNS) is used to overcome this problem. It maps one particular IP address to a string of characters. For example, www. mascom. com implies com is the domain name reserved for US commercial sites, moscom is the name of the company and www is the name of the specific computer, which is mascom’s server.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is URL?&lt;/b&gt;- URL stands for Uniform Resource Locator and it points to resource files on the Internet. URL has four components: http://www. address. com:80/index.html, where http - protocol name, address - IP address or host name, 80 - port number and index.html - file path.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is RMI and steps involved in developing an RMI object?&lt;/b&gt;- Remote Method Invocation (RMI) allows java object that executes on one machine and to invoke the method of a Java object to execute on another machine. The steps involved in developing an RMI object are: a) Define the interfaces b) Implementing these interfaces c) Compile the interfaces and their implementations with the java compiler d) Compile the server implementation with RMI compiler e) Run the RMI registry f) Run the application&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is RMI architecture?&lt;/b&gt;- RMI architecture consists of four layers and each layer performs specific functions: a) Application layer - contains the actual object definition. b) Proxy layer - consists of stub and skeleton. c) Remote Reference layer - gets the stream of bytes from the transport layer and sends it to the proxy layer. d) Transportation layer - responsible for handling the actual machine-to-machine communication.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;what is UnicastRemoteObject?&lt;/b&gt;- All remote objects must extend UnicastRemoteObject, which provides functionality that is needed to make objects available from remote machines.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Explain the methods, rebind() and lookup() in Naming class?-&lt;/b&gt; rebind() of the Naming class(found in java. rmi) is used to update the RMI registry on the server machine. Naming. rebind(”AddSever”, AddServerImpl); lookup() of the Naming class accepts one argument, the rmi URL and returns a reference to an object of type AddServerImpl.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is a Java Bean?&lt;/b&gt;- A Java Bean is a software component that has been designed to be reusable in a variety of different environments.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is a Jar file?&lt;/b&gt;- Jar file allows to efficiently deploying a set of classes and their associated resources. The elements in a jar file are compressed, which makes downloading a Jar file much faster than separately downloading several uncompressed files. The package java. util. zip contains classes that read and write jar files.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is BDK?&lt;/b&gt;- BDK, Bean Development Kit is a tool that enables to create, configure and connect a set of set of Beans and it can be used to test Beans without writing a code.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is JSP?&lt;/b&gt;- JSP is a dynamic scripting capability for web pages that allows Java as well as a few special tags to be embedded into a web file (HTML/XML, etc). The suffix traditionally ends with .jsp to indicate to the web server that the file is a JSP files. JSP is a server side technology - you can’t do any client side validation with it. The advantages are: a) The JSP assists in making the HTML more functional. Servlets on the other hand allow outputting of HTML but it is a tedious process. b) It is easy to make a change and then let the JSP capability of the web server you are using deal with compiling it into a servlet and running it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are JSP scripting elements?&lt;/b&gt;- JSP scripting elements lets to insert Java code into the servlet that will be generated from the current JSP page. There are three forms: a) Expressions of the form &amp;lt;%= expression %&amp;gt; that are evaluated and inserted into the output, b) Scriptlets of the form&amp;lt;% code %&amp;gt;that are inserted into the servlet’s service method, and c) Declarations of the form &amp;lt;%! Code %&amp;gt;that are inserted into the body of the servlet class, outside of any existing methods.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are JSP Directives?&lt;/b&gt;- A JSP directive affects the overall structure of the servlet class. It usually has the following form:&amp;lt;%@ directive attribute=”value” %&amp;gt; However, you can also combine multiple attribute settings for a single directive, as follows:&amp;lt;%@ directive attribute1=”value1? attribute 2=”value2? . . . attributeN =”valueN” %&amp;gt; There are two main types of directive: page, which lets to do things like import classes, customize the servlet superclass, and the like; and include, which lets to insert a file into the servlet class at the time the JSP file is translated into a servlet&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are Predefined variables or implicit objects?&lt;/b&gt;- To simplify code in JSP expressions and scriptlets, we can use eight automatically defined variables, sometimes called implicit objects. They are request, response, out, session, application, config, pageContext, and page.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are JSP ACTIONS?&lt;/b&gt;- JSP actions use constructs in XML syntax to control the behavior of the servlet engine. You can dynamically insert a file, reuse JavaBeans components, forward the user to another page, or generate HTML for the Java plugin. Available actions include: jsp:include - Include a file at the time the page is requested. jsp:useBean - Find or instantiate a JavaBean. jsp:setProperty - Set the property of a JavaBean. jsp:getProperty - Insert the property of a JavaBean into the output. jsp:forward - Forward the requester to a newpage. Jsp: plugin - Generate browser-specific code that makes an OBJECT or EMBED&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How do you pass data (including JavaBeans) to a JSP from a servlet?&lt;/b&gt;- (1) Request Lifetime: Using this technique to pass beans, a request dispatcher (using either “include” or forward”) can be called. This bean will disappear after processing this request has been completed. Servlet: request. setAttribute(”theBean”, myBean); RequestDispatcher rd = getServletContext(). getRequestDispatcher(”thepage. jsp”); rd. forward(request, response); JSP PAGE:&lt;jsp: .="" class="”." id="”theBean”" scope="”request”" usebean="" ”=""&gt;(2) Session Lifetime: Using this technique to pass beans that are relevant to a particular session (such as in individual user login) over a number of requests. This bean will disappear when the session is invalidated or it times out, or when you remove it. Servlet: HttpSession session = request. getSession(true); session. putValue(”theBean”, myBean); /* You can do a request dispatcher here, or just let the bean be visible on the next request */ JSP Page:&lt;jsp:usebean .="" class="”." id="”theBean”" scope="”session”" ”=""&gt; 3) Application Lifetime: Using this technique to pass beans that are relevant to all servlets and JSP pages in a particular app, for all users. For example, I use this to make a JDBC connection pool object available to the various servlets and JSP pages in my apps. This bean will disappear when the servlet engine is shut down, or when you remove it. Servlet: GetServletContext(). setAttribute(”theBean”, myBean); JSP PAGE:&lt;jsp:usebean .="" class="”." id="”theBean”" scope="”application”" ”=""&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How can I set a cookie in JSP?&lt;/b&gt;- response. setHeader(”Set-Cookie”, “cookie string”); To give the response-object to a bean, write a method setResponse (HttpServletResponse response) - to the bean, and in jsp-file:&amp;lt;% bean. setResponse (response); %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How can I delete a cookie with JSP?&lt;/b&gt;- Say that I have a cookie called “foo, ” that I set a while ago &amp;amp; I want it to go away. I simply: &amp;lt;% Cookie killCookie = new Cookie(”foo”, null); KillCookie. setPath(”/”); killCookie. setMaxAge(0); response. addCookie(killCookie); %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How are Servlets and JSP Pages related?&lt;/b&gt;- JSP pages are focused around HTML (or XML) with Java codes and JSP tags inside them. When a web server that has JSP support is asked for a JSP page, it checks to see if it has already compiled the page into a servlet. Thus, JSP pages become servlets and are transformed into pure Java and then compiled, loaded into the server and executed. &lt;br /&gt;
&lt;/jsp:usebean&gt;&lt;/jsp:usebean&gt;&lt;/jsp:&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Large list of Intel interview questions</title><link>http://materialsforjob.blogspot.com/2011/11/large-list-of-intel-interview-questions.html</link><category>Electronics</category><category>Intel</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 2 Nov 2011 19:24:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-1592426235899283355</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="entry-content"&gt;                       &lt;ol&gt;&lt;li&gt;Insights of an inverter. Explain the working?&lt;/li&gt;
&lt;li&gt;Insights of a 2 input NOR gate. Explain the working?&lt;/li&gt;
&lt;li&gt;Insights of a 2 input NAND gate. Explain the working?&lt;/li&gt;
&lt;li&gt;Implement F= not (AB+CD) using CMOS gates?&lt;/li&gt;
&lt;li&gt;Insights of a pass gate. Explain the working?&lt;/li&gt;
&lt;span id="more-216"&gt;&lt;/span&gt;
&lt;li&gt;Why do we need both PMOS and NMOS transistors to implement a pass gate?&lt;/li&gt;
&lt;li&gt;What does the above code synthesize to?&lt;/li&gt;
&lt;li&gt;Cross section of a PMOS transistor?&lt;/li&gt;
&lt;li&gt;Cross section of an NMOS transistor?&lt;/li&gt;
&lt;li&gt;What is a D-latch? Write the VHDL Code for it?&lt;/li&gt;
&lt;li&gt;Differences between D-Latch and D flip-flop?&lt;/li&gt;
&lt;li&gt;Implement D flip-flop with a couple of latches? Write a VHDL Code for a D flip-flop?&lt;/li&gt;
&lt;li&gt;What is latchup? Explain the methods used to prevent it?&lt;/li&gt;
&lt;li&gt;What is charge sharing?&lt;/li&gt;
&lt;li&gt;While using logic design, explain the various steps that r followed to obtain the desirable design in a well defined manner?&lt;/li&gt;
&lt;li&gt;Why is OOPS called OOPS? (C++)&lt;/li&gt;
&lt;li&gt;What is a linked list? Explain the 2 fields in a linked list?&lt;/li&gt;
&lt;li&gt;Implement a 2 I/P and gate using Tran gates?&lt;/li&gt;
&lt;li&gt;Insights of a 4bit adder/Sub Circuit?&lt;/li&gt;
&lt;li&gt;For f = AB+CD if B is S-a-1, what r the test vectors needed to detect the fault?&lt;/li&gt;
&lt;li&gt;Explain various adders and diff between them?&lt;/li&gt;
&lt;li&gt;Explain the working of 4-bit Up/down Counter?&lt;/li&gt;
&lt;li&gt;A circuit has 1 input X and 2 outputs A and B. If X = HIGH for 4  clock ticks, A = 1. If X = LOW for 4 clock ticks, B = 1. Draw a state  diagram for this Spec?&lt;/li&gt;
&lt;li&gt;Advantages and disadvantages of Mealy and Moore?&lt;/li&gt;
&lt;li&gt;Id vs. Vds Characteristics of NMOS and PMOS transistors?&lt;/li&gt;
&lt;li&gt;Explain the operation of a 6T-SRAM cell?&lt;/li&gt;
&lt;li&gt;Differences between DRAM and SRAM?&lt;/li&gt;
&lt;li&gt;Implement a function with both ratioed and domino logic and merits and demerits of each logic?&lt;/li&gt;
&lt;li&gt;Given a circuit and asked to tell the output voltages of that circuit?&lt;/li&gt;
&lt;li&gt;How can you construct both PMOS and NMOS on a single substrate?&lt;/li&gt;
&lt;li&gt;What happens when the gate oxide is very thin?&lt;/li&gt;
&lt;li&gt;What is setup time and hold time?&lt;/li&gt;
&lt;li&gt;Write a pseudo code for sorting the numbers in an array?&lt;/li&gt;
&lt;li&gt;What is pipelining and how can we increase throughput using pipelining?&lt;/li&gt;
&lt;li&gt;Explain about stuck at fault models, scan design, BIST and IDDQ testing?&lt;/li&gt;
&lt;li&gt;What is SPICE?&lt;/li&gt;
&lt;li&gt;Differences between IRSIM and SPICE?&lt;/li&gt;
&lt;li&gt;Differences between netlist of HSPICE and Spectre?&lt;/li&gt;
&lt;li&gt;What is FPGA?&lt;/li&gt;
&lt;li&gt;Draw the Cross Section of an Inverter? Clearly show all the connections between M1 and poly, M1 and diffusion layers etc?&lt;/li&gt;
&lt;li&gt;Draw the Layout of an Inverter?&lt;/li&gt;
&lt;li&gt;If the current thru the poly is 20nA and the contact can take a max current of 10nA how would u overcome the problem?&lt;/li&gt;
&lt;li&gt;Implement F = AB+C using CMOS gates?&lt;/li&gt;
&lt;li&gt;Working of a 2-stage OPAMP?&lt;/li&gt;
&lt;li&gt;6-T XOR gate?&lt;/li&gt;
&lt;li&gt;Differences between blocking and Non-blocking statements in Verilog?&lt;/li&gt;
&lt;li&gt;Differences between Signals and Variables in VHDL? If the same code  is written using Signals and Variables what does it synthesize to?&lt;/li&gt;
&lt;li&gt;Differences between functions and Procedures in VHDL?&lt;/li&gt;
&lt;li&gt;What is component binding?&lt;/li&gt;
&lt;li&gt;What is polymorphism? (C++)&lt;/li&gt;
&lt;li&gt;What is hot electron effect?&lt;/li&gt;
&lt;li&gt;Define threshold voltage?&lt;/li&gt;
&lt;li&gt;Factors affecting Power Consumption on a chip?&lt;/li&gt;
&lt;li&gt;Explain Clock Skew?&lt;/li&gt;
&lt;li&gt;Why do we use a Clock tree?&lt;/li&gt;
&lt;li&gt;Explain the various Capacitances associated with a transistor and which one of them is the most prominent?&lt;/li&gt;
&lt;li&gt;Explain the Various steps in Synthesis?&lt;/li&gt;
&lt;li&gt;Explain ASIC Design Flow?&lt;/li&gt;
&lt;li&gt;Explain Custom Design Flow?&lt;/li&gt;
&lt;li&gt;Why is Extraction performed?&lt;/li&gt;
&lt;li&gt;What is LVS, DRC?&lt;/li&gt;
&lt;li&gt;Who provides the DRC rules?&lt;/li&gt;
&lt;li&gt;What is validation?&lt;/li&gt;
&lt;li&gt;What is Cross Talk?&lt;/li&gt;
&lt;li&gt;Different ways of implementing a comparator?&lt;/li&gt;
&lt;li&gt;What r the phenomenon which come into play when the devices are scaled to the sub-micron lengths?&lt;/li&gt;
&lt;li&gt;What is clock feed through?&lt;/li&gt;
&lt;li&gt;Implement an Inverter using a single transistor?&lt;/li&gt;
&lt;li&gt;What is Fowler-Nordheim Tunneling?&lt;/li&gt;
&lt;li&gt;Insights of a Tri-state inverter?&lt;/li&gt;
&lt;li&gt;If an/ap = 0.5, an/ap = 1, an/ap = 3, for 3 inverters draw the transfer characteristics?&lt;/li&gt;
&lt;li&gt;Differences between Array and Booth Multipliers?&lt;/li&gt;
&lt;li&gt;Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same?&lt;/li&gt;
&lt;li&gt;Which gate is normally preferred while implementing circuits using CMOS logic, NAND or NOR? Why?&lt;/li&gt;
&lt;li&gt;Insights of a Tri-State Inverter?&lt;/li&gt;
&lt;li&gt;Basic Stuff related to Perl?&lt;/li&gt;
&lt;li&gt;Have you studied buses? What types?&lt;/li&gt;
&lt;li&gt;Have you studied pipelining? List the 5 stages of a 5 stage  pipeline. Assuming 1 clock per stage, what is the latency of an  instruction in a 5 stage machine? What is the throughput of this machine  ?&lt;/li&gt;
&lt;li&gt;How many bit combinations are there in a byte?&lt;/li&gt;
&lt;li&gt;For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?&lt;/li&gt;
&lt;li&gt;Explain the operation considering a two processor computer system with a cache for each processor.&lt;/li&gt;
&lt;li&gt;What are the main issues associated with multiprocessor caches and how might you solve them?&lt;/li&gt;
&lt;li&gt;Explain the difference between write through and write back cache.&lt;/li&gt;
&lt;li&gt;Are you familiar with the term MESI?&lt;/li&gt;
&lt;li&gt;Are you familiar with the term snooping?&lt;/li&gt;
&lt;li&gt;Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads.&lt;/li&gt;
&lt;li&gt;In what cases do you need to double clock a signal before presenting it to a synchronous state machine?&lt;/li&gt;
&lt;li&gt;You have a driver that drives a long signal &amp;amp; connects to an  input device. At the input device there is either overshoot, undershoot  or signal threshold violations, what can be done to correct this  problem?&lt;/li&gt;
&lt;li&gt;What are the total number of lines written by you in C/C++? What is the most complicated/valuable program written in C/C++?&lt;/li&gt;
&lt;li&gt;What compiler was used?&lt;/li&gt;
&lt;li&gt;What is the difference between = and == in C?&lt;/li&gt;
&lt;li&gt;Are you familiar with VHDL and/or Verilog?&lt;/li&gt;
&lt;li&gt;What types of CMOS memories have you designed? What were their size? Speed?&lt;/li&gt;
&lt;li&gt;What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?&lt;/li&gt;
&lt;li&gt;What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements?&lt;/li&gt;
&lt;li&gt;Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?&lt;/li&gt;
&lt;li&gt;What types of high speed CMOS circuits have you designed?&lt;/li&gt;
&lt;li&gt;What transistor level design tools are you proficient with? What types of designs were they used on?&lt;/li&gt;
&lt;li&gt;What products have you designed which have entered high volume production?&lt;/li&gt;
&lt;li&gt;What was your role in the silicon evaluation/product ramp? What tools did you use?&lt;/li&gt;
&lt;li&gt;If not into production, how far did you follow the design and why did not you see it into production?&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Infosys Logical questions</title><link>http://materialsforjob.blogspot.com/2011/11/infosys-logical-questions.html</link><category>Infosys</category><category>Logical</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 2 Nov 2011 00:07:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-1882307575327582956</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;I have two coins for 75 paise. 1 coin is not 50 paise, how?&lt;/b&gt;&lt;br /&gt;
Latest  Answer: 1 coin is not fifty paise, but another can be, so let another be  50 paise coin and the one you are talking about is 25 paise coin so  here we make 75paise with two coins.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Once there came many birds to a pond&lt;/b&gt;. There were certain number of lotus  flowers in the pond. If each bird occupied one lotus one bird was left  alone without any flower. If two birds sat in a flower one&lt;br /&gt;
Latest  Answer: Let no. of birds is "b" and no. of lotus be "l" Now, a/c to  first condition--&amp;gt; b = l+1 &amp;amp; a/c to snd condition--&amp;gt; b/2 = l-1  Solving above equations, we get, No. of Bird=4 &amp;amp; No. of Lotus = 3  ...&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;A pipe can fill a tank in 3 hours due to leakage it takes 3.5 hours to  fill the same tank&lt;/b&gt; then how many hours will the leakage can empty the  tank&lt;br /&gt;
Latest Answer: Let the tank be 1 ltr. It takes 180 min(3 hr) to  fill this tank.Hence 1 min's work is 1/180After the tank got a hole in  it, it takes 3 and 1/2 hrs ie.. 210 min.hence work expended in 210 min  is 210*1/180=7/6Hence extra work spended due to hole is ...&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Two coins one with HEAD IN BOTH SIDES and the other coin HEAD IN ONE  SIDE AND TAIL IN THE&lt;/b&gt; OTHER SIDE is in a box,a coin is taken at random  and FOUND HEAD IN ONE SIDE .what is the probability that THE OTHER SIDE  IS HEAD?&lt;br /&gt;
Ans:::::::1.Two coins one  with HEAD IN BOTH SIDES and the other coin HEAD IN ONE SIDE AND TAIL IN  THE OTHER SIDE is in a box,a coin is taken at random and FOUND HEAD IN&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;When Arthur is as old as his father Hailey is now,&lt;/b&gt; he shall be 5 times  as old as his son Clarke is now. By then Clarke will be 8 times older  than Arthur is now. The combined ages of Hailey and Arthur are&lt;br /&gt;
Latest  Answer: Let Age of Haley is = H, Arthur is = A, Clarke =CA+H =100    ---------------(1)H=5C  ---------------------(2)(H-A) + C = 8A  ----------- (3)Solving them gives    H = 1500/17   , A = 200/17,   C =  200/17 ...&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;A car is traveling at a uniform speed. The driver sees a milestone  showing a 2-digit number&lt;/b&gt;. After traveling for an hour thedriver sees  another milestone with the same digits in reverse order. After another  hour the driver sees another milestone containingthe same two digits  with a zero in between(0). What is the average speed of the driver.&lt;br /&gt;
Ans:&lt;br /&gt;
Let 10'splace digit is x and unit's place digit y&lt;br /&gt;
&lt;br /&gt;
First milestone :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;10x+y&lt;br /&gt;
Second milestone : 10y+x&lt;br /&gt;
Third milestone:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100x+y&lt;br /&gt;
&lt;br /&gt;
Since the speed is uniform so &lt;br /&gt;
&amp;nbsp; Distance covered in first Hr = Distance covered in&amp;nbsp;Second Hr &lt;br /&gt;
&amp;nbsp; (10y+x)-(10x+y) = (100x+y)-(10y+x)&lt;br /&gt;
After solving, we get&amp;nbsp; ----&amp;gt;&amp;nbsp;&amp;nbsp; &lt;strong&gt;y=6x&amp;nbsp; but since x and y are digits so only possible combination is x=1 and y=6, &lt;br /&gt;
&amp;nbsp; So average speed = 45 KM/HR &lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;A mathamatical word contain 10 letters.Without first four letter you  can't plan your life.Last six letter specify particular time.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ans: &lt;/b&gt;"TimePeriod"&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;h1 style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;My son is half of my age &amp;amp; was 1/3rd of my age 10 yrs back. What is my present age?&lt;/span&gt;&lt;/h1&gt;&lt;h1 style="font-weight: normal;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;let the fathers age be f and son's age be s&lt;br /&gt;
s=.5f =&amp;gt; f=2s..................1&lt;br /&gt;
(f-10)/3=(s-10) =&amp;gt; f-10=3s-30&lt;br /&gt;
3s-f=20.............................2&lt;br /&gt;
solving 1 and 2&lt;br /&gt;
we get son's age as 20 and fathers age as 40&lt;/span&gt;&lt;/h1&gt;&lt;h1 style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;&lt;br /&gt;
&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Aptitude Questions IV</title><link>http://materialsforjob.blogspot.com/2011/11/aptitude-questions-iv.html</link><category>Aptitude</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Tue, 1 Nov 2011 23:57:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-6685406522161323834</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1.If 2x-y=4 then 6x-3y=?&lt;br /&gt;
(a)15&lt;br /&gt;
(b)12&lt;br /&gt;
(c)18&lt;br /&gt;
(d)10&lt;br /&gt;
&lt;br /&gt;
Ans. (b)&lt;br /&gt;
2.If x=y=2z and xyz=256 then what is the value of x?&lt;br /&gt;
&lt;br /&gt;
(a)12&lt;br /&gt;
(b)8&lt;br /&gt;
(c)16&lt;br /&gt;
(d)6&lt;br /&gt;
&lt;br /&gt;
Ans. (b)&lt;br /&gt;
3. (1/10)18 - (1/10)20 = ?&lt;br /&gt;
(a) 99/1020&lt;br /&gt;
(b) 99/10&lt;br /&gt;
(c) 0.9&lt;br /&gt;
(d) none of these&lt;br /&gt;
Ans. (a)&lt;br /&gt;
4.Pipe A can fill in 20 minutes and Pipe B in 30 mins&lt;br /&gt;
and Pipe C can&lt;br /&gt;
empty the same in 40 mins.If all of them work&lt;br /&gt;
together, find the time&lt;br /&gt;
taken to fill the tank&lt;br /&gt;
(a) 17 1/7 mins&lt;br /&gt;
(b) 20 mins&lt;br /&gt;
(c) 8 mins&lt;br /&gt;
(d) none of these&lt;br /&gt;
Ans. (a)&lt;br /&gt;
5. Thirty men take 20 days to complete a job working 9&lt;br /&gt;
hours a day.How&lt;br /&gt;
many hour a day should 40 men work to complete the&lt;br /&gt;
job?&lt;br /&gt;
(a) 8 hrs&lt;br /&gt;
(b) 7 1/2 hrs&lt;br /&gt;
(c) 7 hrs&lt;br /&gt;
(d) 9 hrs&lt;br /&gt;
Ans. (b)&lt;br /&gt;
6. Find the smallest number in a GP whose sum is 38&lt;br /&gt;
and product 1728&lt;br /&gt;
(a) 12&lt;br /&gt;
(b) 20&lt;br /&gt;
(c) 8&lt;br /&gt;
(d) none of these&lt;br /&gt;
Ans. (c)&lt;br /&gt;
7. A boat travels 20 kms upstream in 6 hrs and 18 kms&lt;br /&gt;
downstream in 4&lt;br /&gt;
hrs.Find the speed of the boat in still water and the&lt;br /&gt;
speed of the&lt;br /&gt;
water current?&lt;br /&gt;
(a) 1/2 kmph&lt;br /&gt;
(b) 7/12 kmph&lt;br /&gt;
(c) 5 kmph&lt;br /&gt;
(d) none of these&lt;br /&gt;
Ans. (b)&lt;br /&gt;
8. A goat is tied to one corner of a square plot of&lt;br /&gt;
side 12m by a rope&lt;br /&gt;
7m long.Find the area it can graze?&lt;br /&gt;
(a) 38.5 sq.m&lt;br /&gt;
(b) 155 sq.m&lt;br /&gt;
(c) 144 sq.m&lt;br /&gt;
(d) 19.25 sq.m&lt;br /&gt;
Ans. (a)&lt;br /&gt;
9. Mr. Shah decided to walk down the escalator of a&lt;br /&gt;
tube station. He&lt;br /&gt;
found that if he walks down 26 steps, he requires 30&lt;br /&gt;
seconds to&lt;br /&gt;
reach the bottom. However, if he steps down 34 stairs&lt;br /&gt;
he would only&lt;br /&gt;
require 18 seconds to get to the bottom. If the time&lt;br /&gt;
is measured from&lt;br /&gt;
the moment the top step begins to descend to the&lt;br /&gt;
time he steps off&lt;br /&gt;
the last step at the bottom, find out the height of&lt;br /&gt;
the stair way in&lt;br /&gt;
steps?&lt;br /&gt;
Ans.46 steps.&lt;br /&gt;
10. The average age of 10 members of a committee is&lt;br /&gt;
the same as it was&lt;br /&gt;
4 years ago, because an old member has been replaced&lt;br /&gt;
by a young&lt;br /&gt;
member. Find how much younger is the new member ?&lt;br /&gt;
Ans.40 years.&lt;br /&gt;
11. Three containers A, B and C have volumes a, b, and&lt;br /&gt;
c respectively;&lt;br /&gt;
and container A is full of water while the other two&lt;br /&gt;
are empty. If&lt;br /&gt;
from container A water is poured into container B&lt;br /&gt;
which becomes 1/3&lt;br /&gt;
full, and into container C which becomes 1/2 full, how&lt;br /&gt;
much water is&lt;br /&gt;
left in container A?&lt;br /&gt;
12. ABCE is an isosceles trapezoid and ACDE is a&lt;br /&gt;
rectangle. AB = 10&lt;br /&gt;
and EC = 20. What is the length of AE?&lt;br /&gt;
Ans. AE = 10.&lt;br /&gt;
13. In the given figure, PA and PB are tangents to the&lt;br /&gt;
circle at A and&lt;br /&gt;
B respectively and the chord BC is parallel to&lt;br /&gt;
tangent PA. If AC = 6&lt;br /&gt;
cm, and length of the tangent AP is 9 cm, then what&lt;br /&gt;
is the length of&lt;br /&gt;
the chord BC?&lt;br /&gt;
Ans. BC = 4 cm.&lt;br /&gt;
15 Three cards are drawn at random from an ordinary&lt;br /&gt;
pack of cards.&lt;br /&gt;
Find the probability that they will consist of a king,&lt;br /&gt;
a queen and an ace.&lt;br /&gt;
Ans. 64/2210.&lt;br /&gt;
16. A number of cats got together and decided to kill&lt;br /&gt;
between them&lt;br /&gt;
999919 mice. Every cat killed an equal number of&lt;br /&gt;
mice. Each cat&lt;br /&gt;
killed more mice than there were cats. How many cats&lt;br /&gt;
do you think&lt;br /&gt;
there were ?&lt;br /&gt;
Ans. 991.&lt;br /&gt;
17. If Log2 x - 5 Log x + 6 = 0, then what would the&lt;br /&gt;
value / values of&lt;br /&gt;
x be?&lt;br /&gt;
Ans. x = e2 or e3.&lt;br /&gt;
18. The square of a two digit number is divided by&lt;br /&gt;
half the number.&lt;br /&gt;
After 36 is added to the quotient, this sum is then&lt;br /&gt;
divided by 2.&lt;br /&gt;
The digits of the resulting number are the same as&lt;br /&gt;
those in the&lt;br /&gt;
original number, but they are in reverse order. The&lt;br /&gt;
ten's place of&lt;br /&gt;
the original number is equal to twice the difference&lt;br /&gt;
between its&lt;br /&gt;
digits. What is the number?&lt;br /&gt;
Ans. 46&lt;br /&gt;
19.Can you tender a one rupee note in such a manner&lt;br /&gt;
that there shall&lt;br /&gt;
be total 50 coins but none of them would be 2 paise&lt;br /&gt;
coins.?&lt;br /&gt;
Ans. 45 one paisa coins, 2 five paise coins, 2 ten&lt;br /&gt;
paise coins, and 1&lt;br /&gt;
twenty-five paise coins.&lt;br /&gt;
20.A monkey starts climbing up a tree 20ft. tall. Each&lt;br /&gt;
hour, it hops&lt;br /&gt;
3ft. and slips back 2ft. How much time would it take&lt;br /&gt;
the monkey to&lt;br /&gt;
reach the top?&lt;br /&gt;
Ans.18 hours.&lt;br /&gt;
21. What is the missing number in this series? 8 2&lt;br /&gt;
14 6 11 ? 14 6 18 12&lt;br /&gt;
Ans. 9&lt;br /&gt;
22. A certain type of mixture is prepared by mixing&lt;br /&gt;
brand A at Rs.9 a&lt;br /&gt;
kg. with brand B at Rs.4 a kg. If the mixture is worth&lt;br /&gt;
Rs.7 a kg., how&lt;br /&gt;
many kgs. of brand A are needed to make 40kgs. of&lt;br /&gt;
the mixture?&lt;br /&gt;
Ans. Brand A needed is 24kgs.&lt;br /&gt;
23. A wizard named Nepo says "I am only three times my&lt;br /&gt;
son's age. My&lt;br /&gt;
father is 40 years more than twice my age. Together&lt;br /&gt;
the three of us&lt;br /&gt;
are a mere 1240 years old." How old is Nepo?&lt;br /&gt;
Ans. 360 years old.&lt;br /&gt;
24. One dog tells the other that there are two dogs in&lt;br /&gt;
front of me.&lt;br /&gt;
The other one also shouts that he too had two behind&lt;br /&gt;
him. How many are&lt;br /&gt;
they?&lt;br /&gt;
Ans. Three.&lt;br /&gt;
25. A man ate 100 bananas in five days, each day&lt;br /&gt;
eating 6 more than&lt;br /&gt;
the previous day. How many bananas did he eat on the&lt;br /&gt;
first day?&lt;br /&gt;
Ans. Eight.&lt;br /&gt;
26. If it takes five minutes to boil one egg, how long&lt;br /&gt;
will it take to&lt;br /&gt;
boil four eggs?&lt;br /&gt;
Ans. Five minutes.&lt;br /&gt;
27. The minute hand of a clock overtakes the hour hand&lt;br /&gt;
at intervals of&lt;br /&gt;
64 minutes of correct time. How much a day does the&lt;br /&gt;
clock gain or lose?&lt;br /&gt;
Ans. 32 8/11 minutes.&lt;br /&gt;
28. Solve for x and y: 1/x - 1/y = 1/3, 1/x2 + 1/y2&lt;br /&gt;
= 5/9.&lt;br /&gt;
Ans. x = 3/2 or -3 and y = 3 or -3/2.&lt;br /&gt;
29. Daal is now being sold at Rs. 20 a kg. During last&lt;br /&gt;
month its rate&lt;br /&gt;
was Rs. 16 per kg. By how much percent should a family&lt;br /&gt;
reduce its&lt;br /&gt;
consumption so as to keep the expenditure fixed?&lt;br /&gt;
Ans. 20 %.&lt;br /&gt;
30. Find the least value of 3x + 4y if x2y3 = 6.&lt;br /&gt;
Ans. 10.&lt;br /&gt;
31. Can you find out what day of the week was January&lt;br /&gt;
12, 1979?&lt;br /&gt;
Ans. Friday.&lt;br /&gt;
32. A garrison of 3300 men has provisions for 32 days,&lt;br /&gt;
when given at a&lt;br /&gt;
rate of 850 grams per head. At the end of 7 days a&lt;br /&gt;
reinforcement&lt;br /&gt;
arrives and it was found that now the provisions will&lt;br /&gt;
last 8 days&lt;br /&gt;
less, when given at the rate of 825 grams per head.&lt;br /&gt;
How, many more men&lt;br /&gt;
can it feed?&lt;br /&gt;
Ans. 1700 men.&lt;br /&gt;
33. From 5 different green balls, four different blue&lt;br /&gt;
balls and three&lt;br /&gt;
different red balls, how many combinations of balls&lt;br /&gt;
can be chosen&lt;br /&gt;
taking at least one green and one blue ball?&lt;br /&gt;
Ans. 3720.&lt;br /&gt;
34. Three pipes, A, B, &amp;amp; C are attached to a tank. A &amp;amp;&lt;br /&gt;
B can fill it&lt;br /&gt;
in 20 &amp;amp; 30 minutes respectively while C can empty it&lt;br /&gt;
in 15 minutes.&lt;br /&gt;
If A, B &amp;amp; C are kept open successively for 1 minute&lt;br /&gt;
each, how soon&lt;br /&gt;
will the tank be filled?&lt;br /&gt;
Ans. 167 minutes.&lt;br /&gt;
35. A person walking 5/6 of his usual rate is 40&lt;br /&gt;
minutes late. What is&lt;br /&gt;
his usual time? Ans. 3 hours 20 minutes.&lt;br /&gt;
&lt;br /&gt;
36.For a motorist there are three ways going from City&lt;br /&gt;
A to City C. By&lt;br /&gt;
way of bridge the distance is 20 miles and toll is&lt;br /&gt;
$0.75. A tunnel&lt;br /&gt;
between the two cities is a distance of 10 miles and&lt;br /&gt;
toll is $1.00 for&lt;br /&gt;
the vehicle and driver and $0.10 for each passenger. A&lt;br /&gt;
two-lane&lt;br /&gt;
highway without toll goes east for 30 miles to city B&lt;br /&gt;
and then 20&lt;br /&gt;
miles in a northwest direction to City C. &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Aptitude questions III</title><link>http://materialsforjob.blogspot.com/2011/10/aptitude-questions-iii.html</link><category>Aptitude</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Sun, 30 Oct 2011 23:57:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-1197281679632156100</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;37.The letters A, B, C, D, E, F and G, not necessarily&lt;br /&gt;
in that order,&lt;br /&gt;
stand for seven consecutive integers from 1 to 10&lt;br /&gt;
D is 3 less than A&lt;br /&gt;
B is the middle term&lt;br /&gt;
F is as much less than B as C is greater than D&lt;br /&gt;
G is greater than F&lt;br /&gt;
&lt;br /&gt;
1. The fifth integer is&lt;br /&gt;
(a) A&lt;br /&gt;
(b) C&lt;br /&gt;
(c) D&lt;br /&gt;
(d) E&lt;br /&gt;
(e) F&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. A is as much greater than F as which integer is&lt;br /&gt;
less than G&lt;br /&gt;
(a) A&lt;br /&gt;
(b) B&lt;br /&gt;
(c) C&lt;br /&gt;
(d) D&lt;br /&gt;
(e) E&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. If A = 7, the sum of E and G is&lt;br /&gt;
(a) 8&lt;br /&gt;
(b) 10&lt;br /&gt;
(c) 12&lt;br /&gt;
(d) 14&lt;br /&gt;
(e) 16&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
4. A - F = ?&lt;br /&gt;
(a) 1&lt;br /&gt;
(b) 2&lt;br /&gt;
(c) 3&lt;br /&gt;
(d) 4&lt;br /&gt;
(e) Cannot be determined&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. An integer T is as much greater than C as C is&lt;br /&gt;
greater than E. T&lt;br /&gt;
can be written as A + E. What is D?&lt;br /&gt;
(a) 2&lt;br /&gt;
(b) 3&lt;br /&gt;
(c) 4&lt;br /&gt;
(d) 5&lt;br /&gt;
(e) Cannot be determined&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. The greatest possible value of C is how much&lt;br /&gt;
greater than the&lt;br /&gt;
smallest possible value of D?&lt;br /&gt;
(a) 2&lt;br /&gt;
(b) 3&lt;br /&gt;
(c) 4&lt;br /&gt;
(d) 5&lt;br /&gt;
(e) 6&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
38.&lt;br /&gt;
1. All G's are H's&lt;br /&gt;
2. All G's are J's or K's&lt;br /&gt;
3. All J's and K's are G's&lt;br /&gt;
4. All L's are K's&lt;br /&gt;
5. All N's are M's&lt;br /&gt;
6. No M's are G's&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. If no P's are K's, which of the following must be&lt;br /&gt;
true?&lt;br /&gt;
&lt;br /&gt;
(a) All P's are J's&lt;br /&gt;
(b) No P is a G&lt;br /&gt;
(c) No P is an H&lt;br /&gt;
(d) If any P is an H it is a G&lt;br /&gt;
(e) If any P is a G it is a J&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Which of the following can be logically deduced&lt;br /&gt;
from the conditions&lt;br /&gt;
stated?&lt;br /&gt;
&lt;br /&gt;
(a) No M's are H's&lt;br /&gt;
(b) No M's that are not N's are H's&lt;br /&gt;
(c) No H's are M's&lt;br /&gt;
(d) Some M's are H's&lt;br /&gt;
(e) All M's are H's&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Which of the following is inconsistent with one or&lt;br /&gt;
more of the&lt;br /&gt;
conditions?&lt;br /&gt;
&lt;br /&gt;
(a) All H's are G's&lt;br /&gt;
(b) All H's that are not G's are M's&lt;br /&gt;
(c) Some H's are both M's and G's&lt;br /&gt;
(d) No M's are H's&lt;br /&gt;
(e) All M's are H's&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. The statement "No L's are J's" is&lt;br /&gt;
I. Logically deducible from the conditions stated&lt;br /&gt;
II. Consistent with but not deducible from the&lt;br /&gt;
conditions stated&lt;br /&gt;
III. Deducible from the stated conditions together&lt;br /&gt;
with the additional&lt;br /&gt;
statement "No J's are K's"&lt;br /&gt;
&lt;br /&gt;
(a) I only&lt;br /&gt;
(b) II only&lt;br /&gt;
(c) III only&lt;br /&gt;
(d) II and III only&lt;br /&gt;
(e) Neither I, II nor III&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
39.In country X, democratic, conservative and justice&lt;br /&gt;
parties have&lt;br /&gt;
fought three civil wars in twenty years. TO restore&lt;br /&gt;
stability an&lt;br /&gt;
agreement is reached to rotate the top offices&lt;br /&gt;
President, Prime&lt;br /&gt;
Minister and Army Chief among the parties so that each&lt;br /&gt;
party controls&lt;br /&gt;
one and only one office at all times. The three top&lt;br /&gt;
office holders&lt;br /&gt;
must each have two deputies, one from each of the&lt;br /&gt;
other parties. Each&lt;br /&gt;
deputy must choose a staff composed of equally members&lt;br /&gt;
of his or her&lt;br /&gt;
chiefs party and member of the third party.&lt;br /&gt;
&lt;br /&gt;
1. When Justice party holds one of the top offices,&lt;br /&gt;
which of the&lt;br /&gt;
following cannot be true&lt;br /&gt;
&lt;br /&gt;
(a) Some of the staff members within that office are&lt;br /&gt;
justice party members&lt;br /&gt;
(b) Some of the staff members within that office are&lt;br /&gt;
democratic party&lt;br /&gt;
members&lt;br /&gt;
(c) Two of the deputies within the other offices are&lt;br /&gt;
justice party members&lt;br /&gt;
(d) Two of the deputies within the other offices are&lt;br /&gt;
conservative&lt;br /&gt;
party members&lt;br /&gt;
(e) Some of the staff members within the other offices&lt;br /&gt;
are justice&lt;br /&gt;
party members.&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. When the democratic party holds presidency, the&lt;br /&gt;
staff of the prime&lt;br /&gt;
minister's deputies are composed&lt;br /&gt;
I. One-fourth of democratic party members&lt;br /&gt;
II. One-half of justice party members and one-fourth&lt;br /&gt;
of conservative&lt;br /&gt;
party members&lt;br /&gt;
III. One-half of conservative party members and&lt;br /&gt;
one-fourth of justice&lt;br /&gt;
party members.&lt;br /&gt;
&lt;br /&gt;
(a) I only&lt;br /&gt;
(b) I and II only&lt;br /&gt;
(c) II or III but not both&lt;br /&gt;
(d) I and II or I and III&lt;br /&gt;
(e) None of these&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Which of the following is allowable under the rules&lt;br /&gt;
as stated:&lt;br /&gt;
&lt;br /&gt;
(a) More than half of the staff within a given office&lt;br /&gt;
belonging to a&lt;br /&gt;
single party&lt;br /&gt;
(b) Half of the staff within a given office belonging&lt;br /&gt;
to a single party&lt;br /&gt;
(c) Any person having a member of the same party as&lt;br /&gt;
his or her&lt;br /&gt;
immediate superior&lt;br /&gt;
(d) Half the total number of staff members in all&lt;br /&gt;
three offices&lt;br /&gt;
belonging to a single party&lt;br /&gt;
(e) Half the staff members in a given office belonging&lt;br /&gt;
to parties&lt;br /&gt;
different from the party of the top office holder in&lt;br /&gt;
that office.&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. The office of the Army Chief passes from&lt;br /&gt;
Conservative to Justice&lt;br /&gt;
party. Which of the following must be fired.&lt;br /&gt;
&lt;br /&gt;
(a) The democratic deputy and all staff members&lt;br /&gt;
belonging to Justice party&lt;br /&gt;
(b) Justice party deputy and all his or hers staff&lt;br /&gt;
members&lt;br /&gt;
(c) Justice party deputy and half of his Conservative&lt;br /&gt;
staff members in&lt;br /&gt;
the chief of staff office&lt;br /&gt;
(d) The Conservative deputy and all of his or her&lt;br /&gt;
staff members&lt;br /&gt;
belonging to Conservative party&lt;br /&gt;
(e) No deputies and all staff members belonging to&lt;br /&gt;
conservative parties.&lt;br /&gt;
&lt;br /&gt;
Ans. (a)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
40.In recommendations to the board of trustees a&lt;br /&gt;
tuition increase of&lt;br /&gt;
$500 per year, the president of the university said&lt;br /&gt;
"There were no&lt;br /&gt;
student demonstrations over the previous increases of&lt;br /&gt;
$300 last year&lt;br /&gt;
and $200 the year before". If the president's&lt;br /&gt;
statement is accurate&lt;br /&gt;
then which of the following can be validly inferred&lt;br /&gt;
from the&lt;br /&gt;
information given:&lt;br /&gt;
I. Most students in previous years felt that the&lt;br /&gt;
increases were&lt;br /&gt;
justified because of increased operating costs.&lt;br /&gt;
II. Student apathy was responsible for the failure of&lt;br /&gt;
students to&lt;br /&gt;
protest the previous tuition increases.&lt;br /&gt;
III. Students are not likely to demonstrate over new&lt;br /&gt;
tuition increases.&lt;br /&gt;
&lt;br /&gt;
(a) I only&lt;br /&gt;
(b) II only&lt;br /&gt;
(c) I or II but not both&lt;br /&gt;
(d) I, II and III&lt;br /&gt;
(e) None&lt;br /&gt;
&lt;br /&gt;
Ans. (a) &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Frequently Asked microcontroller Interview questions</title><link>http://materialsforjob.blogspot.com/2011/10/frequently-asked-microcontroller.html</link><category>Microcontroller</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 20 Oct 2011 23:55:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-9123138919894778160</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1. What are the flags in 8086? - In 8086 Carry flag, Parity flag,  Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt  flag, Direction flag, and Sign flag.&lt;br /&gt;
2. What are the various interrupts in 8086? - Maskable interrupts, Non-Maskable interrupts.&lt;br /&gt;
3. What is meant by Maskable interrupts? - An interrupt that can be  turned off by the programmer is known as Maskable interrupt.&lt;br /&gt;
&lt;br /&gt;
4. What is Non-Maskable interrupts? - An interrupt which can be never be  turned off (ie.disabled) is known as Non-Maskable interrupt.&lt;br /&gt;
5.  Which interrupts are generally used for critical events? - Non-Maskable  interrupts are used in critical events. Such as Power failure,  Emergency, Shut off etc.,&lt;br /&gt;
6. Give examples for Maskable interrupts? - RST 7.5, RST6.5, RST5.5 are Maskable interrupts&lt;br /&gt;
7. Give example for Non-Maskable interrupts? - Trap is known as  Non-Maskable interrupts, which is used in emergency condition.&lt;br /&gt;
8. What is the Maximum clock frequency in 8086? - 5 Mhz is the Maximum clock frequency in 8086.&lt;br /&gt;
9. What are the various segment registers in 8086? - Code, Data, Stack, Extra Segment registers in 8086.&lt;br /&gt;
10. Which Stack is used in 8086? - LIFO (First In last Out) stack is  used in 8086.In this type of Stack the first stored information is  retrieved first.&lt;br /&gt;
11. What are the address lines for the software interrupts? -&lt;br /&gt;
RST 0  0000 H&lt;br /&gt;
RST1  0008 H&lt;br /&gt;
RST2  0010 H&lt;br /&gt;
RST3  0018 H&lt;br /&gt;
RST4  0020 H&lt;br /&gt;
RST5  0028 H&lt;br /&gt;
RST6  0030 H&lt;br /&gt;
RST7  0038 H&lt;br /&gt;
12. What is SIM and RIM instructions? - SIM is Set Interrupt Mask.  Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used  to check whether the interrupt is Masked or not.&lt;br /&gt;
13. Which is the  tool used to connect the user and the computer? - Interpreter is the  tool used to connect the user and the tool.&lt;br /&gt;
14. What is the  position of the Stack Pointer after the PUSH instruction? - The address  line is 02 less than the earlier value.&lt;br /&gt;
15. What is the position of  the Stack Pointer after the POP instruction? - The address line is 02  greater than the earlier value.&lt;br /&gt;
16. Logic calculations are done in  which type of registers? - Accumulator is the register in which  Arithmetic and Logic calculations are done.&lt;br /&gt;
17. What are the  different functional units in 8086? - Bus Interface Unit and Execution  unit, are the two different functional units in 8086.&lt;br /&gt;
18. Give examples for Micro controller? - Z80, Intel MSC51 &amp;amp;96, Motorola are the best examples of Microcontroller.&lt;br /&gt;
19. What is meant by cross-compiler? - A program runs on one machine and executes on another is called as cross-compiler.&lt;br /&gt;
20. What are the address lines for the hardware interrupts? -&lt;br /&gt;
RST 7.5  003C H&lt;br /&gt;
RST 6.5  0034 H&lt;br /&gt;
RST 5.5  002C H&lt;br /&gt;
TRAP  0024 H&lt;br /&gt;
21. Which Segment is used to store interrupt and subroutine return  address registers? - Stack Segment in segment register is used to store  interrupt and subroutine return address registers.&lt;br /&gt;
22. Which Flags  can be set or reset by the programmer and also used to control the  operation of the processor? - Trace Flag, Interrupt Flag, Direction  Flag.&lt;br /&gt;
23. What does EU do? - Execution Unit receives program  instruction codes and data from BIU, executes these instructions and  store the result in general registers.&lt;br /&gt;
24. Which microprocessor accepts the program written for 8086 without any changes? - 8088 is that processor.&lt;br /&gt;
25. What is the difference between 8086 and 8088? - The BIU in 8088 is  8-bit data bus &amp;amp; 16- bit in 8086.Instruction queue is 4 byte long  in 8088and 6 byte in 8086. &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Written Interview Apptitude Questions</title><link>http://materialsforjob.blogspot.com/2011/10/written-interview-apptitude-questions.html</link><category>Aptitude</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Thu, 20 Oct 2011 23:44:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-5414913414341727593</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1.Three types of tea the a,b,c costs Rs. 95/kg,100/kg and70/kg respectively.&lt;br /&gt;
&lt;br /&gt;
How many kgs of each should be blended to produce 100 kg of mixture worth Rs.90/kg,&lt;br /&gt;
&lt;br /&gt;
given that the quntities of band c are equal&lt;br /&gt;
&lt;br /&gt;
a)70,15,15&lt;br /&gt;
&lt;br /&gt;
b)50,25,25&lt;br /&gt;
&lt;br /&gt;
c)60,20,20&lt;br /&gt;
&lt;br /&gt;
d)40,30,30&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: (b)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.What  is the maximum number of half-pint bottles of cream that can be filled  with a 4-gallon can of cream (2 pt. =1 qt. and 4 qt. =1 gal)&lt;br /&gt;
&lt;br /&gt;
A.16&lt;br /&gt;
&lt;br /&gt;
B.24&lt;br /&gt;
&lt;br /&gt;
C.30&lt;br /&gt;
&lt;br /&gt;
D.64&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: D&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.There  are two circles, one circle is inscribed and another circle is  circumscribed over a square. What is the ratio of area of inner to outer&lt;br /&gt;
&lt;br /&gt;
circle?&lt;br /&gt;
&lt;br /&gt;
Ans: 1 : 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.In the following figure: A B C&lt;br /&gt;
&lt;br /&gt;
D&lt;br /&gt;
&lt;br /&gt;
E F G&lt;br /&gt;
&lt;br /&gt;
H&lt;br /&gt;
&lt;br /&gt;
I&lt;br /&gt;
&lt;br /&gt;
Each of the digits 1, 2, 3, 4, 5, 6, 7, 8, and 9 is:&lt;br /&gt;
&lt;br /&gt;
a)Represented by a different letter in the figure above.&lt;br /&gt;
&lt;br /&gt;
b) Positioned in the figure above so that each of A + B + C,C + D +E,E + F + G, and G + H + I is equal to 13.&lt;br /&gt;
&lt;br /&gt;
Which digit does E represent?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: E is 4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.There are 12 boys and 15 girls, How many different dancing groups can be formed with 2 boys and 3 girls.&lt;br /&gt;
&lt;br /&gt;
48Which of the following fractions is less than 1/3&lt;br /&gt;
&lt;br /&gt;
(a) 22/62&lt;br /&gt;
&lt;br /&gt;
(b) 15/46&lt;br /&gt;
&lt;br /&gt;
(c) 2/3&lt;br /&gt;
&lt;br /&gt;
(d) 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: (b)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6.One of Mr. Horton,his wife,their son,and Mr. Horton's mother is a doctor and another is a lawyer.&lt;br /&gt;
&lt;br /&gt;
a)If the doctor is younger than the lawyer, then the doctor and the lawyer are not blood relatives.&lt;br /&gt;
&lt;br /&gt;
b)If the doctor is a woman, then the doctor and the lawyer are blood relatives.&lt;br /&gt;
&lt;br /&gt;
c)If the lawyer is a man, then the doctor is a man.&lt;br /&gt;
&lt;br /&gt;
Whose occupation you know?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: Mr. Horton:he is the doctor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7.A  person wants to buy 3 paise and 5 paise stamps costing exactly one  rupee. If he buys which of the following number of stamps he won't able  to&lt;br /&gt;
&lt;br /&gt;
buy 3 paise stamps.&lt;br /&gt;
&lt;br /&gt;
Ans: 9&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8.Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament.Of the three games played:&lt;br /&gt;
&lt;br /&gt;
a)In only the first game werethe two players married to each other.&lt;br /&gt;
&lt;br /&gt;
b)The men won two games and the women won one game.&lt;br /&gt;
&lt;br /&gt;
c)The Ayes won more games than the Bees.&lt;br /&gt;
&lt;br /&gt;
d)Anyone who lost game did not play the subsequent game.&lt;br /&gt;
&lt;br /&gt;
Who did not lose a game?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans:Mrs.Bee did not lose a game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9.Two  cars are 15 kms apart. One is turning at a speed of 50kmph and the  other at 40kmph . How much time will it take for the two cars to meet?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans: 3/2 hours&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10.Three  piles of chips--pile I consists one chip, pile II consists of chips,  and pile III consists of three chips--are to be used in game played by&lt;br /&gt;
&lt;br /&gt;
Anita and Brinda.The game requires:&lt;br /&gt;
&lt;br /&gt;
a)That each player in turn take only one chip or all chips from just one pile.&lt;br /&gt;
&lt;br /&gt;
b)That the player who has to take the last chip loses.&lt;br /&gt;
&lt;br /&gt;
c)That Anita now have her turn.&lt;br /&gt;
&lt;br /&gt;
From which pile should Anita draw in order to win?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans:Pile II&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. 9.In a class composed of x girls and y boys what part of the class is composed of girls&lt;br /&gt;
&lt;br /&gt;
A.y/(x + y)&lt;br /&gt;
&lt;br /&gt;
B.x/xy&lt;br /&gt;
&lt;br /&gt;
C.x/(x + y)&lt;br /&gt;
&lt;br /&gt;
D.y/xy&lt;br /&gt;
&lt;br /&gt;
Ans:C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
12.One  of the following is my secret word:AIM DUE MOD OAT TIE.With the list in  front of you, if I were to tell you any one of my secret word,&lt;br /&gt;
&lt;br /&gt;
then you would be able to tell me the number of vowels in my secret word.Which is my secret word?&lt;br /&gt;
&lt;br /&gt;
Ans:TIE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
13.If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2 ^ a = a ^ 3&lt;br /&gt;
&lt;br /&gt;
A.0&lt;br /&gt;
&lt;br /&gt;
B.1&lt;br /&gt;
&lt;br /&gt;
C.-1&lt;br /&gt;
&lt;br /&gt;
D.4&lt;br /&gt;
&lt;br /&gt;
Ans:B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
14.A  coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm.  grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part&lt;br /&gt;
&lt;br /&gt;
of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100 gms.&lt;br /&gt;
&lt;br /&gt;
A.Rs.90&lt;br /&gt;
&lt;br /&gt;
B.Rs.1.00&lt;br /&gt;
&lt;br /&gt;
C.Rs.3.00&lt;br /&gt;
&lt;br /&gt;
D.Rs.8.00&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans:C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
15.There  are 200 questions on a 3 hr examination.Among these questions are 50  mathematics problems.It is suggested that twice as much time be&lt;br /&gt;
&lt;br /&gt;
spent on each maths problem as for each other question.How many minutes should be spent on mathematics problems&lt;br /&gt;
&lt;br /&gt;
A.36&lt;br /&gt;
&lt;br /&gt;
B.72&lt;br /&gt;
&lt;br /&gt;
C.60&lt;br /&gt;
&lt;br /&gt;
D.100&lt;br /&gt;
&lt;br /&gt;
Ans:B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16.In  a group of 15,7 have studied Latin, 8 have studied Greek, and 3 have  not studied either.How many of these studied both Latin and Greek&lt;br /&gt;
&lt;br /&gt;
A.0 B.3 C.4 D.5&lt;br /&gt;
&lt;br /&gt;
Ans.B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17.If 13 = 13w/(1-w) ,then (2w)2 =&lt;br /&gt;
&lt;br /&gt;
A.1/4&lt;br /&gt;
&lt;br /&gt;
B.1/2&lt;br /&gt;
&lt;br /&gt;
C.1&lt;br /&gt;
&lt;br /&gt;
D.2&lt;br /&gt;
&lt;br /&gt;
Ans:C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18. If a and b are positive integers and (a-b)/3.5 = 4/7, then&lt;br /&gt;
&lt;br /&gt;
(A) b &amp;lt; a&lt;br /&gt;
&lt;br /&gt;
(B) b &amp;gt; a&lt;br /&gt;
&lt;br /&gt;
(C) b = a&lt;br /&gt;
&lt;br /&gt;
(D) b &amp;gt;= a&lt;br /&gt;
&lt;br /&gt;
Ans: A&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18.  In june a baseball team that played 60 games had won 30% of its game  played. After a phenomenal winning streak this team raised its average&lt;br /&gt;
&lt;br /&gt;
to 50% .How many games must the team have won in a row to attain this average?&lt;br /&gt;
&lt;br /&gt;
A. 12&lt;br /&gt;
&lt;br /&gt;
B. 20&lt;br /&gt;
&lt;br /&gt;
C. 24&lt;br /&gt;
&lt;br /&gt;
D. 30&lt;br /&gt;
&lt;br /&gt;
Ans: C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
19.  M men agree to purchase a gift for Rs. D. If three men drop out how  much more will each have to contribute towards the purchase of the gift/&lt;br /&gt;
&lt;br /&gt;
A. D/(M-3)&lt;br /&gt;
&lt;br /&gt;
B. MD/3&lt;br /&gt;
&lt;br /&gt;
C. M/(D-3)&lt;br /&gt;
&lt;br /&gt;
D. 3D/(M2-3M)&lt;br /&gt;
&lt;br /&gt;
Ans: D&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
20.  A company contracts to paint 3 houses. Mr.Brown can paint a house in 6  days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8&lt;br /&gt;
&lt;br /&gt;
days  Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6  days. How many days will it take Mr.Blue to complete the contract?&lt;br /&gt;
&lt;br /&gt;
A. 7&lt;br /&gt;
&lt;br /&gt;
B. 8&lt;br /&gt;
&lt;br /&gt;
C. 11&lt;br /&gt;
&lt;br /&gt;
D. 12&lt;br /&gt;
&lt;br /&gt;
Ans:C&lt;br /&gt;
&lt;br /&gt;
21.  2 hours after a freight train leaves Delhi a passenger train leaves the  same station travelling in the same direction at an average speed of&lt;br /&gt;
&lt;br /&gt;
16 km/hr. After travelling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was?&lt;br /&gt;
&lt;br /&gt;
A. 30&lt;br /&gt;
&lt;br /&gt;
B. 40&lt;br /&gt;
&lt;br /&gt;
C.58&lt;br /&gt;
&lt;br /&gt;
D. 60&lt;br /&gt;
&lt;br /&gt;
Ans: B&lt;br /&gt;
&lt;br /&gt;
22. If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?&lt;br /&gt;
&lt;br /&gt;
A.-5&lt;br /&gt;
&lt;br /&gt;
B. 4&lt;br /&gt;
&lt;br /&gt;
C. 2&lt;br /&gt;
&lt;br /&gt;
D. 8&lt;br /&gt;
&lt;br /&gt;
Ans: D&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
23. There are 5 red shoes, 4 green shoes. If one draw randomly a shoe what is the probability of getting a red shoe&lt;br /&gt;
&lt;br /&gt;
Ans: 5c1/ 9c1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
24. What is the selling price of a car? If the cost of the car is Rs.60 and a profit of 10% over selling price is earned&lt;br /&gt;
&lt;br /&gt;
Ans: Rs 66/-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
25. 1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen.&lt;br /&gt;
&lt;br /&gt;
Ans: Cannot be determined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
26. The price of a product is reduced by 30% . By what percentage should it be increased to make it 100%&lt;br /&gt;
&lt;br /&gt;
Ans: 42.857%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
27. There is a square of side 6cm . A circle is inscribed inside the square. Find the ratio of the area of circle to square.&lt;br /&gt;
&lt;br /&gt;
Ans: 11/14&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
28.  There are two candles of equal lengths and of different thickness. The  thicker one lasts of six hours. The thinner 2 hours less than the&lt;br /&gt;
&lt;br /&gt;
thicker  one. Ramesh lights the two candles at the same time. When he went to  bed he saw the thicker one is twice the length of the thinner one. How&lt;br /&gt;
&lt;br /&gt;
long ago did Ramesh light the two candles .&lt;br /&gt;
&lt;br /&gt;
Ans: 3 hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
29. If M/N = 6/5,then 3M+2N = ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
30. If p/q = 5/4 , then 2p+q= ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
31. If PQRST is a parallelogram what it the ratio of triangle PQS &amp;amp; parallelogram PQRST .&lt;br /&gt;
&lt;br /&gt;
Ans: 1:2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32. The cost of an item is Rs 12.60. If the profit is 10% over selling price what is the selling price ?&lt;br /&gt;
&lt;br /&gt;
Ans: Rs 13.86/-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
33. There are 6 red shoes &amp;amp; 4 green shoes . If two of red shoes are drawn what is the probability of getting red shoes&lt;br /&gt;
&lt;br /&gt;
Ans: 6c2/10c2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
34. To 15 lts of water containing 20% alcohol, we add 5 lts of pure water. What is % alcohol.&lt;br /&gt;
&lt;br /&gt;
Ans : 15%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
35.  A worker is paid Rs.20/- for a full days work. He works  1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that  worker ?&lt;br /&gt;
&lt;br /&gt;
Ans : 57.50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
36. If the value of x lies between 0 &amp;amp; 1 which of the following is the largest?&lt;br /&gt;
&lt;br /&gt;
(a) x&lt;br /&gt;
&lt;br /&gt;
(b) x2&lt;br /&gt;
&lt;br /&gt;
(c) -x&lt;br /&gt;
&lt;br /&gt;
(d) 1/x&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ans : (d)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
37.  If the total distance of a journey is 120 km .If one goes by 60 kmph  and comes back at 40kmph what is the average speed during the journey?&lt;br /&gt;
&lt;br /&gt;
Ans: 48kmph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
38. A school has 30% students from Maharashtra .Out of these 20% are Bombey students. Find the total percentage of Bombay?&lt;br /&gt;
&lt;br /&gt;
Ans: 6%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
39. An equilateral triangle of sides 3 inch each is given. How many equilateral triangles of side 1 inch can be formed from it?&lt;br /&gt;
&lt;br /&gt;
Ans: 9&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
40. If A/B = 3/5,then 15A = ?&lt;br /&gt;
&lt;br /&gt;
Ans : 9B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
41. Each side of a rectangle is increased by 100% .By what percentage does the area increase?&lt;br /&gt;
&lt;br /&gt;
Ans : 300%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
42.  Perimeter of the back wheel = 9 feet, front wheel = 7 feet on a certain  distance, the front wheel gets 10 revolutions more than the back&lt;br /&gt;
&lt;br /&gt;
wheel.What is the distance?&lt;br /&gt;
&lt;br /&gt;
Ans : 315 feet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
43.  Perimeter of front wheel =30, back wheel = 20. If front wheel revolves  240 times. How many revolutions will the back wheel take?&lt;br /&gt;
&lt;br /&gt;
Ans: 360 times&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
44. 20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution&lt;br /&gt;
&lt;br /&gt;
Ans: 36%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
45.City  A's population is 68000, decreasing at a rate of 80 people per year.  City B having population 42000 is increasing at a rate of 120 people per  year. In how many years both the cities will have same population?&lt;br /&gt;
&lt;br /&gt;
Ans: 130 years &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Embedded systems Frequently Asked interview questions</title><link>http://materialsforjob.blogspot.com/2011/10/embedded-systems-frequently-asked.html</link><category>Embedded</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Wed, 19 Oct 2011 23:54:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-5560972215315212169</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1. Can structures be passed to the functions by value?&lt;br /&gt;
2. Why cannot arrays be passed by values to functions?&lt;br /&gt;
3. Advantages and disadvantages of using macro and inline functions?&lt;br /&gt;
4. What happens when recursion functions are declared inline?&lt;br /&gt;
5. Scope of static variables?&lt;br /&gt;
6. Difference between object oriented and object based languages?&lt;br /&gt;
7. Multiple inheritance - objects contain howmany multiply inherited ancestor?&lt;br /&gt;
8. What are the 4 different types of inheritance relationship?&lt;br /&gt;
9. How would you find out the no of instance of a class?&lt;br /&gt;
10. Is java a pure object oriented language? Why?&lt;br /&gt;
11. Order of constructor and destructor call in case of multiple inheritance?&lt;br /&gt;
12. Can u have inline virtual functions in a class?&lt;br /&gt;
13. When you inherit a class using private keyword which members of base class are visible to the derived class?&lt;br /&gt;
14. What is the output of printf("\nab\bcd\ref"); -&amp;gt; ef&lt;br /&gt;
15. #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?&lt;br /&gt;
16. Can you have constant volatile variable? Yes, you can have a volatile pointer?&lt;br /&gt;
17. ++*ip increments what? it increments what ip points to&lt;br /&gt;
18. Operations involving unsigned and signed — unsigned will be converted to signed&lt;br /&gt;
19. a+++b -&amp;gt; (a++)+b&lt;br /&gt;
20. malloc(sizeof(0)) will return — valid pointer&lt;br /&gt;
21. main() {fork();fork();fork();printf("hello world"); } — will print 8 times.&lt;br /&gt;
22. Array of pts to functions — void (*fptr[10])()&lt;br /&gt;
23. Which way of writing infinite loops is more efficient than others? there are 3ways.&lt;br /&gt;
24. # error — what it does?&lt;br /&gt;
25. How is function itoa() written?&lt;br /&gt;
26. Who to know wether systemuses big endian or little endian format and how to convert among them?&lt;br /&gt;
27. What is interrupt latency?&lt;br /&gt;
28. What is forward reference w.r.t. pointers in c?&lt;br /&gt;
29. How is generic list manipulation function written which accepts elements of any kind?&lt;br /&gt;
30. What is the difference between hard real-time and soft real-time OS?&lt;br /&gt;
31. What is interrupt latency? How can you recuce it?&lt;br /&gt;
32. What is the differnce between embedded systems and the system in which rtos is running?&lt;br /&gt;
33. How can you define a structure with bit field members?&lt;br /&gt;
34. What are the features different in pSOS and vxWorks?&lt;br /&gt;
35. How do you write a function which takes 2 arguments - a byte and a  field in the byte and returns the value of the field in that byte?&lt;br /&gt;
36. What are the different storage classes in C?&lt;br /&gt;
37. What are the different qualifiers in C?&lt;br /&gt;
38. What are the different BSD and SVR4 communication mechanisms &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Interview Puzzles I</title><link>http://materialsforjob.blogspot.com/2011/10/interview-puzzles-i.html</link><category>Logical</category><category>Puzzles</category><author>noreply@blogger.com (Jegadeesan)</author><pubDate>Tue, 18 Oct 2011 23:50:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7874184612302666000.post-8269120599336817647</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1.There is a game which is being played by 2 persons A and B. The 2  players start the game keeping identical 50 paise coins on a blank board  alternately. The 50 paise coins can be kept in the board such that no  part of the coin is outside the board. It can touch the board edge but  cannot protrude outside the board. The two players can place the coins  anywhere on the board. The coins placed during the course of the game  can touch each other at the periphery but cannot overlap with the  already placed coins.&lt;br /&gt;
&lt;br /&gt;
The player who has space to place the  last coin is the winner i.e the player placing the last coin on the  board with no space available for the opponent is the winner. If you are  one of the players, what will your strategy be so that you definitely  win?&lt;br /&gt;
&lt;br /&gt;
Answer:-&lt;br /&gt;
&lt;br /&gt;
1. I shall keep the 1st coin the exact centre of the board.&lt;br /&gt;
2. now after each coin that he keeps, I shall keep a coin exactly  diagonally opposite. This shall reduce the space for his further  attempts more than any other strategy.&lt;br /&gt;
&lt;br /&gt;
2.Two guys A &amp;amp; B  found out a old coin.on one side of that there is a picture of a king  and on the other side it was written as 200B.C&lt;br /&gt;
A told that the coin is a fake one but B said the other way. so who is right and why?&lt;br /&gt;
&lt;br /&gt;
Answer:-&lt;br /&gt;
A is right. How would the coin maker know that there were 200 years left for Jesus to be born before he even existed?&lt;br /&gt;
&lt;br /&gt;
3.A man had three daughters. Another man asked him the ages of his daughter. He told that the product of their ages is 36.&lt;br /&gt;
Second man was confused and asked for another clue. First man told  him that the sum of their ages is equal to his house number.&lt;br /&gt;
Second man did some calculations and was still confused. He asked for  another clue. First man told him that his youngest daughter had blue  eyes. On hearing this, second man immediately gave the correct Answer.&lt;br /&gt;
&lt;br /&gt;
Question : What are the ages of his daughter ?&lt;br /&gt;
&lt;br /&gt;
Answer:-&lt;br /&gt;
Ages:1,6,6&lt;br /&gt;
&lt;br /&gt;
Solution:-&lt;br /&gt;
To begin with, there is a small logical assumption that all the ages are integers.&lt;br /&gt;
&lt;br /&gt;
4.Further to this, it is given that the product of the daughters' ages is 36. This gives the man just 8 possibilities:&lt;br /&gt;
&lt;br /&gt;
AGE 1 AGE 2 AGE 3 SUM OF AGES&lt;br /&gt;
1 1 36 38&lt;br /&gt;
1 2 18 21&lt;br /&gt;
1 3 12 16&lt;br /&gt;
1 4 9 14&lt;br /&gt;
1 6 6 13&lt;br /&gt;
2 2 9 13&lt;br /&gt;
2 3 6 11&lt;br /&gt;
3 3 4 10&lt;br /&gt;
&lt;br /&gt;
The correct solution has to exist within this range possibilities because the man could guess the same.&lt;br /&gt;
&lt;br /&gt;
Calculation of the sum of their ages (the rightmost column) shows  the only possible instances of the house no. If the sum were 38, 21, 16,  14, 11, or 10, he would have been able to guess the ages immediately.  He was not able to do so only because the number of the house and the  sum of the ages was 13! (This is because, even after this hint the  solution was not unquely deducible…!!) Because of this, he did not have a  unique solution until the man informed her about his youngest daughter.&lt;br /&gt;
&lt;br /&gt;
It becomes clear that there is no ambiguity at this  "youngest"position and that not two of them are tied at this position (  in case the ages would have been 9,2, and 2) . This is possible only if  Kiran's daughters are 1, 6, and 6 years old.&lt;br /&gt;
&lt;br /&gt;
With similar arguments, assuming no tie at the eldest position the correct set of ages would be 9, 2, 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.Long back there was a king..&lt;br /&gt;
He had a very pretty daughter&lt;br /&gt;
He decided to hold a Svyamvar for his daughter&lt;br /&gt;
He called everyone but forgot to call a magician&lt;br /&gt;
Magician was very angry . He kidnapped the king's daughter.&lt;br /&gt;
King was very upset . He goes to the magician and pleads before him.&lt;br /&gt;
The magician , being soft at heart , tells the king that :&lt;br /&gt;
" O great King!! I agree to return your daughter back.&lt;br /&gt;
I 'll turn her into a flower and place her in your garden tomorrow morning.&lt;br /&gt;
You come there tomorrow morning.&lt;br /&gt;
If you are able to recognise her then I will return her back to u"&lt;br /&gt;
&lt;br /&gt;
The next morning the king goes to his garden recognises his daughter and the magician returns her back to the king.&lt;br /&gt;
The question is how did the king recognise his daughter???&lt;br /&gt;
Some pts. to be noted:&lt;br /&gt;
1.The garden had all the species of flowers so the daughter was just like any other flower.&lt;br /&gt;
2. There are no tricks . The Answer is purely based on logic.&lt;br /&gt;
&lt;br /&gt;
Solution:-&lt;br /&gt;
The king was very clever. When he heard that he "had" to recognise  her daughter "flower" the next morniong, he decided to play a game with  the magician. He went to the garden quitely late in the night and made  some mark on all the flowers that existed there already. So when he came  back to the garden the next morning, the task was cut out simple for  him. He had to only look for a flower w/o that mark. And EUREKA...He  found it.&lt;br /&gt;
What about all the flowers that Bloomed overnight?  After marking all the flowers he also nipped all the Buds. This way he  would be having a higher probability in identifying his daughter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6.A man is trapped in a room.The room has 2 doors and 2 guards on  those doors.One guard always speak true and the other always lie.Out of  the two doors one goes towards escape and one towards jail. The man does  not know which guard is lier and on which door and of course which door  opens where. Fortunately,he has given a chance of escape by asking only  one question to any of the guards.&lt;br /&gt;
Now the question is what question the man should ask?&lt;br /&gt;
&lt;br /&gt;
Solution:-&lt;br /&gt;
Suppose the situation is&lt;br /&gt;
&lt;br /&gt;
Gaurd 1 stands at Door 1 and Guard 2 stands at Door 2&lt;br /&gt;
&lt;br /&gt;
The man should ask the Guard 1 this question -&lt;br /&gt;
&lt;br /&gt;
" What will be the Answer of the Guard 2 when I ask him where does door 2 lead to?"&lt;br /&gt;
&lt;br /&gt;
case 1:&lt;br /&gt;
&lt;br /&gt;
If the Guard 1 Says "Guard 2 will say - towards JAIL" -&lt;br /&gt;
then the Door 2 will take him outside&lt;br /&gt;
&lt;br /&gt;
Case 2:&lt;br /&gt;
&lt;br /&gt;
If the Guard 1 Says "Guard 2 will say - towards outside" -&lt;br /&gt;
then the Door 1 will take him outside&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7.A king has 100 sons(not dhritarashtra) and he wants a real fundoo  girl to become his daughter-in-law. so he sets a plan. a certain amount  is fixed for each son. (this much amount is to be given to the girl who  marries that particular son). after that he invites a girl. the  condition is that each son will be prsented to the girl and his amount  will be told. you can choose any son randomly and after knowing the  amount you can either accept or reject the guy. and go for another one,  again randomly. but you can't go back to a previously rejected guy. the  question is to get the maximum amount what will be your strategy?&lt;br /&gt;
&lt;br /&gt;
The music stopped. She died. Explain&lt;br /&gt;
&lt;br /&gt;
Answer:-&lt;br /&gt;
She was on LSS(Life Support System) and there was no UPS or power back up. The music stopped as the power went boom!&lt;br /&gt;
&lt;br /&gt;
8. A man goes to a restaurant and orders Albatross Soup. The waiter  brings the soup. The man tastes it, comes out of the restaurant and  shoots himself. Why?&lt;br /&gt;
&lt;br /&gt;
Reason: Albatross soup (variant 1.2 of  18 available across the globe) served in that hotel was extremely hot  and poisonous. Got him all "fired" up. Didn't prolong the agony and shot  himself.&lt;br /&gt;
&lt;br /&gt;
9. A man wakes up in the morning, goes to a place,  takes three left turns in succession and meets a masked man. What is the  profession of the first man?&lt;br /&gt;
&lt;br /&gt;
Profession: Good Samritan 4 times over.&lt;br /&gt;
Reason: The man had done 4 "right" turns (good deeds) the previous  day so to make for the imbalance, he did 3 "left" turns and met his long  lost friend Long Gone Silver whose face got burnt during the fire at  the theatres on Friday the 13th, October 1999.&lt;br /&gt;
&lt;br /&gt;
10.A Jailor has three bullets and he has four prisoners&lt;br /&gt;
The three of them are standing on the stairs one on first staircase  second on second and the third on third&amp;amp; the fourth prisoner is made  to sit in a closed room with no windows in proper security Jailor make  the prisoners wear a cap,two of red colour &amp;amp; two of white He gave  them a cap each No body knows about the colour of their cap neither can  they see it&lt;br /&gt;
He declares that in his count for three if anyone of them will tell&lt;br /&gt;
the colour of his cap,he will spare him&lt;br /&gt;
You have to simply find that who is that lucky guy ???&lt;br /&gt;
&lt;br /&gt;
Solution:-&lt;br /&gt;
i assume that the jailor will spare only the person who tells the  colour of the cap first if he is right. also there is something worse  than death to dissuade people from making false calls. and lastly that  the lucky person is eager to get the ordeal over and if somebody knows  the colour of his cap he will speak up immediately.&lt;br /&gt;
&lt;br /&gt;
now under these assumptions:&lt;br /&gt;
the fourth person is helpless as he cannot see anything and due to  the symmetry the replies do not give him any extra indicatons.&lt;br /&gt;
&lt;br /&gt;
the third person sees two caps and if they are the same colour he  speaks up immediately. now even the second person knows the colour of  his cap as it is the same as the colour of the first persons cap, but  unfortunately the lucky berth is gone.&lt;br /&gt;
&lt;br /&gt;
if the first two are  wearing different coloured caps the third is helpless and hence doesnot  speak up. now the second person can infer the colour of his cap from the  colour of the cap worn by the first person and speaks up and is spared.&lt;br /&gt;
&lt;br /&gt;
so depending on the colours of the first two caps either the second  or the third person is spared. now to determine the lucky guy we need  the probablity of the first two guys getting a cap of the same colour  which is 1/3, where as that they get different colour has 2/3 probablity  and so the 2nd person could be called the luckiest if you wish!! &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>