<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2387574353666087948</id><updated>2011-07-07T14:17:07.116-07:00</updated><title type='text'>HAVE FUN WITH MACHINE</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-1269948493037656153</id><published>2010-07-11T00:19:00.000-07:00</published><updated>2010-07-11T00:21:33.706-07:00</updated><title type='text'>IBM Placement Papers</title><content type='html'>&lt;strong&gt;Latest Sample Placement Paper Of IBM For Year-2009-10  ( Reasoning)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Directions (Q. 1-8): Read the following information carefully and answer the given questions: Following are the criteria for appointing a Personnel Manager for a company. The candidate must...&lt;br /&gt;A) not be more than 35 year as on 1.6.2000.&lt;br /&gt;B) be a postgraduate in personnel management.&lt;br /&gt;C) have work experience as personnel officer/manager of at least five years.&lt;br /&gt;D) have good command over English. In the case of a candidate-&lt;br /&gt;(i) who satisfies all the criteria expect at (A) above but has work experience as personnel manager for at least 10 years, his/her case may be referred to Director (Personnel) for consideration.&lt;br /&gt;(ii) who satisfies all the other criteria except at (C) above but has obtained Ph.D. degree in Personnel Management, his/her case may be referred to Managing Director for consideration.&lt;br /&gt;You are given the following cases on 1.6.2000. Depending upon the information provided in each case in each of the questions given below and based on the criteria mentioned above, recommend your decision. You are not to assume anything. Mark your answer as per the following:&lt;br /&gt;Mark answer (1): if the candidate is to be selected.&lt;br /&gt;Mark answer (2): if the candidate is not to be selected.&lt;br /&gt;Mark answer (3): if the case to be referred to Director (Personnel).&lt;br /&gt;Mark answer (4): if the case is to be referred to Managing Director.&lt;br /&gt;Mark answer (5): if complete information is not provided.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1) Kamini Gadgil is a post-graduate in Personnel Management and was born on 15th August 1967. She has been working in a company for the last 10 years as personnel Officer.&lt;br /&gt;&lt;br /&gt;2.) Aditi Sahay is a doctorate (Ph. D.) in Personnel Management. She has been working in a company as personnel officer for the last two years. She has good command over English and was born on 2nd November, 1964.&lt;br /&gt;&lt;br /&gt;3.) Vijay Kulkarni is a graduate in Personnel Management. He was 32 years old as on 1st December 1999. He has good command over English and has been working in a company as Personnel Manager for the last 12 years.&lt;br /&gt;4.) Pradeep Sarkar is post-graduate in Personnel Management and has been working in a company as a Personnel Manager for the last 15 years. He has good command over English and his date of birth is 13th April, 1964.&lt;br /&gt;&lt;br /&gt;5.) Praveen Chopra is post-graduate in Personnel Management and has been working in a company as Personnel Officer for the last 7 years. He has good command over English and his date of birth is 20th March, 1967.&lt;br /&gt;&lt;br /&gt;6.) Priya Karkhanis was born on 25th January, 1968. She has been working in a company as Personnel Manager for the last three years. She has good command over English. She has done Ph. D. in Personnel Management.&lt;br /&gt;7.) Nirmala Pandey has passed post-graduation examination in Personnel Management. She has good command over English and she has been working in a company as Personnel Officer for the last five years. She was born on 17th May, 1969.&lt;br /&gt;&lt;br /&gt;8.) Anees Ahmad is Post-graduate in Personnel Management. He has been working a Personnel Officer for the last seven years. He has good command over English.&lt;br /&gt;&lt;br /&gt;Directions (Q. 9-14):In each question below is given a statement followed by two courses of action I and II. A course of action is a step or administrative decision to be taken for improvement, follow-up or further action in regard to the problem, policy, etc. on the basis of the information given in the statement. You have to assume everything in the statement to be true, then decide which of the given suggested courses of action (5) logically follows for pursuing.&lt;br /&gt;Give answer (1): if only I follows.&lt;br /&gt;Give answer (2): if only II follows.&lt;br /&gt;Give answer (3): if either I or II follows.&lt;br /&gt;Give answer (4): if neither I nor II follows.&lt;br /&gt;Give answer (5): if both I and II follow.&lt;br /&gt;&lt;br /&gt;9.) Statement: Severe drought is reported to have set in several parts of the country.&lt;br /&gt;Courses of action: I. Govt should immediately make arrangement for providing financial assistance to those affected.&lt;br /&gt;II. Food, water and fodder should immediately be sent to all these areas to save the people and cattle.&lt;br /&gt;&lt;br /&gt;10.) Statement: A larger number of lower-ranked politicians are murdered by antisocial elements in city A.&lt;br /&gt;Courses of action: I. All those in the city with criminal records should immediately be arrested.&lt;br /&gt;II. The city police should keep a close vigil on the movements of anti-social elements so as to prevent future attacks.&lt;br /&gt;&lt;br /&gt;11.) Statement: It is reported that though Vitamin E present in fresh fruits and fresh vegetables is beneficial for human body, capsuled Vitamin E does not have same effect on human body. &lt;br /&gt;Courses of action: I. The sale of capsuled Vitamin E should be banned.&lt;br /&gt;II. People should be encouraged to take fresh fruits and fresh vegetables to meet the body requirement of Vitamin E.&lt;br /&gt;&lt;br /&gt;12.)Statement: India has been continuously experiencing military threats from its neighboring countries. &lt;br /&gt;Courses of action: I. India should engage in an all-over war to stop the nagging threats.&lt;br /&gt;II. India should get the neighbors into a serious dialogue to reduce the tension at its borders.&lt;br /&gt;&lt;br /&gt;13.) Statement: India has now been recognized by the Western world as a vast resource of knowledge and the latter is eager to use the same. &lt;br /&gt;Courses of action: I. India should exploit this opportunity to hasten its economic growth.&lt;br /&gt;II. India should bargain effectively with the Western world and become a super power in South Asia.&lt;br /&gt;&lt;br /&gt;14.)Statement: It is estimated that about twenty lakh people will visit the city during the ensuing festival. &lt;br /&gt;Courses of action:  I. The civic authority should make adequate arrangements to tackle the situation.&lt;br /&gt;II. All the hospitals in the city should be put on high alert in case of any eventuality.&lt;br /&gt;&lt;br /&gt;15.)In a certain code language watch is called book, book is called pen, pen is called air, air is called fire, fire is called water, water is called yellow and yellow is called green. Then what is the colour of fire in that language? &lt;br /&gt;1) Yellow&lt;br /&gt;2) Water&lt;br /&gt;3) Green&lt;br /&gt;4) Air&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;Directions (Q. 16-22): In the following questions an expression has been given for which you have to give a one-word substitute as your answer from the given alternatives. If none of the alternatives are correct your answer will be 5), ie None of these.&lt;br /&gt;&lt;br /&gt;16.)A tale in literature not having true incidents&lt;br /&gt;1) Fable&lt;br /&gt;2) Allegory&lt;br /&gt;3) Novel&lt;br /&gt;4) Fantasy&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;17.)Liable to commit mistake or error&lt;br /&gt;1) Superficial&lt;br /&gt;2) Fallible&lt;br /&gt;3) Buffoon&lt;br /&gt;4) Humane&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;18.)Wandering in search of adventure&lt;br /&gt;1) Gypsy&lt;br /&gt;2) Gyrate&lt;br /&gt;3) Expedite&lt;br /&gt;4) Errant&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;19.)Incapable of being satisfied&lt;br /&gt;1) Greedy&lt;br /&gt;2) Nomadic&lt;br /&gt;3) Insatiable&lt;br /&gt;4) Devilish&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;20.)Not having made a will&lt;br /&gt;1) Generous&lt;br /&gt;2) Intestate&lt;br /&gt;3) Munificent&lt;br /&gt;4) Voluntary&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;21.)Rakhi starts from point Q and moves in southward direction for 25 metres; then she turns left and moves 30 metres; then she turns right and moves 15 metres to reach point P. What is the distance and direction of P from Q?&lt;br /&gt;1) 50 metres South-West&lt;br /&gt;2) 50 metres South-East&lt;br /&gt;3) 45 metres South-East&lt;br /&gt;4) 40 metres South&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;22.)Two brothers Kanhaiya and Kishore are in a habit of passing comments on their friends, which they somehow also use as passcode for e-mail. Kanhaiya's comment is 'Don't live always in a fool's paradise' and his passcode is 'fool's live in paradise a don't always'. If Kishore's comment is 'Listen time and tide waits for none', then what will be his passcode by the same rule?&lt;br /&gt;1) for time tide none waits listen and&lt;br /&gt;2) for time none tide waits listen and&lt;br /&gt;3) for time tide waits none listen and&lt;br /&gt;4) for time tide none listen waits and&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;23.)If 'grey' means 'yellow'; 'yellow' means 'white'; 'white' means 'blue'; 'blue' means 'red'; 'red' means 'black’; and 'black' 'violet’; then what is the colour of clear sky?&lt;br /&gt;1) red&lt;br /&gt;2) white&lt;br /&gt;3) violet&lt;br /&gt;4) black&lt;br /&gt;5) yellow&lt;br /&gt;&lt;br /&gt;24.)Among M, N, D, P and W, D is taller than M and W. P is taller than D and N. Who among them is shortest?&lt;br /&gt;1) M&lt;br /&gt;2) W&lt;br /&gt;3) D&lt;br /&gt;4) Data inadequate&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;25.)Four of the following five are alike in a certain way and so form a group. Which is the one that does not belong to that group?&lt;br /&gt;1) Wheat&lt;br /&gt;2) Paddy&lt;br /&gt;3) Jowar&lt;br /&gt;4) Corn&lt;br /&gt;5) Sesame&lt;br /&gt;ANSWERS 1.(5)   2.(2)   3.(2)    4.(3)    5.(1)    6.(4)    7.(1)    8. (5)    9.(2)    10.(2)    11. (2)    12. (2)    13.(5)    14. (1)    15.(3)    16. (1)   17.(2)   18.(4)   19.(3)   20.(2)   21.(2)    22. (1)    23.(1)   24. (4)   25.(5)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2387574353666087948-1269948493037656153?l=computeredu4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/1269948493037656153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2387574353666087948&amp;postID=1269948493037656153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/1269948493037656153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/1269948493037656153'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/2010/07/ibm-placement-papers.html' title='IBM Placement Papers'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-2479693009260453352</id><published>2010-07-11T00:07:00.000-07:00</published><updated>2010-07-11T00:19:09.327-07:00</updated><title type='text'>CSC Placement Papers</title><content type='html'>&lt;strong&gt;CSC PREPARATION GUIDE&lt;br /&gt;CSC has got 5 rounds to go through&lt;br /&gt;•         Aptitude written&lt;br /&gt;•         Technical Written &amp; Essay&lt;br /&gt;•         GD/JAM&lt;br /&gt;•         Technical HR&lt;br /&gt;•         Personal HR&lt;/strong&gt;CSC ROUND1: APTITUDE&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;R.s AGGARWAL Book is more than enough to clear this round. So keep practicing mainly on following areas&lt;br /&gt;• Averages &amp;Percentages &lt;br /&gt;• Profit &amp; loss &lt;br /&gt;• Ratios &amp; Ages &lt;br /&gt;• Time &amp; Distance &lt;br /&gt;• Probability n combinations &lt;br /&gt;• Analogies &lt;br /&gt;• Sudoku type&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;TEST-1&lt;/strong&gt;&lt;br /&gt;1)There are 3 piles of books on the table you need to arrange them in the self such that 1st book of each pile gets placed on the self,what is the possible no of arrangements:&lt;br /&gt;a)12!    b)12C3 * 9C4 c)12^12 d)none&lt;br /&gt;&lt;br /&gt;2)Price of a book increases 15% successively (2times) what is the new price of the book more compared to that of the old price:&lt;br /&gt;a)32.25%    b)23.34%    c)36%    d)39%&lt;br /&gt;&lt;br /&gt;3)There are 3 mixtures when mixed in the ratio of 3:4:5 price was 240.When mixed with 6:4:9 price was 340.what's the price when mixed in 5:6:8 ration price is_________&lt;br /&gt;&lt;br /&gt;4)One question based on Venn Diagram.75 total no of students.25 don't know typing,50 know shorthand.then question were based on find no of students dont knwing both etc.&lt;br /&gt;&lt;br /&gt;5)One person has 2 child.At least one of them was a girl.Then the Probability that 2 of the are girl is_____&lt;br /&gt;a)1/2    b)1/4    c)0.36    d)1&lt;br /&gt;&lt;br /&gt;6)Swati when get married to jayanta her age was 3/4 th of her husband's age.After 12 years her age became 5/6 th of her husband's age.Then what's the age of swati when she got married??&lt;br /&gt;&lt;br /&gt;7)y=MAX((3x+y),(11x-y))&lt;br /&gt;then what's the value of y???&lt;br /&gt;&lt;br /&gt;8)some passages were there based on illegal drugs smuggling and based on this some questions.&lt;br /&gt;&lt;br /&gt;9)Some Analogy Questions: some i do remeber like SYCOPHANTIC: FLATTER SILENT: QUIET others i dont remember.&lt;br /&gt;&lt;br /&gt;10)Some questions based on&lt;br /&gt;if  f(x,0)=x+1&lt;br /&gt;f(o,y)=y&lt;br /&gt;f(x,y)=f(f(x,0),f(2*x-1))&lt;br /&gt;&lt;br /&gt;then find f(1,1),f(2,3),f(3,0) etc and some relations based on this very easy&lt;br /&gt;11)One question based on the average speed&lt;br /&gt;12)one question based on Sudoku type very easy,u can do it in one attempt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-2&lt;br /&gt;&lt;br /&gt;1. Sudoku. you need to fill-up the table using the hint(addition of row, column, diagonal =15) and available cell values. its easy. if you figure it out, you can answer(very easy)&lt;br /&gt;five questions correctly.&lt;br /&gt;2.If y=MAX((3x+y),(11x-y)) then what's the value of y?&lt;br /&gt;3.1 Que. on book arrangement. if u find out the series you can ans five ques. correctly.&lt;br /&gt;4.2 Ques. on Probability, ages&lt;br /&gt;5. Ages&lt;br /&gt;6. Venn diagram --&gt; Out of 100 students, 45 do not know typing, 60 know shorthand. 25 know both 6 do not know anything then find out haw many know both?&lt;br /&gt;7. if  f(y,0)=y+1, f(o,x)=x; f(y,x)=f(f(y,0),f(2*y-1))  then find f(1,1),f(2,3),f(3,0); 3 question based on this. Its very very simple...&lt;br /&gt;8. 1 Ques on Percentage : Price of a book increases 15% successively (2times) what is the new price of the book more compared to that of the old price:&lt;br /&gt;   a)32.25%    b)23.34%    c)36%    d)39%&lt;br /&gt;9. 2 Questions based on Time and speed.&lt;br /&gt;10. Passage and questions...&lt;br /&gt;11.question on synonyms and antonyms&lt;br /&gt;TEST-3&lt;br /&gt;&lt;br /&gt;3 ques on time speed distance....there are 2 stataions A nd B....the distance between them is 150 km....&lt;br /&gt;slow train covers dat distance in 2.5 hrs nd fast train in 1.5 hrs....now slow train leaves station A half an hour&lt;br /&gt;befor fast train....after wat time wud dey meet....nd at wat distance from(language was different)&lt;br /&gt; &lt;br /&gt;dere was 1 ques on profit....calculate d CP of 1 hen nd den SP of 1 hen after dat profit on 1 hen....den an&lt;br /&gt;amount of profit was given u hd 2 calculate d no. of hens dat give dat amount of profit&lt;br /&gt; &lt;br /&gt;2 ques on jumbled up sentences u hd to form a meaningful paragraph out of dem&lt;br /&gt; &lt;br /&gt;3 ques on a paragraph...dere r 4 ppl, 1 is a dancer 1 is a painter 1 is a writer nd 1 is a singer....u hd 2&lt;br /&gt;indentify which is a dancer which a singer.....&lt;br /&gt; &lt;br /&gt;2 ques on...dere r 3 frens nd dey hv sum marbles wid dem...now x gives to y nd z amount of marbles&lt;br /&gt;which dey already hv...nd den z gives 2 x nd y amount of marbles which dey already hv...now dey&lt;br /&gt;hv equal no. of marbles...also total no. of marbles was given...u hv 2 make equations nd solve dis ques&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-4&lt;br /&gt;     &lt;br /&gt; 1.  A 3*3 blck is given and should be filled frm 1...9 they gave 3 numbers nd when coundted horizontally,vertically and diagnally they should sum 15. they gave nearly 7 questions on this blk really easy if u practice sudoku.&lt;br /&gt;      2. If x,y are 2 positive integers and they are derived as follows:&lt;br /&gt;        f(0,y)=y+1.&lt;br /&gt;        f(x,0)=x&lt;br /&gt;        f(x,y)=f(x-1,f(0,y-1))&lt;br /&gt;        f(0,0)=1&lt;br /&gt;          then wats the value of f(3,0),f(1,2) etc nd hw f(1,2) can be derived in terms f(0,0),f(0,2),f(3,0)&lt;br /&gt;               there 5 questions relating to this.&lt;br /&gt;     3. 1question on ages i dont properly remember the questions&lt;br /&gt;     4.7 questions on anlogy,fill in the blanks&lt;br /&gt;     5.deriving conclusions 10 questions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-5&lt;br /&gt;apti/quant/logical&lt;br /&gt;it was a very tough test i hav given test of 6-7 companies but csc test was toughest&lt;br /&gt;ther vr linear equations questions wich vr not at all easy&lt;br /&gt;questions on sets&lt;br /&gt;-permutaion combination&lt;br /&gt;-arrangement logical ques&lt;br /&gt;- distance speed ques&lt;br /&gt;- time question&lt;br /&gt;-ques like 90% of 1 litree milk and 60% of 40 litre water result in 67% mixture so wht is compostion of milk in litres?&lt;br /&gt;-ques like f has pririty over h and g has priortiy over i so now 4-5 ques based on this&lt;br /&gt;-length is increased by 5 and breadth is decreased ny 10 thn total is 200m and whn length decreasd by 5 and breadth increasd by 15 thn total is 75 m, fing length&lt;br /&gt;-a&gt;b&gt;c so wich is tru&lt;br /&gt;ab&gt;ac or a/b&gt;b/c or som more options&lt;br /&gt;-6 girls and 6 boys, all boys and all girls will sit together so no of possible ways&lt;br /&gt;- cow is tied with rope from two sides 40 40 cm and forming an angle 24degree size of rope is 15cm so how much area in wich cow can graze&lt;br /&gt;-7 orange and 5 apples cost 16.90 rs and 5 oranges and 7 apples cost 2.60 so no of oranges&lt;br /&gt;-ther is a place wher ppl r either no or yes. if ram sain 2and 2 makes four thn he is yes and similarly if mohan said 2 -1 is 2 thn he is no. so now ques based on this&lt;br /&gt;- paragraph given and u hav to conlude or find contradicting line&lt;br /&gt;and rest all questions vr very tough so i dont remember thm at all &lt;br /&gt;&lt;br /&gt;CSC ROUND2: TECHNICAL WRITTEN&lt;br /&gt; For this round these patterns are more than enough only same or similar questions will come. So prepare this thoroughly.&lt;br /&gt;TEST-1&lt;br /&gt;1.------- is associated with webservices.  &lt;br /&gt;a) WSDL b) WML c) web sphere d) web logic  &lt;br /&gt;ans:a&lt;br /&gt;&lt;br /&gt;2.any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database’s search engine.&lt;br /&gt;a) TABLE b) BLOB c) VIEW d) SCHEME &lt;br /&gt;ans:b&lt;br /&gt;3.A reserved area of the immediate access memory used to increase the running speed of the computer program.  &lt;br /&gt;a) session memory b) bubble memory c) cache memory d) shared memory  &lt;br /&gt;ans: c&lt;br /&gt;4.a small subnet that sit between a trusted internal network and an un trusted external network, such as the public internet.&lt;br /&gt;a) LAN b) MAN c) WAN d) DMZ  &lt;br /&gt;ans: c&lt;br /&gt;&lt;br /&gt;5.technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.&lt;br /&gt;a)BLUETOOTH b) RADAR c)RSA SECURE ID d)RFID  &lt;br /&gt;ans: d&lt;br /&gt;&lt;br /&gt;6.main(){&lt;br /&gt;float fl = 10.5;&lt;br /&gt;double dbl = 10.5&lt;br /&gt;if(fl ==dbl)&lt;br /&gt;printf(“UNITED WE STAND”);&lt;br /&gt;else&lt;br /&gt;printf(“DIVIDE AND RULE”)&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.&lt;br /&gt;ans: b&lt;br /&gt;7.main(){&lt;br /&gt;static int ivar = 5;&lt;br /&gt;printf(“%d”,ivar--);&lt;br /&gt;if(ivar)&lt;br /&gt;main();&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1 2 3 4 5 b) 5 4 3 2 1 c)5 d)compiler error:main cannot be recursive function.&lt;br /&gt;ans b&lt;br /&gt;8.main()&lt;br /&gt;{&lt;br /&gt;extern int iExtern;&lt;br /&gt;iExtern = 20;&lt;br /&gt;printf(“%d”,iExtern);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) 20 c)compile error  d)linker error       &lt;br /&gt;ans d&lt;br /&gt;9..#define clrscr() 100&lt;br /&gt;main(){&lt;br /&gt;clrscr();&lt;br /&gt;printf(“%d\n\t”, clrscr());&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)100 b)10 c)compiler errord)linkage error&lt;br /&gt;ans: a &lt;br /&gt;10.main()&lt;br /&gt;{&lt;br /&gt;void vpointer;&lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”;&lt;br /&gt;int j = 40;&lt;br /&gt;vpointer = &amp;cHar;&lt;br /&gt;printf(“%c”,*(char*)vpointer);&lt;br /&gt;vpointer = &amp;j;&lt;br /&gt;printf(“%d”,*(int *)vpointer);&lt;br /&gt;vpointer = cHarpointer;&lt;br /&gt;printf(“%s”,(char*)vpointer +3);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)g40GLE  b)g40GOOGLE c)g0GLE d)g4GOO&lt;br /&gt;ans: a&lt;br /&gt;11.#define FALSE -1&lt;br /&gt;#define TRUE 1  &lt;br /&gt;#define NULL 0&lt;br /&gt;main() {&lt;br /&gt;if(NULL)&lt;br /&gt;puts(“NULL”);&lt;br /&gt;else if(FALSE)&lt;br /&gt;puts(“TRUE”);&lt;br /&gt;else&lt;br /&gt;puts(“FALSE”);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)NULL b)TRUE c)FALSE d)0  &lt;br /&gt;ans: b&lt;br /&gt;12.main() {&lt;br /&gt;int i =5,j= 6, z;&lt;br /&gt;printf(“%d”, i+++j);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)13 b)12 c)11 d)compiler error&lt;br /&gt;ans: c&lt;br /&gt;If there is 5+++++ symbol then it will show error as Lvalue required&lt;br /&gt;13.main() {&lt;br /&gt;int  i ;&lt;br /&gt;i = accumulator();&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;accumulator(){&lt;br /&gt;_AX =1000&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1 b)10 c)100 d)1000&lt;br /&gt;ans: d&lt;br /&gt;14.main() {&lt;br /&gt;int i  =0;&lt;br /&gt;while(+(+i--)!= 0)&lt;br /&gt;i-                  = i++;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)-1 b)0 c)1 d)will go in an infinite loop&lt;br /&gt;ans: a&lt;br /&gt;15.main(){&lt;br /&gt;int i =3;&lt;br /&gt;for(; i++=0;)&lt;br /&gt;printf((“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1b)2c)1 2 3d)compiler error:L value required.&lt;br /&gt;ans: d&lt;br /&gt;16.main(){&lt;br /&gt;int i = 10, j =20;&lt;br /&gt;j = i ,j?(i,j)?i :j:j;&lt;br /&gt;printf(“%d%d”,i,j);&lt;br /&gt;}what is the output?&lt;br /&gt;a)20 20 b)20 10 c)10 20 d)10 10&lt;br /&gt;ans: 10 10&lt;br /&gt;17.main(){&lt;br /&gt;extern i;&lt;br /&gt;printf(“%d\t”,i);{&lt;br /&gt;int i =20;&lt;br /&gt;printf(“%d\t”,i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)    “Extern valueof i “ 20 b)Externvalue of i”c)20d)linker Error:unresolved external symbol i&lt;br /&gt;ans: d&lt;br /&gt;18.int DIMension(int array[]){&lt;br /&gt;return sizeof(array/sizeof(int);}&lt;br /&gt;main(){&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“Array dimension is %d”,DIMension(arr));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)array dimension is 10 b)array dimension is 1  c) array dimension is 2 d)array dimension is 5&lt;br /&gt;ans: a&lt;br /&gt;19.main(){&lt;br /&gt;void swap();&lt;br /&gt;int x = 45, y = 15;&lt;br /&gt;swap(&amp;x,&amp;y);&lt;br /&gt;printf(“x = %d y=%d”x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b){&lt;br /&gt;*a^=*b, *b^=*a, *a^ = *b;&lt;br /&gt;what is the output?&lt;br /&gt;a)    x = 15, y =45 b)x =15, y =15 c)x =45 ,y =15 d)x =45 y = 45&lt;br /&gt;ans: a&lt;br /&gt;20.main(){&lt;br /&gt;int i =257;&lt;br /&gt;int *iptr =&amp;i;&lt;br /&gt;printf(“%d%d”,*((char*)iptr),*((char *)iptr+1));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1, 257 b)257 1c)0 0d)1  1&lt;br /&gt;asn: d&lt;br /&gt;21.main(){&lt;br /&gt;int i =300;&lt;br /&gt;char *ptr = &amp;i;&lt;br /&gt;*++ptr=2;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)556 b)300 c)2 d)302&lt;br /&gt;ans: a&lt;br /&gt;22.#include&lt;br /&gt;main(){&lt;br /&gt;char *str =”yahoo”;&lt;br /&gt;char *ptr =str;&lt;br /&gt;char least =127;&lt;br /&gt;while(*ptr++)&lt;br /&gt;least = (*ptr&lt;br /&gt;printf(“%d”,least);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)0   b)127   c)yahoo   d)y&lt;br /&gt;Ans-0&lt;br /&gt;&lt;br /&gt;23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.&lt;br /&gt;a)(*ptr[M]()(char*(*)());   b)(char*(*)())(*ptr[M])()   c)(char*(*)(*ptr[M]())(*ptr[M]()    d)(char*(*)(char*()))(*ptr[M])();&lt;br /&gt;24.void main(){&lt;br /&gt;int I =10, j=2;&lt;br /&gt;int *ip = &amp;I ,*jp =&amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(“%d”,k);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2    b)5    c)10    d)compile error: unexpected end of file in comment started in line 4&lt;br /&gt;ans: b&lt;br /&gt;25.main(){&lt;br /&gt;char a[4] =”GOOGLE”;&lt;br /&gt;printf(“%s”,a);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) GOOGLE c) compile error: too many initializers d) linkage error.&lt;br /&gt;ans: c&lt;br /&gt;26.For 1MB memory, the number of address lines required&lt;br /&gt;a)12 b)16 c)20 d)32&lt;br /&gt;ans: 20&lt;br /&gt;27.There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output.&lt;br /&gt;a) AND b) OR c) XOR d) NAND&lt;br /&gt;ans:b&lt;br /&gt;28.what is done for push operation&lt;br /&gt;a) SP is incremented and then the value is stored.&lt;br /&gt;b) PC is incremented and then the value is stored.&lt;br /&gt;c) PC is decremented and then the value is stored.&lt;br /&gt;d) SP is decremented and then the value is stored.&lt;br /&gt;ans: a&lt;br /&gt;&lt;br /&gt;29.Memory allocation of variables declared in a program is ------&lt;br /&gt;a) Allocated in RAM&lt;br /&gt;b) Allocated in ROM&lt;br /&gt;c) Allocated in stack&lt;br /&gt;d) Assigned in registers.&lt;br /&gt;ans: c&lt;br /&gt;30.What action is taken when the processer under execution is interrupted by TRAP in 8085MPU?&lt;br /&gt;a) Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;b) processer serves the interrupt request after completing the current task.&lt;br /&gt;c) processor serves the interrupt immediately.&lt;br /&gt;d) processor serving the interrupt request depent deprnds upon the priority of the current task under execution.&lt;br /&gt;ans: a&lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is ----&lt;br /&gt;a) To store address of TOS(top of stack)&lt;br /&gt;b) To store address of next instructions to be executed&lt;br /&gt;c) count the number of instructions&lt;br /&gt;d) to store the base address  of the stack.&lt;br /&gt;ans: b&lt;br /&gt;32. conditional  results after execution of an instruction in a microprocess is stored in&lt;br /&gt;a) register b) accumulator c) flag register d) flag register part of PSW (program status word)&lt;br /&gt;ans: c&lt;br /&gt;33.The OR gate can be converted to the  NAND function by adding----gate(s)to the input of the OR gate.&lt;br /&gt;a) NOT b) AND c) NOR d) XOR&lt;br /&gt;ans: a&lt;br /&gt;34.In 8051microcontroller ,------has a dual function.&lt;br /&gt;a) port 3 b) port 2 c) port 1 d) port 0&lt;br /&gt;ans; b&lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI   B,38H&lt;br /&gt;HAPPY:           MVI   C, FFH&lt;br /&gt;SADDY:           DCR  C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR  B&lt;br /&gt;JNC HAPPY    &lt;br /&gt;a)    102.3 b)114.5 c)100.5 d)120&lt;br /&gt;36. In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;a)S = 1, Z = 0, CY = 1  b)S = 0, Z = 1, CY = 0  c) S  = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1&lt;br /&gt;37.A positive going pulse  which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;a) RD b) ALE c) WR  d) HOLD&lt;br /&gt;ans: b&lt;br /&gt;38.when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;a) JMP b) STA c) CALL d) XCHG&lt;br /&gt;ans: d(not sure)&lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above  &lt;br /&gt;ans: a&lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD HLT &lt;br /&gt;a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1   c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1&lt;br /&gt; 41.In 8051 micro controller what is the HEX number in the accumulator after the execution of the following code.&lt;br /&gt;MOV A,#0A5H&lt;br /&gt;CLR C&lt;br /&gt;RRC A&lt;br /&gt;RRC A&lt;br /&gt;RL A&lt;br /&gt;RL A&lt;br /&gt;SWAP A&lt;br /&gt;a)A6       b)6A      c)95      d)A5.&lt;br /&gt;ans: a                &lt;br /&gt;&lt;br /&gt; 42.The Pentium processor requires ------------ volts.&lt;br /&gt;a)9      b)12    c)5     d)24&lt;br /&gt;ans; b&lt;br /&gt;43. The data bus on the Celeron processor is-------bits wide.&lt;br /&gt;a)64  b)32   c)16    d)128.&lt;br /&gt;ans: a&lt;br /&gt;&lt;br /&gt; 44.K6 processor&lt;br /&gt;a) Hitachi   b) toshiba   c) zilog   d) AMD. ans: d&lt;br /&gt;45. What is the control word for 8255 PPI,in BSR mode to set bit       PC3.&lt;br /&gt;a)0EH    b)0FH     c)07H       d)06H. ans:c&lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion.&lt;br /&gt;a) dead lock    b) busy waiting    c) trap door   d) none.&lt;br /&gt;ans: b&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management.  c) A DBMS which keeps its physical structure hidden from user   d) none.&lt;br /&gt;ans: c&lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as&lt;br /&gt;a) Aggregation   b) atomicity    c) association   d) data integrity.&lt;br /&gt;Ans-b&lt;br /&gt;49.------ algorithms determines where in available to load a program. common methods are first fit,next fit,best fit.--------- algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The ------------- algorithm determines which are the partions to be swaped out.&lt;br /&gt;a) placement, placement, replacement&lt;br /&gt;b) replacement, placement, placement&lt;br /&gt;c) replacement, placement, replacement&lt;br /&gt;d) placement, replacement, replacement&lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt,usually the result of an error condition.&lt;br /&gt;a)true   b)false.&lt;br /&gt;ans: b&lt;br /&gt;&lt;br /&gt;51. Given a binary search tree,print out the nodes of the tree according to post order traversal.  &lt;br /&gt;4&lt;br /&gt;/ \&lt;br /&gt;2             5&lt;br /&gt;/ \&lt;br /&gt;1       3&lt;br /&gt;a)3,2,1,5,4.   b)1,2,3,4,5.   c)1,3,2,5,4.   d)5,3,1,2,4.&lt;br /&gt;52.which one of the following is the recursive travel technique.&lt;br /&gt;a)depth first search   b)preorder   c)breadth first search    d)none. Ans-a&lt;br /&gt;&lt;br /&gt;53.which of the following needs the requirement to be a binary search tree.&lt;br /&gt;a)   5&lt;br /&gt; /  \&lt;br /&gt;2       7&lt;br /&gt;/&lt;br /&gt;1&lt;br /&gt;b)5&lt;br /&gt;/  \&lt;br /&gt;6    7&lt;br /&gt;&lt;br /&gt;c)    5&lt;br /&gt;/  \&lt;br /&gt;2     7&lt;br /&gt;/\&lt;br /&gt;1  6&lt;br /&gt;d)  none.&lt;br /&gt;54.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a) as  full state on the stack&lt;br /&gt;b) as reversible action  on the stack&lt;br /&gt;c) both a and b&lt;br /&gt;d) none&lt;br /&gt;Ans-c&lt;br /&gt;&lt;br /&gt;55.which of the following involves context switch&lt;br /&gt;a)previliged instruction&lt;br /&gt;b)floating point exception&lt;br /&gt;c)system calls&lt;br /&gt;d)all&lt;br /&gt;e)none&lt;br /&gt;Ans-c&lt;br /&gt;56.piggy backing is  a technique for&lt;br /&gt;a)acknowledge&lt;br /&gt;b)sequence&lt;br /&gt;c)flow control&lt;br /&gt;d)retransmission&lt;br /&gt;ans: c&lt;br /&gt;57. a functional dependency XY is  ___________dependency if removal of any attribute A from X means that the dependency does not hold any more&lt;br /&gt;a)full functional&lt;br /&gt;b) multi valued&lt;br /&gt;c)single valued&lt;br /&gt;d)none&lt;br /&gt;Ans-a&lt;br /&gt;&lt;br /&gt;58)a relation schema R  is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF&lt;br /&gt;Ans-c&lt;br /&gt;59) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated,SELECT&lt;br /&gt;d) none&lt;br /&gt;Ans-a&lt;br /&gt;60) hybrid devise that combines the features of both bridge and router is known as&lt;br /&gt;a)router b)bridge c)hub d)brouter&lt;br /&gt;Ans-brouter&lt;br /&gt;61) which of the following is the most crucial phase of  SDLC&lt;br /&gt;a)testing b)code generation  c) analysis and design d)implementation&lt;br /&gt;ans: c&lt;br /&gt;62)to send a data packet using datagram ,connection will be established&lt;br /&gt;a)no connection is required&lt;br /&gt;b) connection is not established before data transmission&lt;br /&gt;c)before data transmission&lt;br /&gt;d)none &lt;br /&gt;ans: a&lt;br /&gt;&lt;br /&gt;63)a software that allows a personal computer to pretend as as computer terminal is&lt;br /&gt;a) terminal adapter&lt;br /&gt;b)terminal emulation&lt;br /&gt;c)modem&lt;br /&gt;d)none &lt;br /&gt;ans: b&lt;br /&gt;&lt;br /&gt;64) super key is&lt;br /&gt;a) same as primary key&lt;br /&gt;b) primary key and attribute&lt;br /&gt;c) same as foreign key&lt;br /&gt;d) foreign key and attribute&lt;br /&gt;ans: b&lt;br /&gt;65.In binary search tree which traversal is used for ascending order values&lt;br /&gt;a) Inorder    b)preorder  c)post order  d)none&lt;br /&gt;Ans-a&lt;br /&gt;66.You are creating  an index on ROLLNO colume in the STUDENT table.which statement will you use?&lt;br /&gt;a) CREATE INDEX roll_idx ON student, rollno; &lt;br /&gt;b) CREATE INDEX roll_idx FOR student, rollno;&lt;br /&gt;c) CREATE INDEX roll_idx ON student( rollno);&lt;br /&gt;d) CREATE INDEX roll_idx INDEX ON student (rollno);&lt;br /&gt;67.A________class is a class that represents a data structure that stores a number of data objects&lt;br /&gt;a. container  b.component c.base  d.derived&lt;br /&gt;Ans-c&lt;br /&gt;68.Which one of the following phases belongs to the compiler Back-end.&lt;br /&gt;a. Lexical Analysis  b.Syntax Analysis c. Optimization d.Intermediate Representation.&lt;br /&gt;ans: c&lt;br /&gt;69.Every context _sensitive language is context_free&lt;br /&gt;a. true b.false&lt;br /&gt;ans: a&lt;br /&gt;&lt;br /&gt;70.Input:A is non-empty list of numbers L&lt;br /&gt;Xß-infinity&lt;br /&gt;For each item in the list L,do&lt;br /&gt;If the item&gt;x,then&lt;br /&gt;Xß the item&lt;br /&gt;Return X&lt;br /&gt;X represents:-&lt;br /&gt;a)largest number&lt;br /&gt;b)smallest number&lt;br /&gt;c)smallest negative number&lt;br /&gt;d) none&lt;br /&gt;71.Let A and B be nodes of a heap,such that B is  a child of A. the heap must then satisfy the following conditions&lt;br /&gt;a)key(A)&gt;=key(B)&lt;br /&gt;b)key(A)&lt;br /&gt;c)key(A)=key(B)&lt;br /&gt;d)none&lt;br /&gt;Ans-a&lt;br /&gt;72.String ,List,Stack,queue are examples of___________&lt;br /&gt;a)primitive data type&lt;br /&gt;b)simple data type&lt;br /&gt;c)Abstract data type&lt;br /&gt;d)none  ans: a&lt;br /&gt;73.which of the following is not true for LinkedLists?&lt;br /&gt;a)The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list,or to a null value or emptylist if it is the last node.&lt;br /&gt;b)a more sophisticated kind of linked list is a double linkedlist or two way linkedlist .Each node has two links ,one to the previous node  and one to the next node.&lt;br /&gt;c) in a circleLinkedList  ,the first and last nodes are linked together.this can be done only for  double linked list.&lt;br /&gt;d) to traverse a  circular linkedlist ,u begin at any node and follow the list in either direction until u return to the original node.&lt;br /&gt;74.sentinel node at the beginning and /or at the end of the linkedlist is not used to store the data&lt;br /&gt;a) true&lt;br /&gt;b) false  ans:a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-2&lt;br /&gt;1.C# is a native language of:&lt;br /&gt;A.Java        B. .Net         C.Visual Basic&lt;br /&gt;&lt;br /&gt;2.What is IMP in Objective C&lt;br /&gt;A.Implementation pointer         B.Important Pointer     C.Intended Pointer&lt;br /&gt;&lt;br /&gt;3.The width in bits of double primitive type in Java is --. Select the one correct answer.&lt;br /&gt;1. The width of double is platform dependent    2. 64     3. 128   4. 8    5. 4&lt;br /&gt;&lt;br /&gt;4.What would happen when the following is compiled and executed. Select the one correct answer.&lt;br /&gt;   1.  &lt;br /&gt;   2. class example {&lt;br /&gt;   3.   int x;&lt;br /&gt;   4.   int y;&lt;br /&gt;   5.   String name;&lt;br /&gt;   6.   public static void main(String args[]) {&lt;br /&gt;   7.          example pnt = new example();&lt;br /&gt;   8.          System.out.println("pnt is " + pnt.name +&lt;br /&gt;   9.                  " " + pnt.x + " " + pnt.y);          &lt;br /&gt;  10.   }&lt;br /&gt;  11. }&lt;br /&gt;  12.  &lt;br /&gt;         1. The program does not compile because x, y and name are not initialized.&lt;br /&gt;         2. The program throws a runtime exception as x, y, and name are used before initialization.&lt;br /&gt;         3. The program prints pnt is 0 0.&lt;br /&gt;         4. The program prints pnt is null 0 0.&lt;br /&gt;         5. The program prints pnt is NULL false&lt;br /&gt;&lt;br /&gt;5.Which of these lines will compile? Select all correct answers.&lt;br /&gt;         1. short s = 20;&lt;br /&gt;         2. byte b = 128;&lt;br /&gt;         3. char c = 32;&lt;br /&gt;         4. double d = 1.4;;&lt;br /&gt;         5. float f = 1.4;&lt;br /&gt;         6. byte e = 0;&lt;br /&gt;&lt;br /&gt;6.What is contained in the directory /proc?:&lt;br /&gt;a. System information        b. Administrative procedures        c. Boot procedures           d. Documentation on your sytem&lt;br /&gt;&lt;br /&gt;8.    Transactions per rollback segment is derived from[DBA]&lt;br /&gt;a. Db_Block_Buffer         b. Processes,          c. Shared_Pool_Size, &lt;br /&gt; d. None of the above&lt;br /&gt;&lt;br /&gt;9. These following parameters are optional in init.ora parameter file DB_BLOCK_SIZE, PROCESSES&lt;br /&gt;a True, b False Ans : False&lt;br /&gt;&lt;br /&gt;10.What is the purpose of different record methods 1) Record 2) Pass up 3) As Object 4) Ignore.&lt;br /&gt;&lt;br /&gt;11.While running DOS on a PC, which command would be used to duplicate the entire diskette:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-3&lt;br /&gt;&lt;br /&gt;1. main(){ &lt;br /&gt;float fl = 10.5; &lt;br /&gt;double dbl = 10.5 &lt;br /&gt;if(fl ==dbl) &lt;br /&gt;    printf(“UNITED WE STAND”); &lt;br /&gt;else &lt;br /&gt;   printf(“DIVIDE AND RULE”) &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.   Ans : c&lt;br /&gt; &lt;br /&gt;2. main() &lt;br /&gt;{ &lt;br /&gt;void vpointer; &lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”; &lt;br /&gt;int j = 40; &lt;br /&gt;vpointer = &amp;cHar; &lt;br /&gt;printf(“%c”,*(char*)vpointer); &lt;br /&gt;vpointer = &amp;j; &lt;br /&gt;printf(“%d”,*(int *)vpointer); &lt;br /&gt;vpointer = cHarpointer; &lt;br /&gt;printf(“%s”,(char*)vpointer +3); &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)g40GLE  b)g40GOOGLE c)g0GLE d)g4GOO    Ans: a&lt;br /&gt; &lt;br /&gt;3. .#define FALSE -1 &lt;br /&gt;#define TRUE 1 &lt;br /&gt;#define NULL 0 &lt;br /&gt;main() { &lt;br /&gt;if(NULL) &lt;br /&gt;    puts(“NULL”); &lt;br /&gt;else if(FALSE) &lt;br /&gt;    puts(“TRUE”); &lt;br /&gt;else &lt;br /&gt;    puts(“FALSE”); &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)NULL b)TRUE c)FALSE d)0      Ans: b&lt;br /&gt; &lt;br /&gt;4.what is done for push operation?? Ans: Stack Pointer in incremented and value is stored &lt;br /&gt; 5.The OR gate can be converted to the  NAND function by adding----gate(s)to the input of the OR gate. ans. Not gate&lt;br /&gt;  6.combination of LOGIC GATEs&lt;br /&gt;  7.voltage requirment for pentium preocessor  ??&lt;br /&gt;8.K6 processor is from which company???? ans AMD&lt;br /&gt;                   9.more questions on microprocessors, Data structures, Prepored, postorder, Networks(piggypagging), SQL, Superkey..etc i could not remember...&lt;br /&gt;TEST-4&lt;br /&gt;- wht is piggybanking used for (acknowledgement)&lt;br /&gt;- wht combines router and bridge&lt;br /&gt;(hub/brouter)&lt;br /&gt;- tcp/ip is wht conection oriented or conectionless&lt;br /&gt;- X.25 protcol is at wich layer&lt;br /&gt;- wht is superkey (primarykey+attribute)&lt;br /&gt;- wich join will u use to hav null values (outer)&lt;br /&gt;- query was given find join type&lt;br /&gt;select customer.is and order.is and name from customer, order&lt;br /&gt;where cutomer.id= order.id (natural join)&lt;br /&gt;- wich follow binary tree property&lt;br /&gt;- som code of java given find no of dangling pointers&lt;br /&gt;- linked list a-&gt;b and b pt to itself so wht type of linked list (infinite)&lt;br /&gt;- which line is wrong abt linked list&lt;br /&gt;(circular list can be only implemented in doubly linked list)&lt;br /&gt;- os question on context switch and sytem call&lt;br /&gt;- microporcesor ques like result of 2 input , 1 o/p line and three annd gates is (nand)&lt;br /&gt;- which gate need to combine with or gate to make nand gate&lt;br /&gt;- transfer RO to local and local to RO and shift RO 3 timed thn local to RO so result is&lt;br /&gt;(RO=local)&lt;br /&gt;- some instruction were given and u hav to find resultanf values of flags&lt;br /&gt;- some instrcution was given find output shift 2 times right to 80008ff&lt;br /&gt;- atomicity definiton was given and u hav to tell wich property it is(atomicity)&lt;br /&gt;- questions vr given fill in the balnks three places (placemnt,replacemnt,replacment) order was correct&lt;br /&gt;- wich normal from shld be saticsy to hav bcnf and one more condition was given&lt;br /&gt;- som ques of physics given resistance and volts use so u hav to tell output (low voltage or high voltage or??)&lt;br /&gt;- wich sort take o(n^2) time&lt;br /&gt;quicksort&lt;br /&gt;- some prog given outer fro loop from 1 to n and inner frm 1 to k so time is&lt;br /&gt;O(nk)&lt;br /&gt;-right output of preorder traversal som tree was given&lt;br /&gt;- wht r abstract data types&lt;br /&gt;- wht r steps of compiler (syntax, semantic,...) &lt;br /&gt;&lt;br /&gt;TEST-5&lt;br /&gt;&lt;br /&gt;2 ques on binary search tree...which of d followin is d BST....nd wen u traverse a BST den which traversal&lt;br /&gt;arranges nodes in ascendin order...&lt;br /&gt; &lt;br /&gt;which is d recursive traversal technique...breadth first search travesral...depth first search traversal...preorder...none of dese&lt;br /&gt; &lt;br /&gt;Ques on Transparent database&lt;br /&gt;Ques on super key&lt;br /&gt;Ques on query related to creating an Index&lt;br /&gt;Ques on sentinel node in link list&lt;br /&gt;Context sensitive lang is always context free..true or false&lt;br /&gt;volt req. for a Pentium processor&lt;br /&gt;data lines in celeron processor&lt;br /&gt;most imp. phase in s/w development&lt;br /&gt;2 ques on use of extern storage class specifier&lt;br /&gt;ques on pointers in C&lt;br /&gt;2-3 ques on microprocessor 8085&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CSC ROUND3: GD (JAM)&lt;br /&gt;This is the main round of elimination. Don’t  get afraid But be prepared.&lt;br /&gt;A group of 10 members will be called and given a topic. On a random order u’ll be called to speak individually for 2 mins. Don’t worry the moderator wont even look at u. he’ll keep listening to ur speech thru his ears. They mainly expect how confident r u expressing from ur mind without fear. So drive out fear completely. The other factors a pronunciation n clarity (without stammering). &lt;br /&gt;“Wat u speak doesn’t matter But How u speak Matters a lot in GD/JAM”&lt;br /&gt;Few Sample Topics:&lt;br /&gt;o My worst vacation &lt;br /&gt;o We all make mistakes &lt;br /&gt;o The most unforgettable Dream &lt;br /&gt;o External outfit &lt;br /&gt;o What do I fear for? &lt;br /&gt;o The first day of my college &lt;br /&gt;o My seniors in college&lt;br /&gt;CSC ROUND4: TECHNICAL HR&lt;br /&gt;Be confident in this round. They mainly check how confident r u in answering. If u get thru this u r almost selected.&lt;br /&gt;Prepare to be ready to answer&lt;br /&gt;• About ur project &lt;br /&gt;• C &amp; C++ (even they will ask u write programs) &lt;br /&gt;• Any question from ur area of interest. (DBMS &amp; DS have more advantage than OS/Networks) &lt;br /&gt;• Basics in all subjects &lt;br /&gt;TEST-1&lt;br /&gt;H.R-primary key n foreign key multithreading and multiprograming&lt;br /&gt;me-told&lt;br /&gt;After that she had given me some puzzel.&lt;br /&gt;there are 3 boxes in 1st contain red ball,in 2nd white,3rd mixture of white n red in how many attempt u will find out which box have which color of ball.&lt;br /&gt;cut a cube in to 27 equal pieces and if all side of cube is painted then how many piece of cube remain unpainted in 27 pieces of cube.&lt;br /&gt;Then asked me about the Logic of Prime no,Bubble sorting,linked list,merge sort etc.(Basics),One logic based on the odd no i don't remember exactly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TEST-2&lt;br /&gt;NETWORKS&lt;br /&gt;1) whn u open web browser, thn wht will happen wht do u do first thing?&lt;br /&gt;2) wht u write first thing, i said DNS or webaddress concept thtn he asked complete web adress like i told&lt;br /&gt;http//:www.orkut.com&lt;br /&gt;thn he asked meaning of each word-http,www,com etc&lt;br /&gt;3) wht is URL&lt;br /&gt;4) tel complete procedure how a site open after opening explorer&lt;br /&gt;5) other layers understand DNS or not if not thn wht will happen (concept of mapping to ip adress comes here) thy asked how mapping takes place and at wich layer&lt;br /&gt;6) dns procedure use wht tcp/ip or osi&lt;br /&gt;7) how many layers in tcp/ip and wich layers are extra in osi model&lt;br /&gt;8) tcp/ip conection oriented or conectionless&lt;br /&gt;9) wht is DNs he was trying to ask in detail but as i havnot read so i said tht&lt;br /&gt;10) wht is arp&lt;br /&gt;11) wht is rarp&lt;br /&gt;12) wht is ATM(asynchronous mode transfer) &lt;br /&gt; &lt;br /&gt;DBMS&lt;br /&gt;1) wht is primary key&lt;br /&gt;2) if ther is no primary key how will u uniquely identify each tuple (i said composite key or super key)&lt;br /&gt;3) diff between tuple and attribute&lt;br /&gt;4) wht r anomalies explain each in detail (like insertion anomaly deletion and modification anomaly)&lt;br /&gt;5) wht is foreign key constraint&lt;br /&gt;6) if i want to delete a tuple from a table having reference in so other table thn wht will happen (concept of cascade comes else error)&lt;br /&gt;7) wht r triggers explain&lt;br /&gt;8) if i want to hav som tuples havind null value wht to do (outer join)&lt;br /&gt;9) wht if i join two tables and no primary key (spurious tuples generate redundant data)&lt;br /&gt;10) he asked me wht will u do if need to retrieve this so basically query&lt;br /&gt;and select first four tuples&lt;br /&gt;select *&lt;br /&gt;from employee&lt;br /&gt;where salary&lt;br /&gt;thn apply rownum&lt;=4 to select first four tuples&lt;br /&gt;11) diff betweenoracle 9i and oracle 8&lt;br /&gt;12) diff between dbms, rdbms, ordbms &lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;OS&lt;br /&gt;1) wht is os&lt;br /&gt;2) wht is a process&lt;br /&gt;3) diff between process and thread&lt;br /&gt;4) if threads share data section wht will happen&lt;br /&gt;(concept of semaphore and crtitcal section comes so )&lt;br /&gt;5) wht is semaphore&lt;br /&gt;6) wht other thing semaphore do except synchronisation&lt;br /&gt;7) wht else happen in threads and process so deadlock concept comes&lt;br /&gt;8) deadlocks, and i told abt 4 conditons of deadlocks also&lt;br /&gt;9) in os wher do u use stacks and queues&lt;br /&gt;(like stacks for saving process satate , on system call context switch etc and queue in scheduling so he asked do we hav only fifo scheduling)&lt;br /&gt;10) so types of scheduling &lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;Data Structure&lt;br /&gt;1) u hav fifteen boxes in kitchen and ur mom asked u to make foos for 1 month, wht will u do to make food fast (thn concept of sorting came)&lt;br /&gt;i said i will put name tag on boxes and thn sort thm in ascending order or i can put thm in order of color shade firstly lightest and thn little darker and soon but tht can create confusion so first is better way&lt;br /&gt;2)u hav 1000 names in unorder manner and i asked u to pick any name of my choice randomly and thn giv me complete info of tht person so wht ds will u use&lt;br /&gt;i said firstly i will sort thm thn i will use hashing/btrees as thy r faster in decreasing search domain,&lt;br /&gt;thy asked wich sort will u use&lt;br /&gt;i said radix as good for strings , he asked if one more name increase or decrease i said radix sort take linear time so doesnot affect much on time&lt;br /&gt;he said if names r vary in length like one is venkateshraman other is raj i said sort from 3rd last letter or use padding.&lt;br /&gt;3) wht is heapsort, concept . wher u can apply it&lt;br /&gt;4) wht all ds u know&lt;br /&gt;i said heaps binomial fiboncaai, liked list stacks queues trees arrays etc&lt;br /&gt;5) advantage and disadvantage of linked list and array over each other in temrs of memory allocation&lt;br /&gt;6) insert and delete a node in a linked list write a code(not from me)&lt;br /&gt;basically thy asked asll application based question on data structure &lt;br /&gt;&lt;br /&gt;java/c/c++&lt;br /&gt;1) write a java code of swapping to name via calling object as parameter and asked whther result will reflect in main or not&lt;br /&gt;(as object passed as a reference so reuslt will be reflected)&lt;br /&gt;2) in java we use call by reference or call by value&lt;br /&gt;3) wht r interfaces&lt;br /&gt;4) diff between interfaces and abstraction&lt;br /&gt;TEST-3&lt;br /&gt;HR: tell me about ur self&lt;br /&gt;HR: well...r u familiar with C...&lt;br /&gt;HR: WAP to print a pattern * ** *** ****&lt;br /&gt;HR: what is ur area of interest...&lt;br /&gt;Hr: write a program to add a node to a link list?&lt;br /&gt;Hr: have done any project.....&lt;br /&gt;HR: what it LAN?&lt;br /&gt;HR: what is MAC?&lt;br /&gt;HR: what is Modem?&lt;br /&gt;&lt;br /&gt;TEST-4&lt;br /&gt;Questions on &lt;br /&gt;Pointers, &lt;br /&gt;OOPS concepts, &lt;br /&gt;Deff b/w DBMS and RDBMS, &lt;br /&gt;Projects you have done (UG&amp;PG), &lt;br /&gt;OS (UNIX,WIN), etc..s&lt;br /&gt;ql,java,data structure &lt;br /&gt;question from the techincal written round&lt;br /&gt;     &lt;br /&gt;1.how do u rate urself in c &amp; c++.  I said in c its 7 and in c++  its 8.&lt;br /&gt;2.why there is a difference?i replied that though I know all concepts of c, but rightnow I have not much idea abt linked list,stack,tree.&lt;br /&gt;3.well if I will say u to implement linked list using c++,can u do it? I &lt;br /&gt;4.what is early binding &amp; late binding?&lt;br /&gt;5.what is virtual?explain with example? &lt;br /&gt;6.can u define a class in real life? &lt;br /&gt;7.wap to insert &amp; retrieve data into a 3d matrix?&lt;br /&gt;There r  9 balls having equal volume,equal color.But one of them is slightly heavier than the rest.now u tell me the shortest way to find out the heavier one? &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CSC ROUND5: PERSONAL HR&lt;br /&gt; This round is for formality. But do this well. Be ready to answer stress related ques like “Have u gone thru previous year papers in sites?” or “Why r ur marks inconsistent from school to college?”&lt;br /&gt;HR Questions&lt;br /&gt;o   Tell me something about yourself??&lt;br /&gt;o How did u write your written test??? &lt;br /&gt;o Family Back Ground? &lt;br /&gt;o What's your strengths and weakness?&lt;br /&gt;o   What r ur hobbies?&lt;br /&gt;o   Who keeps you motivating towards your goal?&lt;br /&gt;o   Do you hv any other offers with you right now?&lt;br /&gt;o   why didnt u go to previous companies??&lt;br /&gt;o   Why CSC?&lt;br /&gt;o   Have u heard abt CSC before??&lt;br /&gt;o   Which Platform do u want to work on?&lt;br /&gt;o   Which environment u would like to work?&lt;br /&gt;o   Are you flexible about locations in India and outside India?&lt;br /&gt;o   Do u know the bond and condition that if u leave the company b4 2 yr,u will hav to pay a sum of 1 lakh?&lt;br /&gt;o   Do u have any qts ? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CSC PALCEMENT PAPER-II&lt;br /&gt;1. Presentation &lt;br /&gt;2. Technical test and Aptitude Test. &lt;br /&gt;3. JAM(JUST A MINUTE) &lt;br /&gt;4. TECHNICAL INTERVIEW &lt;br /&gt;5. HR INTERVIEW&lt;br /&gt;    PRESENTATION&lt;/strong&gt;&lt;br /&gt;                      In the presentation,the company had made a brief introduction of their firm , with selection process details and job profile and so on..It lasted for about half an hour or so...&lt;br /&gt;&lt;br /&gt; 1.  TECHNICAL &amp; APTITUDE TEST:&lt;br /&gt; &lt;br /&gt;                       First,they gave the technical paper to solve..It consistd of 75 qstns to be solved in 40 minutes.It was like a piece of cake for me to solve the paper.plss read the qstns and answers which i give and all are right answers...prepare previous papers ,its enough..and aptitude paper consists of 40 questions in 40 mins.tech paper is very easy....but  aptitude is tuff......prepare aptitude......... the tech paper is asa follows&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.WSDL is associated with webservices.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2.BLOB is any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database’s search engine.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;3. cache memory is a reserved area of the immediate access memeory used to increase the running speed of the computer program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. DMZ  is a small subnet that sit between atrusted internal network and an untruster external network, such as the public internet.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;5.RFID technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6.main(){&lt;br /&gt;float fl = 10.5;&lt;br /&gt;double dbl = 10.5&lt;br /&gt;if(fl ==dbl)&lt;br /&gt;printf(“UNITED WE STAND”);&lt;br /&gt;else&lt;br /&gt;printf(“DIVIDE AND RULE”)&lt;br /&gt;}&lt;br /&gt;what is the output? UNITED WE STAND &lt;br /&gt;&lt;br /&gt;7.main(){&lt;br /&gt;static int ivar = 5;&lt;br /&gt;printf(“%d”,ivar--);&lt;br /&gt;if(ivar)&lt;br /&gt;main();&lt;br /&gt;}&lt;br /&gt;what is the output? 5 4 3 2 1 &lt;br /&gt;&lt;br /&gt;8.main()&lt;br /&gt;{&lt;br /&gt;extern int iExtern;&lt;br /&gt;iExtern = 20;&lt;br /&gt;printf(“%d”,iExtern);&lt;br /&gt;}&lt;br /&gt;what is the output? linker error &lt;br /&gt;&lt;br /&gt;9..#define clrscr() 100&lt;br /&gt;main(){&lt;br /&gt;clrscr();&lt;br /&gt;printf(“%d\n\t”, clrscr());&lt;br /&gt;}&lt;br /&gt;what is the output? 100 &lt;br /&gt;&lt;br /&gt;10.main()&lt;br /&gt;{&lt;br /&gt;void vpointer;&lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”;&lt;br /&gt;int j = 40;&lt;br /&gt;vpointer = &amp;cHar;&lt;br /&gt;printf(“%c”,*(char*)vpointer);&lt;br /&gt;vpointer = &amp;j;&lt;br /&gt;printf(“%d”,*(int *)vpointer);&lt;br /&gt;vpointer = cHarpointer;&lt;br /&gt;printf(“%s”,(char*)vpointer +3);&lt;br /&gt;}&lt;br /&gt;what is the output? g40GLE &lt;br /&gt;&lt;br /&gt;11.#define FALSE -1&lt;br /&gt;#define TRUE 1&lt;br /&gt;#define NULL 0&lt;br /&gt;main() {&lt;br /&gt;if (NULL)&lt;br /&gt;puts (“NULL”);&lt;br /&gt;else if(FALSE)&lt;br /&gt;puts (“TRUE”);&lt;br /&gt;else&lt;br /&gt;puts (“FALSE”);&lt;br /&gt;}&lt;br /&gt;what is the output? TRUE &lt;br /&gt;&lt;br /&gt;12.main() {&lt;br /&gt;int i =5,j= 6, z;&lt;br /&gt;printf(“%d”,i+++j);&lt;br /&gt;}&lt;br /&gt;what is the output? 11 &lt;br /&gt;&lt;br /&gt;13.main() {&lt;br /&gt;int i ;&lt;br /&gt;i = accumulator();&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;accumulator(){&lt;br /&gt;_AX =1000;&lt;br /&gt;}&lt;br /&gt;what is output? 1000&lt;br /&gt;&lt;br /&gt;14.main() {&lt;br /&gt;int i =0;&lt;br /&gt;while(+(+i--)!= 0)&lt;br /&gt;i- = i++;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output? -1 &lt;br /&gt;&lt;br /&gt;15.main(){&lt;br /&gt;int i =3;&lt;br /&gt;for(; i++=0;)&lt;br /&gt;printf((“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output? compiler error:L value required. &lt;br /&gt;&lt;br /&gt;16.main(){&lt;br /&gt;int i = 10, j =20;&lt;br /&gt;j = i ,j?(i,j)?i :j:j;&lt;br /&gt;printf(“%d%d”,i,j);&lt;br /&gt;}what is the output? 10 10&lt;br /&gt;&lt;br /&gt;17.main(){&lt;br /&gt;extern i;&lt;br /&gt;printf(“%d\t”,i);{&lt;br /&gt;int i =20;&lt;br /&gt;printf(“%d\t”,i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;what is output? linker Error:unresolved external symbol i &lt;br /&gt;&lt;br /&gt;18.int DIMension(int array[]){&lt;br /&gt;return sizeof(array/sizeof(int);}&lt;br /&gt;main(){&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“Array dimension is %d”,DIMension(arr));&lt;br /&gt;}&lt;br /&gt;what is output? array dimension is 1&lt;br /&gt;&lt;br /&gt;19.main()&lt;br /&gt;{&lt;br /&gt;void swap();&lt;br /&gt;int x = 45, y = 15;&lt;br /&gt;swap(&amp;x,&amp;y);&lt;br /&gt;printf(“x = %d y=%d”x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b){&lt;br /&gt;*a^=*b, *b^=*a, *a^ = *b;&lt;br /&gt;what is the output?  x = 15, y =45 &lt;br /&gt;&lt;br /&gt;20.main(){&lt;br /&gt;int i =257;&lt;br /&gt;int *iptr =&amp;i;&lt;br /&gt;printf (“%d%d”,*((char*)iptr),* ((char *)iptr+1));&lt;br /&gt;}&lt;br /&gt;what is output? 1   1 &lt;br /&gt;&lt;br /&gt;21.main(){&lt;br /&gt;int i =300;&lt;br /&gt;char *ptr = &amp;i;&lt;br /&gt;*++ptr=2;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is output? 556 &lt;br /&gt; &lt;br /&gt;22. #include&lt;br /&gt;main(){&lt;br /&gt;char *str =”yahoo”;&lt;br /&gt;char *ptr =str;&lt;br /&gt;char least =127;&lt;br /&gt;while(*ptr++)&lt;br /&gt;least = (*ptr&lt;br /&gt;printf (“%d”,least);&lt;br /&gt;}&lt;br /&gt;what is the output? 0 &lt;br /&gt;&lt;br /&gt;23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.&lt;br /&gt; (char*(*)())(*ptr[M])()&lt;br /&gt;&lt;br /&gt;24.void main(){&lt;br /&gt;int I =10, j=2;&lt;br /&gt;int *ip = &amp;I ,*jp =&amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(“%d”,k);&lt;br /&gt;}&lt;br /&gt;what is the output? compile error:unexpected end of file in comment started in line 4 &lt;br /&gt;&lt;br /&gt;25.main()&lt;br /&gt;{&lt;br /&gt;char a[4] =”GOOGLE”;&lt;br /&gt;printf(“%s”,a);&lt;br /&gt;}&lt;br /&gt;what is the output?  compile error: too many initializers&lt;br /&gt;&lt;br /&gt;26.For 1MB memory, the number of address lines required 20 &lt;br /&gt;&lt;br /&gt;27.There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output. OR &lt;br /&gt;&lt;br /&gt;28.what is done for push operation&lt;br /&gt;  SP is decremented and then the value is stored. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;29.Memory allocation of variables declared in a program is Allocated in stack &lt;br /&gt;&lt;br /&gt;30.What action is taken when the processer under execution is interrupted by TRAP in 8085MPU?&lt;br /&gt; Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is &lt;br /&gt;   To store address of next instructions to be executed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; 32.conditional results after execution of an instruction in a microprocess is stored in&lt;br /&gt;   flag register part of PSW (program status word) &lt;br /&gt;&lt;br /&gt;33.The OR gate can be converted to the NAND function by adding  NOT gate(s)to the input of the OR gate.&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;34.In 8051microcontroller port 2 has a dual function.&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI B,38H&lt;br /&gt;HAPPY: MVI C, FFH&lt;br /&gt;SADDY: DCR C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR B&lt;br /&gt;JNC HAPPY&lt;br /&gt; 114.5 (not sure)&lt;br /&gt;&lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;&lt;br /&gt;S = 0, Z = 1, CY = 0&lt;br /&gt;&lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;    ALE &lt;br /&gt;&lt;br /&gt;38.when a  CALL   instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above &lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD B&lt;br /&gt;HLT          S = 0, CY = 1, P = 1 , AC = 1&lt;br /&gt;&lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called  busy waiting The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion.&lt;br /&gt;&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;A DBMS which keeps its physical structure hidden from user &lt;br /&gt;&lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as atomicity &lt;br /&gt;&lt;br /&gt;49. placement  algorithms determines where in available to load a program. common methods are first fit,next fit,best fit. replacement algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The replacement  algorithm determines which are the partions to be swaped out.&lt;br /&gt;&lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition. false.&lt;br /&gt;&lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a) as full state on the stack&lt;br /&gt;b) as reversible action on the stack&lt;br /&gt;c) both a and b&lt;br /&gt;&lt;br /&gt;56.which of the following involves context switch&lt;br /&gt;a) previliged instruction&lt;br /&gt;b) floating point exception&lt;br /&gt;c) system calls&lt;br /&gt;d) all&lt;br /&gt;e) none &lt;br /&gt;&lt;br /&gt;57.piggy backing is a technique for&lt;br /&gt;a) acknowledge&lt;br /&gt;b) sequence&lt;br /&gt;c) flow control&lt;br /&gt;d) retransmission &lt;br /&gt;&lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more&lt;br /&gt;a) full functional&lt;br /&gt;b) multi valued&lt;br /&gt;c) single valued&lt;br /&gt;d) none &lt;br /&gt;&lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF &lt;br /&gt;&lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated, SELECT&lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;61) hybrid devise that combines the features of both bridge and router is known as  &lt;br /&gt;a)router b)bridge c)hub d)brouter&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;62) which of the following is the most crucial phase of SDLC &lt;br /&gt;a) testing b) code generation c) analysys and design d) implementation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;63)to send a data packet using datagram ,connection will be established &lt;br /&gt;a) no connection is required &lt;br /&gt;b) connection is not established before data transmission &lt;br /&gt;c) before data transmission &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;64)a software that allows a personal computer to pretend as as computer terminal is &lt;br /&gt;a) terminal adapter &lt;br /&gt;b) terminal emulation &lt;br /&gt;c) modem &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;65) super key is &lt;br /&gt;a) same as primary key &lt;br /&gt;b) primary key and attribute &lt;br /&gt;c) same as foreign key &lt;br /&gt;d) foreign key and attribute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;66.In binary search tree which traversal is used for ascending order values  &lt;br /&gt;a) Inorder b)preorder c)post order d)none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;67.You are creating an index on ROLLNO colume in the STUDENT table.which statement will you use? &lt;br /&gt;a) CREATE INDEX roll_idx ON student, rollno; &lt;br /&gt;b) CREATE INDEX roll_idx FOR student, rollno; &lt;br /&gt;c) CREATE INDEX roll_idx ON student( rollno); &lt;br /&gt;d) CREATE INDEX roll_idx INDEX ON student (rollno);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;68.A________class is a class that represents a data structure that stores a number of data objects  &lt;br /&gt;a. container b.component c.base d.derived&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;69.Which one of the following phases belongs to the compiler Back-end. &lt;br /&gt;a. Lexical Analysis b.Syntax Analysis c. Optimization d.Intermediate Representation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;70.Every context _sensitive language is context_free &lt;br /&gt;a. true b.false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;71.Input:A is non-empty list of numbers L &lt;br /&gt;Xß-infinity &lt;br /&gt;For each item in the list L,do &lt;br /&gt;If the item&gt;x,then &lt;br /&gt;Xßthe item &lt;br /&gt;Return X &lt;br /&gt;X represents:- &lt;br /&gt;a)largest number &lt;br /&gt;b)smallest number &lt;br /&gt;c)smallest negative number &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;72.Let A and B be nodes of a heap,such that B is a child of A. the heap must then satisfy the following conditions &lt;br /&gt;a) key(A)&gt;=key(B) &lt;br /&gt;b) key(A) &lt;br /&gt;c) key(A)=key(B) &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;73.String ,List,Stack,queue are examples of___________ &lt;br /&gt;a) primitive data type &lt;br /&gt;b) simple data type &lt;br /&gt;c) Abstract data type &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;74.which of the following is not true for LinkedLists? &lt;br /&gt;a) The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list,or to a null value or emptylist if it is the last node.  &lt;br /&gt;b)a more sophisticated kind of linked list is a double linkedlist or two way linkedlist .Each node has two links ,one to the previous node and one to the next node. &lt;br /&gt;c) in a circleLinkedList ,the first and last nodes are linked together.this can be done only for double linked list. &lt;br /&gt;d) to traverse a circular linkedlist ,u begin at any node and follow the list in either direction until u return to the original node.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;75.sentinel node at the beginning and /or at the end of the linkedlist is not used to store the data  &lt;br /&gt;a) true &lt;br /&gt;b) false &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. APTITUDE TEST:&lt;br /&gt;   This paper consists of 40 qstns to be solved in 40 minutes.This section was moderate(not so difficult).&lt;br /&gt;--&gt;One qstsn was on propabiltity like there are 3 piles of books.Each containing 6,5,4 books.What is the propability that first book will be arranged and so on.. ans: 12!&lt;br /&gt;&lt;br /&gt;---&gt;One qstn on profit and loss..&lt;br /&gt;&lt;br /&gt;---&gt;one qstns on speed and distance.&lt;br /&gt;&lt;br /&gt;---&gt;there were 3 fill ups with suitable words. (easy)&lt;br /&gt;&lt;br /&gt;---&gt;there were 5-6 passages (all easy)&lt;br /&gt;&lt;br /&gt;---&gt;there were 3-4 analogies.&lt;br /&gt;&lt;br /&gt;---&gt;one qstns on permutation.&lt;br /&gt;&lt;br /&gt;---&gt;one qstn was on ages..&lt;br /&gt;&lt;br /&gt;----&gt;two qstns were from ratios.&lt;br /&gt;&lt;br /&gt;----&gt;Then one one problem from geometry containing 3 sub-qstns.(See BARRONS GRE.it would be helpful)&lt;br /&gt;&lt;br /&gt;----&gt;One function like f(0,x)=x+1&lt;br /&gt;                  f(0,y)=y&lt;br /&gt;                  f(0,0)=1&lt;br /&gt;                  f(x,y)=f(x+2,f(y-1))(not the exact qstns but similar like that) then find f(1,1),f(3,0).f(1,2),then derive f(3,0) in terms of f(0.0),f(1,0),f(1,2).Totally 5 sub qstns ..all were easy..&lt;br /&gt;&lt;br /&gt;----&gt;One Sudoku problem..A 3*3 block in which only 2 blocks were filled.The remaining bloxks had to be filled such that diagonally,vertically, horizontally it should sum up to 15..based on this 5 easy qstns were given.. &lt;br /&gt;&lt;br /&gt;                 The results were out.total 951 students attented the test  in that 370 selected for next round. I was shortlistd for the second round (JAM)..&lt;br /&gt;&lt;br /&gt;3. JAM (COMMUNICATION TEST)&lt;br /&gt;&lt;br /&gt;          Here ,we were given a topic and to speak on that for about a  minute. My batch had "TECHNOLOGY vs AGRICULTURE". Other batches had  "ROLE MODEL", "WOMEN IN SOCIETY","3 IMPORTANT PROBLEMS OF INDIA", "TELL ME ABOUT UR SELF". my batch consists of 20 members.3 cleared the JAM round..luckly i am one among them.......MAXIMUM elimination is here......bcarefull guys.................&lt;br /&gt;&lt;br /&gt;4. TECHNICAL INTERVIEW&lt;br /&gt;&lt;br /&gt;     Be confident with ur basic skills (C,C++).If you are of ECE be confident with your core knowledge.It helps you a lot.Be cool as much as you can.i am from CSE...the questions asked is&lt;br /&gt;&lt;br /&gt;1. tell me ur project?&lt;br /&gt;2.primary key?&lt;br /&gt;3.normailsation?&lt;br /&gt;4.double linked list?&lt;br /&gt;5.IP adress?&lt;br /&gt;6.diff between TCP and UDP?&lt;br /&gt;7.bubble sort?&lt;br /&gt;8.different types of databases?&lt;br /&gt;9.basics on .net(i used .net technology in my project)&lt;br /&gt;10.unix?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. HR INTERVIEW&lt;br /&gt; &lt;br /&gt;  It is a normal round checking your communication skills and your personal skills.Be bold and confident.You would definitely go through this round. no questions for me in this round..........because of my percentage and tech round score....directly HR said that "U R SELECTED FOR CSC" .............PREPARE WELL .May GOD bless you..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CSC PALCEMENT PAPER-III&lt;br /&gt;The recruitment process is as follows:&lt;br /&gt;1. Presentation &lt;br /&gt;2. Technical test &lt;br /&gt;3. Aptitude Test &lt;br /&gt;4. JAM(JUST A MINUTE) &lt;br /&gt;5. TECHNICAL INTERVIEW &lt;br /&gt;6. HR INTERVIEW&lt;br /&gt;    PRESENTATION&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;                      In the presentation,the company had made a brief introduction of their firm , with selection process details and job profile and so on..It lasted for about half an hour or so...&lt;br /&gt;&lt;br /&gt; 1.  TECHNICAL  TEST:&lt;br /&gt; &lt;br /&gt;                       First,they gave the technical paper to solve to get shortlisted for the second round.It consistd of 75 qstns to be solved in 40 minutes.It was like a piece of cake for me to solve the paper.plss read the qstns and answers which i give and all are right answers...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.WSDL is associated with webservices.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2.BLOB is any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database’s search engine.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;3. cache memory is a reserved area of the immediate access memeory used to increase the running speed of the computer program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. DMZ  is a small subnet that sit between atrusted internal network and an untruster external network, such as the public internet.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;5.RFID technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6.main(){&lt;br /&gt;float fl = 10.5;&lt;br /&gt;double dbl = 10.5&lt;br /&gt;if(fl ==dbl)&lt;br /&gt;printf(“UNITED WE STAND”);&lt;br /&gt;else&lt;br /&gt;printf(“DIVIDE AND RULE”)&lt;br /&gt;}&lt;br /&gt;what is the output? UNITED WE STAND &lt;br /&gt;&lt;br /&gt;7.main(){&lt;br /&gt;static int ivar = 5;&lt;br /&gt;printf(“%d”,ivar--);&lt;br /&gt;if(ivar)&lt;br /&gt;main();&lt;br /&gt;}&lt;br /&gt;what is the output? 5 4 3 2 1 &lt;br /&gt;&lt;br /&gt;8.main()&lt;br /&gt;{&lt;br /&gt;extern int iExtern;&lt;br /&gt;iExtern = 20;&lt;br /&gt;printf(“%d”,iExtern);&lt;br /&gt;}&lt;br /&gt;what is the output? linker error &lt;br /&gt;&lt;br /&gt;9..#define clrscr() 100&lt;br /&gt;main(){&lt;br /&gt;clrscr();&lt;br /&gt;printf(“%d\n\t”, clrscr());&lt;br /&gt;}&lt;br /&gt;what is the output? 100 &lt;br /&gt;&lt;br /&gt;10.main()&lt;br /&gt;{&lt;br /&gt;void vpointer;&lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”;&lt;br /&gt;int j = 40;&lt;br /&gt;vpointer = &amp;cHar;&lt;br /&gt;printf(“%c”,*(char*)vpointer);&lt;br /&gt;vpointer = &amp;j;&lt;br /&gt;printf(“%d”,*(int *)vpointer);&lt;br /&gt;vpointer = cHarpointer;&lt;br /&gt;printf(“%s”,(char*)vpointer +3);&lt;br /&gt;}&lt;br /&gt;what is the output? g40GLE &lt;br /&gt;&lt;br /&gt;11.#define FALSE -1&lt;br /&gt;#define TRUE 1&lt;br /&gt;#define NULL 0&lt;br /&gt;main() {&lt;br /&gt;if (NULL)&lt;br /&gt;puts (“NULL”);&lt;br /&gt;else if(FALSE)&lt;br /&gt;puts (“TRUE”);&lt;br /&gt;else&lt;br /&gt;puts (“FALSE”);&lt;br /&gt;}&lt;br /&gt;what is the output? TRUE &lt;br /&gt;&lt;br /&gt;12.main() {&lt;br /&gt;int i =5,j= 6, z;&lt;br /&gt;printf(“%d”,i+++j);&lt;br /&gt;}&lt;br /&gt;what is the output? 11 &lt;br /&gt;&lt;br /&gt;13.main() {&lt;br /&gt;int i ;&lt;br /&gt;i = accumulator();&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;accumulator(){&lt;br /&gt;_AX =1000;&lt;br /&gt;}&lt;br /&gt;what is output? 1000&lt;br /&gt;&lt;br /&gt;14.main() {&lt;br /&gt;int i =0;&lt;br /&gt;while(+(+i--)!= 0)&lt;br /&gt;i- = i++;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output? -1 &lt;br /&gt;&lt;br /&gt;15.main(){&lt;br /&gt;int i =3;&lt;br /&gt;for(; i++=0;)&lt;br /&gt;printf((“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output? compiler error:L value required. &lt;br /&gt;&lt;br /&gt;16.main(){&lt;br /&gt;int i = 10, j =20;&lt;br /&gt;j = i ,j?(i,j)?i :j:j;&lt;br /&gt;printf(“%d%d”,i,j);&lt;br /&gt;}what is the output? 10 10&lt;br /&gt;&lt;br /&gt;17.main(){&lt;br /&gt;extern i;&lt;br /&gt;printf(“%d\t”,i);{&lt;br /&gt;int i =20;&lt;br /&gt;printf(“%d\t”,i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;what is output? linker Error:unresolved external symbol i &lt;br /&gt;&lt;br /&gt;18.int DIMension(int array[]){&lt;br /&gt;return sizeof(array/sizeof(int);}&lt;br /&gt;main(){&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“Array dimension is %d”,DIMension(arr));&lt;br /&gt;}&lt;br /&gt;what is output? array dimension is 1&lt;br /&gt;&lt;br /&gt;19.main()&lt;br /&gt;{&lt;br /&gt;void swap();&lt;br /&gt;int x = 45, y = 15;&lt;br /&gt;swap(&amp;x,&amp;y);&lt;br /&gt;printf(“x = %d y=%d”x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b){&lt;br /&gt;*a^=*b, *b^=*a, *a^ = *b;&lt;br /&gt;what is the output?  x = 15, y =45 &lt;br /&gt;&lt;br /&gt;20.main(){&lt;br /&gt;int i =257;&lt;br /&gt;int *iptr =&amp;i;&lt;br /&gt;printf (“%d%d”,*((char*)iptr),* ((char *)iptr+1));&lt;br /&gt;}&lt;br /&gt;what is output? 1   1 &lt;br /&gt;&lt;br /&gt;21.main(){&lt;br /&gt;int i =300;&lt;br /&gt;char *ptr = &amp;i;&lt;br /&gt;*++ptr=2;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is output? 556 &lt;br /&gt; &lt;br /&gt;22. #include&lt;br /&gt;main(){&lt;br /&gt;char *str =”yahoo”;&lt;br /&gt;char *ptr =str;&lt;br /&gt;char least =127;&lt;br /&gt;while(*ptr++)&lt;br /&gt;least = (*ptr&lt;br /&gt;printf (“%d”,least);&lt;br /&gt;}&lt;br /&gt;what is the output? 0 &lt;br /&gt;&lt;br /&gt;23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.&lt;br /&gt; (char*(*)())(*ptr[M])()&lt;br /&gt;&lt;br /&gt;24.void main(){&lt;br /&gt;int I =10, j=2;&lt;br /&gt;int *ip = &amp;I ,*jp =&amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(“%d”,k);&lt;br /&gt;}&lt;br /&gt;what is the output? compile error:unexpected end of file in comment started in line 4 &lt;br /&gt;&lt;br /&gt;25.main()&lt;br /&gt;{&lt;br /&gt;char a[4] =”GOOGLE”;&lt;br /&gt;printf(“%s”,a);&lt;br /&gt;}&lt;br /&gt;what is the output?  compile error: too many initializers&lt;br /&gt;&lt;br /&gt;26.For 1MB memory, the number of address lines required 20 &lt;br /&gt;&lt;br /&gt;27.There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output. OR &lt;br /&gt;&lt;br /&gt;28.what is done for push operation&lt;br /&gt;  SP is decremented and then the value is stored. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;29.Memory allocation of variables declared in a program is Allocated in stack &lt;br /&gt;&lt;br /&gt;30.What action is taken when the processer under execution is interrupted by TRAP in 8085MPU?&lt;br /&gt; Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is &lt;br /&gt;   To store address of next instructions to be executed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; 32.conditional results after execution of an instruction in a microprocess is stored in&lt;br /&gt;   flag register part of PSW (program status word) &lt;br /&gt;&lt;br /&gt;33.The OR gate can be converted to the NAND function by adding  NOT gate(s)to the input of the OR gate.&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;34.In 8051microcontroller port 2 has a dual function.&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI B,38H&lt;br /&gt;HAPPY: MVI C, FFH&lt;br /&gt;SADDY: DCR C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR B&lt;br /&gt;JNC HAPPY&lt;br /&gt; 114.5 (not sure)&lt;br /&gt;&lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;&lt;br /&gt;S = 0, Z = 1, CY = 0&lt;br /&gt;&lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;    ALE &lt;br /&gt;&lt;br /&gt;38.when a  CALL   instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above &lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD B&lt;br /&gt;HLT          S = 0, CY = 1, P = 1 , AC = 1&lt;br /&gt;&lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called  busy waiting The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion.&lt;br /&gt;&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;A DBMS which keeps its physical structure hidden from user &lt;br /&gt;&lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as atomicity &lt;br /&gt;&lt;br /&gt;49. placement  algorithms determines where in available to load a program. common methods are first fit,next fit,best fit. replacement algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The replacement  algorithm determines which are the partions to be swaped out.&lt;br /&gt;&lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition. false.&lt;br /&gt;&lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a) as full state on the stack&lt;br /&gt;b) as reversible action on the stack&lt;br /&gt;c) both a and b&lt;br /&gt;&lt;br /&gt;56.which of the following involves context switch&lt;br /&gt;a) previliged instruction&lt;br /&gt;b) floating point exception&lt;br /&gt;c) system calls&lt;br /&gt;d) all&lt;br /&gt;e) none &lt;br /&gt;&lt;br /&gt;57.piggy backing is a technique for&lt;br /&gt;a) acknowledge&lt;br /&gt;b) sequence&lt;br /&gt;c) flow control&lt;br /&gt;d) retransmission &lt;br /&gt;&lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more&lt;br /&gt;a) full functional&lt;br /&gt;b) multi valued&lt;br /&gt;c) single valued&lt;br /&gt;d) none &lt;br /&gt;&lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF &lt;br /&gt;&lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated, SELECT&lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;61) hybrid devise that combines the features of both bridge and router is known as  &lt;br /&gt;a)router b)bridge c)hub d)brouter&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;62) which of the following is the most crucial phase of SDLC &lt;br /&gt;a) testing b) code generation c) analysys and design d) implementation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;63)to send a data packet using datagram ,connection will be established &lt;br /&gt;a) no connection is required &lt;br /&gt;b) connection is not established before data transmission &lt;br /&gt;c) before data transmission &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;64)a software that allows a personal computer to pretend as as computer terminal is &lt;br /&gt;a) terminal adapter &lt;br /&gt;b) terminal emulation &lt;br /&gt;c) modem &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;65) super key is &lt;br /&gt;a) same as primary key &lt;br /&gt;b) primary key and attribute &lt;br /&gt;c) same as foreign key &lt;br /&gt;d) foreign key and attribute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;66.In binary search tree which traversal is used for ascending order values  &lt;br /&gt;a) Inorder b)preorder c)post order d)none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;67.You are creating an index on ROLLNO colume in the STUDENT table.which statement will you use? &lt;br /&gt;a) CREATE INDEX roll_idx ON student, rollno; &lt;br /&gt;b) CREATE INDEX roll_idx FOR student, rollno; &lt;br /&gt;c) CREATE INDEX roll_idx ON student( rollno); &lt;br /&gt;d) CREATE INDEX roll_idx INDEX ON student (rollno);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;68.A________class is a class that represents a data structure that stores a number of data objects  &lt;br /&gt;a. container b.component c.base d.derived&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;69.Which one of the following phases belongs to the compiler Back-end. &lt;br /&gt;a. Lexical Analysis b.Syntax Analysis c. Optimization d.Intermediate Representation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;70.Every context _sensitive language is context_free &lt;br /&gt;a. true b.false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;71.Input:A is non-empty list of numbers L &lt;br /&gt;Xß-infinity &lt;br /&gt;For each item in the list L,do &lt;br /&gt;If the item&gt;x,then &lt;br /&gt;Xßthe item &lt;br /&gt;Return X &lt;br /&gt;X represents:- &lt;br /&gt;a)largest number &lt;br /&gt;b)smallest number &lt;br /&gt;c)smallest negative number &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;72.Let A and B be nodes of a heap,such that B is a child of A. the heap must then satisfy the following conditions &lt;br /&gt;a) key(A)&gt;=key(B) &lt;br /&gt;b) key(A) &lt;br /&gt;c) key(A)=key(B) &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;73.String ,List,Stack,queue are examples of___________ &lt;br /&gt;a) primitive data type &lt;br /&gt;b) simple data type &lt;br /&gt;c) Abstract data type &lt;br /&gt;d) none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;74.which of the following is not true for LinkedLists? &lt;br /&gt;a) The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list,or to a null value or emptylist if it is the last node.  &lt;br /&gt;b)a more sophisticated kind of linked list is a double linkedlist or two way linkedlist .Each node has two links ,one to the previous node and one to the next node. &lt;br /&gt;c) in a circleLinkedList ,the first and last nodes are linked together.this can be done only for double linked list. &lt;br /&gt;d) to traverse a circular linkedlist ,u begin at any node and follow the list in either direction until u return to the original node.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;75.sentinel node at the beginning and /or at the end of the linkedlist is not used to store the data  &lt;br /&gt;a) true &lt;br /&gt;b) false &lt;br /&gt;&lt;br /&gt;Along with this paper you would be given 4 topics(ESSAY WRITING).Here we have to chose one topic and write an essay.i  wrote on "PARENTS ARE THE BEST  TEACHERS"&lt;br /&gt;                      The results were announced in half  an hour..I was shortlistd for the secod round.The next round was Aptitude Test.&lt;br /&gt;&lt;br /&gt;2. APTITUDE TEST:&lt;br /&gt;   This paper consists of 40 qstns to be solved in 40 minutes.This section was moderate(not so difficult).&lt;br /&gt;--&gt;One qstsn was on propabiltity like there are 3 piles of books.Each containing 6,5,4 books.What is the propability that first book will be arranged and so on.. ans: 12!&lt;br /&gt;&lt;br /&gt;---&gt;One qstn on profit and loss..&lt;br /&gt;&lt;br /&gt;---&gt;one qstns on speed and distance.&lt;br /&gt;&lt;br /&gt;---&gt;there were 3 fill ups with suitable words. (easy)&lt;br /&gt;&lt;br /&gt;---&gt;there were 5-6 passages (all easy)&lt;br /&gt;&lt;br /&gt;---&gt;there were 3-4 analogies.&lt;br /&gt;&lt;br /&gt;---&gt;one qstns on permutation.&lt;br /&gt;&lt;br /&gt;---&gt;one qstn was on ages..&lt;br /&gt;&lt;br /&gt;----&gt;two qstns were from ratios.&lt;br /&gt;&lt;br /&gt;----&gt;Then one one problem from geometry containing 3 sub-qstns.(See BARRONS GRE.it would be helpful)&lt;br /&gt;&lt;br /&gt;----&gt;One function like f(0,x)=x+1&lt;br /&gt;                  f(0,y)=y&lt;br /&gt;                  f(0,0)=1&lt;br /&gt;                  f(x,y)=f(x+2,f(y-1))(not the exact qstns but similar like that) then find f(1,1),f(3,0).f(1,2),then derive f(3,0) in terms of f(0.0),f(1,0),f(1,2).Totally 5 sub qstns ..all were easy..&lt;br /&gt;&lt;br /&gt;----&gt;One Sudoku problem..A 3*3 block in which only 2 blocks were filled.The remaining bloxks had to be filled such that diagonally,vertically, horizontally it should sum up to 15..based on this 5 easy qstns were given.. &lt;br /&gt;&lt;br /&gt;                 The results were out. I was shortlistd for the third round (JAM)..&lt;br /&gt;&lt;br /&gt;3. JAM (COMMUNICATION TEST)&lt;br /&gt;&lt;br /&gt;          Here ,we were given a topic and to speak on that for about a  minute. My batch had "SOCIAL RESPONSIBILITY". Other batches had  "ROLE MODEL", "3 IMPORTANT PROBLEMS OF INDIA". Unfortunately, HR was unimpressed with my speech. But,frnds talk loudly,with confidence.Express your ideas with a clarity in your ideas.Dont take lite,as this your chance to show who you are.So,try to give your best shot.. Dont pause.Keep a smile on your face.Around 22 were shortlistd for the TECHNICAL INTERVIEW round.&lt;br /&gt;&lt;br /&gt;4. TECHNICAL INTERVIEW&lt;br /&gt;&lt;br /&gt;     Be confident with ur basic skills (C,C++).If you are of ECE be confident with your core knowledge.It helps you a lot.Be cool as much as you can.&lt;br /&gt;&lt;br /&gt;5. HR INTERVIEW&lt;br /&gt; &lt;br /&gt;  It is a normal round checking your communication skills and your personal skills.Be bold and confident.You would definitely go through this round. May GOD bless you..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CSC PALCEMENT PAPER-IV&lt;/strong&gt;&lt;br /&gt;The  Selection process was 4 rounds�here I am giving some questions  I  rember�&lt;br /&gt;1.Written Test(90 mins)&lt;br /&gt;It was some wat easy�..r.s .agarwal  is enough��&lt;br /&gt;a.Apptitude(40 ques-40 mins)&lt;br /&gt;1)They give 5 bits on functions like&lt;br /&gt;F(x,o)=1;&lt;br /&gt;F(0,y)=3;f(x,y)=5;f(0,0)=5; then find f(0,1),f(1,1),etc��very easy,&lt;br /&gt;2)One problem on ages.which is very simple&lt;br /&gt;3)one bit on trains....&lt;br /&gt;4)they give one 3*3 suduku�it was very easy&lt;br /&gt;Based on this 3 ques wer e given.&lt;br /&gt;5)venn diagrams&lt;br /&gt;Based on this they give 3 ques it was easy �.like in a college, 50 students like English,60 studens like maths,  20 like both,���.etc��.they ask how many English only��..like this vey easy&lt;br /&gt;Any how prepare RS agarwal it is more than enough�����&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;b.Technical  written(75 ques-----40  mins)&lt;br /&gt;1.------- is associated with webservices.&lt;br /&gt;a) WSDL b) WML c) web sphere d) web logic&lt;br /&gt;2.any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database�s search engine.&lt;br /&gt;a) TABLE b) BLOB c) VIEW d) SCHEME&lt;br /&gt;3.Areserved area of the immediate access memeory used to increase the running speed of the computer program.&lt;br /&gt;a) session memory b) bubble memory c) cache memory d) shared memory&lt;br /&gt;4.a small subnet that sit between atrusted internal network and an untruster external network, such as the public internet.&lt;br /&gt;a) LAN b) MAN c) WAN d) DMZ&lt;br /&gt;5.technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.&lt;br /&gt;a)BLUETOOTH b) RADAR c)RSA SECURE ID d)RFID &lt;br /&gt;6.main(){&lt;br /&gt;float fl = 10.5;&lt;br /&gt;double dbl = 10.5&lt;br /&gt;if(fl ==dbl)&lt;br /&gt;printf(�UNITED WE STAND�);&lt;br /&gt;else&lt;br /&gt;printf(�DIVIDE AND RULE�)&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a) compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.&lt;br /&gt;7.main(){&lt;br /&gt;static int ivar = 5;&lt;br /&gt;printf(�%d�,ivar--);&lt;br /&gt;if(ivar)&lt;br /&gt;main();&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1 2 3 4 5 b) 5 4 3 2 1 c)5 d)compiler error:main cannot be recursive function.&lt;br /&gt;8.main()&lt;br /&gt;{&lt;br /&gt;extern int iExtern;&lt;br /&gt;iExtern = 20;&lt;br /&gt;printf(�%d�,iExtern);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) 20 c)compile error d)linker error &lt;br /&gt;9..#define clrscr() 100&lt;br /&gt;main(){&lt;br /&gt;clrscr();&lt;br /&gt;printf(�%d\n\t�, clrscr());&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)100 b)10 c)compiler errord)linkage error&lt;br /&gt;10.main()&lt;br /&gt;{&lt;br /&gt;void vpointer;&lt;br /&gt;char cHar = �g�, *cHarpointer = �GOOGLE�;&lt;br /&gt;int j = 40;&lt;br /&gt;vpointer = &amp;cHar;&lt;br /&gt;printf(�%c�,*(char*)vpointer);&lt;br /&gt;vpointer = &amp;j;&lt;br /&gt;printf(�%d�,*(int *)vpointer);&lt;br /&gt;vpointer = cHarpointer;&lt;br /&gt;printf(�%s�,(char*)vpointer +3);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)g40GLE b)g40GOOGLE c)g0GLE d)g4GOO&lt;br /&gt;11.#define FALSE -1&lt;br /&gt;#define TRUE 1&lt;br /&gt;#define NULL 0&lt;br /&gt;main() {&lt;br /&gt;if (NULL)&lt;br /&gt;puts (�NULL�);&lt;br /&gt;else if(FALSE)&lt;br /&gt;puts (�TRUE�);&lt;br /&gt;else&lt;br /&gt;puts (�FALSE�);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a) NULL b) TRUE c) FALSE d)0 &lt;br /&gt;12.main() {&lt;br /&gt;int i =5,j= 6, z;&lt;br /&gt;printf(�%d�,i+++j);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)13 b)12 c)11 d) compiler error&lt;br /&gt;13.main() {&lt;br /&gt;int i ;&lt;br /&gt;i = accumulator();&lt;br /&gt;printf(�%d�,i);&lt;br /&gt;}&lt;br /&gt;accumulator(){&lt;br /&gt;_AX =1000;&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1 b)10 c)100 d)1000&lt;br /&gt;14.main() {&lt;br /&gt;int i =0;&lt;br /&gt;while(+(+i--)!= 0)&lt;br /&gt;i- = i++;&lt;br /&gt;printf(�%d�,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)-1 b)0 c)1 d)will go in an infinite loop &lt;br /&gt;15.main(){&lt;br /&gt;int i =3;&lt;br /&gt;for(; i++=0;)&lt;br /&gt;printf((�%d�,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1b)2c)1 2 3d)compiler error:L value required. &lt;br /&gt;16.main(){&lt;br /&gt;int i = 10, j =20;&lt;br /&gt;j = i ,j?(i,j)?i :j:j;&lt;br /&gt;printf(�%d%d�,i,j);&lt;br /&gt;}what is the output?&lt;br /&gt;a)20 b)20 c)10 d)10 &lt;br /&gt;17.main(){&lt;br /&gt;extern i;&lt;br /&gt;printf(�%d\t�,i);{&lt;br /&gt;int i =20;&lt;br /&gt;printf(�%d\t�,i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a) �Extern valueof i � 20 b)Externvalue of i�c)20d)linker Error:unresolved external symbol i &lt;br /&gt;18.int DIMension(int array[]){&lt;br /&gt;return sizeof(array/sizeof(int);}&lt;br /&gt;main(){&lt;br /&gt;int arr[10];&lt;br /&gt;printf(�Array dimension is %d�,DIMension(arr));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)array dimension is 10 b)array dimension is 1&lt;br /&gt;c) array dimension is 2 d)array dimension is 5 &lt;br /&gt;19.main()&lt;br /&gt;{&lt;br /&gt;void swap();&lt;br /&gt;int x = 45, y = 15;&lt;br /&gt;swap(&amp;x,&amp;y);&lt;br /&gt;printf(�x = %d y=%d�x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b){&lt;br /&gt;*a^=*b, *b^=*a, *a^ = *b;&lt;br /&gt;what is the output?&lt;br /&gt;a) x = 15, y =45 b)x =15, y =15 c)x =45 ,y =15 d)x =45 y = 45 &lt;br /&gt;20.main(){&lt;br /&gt;int i =257;&lt;br /&gt;int *iptr =&amp;i;&lt;br /&gt;printf (�%d%d�,*((char*)iptr),* ((char *)iptr+1));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1, 257 b)257 1c)0 0d)1 1 &lt;br /&gt;21.main(){&lt;br /&gt;int i =300;&lt;br /&gt;char *ptr = &amp;i;&lt;br /&gt;*++ptr=2;&lt;br /&gt;printf(�%d�,i);&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)556 b)300 c)2 d)302&lt;br /&gt; &lt;br /&gt;22. #include&lt;br /&gt;main(){&lt;br /&gt;char *str =�yahoo�;&lt;br /&gt;char *ptr =str;&lt;br /&gt;char least =127;&lt;br /&gt;while(*ptr++)&lt;br /&gt;least = (*ptr&lt;br /&gt;printf (�%d�,least);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)0 b)127 c) yahoo d) y &lt;br /&gt;23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.&lt;br /&gt;a)(*ptr[M]()(char*(*)()); b)(char*(*)())(*ptr[M])()&lt;br /&gt;c) (char*(*)(*ptr[M]())(*ptr[M] () d)(char*(*)(char*()))(*ptr[M]) (); &lt;br /&gt;24.void main(){&lt;br /&gt;int I =10, j=2;&lt;br /&gt;int *ip = &amp;I ,*jp =&amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(�%d�,k);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b)5 c)10 d)compile error:unexpected end of file in comment started in line 4 &lt;br /&gt;25.main()&lt;br /&gt;{&lt;br /&gt;char a[4] =�GOOGLE�;&lt;br /&gt;printf(�%s�,a);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) GOOGLE c) compile error: yoo mant initializers d) linkage error. &lt;br /&gt;26.For 1MB memory, the number of address lines required&lt;br /&gt;a)12 b)16 c)20 d)32 &lt;br /&gt;27.There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output.&lt;br /&gt;a) AND b) OR c) XOR d) NAND &lt;br /&gt;28.what is done for push operation&lt;br /&gt;a) SP is incremented and then the value is stored.&lt;br /&gt;b) PC is incremented and then the value is stored.&lt;br /&gt;c) PC is decremented and then the value is stored.&lt;br /&gt;d) SP is decremented and then the value is stored. &lt;br /&gt;29.Memory allocation of variables declared in a program is ------&lt;br /&gt;a) Allocated in RAM&lt;br /&gt;b) Allocated in ROM&lt;br /&gt;c) Allocated in stack&lt;br /&gt;d) Assigned in registers. &lt;br /&gt;30.What action is taken when the processer under execution is interrupted by TRAP in 8085MPU?&lt;br /&gt;a) Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;b) processer serves the interrupt request after completing the current task.&lt;br /&gt;c) processor serves the interrupt immediately.&lt;br /&gt;d) processor serving the interrupt request depent deprnds upon the priority of the current task under execution. &lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is ----&lt;br /&gt;a) To store address of TOS(top of stack)&lt;br /&gt;b) To store address of next instructions to be executed&lt;br /&gt;c) count the number of instructions&lt;br /&gt;d) to store the base address of the stack. &lt;br /&gt;32.conditional results after execution of an instruction in a microprocess is stored in&lt;br /&gt;a) register b) accumulator c) flag register d) flag register part of PSW (program status word) &lt;br /&gt;33.The OR gate can be converted to the NAND function by adding----gate(s)to the input of the OR gate.&lt;br /&gt;a) NOT b) AND c) NOR d) XOR &lt;br /&gt;34.In 8051microcontroller ,------has a dual function.&lt;br /&gt;a) port 3 b) port 2 c) port 1 d) port 0 &lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI B,38H&lt;br /&gt;HAPPY: MVI C, FFH&lt;br /&gt;SADDY: DCR C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR B&lt;br /&gt;JNC HAPPY&lt;br /&gt;a) 102.3 b)114.5 c)100.5 d)120 &lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;a)S = 1, Z = 0, CY = 1 b)S = 0, Z = 1, CY = 0&lt;br /&gt;c) S = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1 &lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;a) RD b) ALE c) WR d) HOLD &lt;br /&gt;38.when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;a) JMP b) STA c) CALL d) XCHG &lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above &lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD B&lt;br /&gt;HLT a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1 c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1&lt;br /&gt;&lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesn�t progress towards completion.&lt;br /&gt;a) dead lock b) busy waiting c) trap door d) none.&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management. c) A DBMS which keeps its physical structure hidden from user d) none.&lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as&lt;br /&gt;a) Aggregation b) atomicity c) association d) data integrity.&lt;br /&gt;49.------ algorithms determines where in available to load a program. common methods are first fit,next fit,best fit.--------- algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The ------------- algorithm determines which are the partions to be swaped out.&lt;br /&gt;a) placement, placement, replacement&lt;br /&gt;b) replacement, placement, placement&lt;br /&gt;c) replacement, placement, replacement&lt;br /&gt;d) placement, replacement, replacement&lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition.&lt;br /&gt;a)true b)false.&lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a) as full state on the stack&lt;br /&gt;b) as reversible action on the stack&lt;br /&gt;c) both a and b&lt;br /&gt;d) none &lt;br /&gt;56.which of the following involves context switch&lt;br /&gt;a) previliged instruction&lt;br /&gt;b) floating point exception&lt;br /&gt;c) system calls&lt;br /&gt;d) all&lt;br /&gt;e) none &lt;br /&gt;57.piggy backing is a technique for&lt;br /&gt;a) acknowledge&lt;br /&gt;b) sequence&lt;br /&gt;c) flow control&lt;br /&gt;d) retransmission &lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more&lt;br /&gt;a) full functional&lt;br /&gt;b) multi valued&lt;br /&gt;c) single valued&lt;br /&gt;d) none &lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF &lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated, SELECT&lt;br /&gt;d) none&lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is ---- &lt;br /&gt;a) To store address of TOS(top of stack) &lt;br /&gt;b) To store address of next instructions to be executed &lt;br /&gt;c) count the number of instructions &lt;br /&gt;d) to store the base address of the stack. &lt;br /&gt;32.conditional results after execution of an instruction in a microprocess is stored in &lt;br /&gt;a) register b) accumulator c) flag register d) flag register part of PSW (program status word) &lt;br /&gt;33.The OR gate can be converted to the NAND function by adding----gate(s)to the input of the OR gate. &lt;br /&gt;a) NOT b) AND c) NOR d) XOR &lt;br /&gt;34.In 8051microcontroller ,------has a dual function. &lt;br /&gt;a) port 3 b) port 2 c) port 1 d) port 0 &lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay? &lt;br /&gt;MVI B,38H &lt;br /&gt;HAPPY: MVI C, FFH &lt;br /&gt;SADDY: DCR C &lt;br /&gt;JNZ SADDY &lt;br /&gt;DCR B &lt;br /&gt;JNC HAPPY&lt;br /&gt;a) 102.3 b)114.5 c)100.5 d)120 &lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code. &lt;br /&gt;MVI B,FFH &lt;br /&gt;MOV A,B &lt;br /&gt;CMA &lt;br /&gt;HLT &lt;br /&gt;a)S = 1, Z = 0, CY = 1 b)S = 0, Z = 1, CY = 0  &lt;br /&gt;c) S = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1 &lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle. &lt;br /&gt;a) RD b) ALE c) WR d) HOLD &lt;br /&gt;38.when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers. &lt;br /&gt;a) JMP b) STA c) CALL d) XCHG &lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period. &lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above &lt;br /&gt;40.At the end of the following code, what is the status of the flags. &lt;br /&gt;LXI B, AEC4H &lt;br /&gt;MOV A,C &lt;br /&gt;ADD B &lt;br /&gt;HLT &lt;br /&gt;a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1 &lt;br /&gt;c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1  &lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesn�t progress towards completion. a) dead lock b) busy waiting c) trap door d) none. &lt;br /&gt;&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management. c) A DBMS which keeps its physical structure hidden from user d) none.  &lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as &lt;br /&gt;a) Aggregation b) atomicity c) association d) data integrity.  &lt;br /&gt;49.------ algorithms determines where in available to load a program. common methods are first fit,next fit,best fit.--------- algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The ------------- algorithm determines which are the partions to be swaped out. &lt;br /&gt;a) placement, placement, replacement &lt;br /&gt;b) replacement, placement, placement &lt;br /&gt;c) replacement, placement, replacement &lt;br /&gt;d) placement, replacement, replacement  &lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition. &lt;br /&gt;a)true b)false.  &lt;br /&gt;52.which one of the following is the recursive travel technique.  &lt;br /&gt;a)depth first search b)preorder c)breadth first search d)none. &lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps &lt;br /&gt;a)as full state on the stack &lt;br /&gt;b) as reversible action on the stack  &lt;br /&gt;c)both a and b  &lt;br /&gt;d)none &lt;br /&gt;56.which of the following involves context switch &lt;br /&gt;a) previliged instruction &lt;br /&gt;b) floating point exception &lt;br /&gt;c) system calls &lt;br /&gt;d)all  &lt;br /&gt;e) none &lt;br /&gt;57.piggy backing is a technique for &lt;br /&gt;a) acknowledge  &lt;br /&gt;b) sequence &lt;br /&gt;c) flow control  &lt;br /&gt;d) retransmission &lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more  &lt;br /&gt;a) full functional &lt;br /&gt;b) multi valued  &lt;br /&gt;c) single valued &lt;br /&gt;d) none &lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF &lt;br /&gt;b)2 NF &lt;br /&gt;c)3 NF &lt;br /&gt;d)5 NF &lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause &lt;br /&gt;A) correlated ,WHERE &lt;br /&gt;b) nested ,SELECT &lt;br /&gt;c) correlated,SELECT &lt;br /&gt;d) none &lt;br /&gt;61) hybrid devise that combines the features of both bridge and router is known as  &lt;br /&gt;a)router b)bridge c)hub d)brouter &lt;br /&gt;62) which of the following is the most crucial phase of SDLC &lt;br /&gt;a) testing b) code generation c) analysys and design d) implementation &lt;br /&gt;63)to send a data packet using datagram ,connection will be established &lt;br /&gt;a) no connection is required &lt;br /&gt;b) connection is not established before data transmission &lt;br /&gt;c) before data transmission &lt;br /&gt;d) none &lt;br /&gt;64)a software that allows a personal computer to pretend as as computer terminal is &lt;br /&gt;a) terminal adapter &lt;br /&gt;b) terminal emulation &lt;br /&gt;c) modem &lt;br /&gt;d) none &lt;br /&gt;65) super key is &lt;br /&gt;a) same as primary key &lt;br /&gt;b) primary key and attribute &lt;br /&gt;c) same as foreign key &lt;br /&gt;d) foreign key and attribute &lt;br /&gt;66.In binary search tree which traversal is used for ascending order values  &lt;br /&gt;a) Inorder b)preorder c)post order d)none &lt;br /&gt;67.You are creating an index on ROLLNO colume in the STUDENT table.which statement will you use? &lt;br /&gt;a) CREATE INDEX roll_idx ON student, rollno; &lt;br /&gt;b) CREATE INDEX roll_idx FOR student, rollno; &lt;br /&gt;c) CREATE INDEX roll_idx ON student( rollno); &lt;br /&gt;d) CREATE INDEX roll_idx INDEX ON student (rollno); &lt;br /&gt;68.A________class is a class that represents a data structure that stores a number of data objects  &lt;br /&gt;a. container b.component c.base d.derived &lt;br /&gt;69.Which one of the following phases belongs to the compiler Back-end. &lt;br /&gt;a. Lexical Analysis b.Syntax Analysis c. Optimization d.Intermediate Representation. &lt;br /&gt;70.Every context _sensitive language is context_free &lt;br /&gt;a. true b.false &lt;br /&gt;71.Input:A is non-empty list of numbers L &lt;br /&gt;X�-infinity &lt;br /&gt;For each item in the list L,do &lt;br /&gt;If the item&gt;x,then &lt;br /&gt;X�the item &lt;br /&gt;Return X &lt;br /&gt;X represents:- &lt;br /&gt;a)largest number &lt;br /&gt;b)smallest number &lt;br /&gt;c)smallest negative number &lt;br /&gt;d) none &lt;br /&gt;72.Let A and B be nodes of a heap,such that B is a child of A. the heap must then satisfy the following conditions &lt;br /&gt;a) key(A)&gt;=key(B) &lt;br /&gt;b) key(A) &lt;br /&gt;c) key(A)=key(B) &lt;br /&gt;d) none &lt;br /&gt;73.String ,List,Stack,queue are examples of___________ &lt;br /&gt;a) primitive data type &lt;br /&gt;b) simple data type &lt;br /&gt;c) Abstract data type &lt;br /&gt;d) none &lt;br /&gt;74.which of the following is not true for LinkedLists? &lt;br /&gt;a) The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list,or to a null value or emptylist if it is the last node.  &lt;br /&gt;b)a more sophisticated kind of linked list is a double linkedlist or two way linkedlist .Each node has two links ,one to the previous node and one to the next node. &lt;br /&gt;c) in a circleLinkedList ,the first and last nodes are linked together.this can be done only for double linked list. &lt;br /&gt;d) to traverse a circular linkedlist ,u begin at any node and follow the list in either direction until u return to the original node. &lt;br /&gt;75.sentinel node at the beginning and /or at the end of the linkedlist is not used to store the data  &lt;br /&gt;a) true&lt;br /&gt;b) false&lt;br /&gt; &lt;br /&gt;c.Essay Writing(10 mins)&lt;br /&gt;How can you prevent pollution  �.&lt;br /&gt;And  some other three topics, v have to select one &lt;br /&gt;2.GD&lt;br /&gt;in this around 1500 wrote written I heared that 150 selected for GD. I was one of them �but I lost in GD,it was not like GD ,but like JAM session��..the HR will give one min for each one ,we have to speak on one particular topic ,topic will be given by hr, but I lost in this round,&lt;br /&gt;3.Technical interview &lt;br /&gt;My friend s two members selected for technical��..they asked basic questions from our academic subjects��.so it was very good,and finally one of my friend cleared Technical also ��..&lt;br /&gt;4.HR.&lt;br /&gt;In  HR they just focused on our behavior and  confidence and company details&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CSC PALCEMENT PAPER-V&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I. General Aptitude (round 1)&lt;br /&gt;These are the some qts which I remembered.&lt;br /&gt; &lt;br /&gt;1. Sudoku. you need to fill-up the table using the hint(addition of row, column, diagonal =15) and available cell values. its easy. if you figure it out, you can answer(very easy)&lt;br /&gt;five questions correctly.&lt;br /&gt;2.If y=MAX((3x+y),(11x-y)) then what's the value of y?&lt;br /&gt;3.1 Que. on book arrangement. if u find out the series you can ans five ques. correctly.&lt;br /&gt;4.2 Ques. on Probability, ages&lt;br /&gt;5. Ages&lt;br /&gt;6. Venn diagram --&gt; Out of 100 students, 45 do not know typing, 60 know shorthand. 25 know both 6 do not know anything then find out haw many know both?&lt;br /&gt;7. if  f(y,0)=y+1, f(o,x)=x; f(y,x)=f(f(y,0),f(2*y-1))  then find f(1,1),f(2,3),f(3,0); 3 question based on this. Its very very simple...&lt;br /&gt;8. 1 Ques on Percentage : Price of a book increases 15% successively (2times) what is the new price of the book more compared to that of the old price:&lt;br /&gt;   a)32.25%    b)23.34%    c)36%    d)39%&lt;br /&gt;9. 2 Questions based on Time and speed.&lt;br /&gt;10. Passage and questions...&lt;br /&gt;11.question on synonyms and antonyms&lt;br /&gt;&lt;br /&gt;II. Technical  Aptitude (round 2)&lt;br /&gt;This is a 40 minutes paper containing 75 questions. • There is no negative marking&lt;br /&gt;1.------- is associated with webservices.&lt;br /&gt;a) WSDL b) WML c) web sphere d) web logic&lt;br /&gt;2.any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database’s search engine.&lt;br /&gt;a) TABLE b) BLOB c) VIEW d) SCHEME&lt;br /&gt;3.Areserved area of the immediate access memeory used to increase the running speed of the computer program.&lt;br /&gt;a) session memory b) bubble memory c) cache memory d) shared memory&lt;br /&gt;4.a small subnet that sit between atrusted internal network and an untruster external network, such as the public internet.&lt;br /&gt;a) LAN b) MAN c) WAN d) DMZ&lt;br /&gt;5.technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.&lt;br /&gt;a)BLUETOOTH b) RADAR c)RSA SECURE ID d)RFID &lt;br /&gt;6.main(){&lt;br /&gt;float fl = 10.5;&lt;br /&gt;double dbl = 10.5&lt;br /&gt;if(fl ==dbl)&lt;br /&gt;printf(“UNITED WE STAND”);&lt;br /&gt;else&lt;br /&gt;printf(“DIVIDE AND RULE”)&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a) compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.&lt;br /&gt;7.main(){&lt;br /&gt;static int ivar = 5;&lt;br /&gt;printf(“%d”,ivar--);&lt;br /&gt;if(ivar)&lt;br /&gt;main();&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1 2 3 4 5 b) 5 4 3 2 1 c)5 d)compiler error:main cannot be recursive function.&lt;br /&gt;8.main()&lt;br /&gt;{&lt;br /&gt;extern int iExtern;&lt;br /&gt;iExtern = 20;&lt;br /&gt;printf(“%d”,iExtern);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) 20 c)compile error d)linker error &lt;br /&gt;9..#define clrscr() 100&lt;br /&gt;main(){&lt;br /&gt;clrscr();&lt;br /&gt;printf(“%d\n\t”, clrscr());&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)100 b)10 c)compiler errord)linkage error&lt;br /&gt;10.main()&lt;br /&gt;{&lt;br /&gt;void vpointer;&lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”;&lt;br /&gt;int j = 40;&lt;br /&gt;vpointer = &amp;cHar;&lt;br /&gt;printf(“%c”,*(char*)vpointer);&lt;br /&gt;vpointer = &amp;j;&lt;br /&gt;printf(“%d”,*(int *)vpointer);&lt;br /&gt;vpointer = cHarpointer;&lt;br /&gt;printf(“%s”,(char*)vpointer +3);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)g40GLE b)g40GOOGLE c)g0GLE d)g4GOO&lt;br /&gt;11.#define FALSE -1&lt;br /&gt;#define TRUE 1&lt;br /&gt;#define NULL 0&lt;br /&gt;main() {&lt;br /&gt;if (NULL)&lt;br /&gt;puts (“NULL”);&lt;br /&gt;else if(FALSE)&lt;br /&gt;puts (“TRUE”);&lt;br /&gt;else&lt;br /&gt;puts (“FALSE”);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a) NULL b) TRUE c) FALSE d)0 &lt;br /&gt;12.main() {&lt;br /&gt;int i =5,j= 6, z;&lt;br /&gt;printf(“%d”,i+++j);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)13 b)12 c)11 d) compiler error&lt;br /&gt;13.main() {&lt;br /&gt;int i ;&lt;br /&gt;i = accumulator();&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;accumulator(){&lt;br /&gt;_AX =1000;&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1 b)10 c)100 d)1000&lt;br /&gt;14.main() {&lt;br /&gt;int i =0;&lt;br /&gt;while(+(+i--)!= 0)&lt;br /&gt;i- = i++;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)-1 b)0 c)1 d)will go in an infinite loop &lt;br /&gt;15.main(){&lt;br /&gt;int i =3;&lt;br /&gt;for(; i++=0;)&lt;br /&gt;printf((“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)1b)2c)1 2 3d)compiler error:L value required. &lt;br /&gt;16.main(){&lt;br /&gt;int i = 10, j =20;&lt;br /&gt;j = i ,j?(i,j)?i :j:j;&lt;br /&gt;printf(“%d%d”,i,j);&lt;br /&gt;}what is the output?&lt;br /&gt;a)20 b)20 c)10 d)10 &lt;br /&gt;17.main(){&lt;br /&gt;extern i;&lt;br /&gt;printf(“%d\t”,i);{&lt;br /&gt;int i =20;&lt;br /&gt;printf(“%d\t”,i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a) “Extern valueof i “ 20 b)Externvalue of i”c)20d)linker Error:unresolved external symbol i &lt;br /&gt;18.int DIMension(int array[]){&lt;br /&gt;return sizeof(array/sizeof(int);}&lt;br /&gt;main(){&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“Array dimension is %d”,DIMension(arr));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)array dimension is 10 b)array dimension is 1&lt;br /&gt;c) array dimension is 2 d)array dimension is 5 &lt;br /&gt;19.main()&lt;br /&gt;{&lt;br /&gt;void swap();&lt;br /&gt;int x = 45, y = 15;&lt;br /&gt;swap(&amp;x,&amp;y);&lt;br /&gt;printf(“x = %d y=%d”x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b){&lt;br /&gt;*a^=*b, *b^=*a, *a^ = *b;&lt;br /&gt;what is the output?&lt;br /&gt;a) x = 15, y =45 b)x =15, y =15 c)x =45 ,y =15 d)x =45 y = 45 &lt;br /&gt;20.main(){&lt;br /&gt;int i =257;&lt;br /&gt;int *iptr =&amp;i;&lt;br /&gt;printf (“%d%d”,*((char*)iptr),* ((char *)iptr+1));&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)1, 257 b)257 1c)0 0d)1 1 &lt;br /&gt;21.main(){&lt;br /&gt;int i =300;&lt;br /&gt;char *ptr = &amp;i;&lt;br /&gt;*++ptr=2;&lt;br /&gt;printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;what is output?&lt;br /&gt;a)556 b)300 c)2 d)302&lt;br /&gt; &lt;br /&gt;22. #include&lt;br /&gt;main(){&lt;br /&gt;char *str =”yahoo”;&lt;br /&gt;char *ptr =str;&lt;br /&gt;char least =127;&lt;br /&gt;while(*ptr++)&lt;br /&gt;least = (*ptr&lt;br /&gt;printf (“%d”,least);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)0 b)127 c) yahoo d) y &lt;br /&gt;23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.&lt;br /&gt;a)(*ptr[M]()(char*(*)()); b)(char*(*)())(*ptr[M])()&lt;br /&gt;c) (char*(*)(*ptr[M]())(*ptr[M] () d)(char*(*)(char*()))(*ptr[M]) (); &lt;br /&gt;24.void main(){&lt;br /&gt;int I =10, j=2;&lt;br /&gt;int *ip = &amp;I ,*jp =&amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(“%d”,k);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b)5 c)10 d)compile error:unexpected end of file in comment started in line 4 &lt;br /&gt;25.main()&lt;br /&gt;{&lt;br /&gt;char a[4] =”GOOGLE”;&lt;br /&gt;printf(“%s”,a);&lt;br /&gt;}&lt;br /&gt;what is the output?&lt;br /&gt;a)2 b) GOOGLE c) compile error: yoo mant initializers d) linkage error. &lt;br /&gt;26.For 1MB memory, the number of address lines required&lt;br /&gt;a)12 b)16 c)20 d)32 &lt;br /&gt;27.There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output.&lt;br /&gt;a) AND b) OR c) XOR d) NAND &lt;br /&gt;28.what is done for push operation&lt;br /&gt;a) SP is incremented and then the value is stored.&lt;br /&gt;b) PC is incremented and then the value is stored.&lt;br /&gt;c) PC is decremented and then the value is stored.&lt;br /&gt;d) SP is decremented and then the value is stored. &lt;br /&gt;29.Memory allocation of variables declared in a program is ------&lt;br /&gt;a) Allocated in RAM&lt;br /&gt;b) Allocated in ROM&lt;br /&gt;c) Allocated in stack&lt;br /&gt;d) Assigned in registers. &lt;br /&gt;30.What action is taken when the processer under execution is interrupted by TRAP in 8085MPU?&lt;br /&gt;a) Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;b) processer serves the interrupt request after completing the current task.&lt;br /&gt;c) processor serves the interrupt immediately.&lt;br /&gt;d) processor serving the interrupt request depent deprnds upon the priority of the current task under execution. &lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is ----&lt;br /&gt;a) To store address of TOS(top of stack)&lt;br /&gt;b) To store address of next instructions to be executed&lt;br /&gt;c) count the number of instructions&lt;br /&gt;d) to store the base address of the stack. &lt;br /&gt;32.conditional results after execution of an instruction in a microprocess is stored in&lt;br /&gt;a) register b) accumulator c) flag register d) flag register part of PSW (program status word) &lt;br /&gt;33.The OR gate can be converted to the NAND function by adding----gate(s)to the input of the OR gate.&lt;br /&gt;a) NOT b) AND c) NOR d) XOR &lt;br /&gt;34.In 8051microcontroller ,------has a dual function.&lt;br /&gt;a) port 3 b) port 2 c) port 1 d) port 0 &lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI B,38H&lt;br /&gt;HAPPY: MVI C, FFH&lt;br /&gt;SADDY: DCR C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR B&lt;br /&gt;JNC HAPPY&lt;br /&gt;a) 102.3 b)114.5 c)100.5 d)120 &lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;a)S = 1, Z = 0, CY = 1 b)S = 0, Z = 1, CY = 0&lt;br /&gt;c) S = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1 &lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;a) RD b) ALE c) WR d) HOLD &lt;br /&gt;38.when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;a) JMP b) STA c) CALL d) XCHG &lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above &lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD B&lt;br /&gt;HLT a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1 c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1&lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion.&lt;br /&gt;a) dead lock b) busy waiting c) trap door d) none.&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management. c) A DBMS which keeps its physical structure hidden from user d) none.&lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as&lt;br /&gt;a) Aggregation b) atomicity c) association d) data integrity.&lt;br /&gt;49.------ algorithms determines where in available to load a program. common methods are first fit,next fit,best fit.--------- algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The ------------- algorithm determines which are the partions to be swaped out.&lt;br /&gt;a) placement, placement, replacement&lt;br /&gt;b) replacement, placement, placement&lt;br /&gt;c) replacement, placement, replacement&lt;br /&gt;d) placement, replacement, replacement&lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition.&lt;br /&gt;a)true b)false.&lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a) as full state on the stack&lt;br /&gt;b) as reversible action on the stack&lt;br /&gt;c) both a and b&lt;br /&gt;d) none &lt;br /&gt;56.which of the following involves context switch&lt;br /&gt;a) previliged instruction&lt;br /&gt;b) floating point exception&lt;br /&gt;c) system calls&lt;br /&gt;d) all&lt;br /&gt;e) none &lt;br /&gt;57.piggy backing is a technique for&lt;br /&gt;a) acknowledge&lt;br /&gt;b) sequence&lt;br /&gt;c) flow control&lt;br /&gt;d) retransmission &lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more&lt;br /&gt;a) full functional&lt;br /&gt;b) multi valued&lt;br /&gt;c) single valued&lt;br /&gt;d) none &lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF &lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated, SELECT&lt;br /&gt;d) none&lt;br /&gt;31.purpose of PC (program counter)in a microprocessor is ----&lt;br /&gt;a) To store address of TOS(top of stack)&lt;br /&gt;b) To store address of next instructions to be executed&lt;br /&gt;c) count the number of instructions&lt;br /&gt;d) to store the base address of the stack.&lt;br /&gt;32.conditional results after execution of an instruction in a microprocess is stored in&lt;br /&gt;a) register b) accumulator c) flag register d) flag register part of PSW (program status word)&lt;br /&gt;33.The OR gate can be converted to the NAND function by adding----gate(s)to the input of the OR gate.&lt;br /&gt;a) NOT b) AND c) NOR d) XOR&lt;br /&gt;34.In 8051microcontroller ,------has a dual function.&lt;br /&gt;a) port 3 b) port 2 c) port 1 d) port 0&lt;br /&gt;35.An 8085 based microprocessor with 2MHz clock frequency,will execute the following chunk of code with how much delay?&lt;br /&gt;MVI B,38H&lt;br /&gt;HAPPY: MVI C, FFH&lt;br /&gt;SADDY: DCR C&lt;br /&gt;JNZ SADDY&lt;br /&gt;DCR B&lt;br /&gt;JNC HAPPY&lt;br /&gt;a) 102.3 b)114.5 c)100.5 d)120&lt;br /&gt;36.In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.&lt;br /&gt;MVI B,FFH&lt;br /&gt;MOV A,B&lt;br /&gt;CMA&lt;br /&gt;HLT&lt;br /&gt;a)S = 1, Z = 0, CY = 1 b)S = 0, Z = 1, CY = 0  &lt;br /&gt;c) S = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1&lt;br /&gt;37.A positive going pulse which is always generated when 8085 MPU begins the machine cycle.&lt;br /&gt;a) RD b) ALE c) WR d) HOLD &lt;br /&gt;38.when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.&lt;br /&gt;a) JMP b) STA c) CALL d) XCHG&lt;br /&gt;39.what is defined as one subdivision of the operation performed in one clock period.&lt;br /&gt;a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above&lt;br /&gt;40.At the end of the following code, what is the status of the flags.&lt;br /&gt;LXI B, AEC4H&lt;br /&gt;MOV A,C&lt;br /&gt;ADD B&lt;br /&gt;HLT&lt;br /&gt;a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1&lt;br /&gt;c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1  &lt;br /&gt;46.The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion. a) dead lock b) busy waiting c) trap door d) none.&lt;br /&gt;47. Transparent DBMS is defined as&lt;br /&gt;a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management. c) A DBMS which keeps its physical structure hidden from user d) none.  &lt;br /&gt;48.Either all actions are carried out or none are.users should not have to worry about the effect of incomplete transctions.DBMS ensures this by undoing the actions of incomplete transctions.this property is known as &lt;br /&gt;a) Aggregation b) atomicity c) association d) data integrity.  &lt;br /&gt;49.------ algorithms determines where in available to load a program. common methods are first fit,next fit,best fit.--------- algorithm are used when memory is full , and one process (or part of a process) needs to be swaped out to accommodate a new program.The ------------- algorithm determines which are the partions to be swaped out. &lt;br /&gt;a) placement, placement, replacement &lt;br /&gt;b) replacement, placement, placement &lt;br /&gt;c) replacement, placement, replacement &lt;br /&gt;d) placement, replacement, replacement  &lt;br /&gt;50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication.A trap is a software interrupt,usually the result of an error condition. &lt;br /&gt;a)true b)false.  &lt;br /&gt;52.which one of the following is the recursive travel technique.  &lt;br /&gt;a)depth first search b)preorder c)breadth first search d)none.&lt;br /&gt;55.in recursive implementations which of the following is true for saving the state of the steps&lt;br /&gt;a)as full state on the stack &lt;br /&gt;b) as reversible action on the stack  &lt;br /&gt;c)both a and b  &lt;br /&gt;d)none &lt;br /&gt;56.which of the following involves context switch&lt;br /&gt;a) previliged instruction&lt;br /&gt;b) floating point exception&lt;br /&gt;c) system calls &lt;br /&gt;d)all  &lt;br /&gt;e) none&lt;br /&gt;57.piggy backing is a technique for&lt;br /&gt;a) acknowledge  &lt;br /&gt;b) sequence&lt;br /&gt;c) flow control  &lt;br /&gt;d) retransmission&lt;br /&gt;58. a functional dependency XY is ___________dependency if removal of any attribute A from X means that the dependency does not hold any more  &lt;br /&gt;a) full functional&lt;br /&gt;b) multi valued  &lt;br /&gt;c) single valued&lt;br /&gt;d) none&lt;br /&gt;59)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key&lt;br /&gt;a)1 NF&lt;br /&gt;b)2 NF&lt;br /&gt;c)3 NF&lt;br /&gt;d)5 NF&lt;br /&gt;60) a _________sub query can be easily identified if it contains any references to the parent sub query columns in the _________ clause&lt;br /&gt;A) correlated ,WHERE&lt;br /&gt;b) nested ,SELECT&lt;br /&gt;c) correlated,SELECT&lt;br /&gt;d) none&lt;br /&gt;61) hybrid devise that combines the features of both bridge and router is known as  &lt;br /&gt;a)router b)bridge c)hub d)brouter&lt;br /&gt;62) which of the following is the most crucial phase of SDLC&lt;br /&gt;a) testing b) code generation c) analysys and design d) implementation&lt;br /&gt;63)to send a data packet using datagram ,connection will be established&lt;br /&gt;a) no connection is required&lt;br /&gt;b) connection is not established before data transmission&lt;br /&gt;c) before data transmission&lt;br /&gt;d) none&lt;br /&gt;64)a software that allows a personal computer to pretend as as computer terminal is&lt;br /&gt;a) terminal adapter&lt;br /&gt;b) terminal emulation&lt;br /&gt;c) modem&lt;br /&gt;d) none&lt;br /&gt;65) super key is&lt;br /&gt;a) same as primary key&lt;br /&gt;b) primary key and attribute&lt;br /&gt;c) same as foreign key&lt;br /&gt;d) foreign key and attribute&lt;br /&gt;66.In binary search tree which traversal is used for ascending order values  &lt;br /&gt;a) Inorder b)preorder c)post order d)none&lt;br /&gt;67.You are creating an index on ROLLNO colume in the STUDENT table.which statement will you use?&lt;br /&gt;a) CREATE INDEX roll_idx ON student, rollno;&lt;br /&gt;b) CREATE INDEX roll_idx FOR student, rollno;&lt;br /&gt;c) CREATE INDEX roll_idx ON student( rollno);&lt;br /&gt;d) CREATE INDEX roll_idx INDEX ON student (rollno);&lt;br /&gt;68.A________class is a class that represents a data structure that stores a number of data objects  &lt;br /&gt;a. container b.component c.base d.derived&lt;br /&gt;69.Which one of the following phases belongs to the compiler Back-end.&lt;br /&gt;a. Lexical Analysis b.Syntax Analysis c. Optimization d.Intermediate Representation.&lt;br /&gt;70.Every context _sensitive language is context_free&lt;br /&gt;a. true b.false&lt;br /&gt;71.Input:A is non-empty list of numbers L&lt;br /&gt;Xß-infinity&lt;br /&gt;For each item in the list L,do&lt;br /&gt;If the item&gt;x,then&lt;br /&gt;Xßthe item&lt;br /&gt;Return X&lt;br /&gt;X represents:-&lt;br /&gt;a)largest number&lt;br /&gt;b)smallest number&lt;br /&gt;c)smallest negative number&lt;br /&gt;d) none&lt;br /&gt;72.Let A and B be nodes of a heap, such that B is a child of A. the heap must then satisfy the following conditions&lt;br /&gt;a) key(A)&gt;=key(B)&lt;br /&gt;b) key(A)&lt;br /&gt;c) key(A)=key(B)&lt;br /&gt;d) none&lt;br /&gt;73.String ,List, Stack, queue are examples of___________&lt;br /&gt;a) primitive data type&lt;br /&gt;b) simple data type&lt;br /&gt;c) Abstract data type&lt;br /&gt;d) none&lt;br /&gt;74.which of the following is not true for Linked Lists?&lt;br /&gt;a) The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list, or to a null value or empty list if it is the last node.  &lt;br /&gt;b)a more sophisticated kind of linked list is a double linked list or two way linked list .Each node has two links ,one to the previous node and one to the next node.&lt;br /&gt;c) in a circle Linked List ,the first and last nodes are linked together. this can be done only for double linked list.&lt;br /&gt;d) to traverse a circular linked list ,u begin at any node and follow the list in either direction until u return to the original node.&lt;br /&gt;75.sentinel node at the beginning and /or at the end of the linked list is not used to store the data  &lt;br /&gt;a) true&lt;br /&gt;b) false &lt;br /&gt;Friends for technical test these questions are enough, but aptitude test some what tough, for this u must go through RS AGRWAL , this is enough to qualify these 2 tests&lt;br /&gt;ROUND III. Communication Round:(Maximun elimination)&lt;br /&gt; &lt;br /&gt;It was a one to one interaction with the panel where they check ur fluency, and grammar n pronunciation. Be very sure that u don’t stop while speaking. Just keep on speaking without stammering until the panel personnel asks u to stop The communication round mainly includes introduce yourself and some question that he may ask of his choice.&lt;br /&gt; &lt;br /&gt;ROUND IV.  (Technical Interview)&lt;br /&gt;Question from each and every technical aspects will be asked like&lt;br /&gt;Questions on Pointers, OOPS concepts, Deff b/w DBMS and RDBMS, Projects you have done (UG&amp;PG), OS (UNIX,WIN), etc..sql,java,data structure even question from the techincal written round will be asked 2 explain so dont just remember the answer of written round try to understand the reason of answer.&lt;br /&gt;     But something new happened at my stage. When my name came up I got in and asked for permission.then he offered me a seat.and asked to tell something abt myself.then he asked &lt;br /&gt;1.how do u rate urself in c &amp; c++.  I said in c its 7 and in c++  its 8.&lt;br /&gt;2.why there is a difference?i replied that though I know all concepts of c, but rightnow I have not much idea abt linked list,stack,tree.&lt;br /&gt;3.well if I will say u to implement linked list using c++,can u do it? I replied yes sir.this is possible.but as I said I am unable to do it right now.&lt;br /&gt;4.what is early binding &amp; late binding? I explained with examples.&lt;br /&gt;5.what is virtual?explain with example?I explained .&lt;br /&gt;6.can u define a class in real life? I explained with 3 examples. &lt;br /&gt;7.wap to insert &amp; retrieve data into a 3d matrix?i did.&lt;br /&gt;8.He said well u r good .ok foget abt this technical aspect.Can I ask u qts from any other aspects.i said sure sir.it will b my pleasure.&lt;br /&gt;9.then he asked.There r  9 balls having equal volume,equal color.But one of them is slightly heavier than the rest.now u tell me the shortest way to find out the heavier one?..I replied there r 5 ways.He behaved like surprised n said I asked the same qt to some people and got answers in 2 ways.Ok u name the five ways.i did based on Archmedis principle,law of physics .but he was not satisfied and asked me what is the shortest way.I replied sir I need time to answer.He said ok. Then he kept on asking qts n I was answering.During my leave, He asked what is d shortest way.I said I wll definitely t ell u sir wheather I will b selected or not.&lt;br /&gt;10.well saroj it was a nice conversation with u.good luck.i said thank u sir. &lt;br /&gt; &lt;br /&gt;ROUND V (HR Interview)&lt;br /&gt;Hr is just a formailty if ur technical round has gone very well.&lt;br /&gt; &lt;br /&gt;1. Tell me about yourself in brief???&lt;br /&gt;2. What r ur hobbies/?i answered body building.then he asked abt the gym n exercise&lt;br /&gt;3.have u heard abt CSC before??&lt;br /&gt;4.R u ready to work anywhere inside/outside india?? i gave a big "Yes sir"  &lt;br /&gt;5.do u know that if u leave the company b4 2 yr,u will hav to pay a sum of 1 lakh.&lt;br /&gt;6.i had an accident recently.he asked what happened. Then I explained that.&lt;br /&gt;7.Do u have any qts ? yes sir.I want to know on what platform  we will b working. He said don’t worry.it depends on the project &amp; we will let u know.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CSC PALCEMENT PAPER-VI&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;every round is an elimination round&lt;br /&gt;I. General Aptitude (round 1)&lt;br /&gt; &lt;br /&gt;This Section involved aptitude questions such as the following &lt;br /&gt; &lt;br /&gt;1. Sudoku. you need to fill-up the table using the hint(addition of row, column, diagonal =15) and available cell values. its easy. if you figure it out, you can answer(very easy)&lt;br /&gt;five questions correctly.&lt;br /&gt;2.If y=MAX((3x+y),(11x-y)) then what's the value of y?&lt;br /&gt;3.1 Que. on book arrangement. if u find out the series you can ans five ques. correctly.&lt;br /&gt;4.2 Ques. on Probability, ages&lt;br /&gt;5. Ages&lt;br /&gt;6. Venn diagram --&gt; Out of 100 students, 45 do not know typing, 60 know shorthand. 25 know both 6 do not know anything then find out haw many know both?&lt;br /&gt;7. if  f(y,0)=y+1, f(o,x)=x; f(y,x)=f(f(y,0),f(2*y-1))  then find f(1,1),f(2,3),f(3,0); 3 question based on this. Its very very simple...&lt;br /&gt;8. 1 Ques on Percentage : Price of a book increases 15% successively (2times) what is the new price of the book more compared to that of the old price:&lt;br /&gt;   a)32.25%    b)23.34%    c)36%    d)39%&lt;br /&gt;9. 2 Questions based on Time and speed.&lt;br /&gt;10. Passage and questions...&lt;br /&gt;11.question on synonyms and antonyms&lt;br /&gt; &lt;br /&gt;II. Technical Aptitude:&lt;br /&gt; &lt;br /&gt;This section consisted of questions from C (Pointers, files, strings, arrays),Micro Processors ( most of the ques) ,RDBMS, SOFTWARE ENGINEERING, Networks etc...some of the questions are &lt;br /&gt;&lt;br /&gt;1. main(){ &lt;br /&gt;float fl = 10.5; &lt;br /&gt;double dbl = 10.5 &lt;br /&gt;if(fl ==dbl) &lt;br /&gt;    printf(“UNITED WE STAND”); &lt;br /&gt;else &lt;br /&gt;   printf(“DIVIDE AND RULE”) &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.   Ans : c&lt;br /&gt; &lt;br /&gt;2. main() &lt;br /&gt;{ &lt;br /&gt;void vpointer; &lt;br /&gt;char cHar = ‘g’, *cHarpointer = “GOOGLE”; &lt;br /&gt;int j = 40; &lt;br /&gt;vpointer = &amp;cHar; &lt;br /&gt;printf(“%c”,*(char*)vpointer); &lt;br /&gt;vpointer = &amp;j; &lt;br /&gt;printf(“%d”,*(int *)vpointer); &lt;br /&gt;vpointer = cHarpointer; &lt;br /&gt;printf(“%s”,(char*)vpointer +3); &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)g40GLE  b)g40GOOGLE c)g0GLE d)g4GOO    Ans: a&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;3. .#define FALSE -1 &lt;br /&gt;#define TRUE 1 &lt;br /&gt;#define NULL 0 &lt;br /&gt;main() { &lt;br /&gt;if(NULL) &lt;br /&gt;    puts(“NULL”); &lt;br /&gt;else if(FALSE) &lt;br /&gt;    puts(“TRUE”); &lt;br /&gt;else &lt;br /&gt;    puts(“FALSE”); &lt;br /&gt;} &lt;br /&gt;what is the output? &lt;br /&gt;a)NULL b)TRUE c)FALSE d)0      Ans: b&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;4.what is done for push operation?? Ans: Stack Pointer in incremented and value is stored &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;5.The OR gate can be converted to the  NAND function by adding----gate(s)to the input of the OR gate. ans. Not gate&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;6.combination of LOGIC GATEs &lt;br /&gt;  &lt;br /&gt;7.voltage requirment for pentium preocessor  ??&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;8.K6 processor is from which company???? ans AMD&lt;br /&gt;                  &lt;br /&gt;  &lt;br /&gt;                9.more questions on microprocessors, Data structures, Prepored, postorder, Networks(piggypagging), SQL, Superkey..etc i could not remember...&lt;br /&gt;z&lt;br /&gt;For technical round just remember each and every question of this file tht is uploaded &lt;br /&gt;direct questions come fom it.&lt;br /&gt;&lt;br /&gt;IIICommunication Round:(Maximun elimination)&lt;br /&gt; &lt;br /&gt;It was a one to one interacrtion with the panel where they check ur fluency,assent and grammar n pronunciation.Be very sure tht u dont stop while speaking.Just keep on speaking without stammering untill the panel personel asks u to stop.The communiaction round mainly includes introduce urself and some question tht he may ask of his choice.&lt;br /&gt; &lt;br /&gt;IV Technical Interview:&lt;br /&gt;Question from each and every technical aspects will be asked like &lt;br /&gt;Questions on Pointers, OOPS concepts, Deff b/w DBMS and RDBMS, Projects you have done (UG&amp;PG), OS (UNIX,WIN), etc..sql,java,data structure even question from the techincal written round will be asked 2 explain so dont just remember the answer of written round try to understand the reason of answer.&lt;br /&gt; &lt;br /&gt;V HR Interview&lt;br /&gt;Hr is just a formailty if ur techinical round has gone very well.&lt;br /&gt; &lt;br /&gt;1. Tell me about yourself???&lt;br /&gt;2.How did u write your written test??? -i said "i did well mam" and i asked for the marks..&lt;br /&gt;3.Why CSC??&lt;br /&gt;4.Family background??&lt;br /&gt;5.R u ready to work anywhere inside/outside india?? i gave a big "Yes mam"   [ in b/w tea came and i was offered a cake]&lt;br /&gt;6.why didnt u go to previous companies??&lt;br /&gt;7.when i  asked for time of result "Result will be announced around 6:30 p.m". she said..&lt;br /&gt;8. Thank you mam....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2387574353666087948-2479693009260453352?l=computeredu4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/2479693009260453352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2387574353666087948&amp;postID=2479693009260453352' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/2479693009260453352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/2479693009260453352'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/2010/07/csc-placement-papers.html' title='CSC Placement Papers'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-3753578176625639491</id><published>2010-07-10T11:14:00.000-07:00</published><updated>2010-07-10T11:22:15.386-07:00</updated><title type='text'>SOME IT COMPANIES PALCEMENT PAPERS</title><content type='html'>&lt;strong&gt;Latest Sample Placement Paper Of TCS For Year-2009-10  (Mathematic, English&lt;/strong&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. (38 x 142) ÷ (4096) =?&lt;br /&gt;1) 337.25&lt;br /&gt;2) 269.8&lt;br /&gt;3) 490&lt;br /&gt;4) 84.3125&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;2. 3 + 33.3 + 3.03 + 333 =?&lt;br /&gt;1) 666&lt;br /&gt;2) 636.33&lt;br /&gt;3) 372.33&lt;br /&gt;4) 672.66&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;3. (17.52)2 =?&lt;br /&gt;1) 280.9504&lt;br /&gt;2) 290.5904&lt;br /&gt;3) 306.9504&lt;br /&gt;4) 280.5904&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;4. (37% of 2370) – (41% of 2105) =?&lt;br /&gt;1) 13.85&lt;br /&gt;2) 12.56&lt;br /&gt;3) 13.10&lt;br /&gt;4) 12.15&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;Directions (Q. 5-14): In the following passage there are blanks, each of which has been numbered. These numbers are printed below the passage and against each five words are suggested, one of which fits the blank appropriately. Find out the appropriate words. It is a 5 that Communists are opposed to economic reforms. The fact of the life is that Communists are the most 6 fighters for economic reforms, the reforms that lead to self-reliant and democratic economic development with social justice. To term the market-oriented changes as reform is a 7. The development strategy 8 under Structural Adjustment and dictated by the World Bank, IMF and WTO is a strategy for the 9 development of capitalism under which the working people, who are the main productive force, are made 10, kept unemployed, thrown out of jobs, and so on. It has no social relevance. In the phase of globalization, no country can develop in 11 and entry of the foreign capital can not be12 altogether. Integration with world economy has to ensure the free and speedy 13 of the national economy. Foreign capital has to be allowed in the areas where we really need huge investment, which our resources cannot meet, and where we need technology, not available in the country. Economic14 should not mean license for plunder by MNCs.&lt;br /&gt;&lt;br /&gt;5. &lt;br /&gt;1) problem&lt;br /&gt;2) mysticism&lt;br /&gt;3) curiosity&lt;br /&gt;4) misconception&lt;br /&gt;5) mistake&lt;br /&gt;&lt;br /&gt;6.&lt;br /&gt; 1) liberal&lt;br /&gt;2) demanding&lt;br /&gt;3) strident&lt;br /&gt;4) detrimental&lt;br /&gt;5) horrible&lt;br /&gt;&lt;br /&gt;7. &lt;br /&gt;1) misnomer&lt;br /&gt;2) terrible&lt;br /&gt;3) danger&lt;br /&gt;4) tragedy&lt;br /&gt;5) shame&lt;br /&gt;&lt;br /&gt;8. &lt;br /&gt;1) reached&lt;br /&gt;2) verified&lt;br /&gt;3) assembled&lt;br /&gt;4) hurled&lt;br /&gt;5) envisaged&lt;br /&gt;&lt;br /&gt;9. &lt;br /&gt;1) westernised&lt;br /&gt;2) unfettered&lt;br /&gt;3) gross&lt;br /&gt;4) accumulated&lt;br /&gt;5) astounding&lt;br /&gt;&lt;br /&gt;10. &lt;br /&gt;1) labourers&lt;br /&gt;2) culprit&lt;br /&gt;3) redundant&lt;br /&gt;4) escapists&lt;br /&gt;5) icons&lt;br /&gt;&lt;br /&gt;11.&lt;br /&gt; 1) unison&lt;br /&gt;2) liberalisation&lt;br /&gt;3) coalition&lt;br /&gt;4) association&lt;br /&gt;5) isolation&lt;br /&gt;&lt;br /&gt;12.&lt;br /&gt; 1) forced&lt;br /&gt;2) loaded&lt;br /&gt;3) denied&lt;br /&gt;4) stated&lt;br /&gt;5) scrutinised&lt;br /&gt;&lt;br /&gt;13.&lt;br /&gt; 1) development&lt;br /&gt;2) empowerment&lt;br /&gt;3) unity&lt;br /&gt;4) mobilisation&lt;br /&gt;5) cohesion&lt;br /&gt;&lt;br /&gt;14. &lt;br /&gt;1) growth&lt;br /&gt;2) potential&lt;br /&gt;3) strategy&lt;br /&gt;4) reforms&lt;br /&gt;5) vitality&lt;br /&gt;&lt;br /&gt;Directions (Q. 15-24): Given below are two passages. Read them carefully and answer the questions given below them.&lt;br /&gt;Certain words are given in bold to help you to locate them while answering some of the questions.&lt;br /&gt;Passage - I&lt;br /&gt;Americans have a variety of superstitions like walking under a ladder, a black cat crossing your path and the number 13, none of which seem to have a logical reason for being. However, there are no serious taboos attached to them. Individuals may have an array of sensitivities based on their personal beliefs. If you do offend someone inadvertently, a sincere apology will usually go a long way toward making amends. The one sensitivity that almost all Americans have is about slights to their country. Either complaining about the US or expressing an attitude that your culture is superior can cause Americans to take offence. Americans do possess a great deal of culture arrogance, and think that their way is the only right way. They think that the US is the best place on earth, otherwise why would everybody by trying to get here? Whether you agree or not, remember that you are a guest in the US and it would be rude for a guest to insult his host&lt;br /&gt; 15. Which of the following can be presumed about Americans regarding superstition?&lt;br /&gt;1) It is a cultural custom for them to believe in superstitions.&lt;br /&gt;2) They can satisfy you by placing arguments about the validity of superstitions.&lt;br /&gt;3) Americans cannot justify their adherence to superstitions.&lt;br /&gt;4) Americans are highly superstitious people.&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;16. If you offend an American inadvertently, a sincere apology will&lt;br /&gt;1) take a long time to repair the damage.&lt;br /&gt;2) not necessarily by enough to amend it.&lt;br /&gt;3) be turned down.&lt;br /&gt;4) succeed in making amends.&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;17. Americans feel usually offended whenever there is a(n)&lt;br /&gt;1) argument posed before them.&lt;br /&gt;2) rude remark against their culture.&lt;br /&gt;3) threat to their sovereignty.&lt;br /&gt;4) attack on their religion.&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;18. What makes the Americans feel that their country is the best in the world?&lt;br /&gt;1) mad rush of people from other countries to America&lt;br /&gt;2) the best facilities available there&lt;br /&gt;3) their culture and custom which they feel is the best in the world&lt;br /&gt;4) the economic superiority of America&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;19. What is the antonym of the word inadvertently as given in bold in the passage?&lt;br /&gt;1) intentionally&lt;br /&gt;2) occasionally&lt;br /&gt;3) unwittingly&lt;br /&gt;4) avowedly&lt;br /&gt;5) adroitly&lt;br /&gt;&lt;br /&gt;Passage - II&lt;br /&gt;Population is one resource that never depletes and is a living development parameter. But it is at times interpreted as a hindering factor for development. This happens because population is both a consumer and producer. There are two schools of thought. One which treats population as a resource, and the other as a burden to the society. The truth, in fact, lies somewhere in between. The interplay of factors responsible for population growth and those for development decide the resourcefulness of population. &lt;br /&gt;&lt;br /&gt;20. Why is it said that population is one resource that never depletes?&lt;br /&gt;1) because other resources deplete&lt;br /&gt;2) because population is an ever-increasing phenomenon&lt;br /&gt;3) because population is seen as a resource&lt;br /&gt;4) because it is an easily available commodity&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;21. Why population is at the same time treated as a resource and also as a burden to the society?&lt;br /&gt;1) because population is the creator and at the same time it is also the user&lt;br /&gt;2) because a less number of people are engaged in production and a large number of people are dependent on it&lt;br /&gt;3) because population is not always a producer but it is always a consumer&lt;br /&gt;4) when the growth of population is checked it is a resource and when it increases rapidly it is burden to the society&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;22. The resourcefulness of population can be decided by&lt;br /&gt;(i) skilled manpower (ii) scale of development (iii) population control measures (iv) scale of population growth&lt;br /&gt;1) All of the above&lt;br /&gt;2) Only (i), (ii) and (iii)&lt;br /&gt;3) Only (i) and (iii)&lt;br /&gt;4) Only (ii) and (iv)&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;23.Which of the following is true in context of the passage?&lt;br /&gt;1) It is not necessary that the population always grows.&lt;br /&gt;2) Population is burdensome.&lt;br /&gt;3) Most of the natural resources are exhaustible.&lt;br /&gt;4) Population is a big consumer and a meager producer.&lt;br /&gt;5) None of these&lt;br /&gt;&lt;br /&gt;24.What will be the synonym of the word depletes as given in bold in the passage?&lt;br /&gt;1) disappears&lt;br /&gt;2) sustains&lt;br /&gt;3) worsens&lt;br /&gt;4) evades&lt;br /&gt;5) reduces&lt;br /&gt;&lt;br /&gt;25. – 65 x39 + 335 =?&lt;br /&gt;1) – 849225&lt;br /&gt;2) – 2200&lt;br /&gt;3) – 2870&lt;br /&gt;4) 2870&lt;br /&gt;5) None of these&lt;br /&gt;ANSWERS :  1. (1)   2. (3)   3. (3) 4. (1)   5. (4)   6. (3)   7. (1)   8. (5)   9. (2)   10. (3)   11. (5)   12. (3)   13. (1)   14. (4)   15. (3)   16. (4)   17. (2)   18. (1)   19. (1)  20. (2)   21. (1)   22. (3)   23. (3)  24. (5)   25.(2)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cognizant-PAPER&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. A says " the horse is not black".&lt;br /&gt;   B says " the horse is either brown or grey."&lt;br /&gt;   c says " the horse is brown"&lt;br /&gt;   At least one is telling truth and at least one is lying. Tell &lt;br /&gt;   The color of horse.&lt;br /&gt;&lt;br /&gt;Answer: grey&lt;br /&gt;&lt;br /&gt;2. A son and father goes for boating in river upstream . After &lt;br /&gt;   Rowing for 1 mile son notices the hat of his father falling in the river.&lt;br /&gt;   After 5min.He tells his father that his hat has fallen. So they turn around &lt;br /&gt;   and are able to pick the hat at the point from where they began boating after              &lt;br /&gt;   5min.Tell the speed of river.&lt;br /&gt;&lt;br /&gt;Answer: 6 miles/hr&lt;br /&gt;&lt;br /&gt;3  A+B+C+D=D+E+F+G=G+H+I=17  where each letter represent a number from 1 to 9.    Find out what does letter D and G represent if letter A=4.   &lt;br /&gt;     &lt;br /&gt;Answer:  D=5&lt;br /&gt;         G=1&lt;br /&gt;&lt;br /&gt;4. Argentina had football team of 22 player of which captain is from Brazilian team and goalki from European team. For remaining player they have picked 6 from Argentinean and 14 from European. Now for a team of 11 they must have goalki and captain so out of 9 now they plan to select 3 from Argentinean and 6 from European. Find out no. of methods  available for it.&lt;br /&gt;&lt;br /&gt;Answer: 160600( check out for right no. 6C3 * 14C6)&lt;br /&gt;&lt;br /&gt;5. Three thives were caught stealing sheep, mule and camel.&lt;br /&gt;   A says " B had stolen sheep "&lt;br /&gt;   C says " B had stolen mule"&lt;br /&gt;   B says he had stolen nothing.&lt;br /&gt;   the one who had stolen horse is speaking truth. the one who had stolen camel is lying . Tell  who had stolen what? &lt;br /&gt;&lt;br /&gt;Answer: A- camel&lt;br /&gt;        B- mule&lt;br /&gt;        C- horse&lt;br /&gt;6.  A group of friends goes for dinner and gets bill of Rs. 2400.Two of them says that they have forgotten their purse so remaining make an extra contribution of Rs 100 to pay up the bill. Tell the no. of person in that group. &lt;br /&gt;&lt;br /&gt;Answer:  8 person&lt;br /&gt;&lt;br /&gt;7. In a colony there are some families. Each of them have children but different in numbers. Following are conditions &lt;br /&gt;   a. no. of adult&gt;no. of sons&gt;no. of daughters&gt;no. of families.&lt;br /&gt;   b.each sister must have atleast one brother and should have at the most 1  sister.&lt;br /&gt;   c. no. of children in one family exceeds the sum of no of children in the rest families.Tell the no of families.&lt;br /&gt;Answer: 3 families&lt;br /&gt;&lt;br /&gt;8.There are 6 people W,H,M,C,G,F who are murderer , victim ,judge ,police, witness,hangman. There was no eye witness only circumtancial witness. The murderer was sentenced to death.Read following statement and determine who is who.&lt;br /&gt;&lt;br /&gt;  1. M knew both murderer and victim.&lt;br /&gt;  2. Judge asked C to discribe murder incident.&lt;br /&gt;  3. W was last to see F alive.&lt;br /&gt;  4. Police found G at the murder site.&lt;br /&gt;  5. H and W never met.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;INFOSYS&lt;br /&gt;&lt;br /&gt;Topic asked:- Analytical Reasoning And  Logical Thinking (* No English test)&lt;br /&gt;&lt;br /&gt;Type:- This test was direct  recruitment for Developer/ Sr. Developer/Testing professionals.  not for trainee’s  &lt;/strong&gt;&lt;br /&gt;                                                                                                                               &lt;br /&gt;&lt;strong&gt;ALL QUESTIONS DO NOT CARRY EQUAL MARKS&lt;br /&gt;INSTRUCTIONS&lt;br /&gt;•Please do not write / mark on the question paper&lt;br /&gt;•Read the Questions carefully. Work your answers carefully and as rapidly as possible.&lt;br /&gt;•Do not spend too much time on questions that seem difficult for you. If time permits go back to the ones you have left out.&lt;br /&gt;•An answer sheet has been provided to you separately. Use this to write your answers. Use the rough sheets for the detailed working.&lt;br /&gt;•On completion, please put your answer sheet along with the rough sheets, inside the question paper and hand them back to us.&lt;br /&gt;•There is no negative marking.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.While driving through the countryside one day  I saw former tending his pigs and ducks in his yard. I was curious to know how many of each he had. I stopped the car and inquired. Learning  on the site jovially,He repiled I have altogether 60 eyes and 80 feet between them. drove off trying to calculate in my mind the exact number of ducks and pigs he had. What do you think is the answer?  [ 3 Marks]&lt;br /&gt;&lt;br /&gt;Answer:- pigs=13,ducks=17     &lt;br /&gt;&lt;br /&gt;2. Find the value of following chart&lt;br /&gt;&lt;br /&gt;T ? R ? O ? M ?&lt;br /&gt;     &lt;br /&gt;       &lt;br /&gt;          IF &lt;br /&gt;          T  R  O  T&lt;br /&gt;      + T  R  O  T&lt;br /&gt;      ----------------- &lt;br /&gt;         R  O  O   M&lt;br /&gt;     -------------------                          [ 3 Marks]&lt;br /&gt;  &lt;br /&gt;Answer:- T=2  ,  R=5 ,  O=0  , M=4&lt;br /&gt;   &lt;br /&gt;3. In this question there was three queens named  SIFY,TANIA,FATINA and they used three type of jewelry like Diamond, Gold, Embraced and Three thief named BOM, KAISRA and RAMTOO   Some conditions are give like the eldest queen not used gold the BOM was friend of youngest queen.(Four more conditions are given I could not remember ) Finally they asked &lt;br /&gt;        &lt;br /&gt;Queens Thieves  Jewelry &lt;br /&gt;Sify ? ?&lt;br /&gt;TANIA ? ?&lt;br /&gt;FATINA ? ?&lt;br /&gt;             [ 6 Marks] &lt;br /&gt;Answer:- Make a table and calculate it (not very tuff)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. A man working in MNC for  going office he used daily  local trains which was shouted in the morning  &lt;br /&gt;There was to type of trains one is type A and other was type B . The frequency of both trains was 10 minutes if one trains (type A )start at 5:00 AM so second (Type B)start at 5:02 A.M and after that it continuously running in every 10 minutes .A Man went to the station a random time in the morning what is the  number of chance he got type A train  mostly rather then type B trains.        [4 Marks]&lt;br /&gt;Answer:- 8 times changes he got type A train &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Every Big question some statements are given and it contain 4 sub parts also ,I neither attempt  it nor remember it they asked like four question my some friend told me following but I am not sure&lt;br /&gt;Answer:-&lt;br /&gt;(1) a&lt;br /&gt;(2) c&lt;br /&gt;(3) d&lt;br /&gt;(4) d         [ 8 Marks ] &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. A person Buy some clothes from wholesale at some discount and think when will he sale it at retail price he get 40% profit.But some how after selling whole clothes he feel that he get 39% lose. After searching the reason he came to know his Weight metter ( clothe meter) is  not proper .Can you tell we &lt;br /&gt;How much meter weight and is it more or less from normal.                                       [ 4 Marks]&lt;br /&gt;&lt;br /&gt;Answer:- Meter major .975 extra in per meter ( 100.975 C.M weight in one time)       &lt;br /&gt;&lt;br /&gt;7. Two boys A and B work as a part time in a shop A works every after 2 days while B Works every after 3 days,A start working at 1 June Thursday while B start working at 2 June Wednesday Can you tell in which date of month they work together.      &lt;br /&gt;                                                                                  [ 4 Marks]&lt;br /&gt;Answer:-  10  June Thursday they work together [ after 2 days  from 1 June means next at  4 June not in 3 June similarly for other] &lt;br /&gt;&lt;br /&gt;8. A car is travelling at uniform speed.The driver sees a milestone showing a digit number ,after travelling for an hour the driver sees another milestone with the same digits in reverse order after another hour the driver sees another milestone containg the same two digits.what is the average speed of the driver.                                                                  Answer:- 45 Kmph&lt;br /&gt;9.A,B,C,D,E, four person are given and they are involved in six professions like consultant, Technician, Artist , Neurologist ,physician  Some conditions was also given like &lt;br /&gt;(i)Consultant was youngest of  all four &lt;br /&gt;(2) Technician was not oldest to B who is not youngest the artist&lt;br /&gt;(3) one more condition ,I could not remember  &lt;br /&gt;(4)C is not youngest of all&lt;br /&gt;&lt;br /&gt;Finaly asked the profession of every individual person                                                      [6 Marks] &lt;br /&gt;&lt;br /&gt;Answer:- A was consultant and reaming I did not remember but question was easy .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Jonty went for movie with his family but at ticket window a lot of rush present   so he was getting upset,then his father told him I am giving you a puzzle for you ,so that your time pass properly, he was agree then his father told him here lines of people at every after third man there was a kid ,but number of man and women is three times to the number of kids , Total people value lies between 800 to 1000.&lt;br /&gt;Can you tell me number of kids and number of adult.                                                        [6 Marks]&lt;br /&gt;&lt;br /&gt;Answer:- 300 kids and 600 adult (I am not very sure for this question)&lt;br /&gt;&lt;br /&gt;Infosys paper of 18th April Pune.&lt;br /&gt;&lt;br /&gt;1) A woman had some melons to sell. she sold half of the number of melons she had plus half a melon and she was left with one melon. HOW many melons she had at the start??? (just like 12th problem of puzzles to puzzle by shakuntala devi)&lt;br /&gt;Ans. 3 melons.&lt;br /&gt;Explanation: lets say she had X melons. half the number of melons will be X/2.if she sells half....she remains with half...so remaining are X/2.but she sells half a melon more...so 1/2 shou;d be subtracted from the remaining......so sha has now (X/2-1/2) and that is equal to 1.&lt;br /&gt;             X/2 - 1/2 = 1.&lt;br /&gt;             X/2 = 3/2&lt;br /&gt;              X = 3&lt;br /&gt;&lt;br /&gt;2)If u reverse the digits of fathers age u get the sons age.One year ago fathers age was double the age of son. Find their ages.(just the calculations were time consuming....it was not solvable...TRIAL AND ERROR got the answer)&lt;br /&gt;Ans: Son:37&lt;br /&gt;     Father:73&lt;br /&gt;&lt;br /&gt;3) Analytical question...George summers type.&lt;br /&gt;&lt;br /&gt;4) Analytical question...GRE type&lt;br /&gt;&lt;br /&gt;5) There are 13 rats sitting in a cirle. Out of them just one rat is white in colour.A cat starts eating and goes around the cirle. From where should the cat start to make sure that every 13th rat she eats is white.&lt;br /&gt; Ans.: The cat should start from the mouse just adjacent to the white mouse and go in direction opposite from the white mouse.&lt;br /&gt;&lt;br /&gt;6) problem no. 44 of Shakuntala devi puzzles to puzzle you. but the figures were different.&lt;br /&gt;&lt;br /&gt;7) Analytical ....George sunmmers type.&lt;br /&gt;&lt;br /&gt;8) There was some problem of pigeons and birds..i dont remember...it was on the lines of problem no. 266 of Shakuntala devi More Puzzles.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;/strong&gt; &lt;br /&gt;     &lt;br /&gt;1)On their way some group blew up the cylinder 1 Hr later when they &lt;br /&gt;left the station and traveled the remaining distance in three fifth of &lt;br /&gt;original speed and reached the later station 2 hrs late. It the problem &lt;br /&gt;happened 40 mins later, then we would have reached the destination 15 &lt;br /&gt;mins lesser. Find the distance &gt;&lt; the stations.  (related to time and &lt;br /&gt;distance).&lt;br /&gt; Ans : God only knows&lt;br /&gt;&lt;br /&gt;2) A Cube is painted red on all sides. If it is cut into 27 small &lt;br /&gt;cubes, tell the number of cubes having red color on&lt;br /&gt;a)3 Sides&lt;br /&gt;b)2 Sides&lt;br /&gt;c)1 Side&lt;br /&gt;d) 0 Sides&lt;br /&gt;Ans: 8,12,6,1&lt;br /&gt;&lt;br /&gt;3) A lady said, ” If you reverse my age, the figure represents my &lt;br /&gt;husband’s age. Of course, he is senior to me.&lt;br /&gt;Also the difference &gt;&lt; our age is one-eleventh of the sum” . Tell the &lt;br /&gt;ages of them?&lt;br /&gt; Ans : 54 &amp; 45&lt;br /&gt;&lt;br /&gt;4) A man has 2 children and at least one of them is a boy. What is the &lt;br /&gt;probability that the other is also a boy? &lt;br /&gt;  Ans : 1/3&lt;br /&gt;&lt;br /&gt;5) There are 3 pipes on a tank. One can fill the tank in 10 min and the &lt;br /&gt;other in 1/4 hr. It the third pipe can empty the tank in 7.5 min? How &lt;br /&gt;long will it take to fill the tank if all the 3 pipes are open?&lt;br /&gt;  Ans : 30 min&lt;br /&gt;&lt;br /&gt;6) There is a five digit no: Find out the no: from following clues:&lt;br /&gt;1) There are 2 primes&lt;br /&gt;2) 2nd digit is the lowest&lt;br /&gt;3) 3rd digit is the biggest&lt;br /&gt;4) no digit repeats&lt;br /&gt;5) Ist digit &gt; 4th + 5th&lt;br /&gt;6) 5th digit is double the 4th&lt;br /&gt;ans: 71842&lt;br /&gt;&lt;br /&gt;7) Four letters, A, B, C, D are given. Each one corresponds to 1,2,3 or &lt;br /&gt;4&lt;br /&gt;Match them from following conditions&lt;br /&gt;1) If A=1, then D=4&lt;br /&gt;2) If B&lt;&gt;1 then …..&lt;br /&gt;3) If B=2, then C=3&lt;br /&gt;4) Etc………&lt;br /&gt;5) &lt;br /&gt;8) X tells Y,” I think, ur company has 30 Clerks, right?”&lt;br /&gt;Y replies “ No, but if I have twice as much girls or thrice as much &lt;br /&gt;men, then I will have 30”&lt;br /&gt;How many Clerks, Y has now?&lt;br /&gt;Ans : 18  (12 girls + 6 women)&lt;br /&gt;&lt;br /&gt;9) There are 5 students. They spoke languages, English, Spanish, &lt;br /&gt;Italian, Chinese, French&lt;br /&gt;    Some conditions are given.&lt;br /&gt;1) A &amp; B speaks eng, but when D came, they spoke in French, since it is &lt;br /&gt;the only common language among them.&lt;br /&gt;2) C and E have only French in common.&lt;br /&gt;3) Three have Spanish in common&lt;br /&gt;4) French is the language, most people speaks&lt;br /&gt;……… Some 7 conditions&lt;br /&gt;Also, Only one speaks all 5 languages, one speaks 4 languages, one &lt;br /&gt;speaks 3 languages, one speaks only 2 languages and the last man speaks &lt;br /&gt;only one language.&lt;br /&gt; Some 4 questions are given, like,&lt;br /&gt;a) C does not speak ____.&lt;br /&gt;Four choices are given&lt;br /&gt;&lt;br /&gt;10) I m sorry.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1.sorry the first was confusing i didnt waste any time on it&lt;br /&gt;&lt;br /&gt;2.there r 2 measures- A AND B . B's capacity is twice that of A.&lt;br /&gt;A has half its capacity wine and B has one-fourth its capacity wine.&lt;br /&gt;A and B are filled up with water for the remaining volume and A &amp; B 's&lt;br /&gt;contents are transferrd to a measure C. wath part of the content in C is&lt;br /&gt;wine.&lt;br /&gt;&lt;br /&gt;ans:1/3&lt;br /&gt;&lt;br /&gt;3. this was a very easy question&lt;br /&gt;something like this&lt;br /&gt;&lt;br /&gt;for a house construction this was the charges&lt;br /&gt;&lt;br /&gt;carpenter+mason=$2300&lt;br /&gt;mason+electrician=$5300&lt;br /&gt;&lt;br /&gt;etc...&lt;br /&gt;find the individual charges.&lt;br /&gt;very easy one&lt;br /&gt;&lt;br /&gt;4.there are'N' stations. each of the stations sell tickets of all other&lt;br /&gt;stations. now some more stations are added.the difference in the no. of&lt;br /&gt;tickets is 46.&lt;br /&gt;&lt;br /&gt;1.what is "some"?&lt;br /&gt;2.what were the no. of old stations?&lt;br /&gt;&lt;br /&gt;ans:old=11 new=2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5.A's age transposed gives B's age. the difference of their ages is twice&lt;br /&gt;C'age. B's age is 10 times C's age. find their ages.&lt;br /&gt;&lt;br /&gt;ans:A=54, B=45, C=4.5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6.a murder has happened. 6 men are involved, judge, witness, policeman,&lt;br /&gt;murderer,victim &amp; hangman.The murder was commited with a gun. but the&lt;br /&gt;witness didnt see the murer but was sure that&lt;br /&gt;he heard the gun.The case came to court and the murderer was found,&lt;br /&gt;convicted, sentenced to death&lt;br /&gt;and was hanged.&lt;br /&gt;&lt;br /&gt;1.mark knew both the victim and the murderer.&lt;br /&gt;2. the judge asked clarke to give his version of this murder incident.&lt;br /&gt;3.walt was the last to see fillipe alive&lt;br /&gt;4.policeman said he picked up graham near the murder area.&lt;br /&gt;5.walt and hunt never met each other.&lt;br /&gt;&lt;br /&gt;who was who?&lt;br /&gt;&lt;br /&gt;ans: pls verify&lt;br /&gt;judge- mark&lt;br /&gt;victim-hunt&lt;br /&gt;hangman-walt&lt;br /&gt;murderer-fillipe&lt;br /&gt;witness-graham&lt;br /&gt;policeman-clarke&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. A women with dollar bills go to the shopping she spent half of the money&lt;br /&gt;she had for shopping as she was so kind she gave one dollar to the beggar.&lt;br /&gt;She went to the hotel and spent half of the remaining and she gave 2 dollars&lt;br /&gt;to the waiter, then she buys some goods with half of the remaining and she&lt;br /&gt;gave 3 dollars to the receptionist. How much money she had in the beginning?&lt;br /&gt;&lt;br /&gt;Ans: $42&lt;br /&gt;&lt;br /&gt;8.some venn diagram question.&lt;br /&gt;100 people were selected. 10 didnt know both typing and shorthand.75 new&lt;br /&gt;typing,83 knew shorthand and how many knew both. some thing like this.&lt;br /&gt;ans:i am not sure&lt;br /&gt;&lt;br /&gt;9. Following are the statements of three of the&lt;br /&gt;participants in a race. One among them is the winner&lt;br /&gt;of the race. One of them is a Sororrean, who always&lt;br /&gt;tells the truth, one of them is a Nororrean, who&lt;br /&gt;always lies, &amp; the third one is Midrorrean, who lies&lt;br /&gt;alternately. You have to find who is Sororrean, who is&lt;br /&gt;Nororrean, &amp; who is Miderorrean.&lt;br /&gt;&lt;br /&gt;A: i) C obstructed my way, &amp; hence I lost.&lt;br /&gt;ii) C always tells the truth.&lt;br /&gt;iii) C won the race.&lt;br /&gt;&lt;br /&gt;B: i) C is not a Nororrean.&lt;br /&gt;ii) A won the race.&lt;br /&gt;&lt;br /&gt;C: i) B won the race.&lt;br /&gt;ii) I didn't obstruct the way of A, because of&lt;br /&gt;which he lost.&lt;br /&gt;&lt;br /&gt;ANS.: A:Nororrean, B:Sororrean, C:Midrorrean&lt;br /&gt;&lt;br /&gt;10. some thing like the previous question but more confusing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;br /&gt;The pattern of the test was ....&lt;br /&gt; 1) 10 puzzles 60 minutes. The puzzles were relatively easy.All were direct models.&lt;br /&gt; 2) then an english test for 30 min containing 45 questions like paragraphs and synonyms..easy if ur good&lt;/strong&gt;      &lt;br /&gt;Here's how the paper looks....&lt;br /&gt; &lt;br /&gt;1) Two trains one passenger and oher freight are travelling on parallel tracks in opposite directions.   After  some time  the passenger train overtook the freight train..wats the speed of the the passenger   train compared to the  other train...&lt;br /&gt; &lt;br /&gt;2) Its abt mixtures..  A bottle is filled up to half with some liquid..another bottle double the capacity of   the first one is 1/4th filled with liquid. water is poured in both the bottles and shifted to a third bottle.   wats the concentration of the liquid present in the final mixture..&lt;br /&gt; &lt;br /&gt;3) small probability problem &lt;br /&gt; &lt;br /&gt;4) direct from shakunthala devi  no 45 something for charities..(puzzles to puzzle you)&lt;br /&gt;&lt;br /&gt;5) The transposew of the age of an person is other person's age, a condition like 5A=6B and B's Age is 10 times that of another person(C). find out the ages  of each.&lt;br /&gt;&lt;br /&gt;6) simple arithmetic basing on equations like &lt;br /&gt; hanger+painter=1100&lt;br /&gt; paniter +plumber=1700 and other such equations we have to find out individual amt for each thing.&lt;br /&gt;      (data may not be exact just rough figures..) &lt;br /&gt; &lt;br /&gt;7) There is a route N in which some stations were present..few stations were added  to the route and this&lt;br /&gt;  added 46 sets of tickets.&lt;br /&gt; a) how many stations were added?&lt;br /&gt; b) how many stations initially.&lt;br /&gt;&lt;br /&gt;8) reasoning problem . three winning groups mororean sororean and midrorean we have to find out..   who belongs to wat group basing on some conditions..&lt;br /&gt; &lt;br /&gt;9) a puzzle based on the situation as to whos what..&lt;br /&gt;   the brief story goes like this.. a person is killed, a witness, a poilce officer, judge,murderer,  hangman and some conditions and names we have to tell whos what..&lt;br /&gt; &lt;br /&gt;10) reasoning...&lt;br /&gt;     wat group does a person belong to depending on the conditions given by three people. one of whom always speaks truth the other always false and the other..a bit of both..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. The time a passenger train takes to cross another freight train is twice when the passenger train crosses the freight train running in opposite directions. What is the ratio of their speeds?&lt;br /&gt;&lt;br /&gt;Ans: P:F::3:1&lt;br /&gt;&lt;br /&gt;2. In a container A wine is half filled. In another container B, twice the capacity wine is one fourth filled. They are then filled with water and poured in container C. What is the proportion of wine in container C?&lt;br /&gt;&lt;br /&gt;Ans: 33.33%&lt;br /&gt;&lt;br /&gt;3. There are N stations and tickets are issued from all the stations to the other stations. When some more stations were added to the route then 46 more tickets were introduced. How many are some? How many initial stations were there?&lt;br /&gt;&lt;br /&gt;Ans: 11 and 2&lt;br /&gt;&lt;br /&gt;4. Ten students in a class of 100 do not take up either physics or chemistry. 75 of them atleast take up physics, 83 take up atleast chemistry. How many take up both physics and chemistry?&lt;br /&gt;&lt;br /&gt;Ans: 68&lt;br /&gt;&lt;br /&gt;5. The age of A when reversed becomes B's age. when age of B is taken away from A it is twice C's age. B's age is ten times that of C's. What are their ages?&lt;br /&gt;&lt;br /&gt;Ans: A=54; B=45; C=4.5&lt;br /&gt;&lt;br /&gt;6. A woman gave a man for his trust half the amount of pennies in her purse and one penny more. She gave another man half of the remaining amount and two pennies more. She gave yet another half of the remaining amount and three pennies more. And now she has only one penny remaining in her purse. How many pennies did she have initially?&lt;br /&gt;&lt;br /&gt;Ans: 42&lt;br /&gt;&lt;br /&gt;7. In the construction of a house these were required&lt;br /&gt;Designer and Painter equals Rs. 1100&lt;br /&gt;Painter and Plumber equals Rs. 1700&lt;br /&gt;Plumber and Electrician equals Rs. 1100&lt;br /&gt;Electrician and Constructor equals Rs. 3200&lt;br /&gt;Constructor and Mechanic equals Rs. 5300&lt;br /&gt;Mechanic and Painter equals Rs. 3200&lt;br /&gt;What are their individual costs?&lt;br /&gt;&lt;br /&gt;Ans: Designer=200; Painter=900; Plumber=800; Electrician=300; Constructor=3000; Mechanic=2300&lt;br /&gt;&lt;br /&gt;8. Three persons A, B, c run a race. They belong to the following categories not in order: Sororean, who always told the truth; Nororean, who always told lies and Midrorean who told lies and truth alternatively but not necessarily in this order. After the race they said the following.&lt;br /&gt;&lt;br /&gt;Runner A&lt;br /&gt;1) C has interrupted me in the race.&lt;br /&gt;2) B has won the race.&lt;br /&gt;3) I have not won the race.&lt;br /&gt;&lt;br /&gt;Runner B&lt;br /&gt;1) I have not won the race.&lt;br /&gt;2) A has won the race. &lt;br /&gt;&lt;br /&gt;Runner C&lt;br /&gt;1) B has won the race.&lt;br /&gt;2) I have not interrupted A in the race.&lt;br /&gt;&lt;br /&gt;To which categories did they belong?&lt;br /&gt;&lt;br /&gt;Ans: A=Nororean; B=Sororean; C=Midrorean&lt;br /&gt;&lt;br /&gt;9. Tom has a martian friend named Dorman who got lost. He learnt their language and asked three martians named Aken, Bak, and Cwon who belonged to the categories Uti (who always spoke the truth), Yumi (who always lied) and Grundi (sometimes truth / sometimes lied). Tom asked them two questions viz. Which category do you belong? Which category does Dorman belong?&lt;br /&gt;&lt;br /&gt;Aken replies&lt;br /&gt;I am not an Uti.&lt;br /&gt;Dorman is not a Grundi.&lt;br /&gt;&lt;br /&gt;Bak replies&lt;br /&gt;I am not an Uti.&lt;br /&gt;Dorman is not a Yumi.&lt;br /&gt;&lt;br /&gt;Cwon replies&lt;br /&gt;I am not a Grundi.&lt;br /&gt;Dorman is not an Uti.&lt;br /&gt;&lt;br /&gt;(There was probably a printing Error but answer could be easily inferred)&lt;br /&gt;Ans: Dorman is 'Uti'&lt;br /&gt;&lt;br /&gt;10. (This was the toughest question and no one in my knowledge was confident of the correct answer)&lt;br /&gt;At the scene of the murder there is a Witness, Victim, Murderer, Policeman, Judge, and Hangman. The witness did not see the shooting but heard an altercation before the victim was shot to death. The murderer was convicted and finally hanged to death. The persons are Fillip, Clark, Hunt, Walt, Graham and Bill.&lt;br /&gt;&lt;br /&gt;1) Hunt and Walt never met.&lt;br /&gt;2) the policeman picked up Graham from the scene of the crime.&lt;br /&gt;3) Bill was the last to see Fillip alive..&lt;br /&gt;4) Clark was asked by the judge to give his account of the shooting.&lt;br /&gt;5) Hunt knew both the victim and the murderer  &lt;br /&gt;Identify who was who?&lt;br /&gt;&lt;br /&gt;Ans: Only Fillip is the victim can be properly inferred.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1.sorry the first was confusing i didnt waste any time on it&lt;br /&gt;&lt;br /&gt;2.there r 2 measures- A AND B . B's capacity is twice that of A.&lt;br /&gt;A has half its capacity wine and B has one-fourth its capacity wine.&lt;br /&gt;A and B are filled up with water for the remaining volume and A &amp; B 's &lt;br /&gt;contents are transferrd to a measure C. wath part of the content in C is &lt;br /&gt;wine.&lt;br /&gt;&lt;br /&gt;ans:1/3&lt;br /&gt;&lt;br /&gt;3. this was a very easy question&lt;br /&gt;something like this&lt;br /&gt;&lt;br /&gt;for a house construction this was the charges&lt;br /&gt;&lt;br /&gt;carpenter+mason=$2300&lt;br /&gt;mason+electrician=$5300&lt;br /&gt;&lt;br /&gt;etc...&lt;br /&gt;find the individual charges.&lt;br /&gt;very easy one&lt;br /&gt;&lt;br /&gt;4.there are'N' stations. each of the stations sell tickets of all other &lt;br /&gt;stations. now some more stations are added.the difference in the no. of &lt;br /&gt;tickets is 46.&lt;br /&gt;&lt;br /&gt;1.what is "some"?&lt;br /&gt;2.what were the no. of old stations?&lt;br /&gt;&lt;br /&gt;ans:old=11 new=2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5.A's age transposed gives B's age. the difference of their ages is twice &lt;br /&gt;C'age. B's age is 10 times C's age. find their ages.&lt;br /&gt;&lt;br /&gt;ans:A=54, B=45, C=4.5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6.a murder has happened. 6 men are involved, judge, witness, policeman, &lt;br /&gt;murderer,victim &amp; hangman.The murder was commited with a gun. but the &lt;br /&gt;witness didnt see the murer but was sure that&lt;br /&gt;he heard the gun.The case came to court and the murderer was found, &lt;br /&gt;convicted, sentenced to death&lt;br /&gt;and was hanged.&lt;br /&gt;&lt;br /&gt;1.mark knew both the victim and the murderer.&lt;br /&gt;2. the judge asked clarke to give his version of this murder incident.&lt;br /&gt;3.walt was the last to see fillipe alive&lt;br /&gt;4.policeman said he picked up graham near the murder area.&lt;br /&gt;5.walt and hunt never met each other.&lt;br /&gt;&lt;br /&gt;who was who?&lt;br /&gt;&lt;br /&gt;ans: pls verify&lt;br /&gt;judge- mark&lt;br /&gt;victim-hunt&lt;br /&gt;hangman-walt&lt;br /&gt;murderer-fillipe&lt;br /&gt;witness-graham&lt;br /&gt;policeman-clarke&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. A women with dollar bills go to the shopping she spent half of the money &lt;br /&gt;she had for shopping as she was so kind she gave one dollar to the beggar. &lt;br /&gt;She went to the hotel and spent half of the remaining and she gave 2 dollars &lt;br /&gt;to the waiter, then she buys some goods with half of the remaining and she &lt;br /&gt;gave 3 dollars to the receptionist. How much money she had in the beginning?&lt;br /&gt;&lt;br /&gt;Ans:  $42&lt;br /&gt;&lt;br /&gt;8.some venn diagram question.&lt;br /&gt;100 people were selected. 10 didnt know both typing and shorthand.75 new &lt;br /&gt;typing,83 knew shorthand and how many knew both. some thing like this.&lt;br /&gt;ans:i am not sure&lt;br /&gt;&lt;br /&gt;9. Following are the statements of three of the&lt;br /&gt;participants in a race. One among them is the winner&lt;br /&gt;of the race. One of them is a Sororrean, who always&lt;br /&gt;tells the truth, one of them is a Nororrean, who&lt;br /&gt;always lies, &amp; the third one is Midrorrean, who lies&lt;br /&gt;alternately. You have to find who is Sororrean, who is&lt;br /&gt;Nororrean, &amp; who is Miderorrean.&lt;br /&gt;&lt;br /&gt;A: i)   C obstructed my way, &amp; hence I lost.&lt;br /&gt;   ii)  C always tells the truth.&lt;br /&gt;   iii) C won the race.&lt;br /&gt;&lt;br /&gt;B: i)   C is not a Nororrean.&lt;br /&gt;   ii)  A won the race.&lt;br /&gt;&lt;br /&gt;C: i)   B won the race.&lt;br /&gt;   ii)  I didn't obstruct the way of A, because of&lt;br /&gt;which he lost.&lt;br /&gt;&lt;br /&gt;ANS.: A:Nororrean, B:Sororrean, C:Midrorrean&lt;br /&gt;&lt;br /&gt;10. some thing like the previous question but more confusing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Infosys paper&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. The time a passenger train takes to cross another freight train is twice when the passenger train crosses the freight train running in opposite directions. What is the ratio of their speeds?&lt;br /&gt;&lt;br /&gt;Ans: P:F::3:1&lt;br /&gt;&lt;br /&gt;2. In a container A wine is half filled. In another container B, twice the capacity wine is one fourth filled. They are then filled with water and poured in container C. What is the proportion of wine in container C?&lt;br /&gt;&lt;br /&gt;Ans: 33.33%&lt;br /&gt;&lt;br /&gt;3. There are N stations and tickets are issued from all the stations to the other stations. When some more stations were added to the route then 46 more tickets were introduced. How many are some? How many initial stations were there?&lt;br /&gt;&lt;br /&gt;Ans: 11 and 2&lt;br /&gt;&lt;br /&gt;4. Ten students in a class of 100 do not take up either physics or chemistry. 75 of them atleast take up physics, 83 take up atleast chemistry. How many take up both physics and chemistry?&lt;br /&gt;&lt;br /&gt;Ans: 68&lt;br /&gt;&lt;br /&gt;5. The age of A when reversed becomes B's age. when age of B is taken away from A it is twice C's age. B's age is ten times that of C's. What are their ages?&lt;br /&gt;&lt;br /&gt;Ans: A=54; B=45; C=4.5&lt;br /&gt;&lt;br /&gt;6. A woman gave a man for his trust half the amount of pennies in her purse and one penny more. She gave another man half of the remaining amount and two pennies more. She gave yet another half of the remaining amount and three pennies more. And now she has only one penny remaining in her purse. How many pennies did she have initially?&lt;br /&gt;&lt;br /&gt;Ans: 42&lt;br /&gt;&lt;br /&gt;7. In the construction of a house these were required&lt;br /&gt;Designer and Painter equals Rs. 1100&lt;br /&gt;Painter and Plumber equals Rs. 1700&lt;br /&gt;Plumber and Electrician equals Rs. 1000&lt;br /&gt;Electrician and Constructor equals Rs. 3200&lt;br /&gt;Constructor and Mechanic equals Rs. 5300&lt;br /&gt;Mechanic and Painter equals Rs. 3200&lt;br /&gt;What are their individual costs?&lt;br /&gt;&lt;br /&gt;Ans: Designer=200; Painter=900; Plumber=800; Electrician=200; Constructor=3000; Mechanic=2300&lt;br /&gt;&lt;br /&gt;8. Three persons A, B, c run a race. They belong to the following categories not in order: Sororean, who always told the truth; Nororean, who always told lies and Midrorean who told lies and truth alternatively but not necessarily in this order. After the race they said the following.&lt;br /&gt;&lt;br /&gt;Runner A&lt;br /&gt;1) C has interrupted me in the race.&lt;br /&gt;2) B has won the race.&lt;br /&gt;3) I have not won the race.&lt;br /&gt;&lt;br /&gt;Runner B&lt;br /&gt;1) I have not won the race.&lt;br /&gt;2) A has won the race. &lt;br /&gt;&lt;br /&gt;Runner C&lt;br /&gt;1) B has won the race.&lt;br /&gt;2) I have not interrupted A in the race.&lt;br /&gt;&lt;br /&gt;To which categories did they belong?&lt;br /&gt;&lt;br /&gt;Ans: A=Nororean; B=Sororean; C=Midrorean&lt;br /&gt;&lt;br /&gt;9. Tom has a martian friend named Dorman who got lost. He learnt their language and asked three martians named Aken, Bak, and Cwon who belonged to the categories Uti (who always spoke the truth), Yumi (who always lied) and Grundi (sometimes truth / sometimes lied). Tom asked them two questions viz. Which category do you belong? Which category does Dorman belong?&lt;br /&gt;&lt;br /&gt;Aken replies&lt;br /&gt;I am not an Uti.&lt;br /&gt;Dorman is not a Grundi.&lt;br /&gt;&lt;br /&gt;Bak replies&lt;br /&gt;I am not an Uti.&lt;br /&gt;Dorman is not a Yumi.&lt;br /&gt;&lt;br /&gt;Cwon replies&lt;br /&gt;I am not a Grundi.&lt;br /&gt;Dorman is not an Uti.&lt;br /&gt;&lt;br /&gt;(There was probably a printing Error but answer could be easily inferred)&lt;br /&gt;Ans: Dorman is 'Uti'&lt;br /&gt;&lt;br /&gt;10. (This was the toughest question and no one in my knowledge was confident of the correct answer)&lt;br /&gt;At the scene of the murder there is a Witness, Victim, Murderer, Policeman, Judge, and Hangman. The witness did not see the shooting but heard an altercation before the victim was shot to death. The murderer was convicted and finally hanged to death. The persons are Fillip, Clark, Hunt, Walt, Graham and Bill.&lt;br /&gt;&lt;br /&gt;1) Hunt and Walt never met.&lt;br /&gt;2) the policeman picked up Graham from the scene of the crime.&lt;br /&gt;3) Bill was the last to see Fillip alive..&lt;br /&gt;4) Clark was asked by the judge to give his account of the shooting.&lt;br /&gt;5) Hunt knew both the victim and the murderer  &lt;br /&gt;Identify who was who?&lt;br /&gt;&lt;br /&gt;Ans: Only Fillip is the victim can be properly inferred.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2387574353666087948-3753578176625639491?l=computeredu4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/3753578176625639491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2387574353666087948&amp;postID=3753578176625639491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/3753578176625639491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/3753578176625639491'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/2010/07/some-it-companies-palcement-papers.html' title='SOME IT COMPANIES PALCEMENT PAPERS'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-7508397593509462470</id><published>2010-07-10T11:10:00.000-07:00</published><updated>2010-07-10T11:13:20.074-07:00</updated><title type='text'>HCL TECHNOLOGIES PLACEMENT PAPERS</title><content type='html'>&lt;strong&gt;HCL TECHNOLOGIES&lt;br /&gt;Some paper may have repeated qns. Paper also may be repeated. I am just collecting all papers what I am having.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To clear the HCL TECHNOLOGIES written test, all u have to do is use BASIC LOGIC.&lt;br /&gt;Go thro’ all the previous papers. The questions usually get repeated.&lt;br /&gt;There are 4 sections.&lt;br /&gt;1)	Aptitude&lt;br /&gt;2)	General computer concepts&lt;br /&gt;3)	C programming&lt;br /&gt;4)	Flowchart analysis&lt;/strong&gt;&lt;br /&gt;There’s negative marking. So be careful.&lt;br /&gt;The only constraint is Time.&lt;br /&gt;So if can utilize the time well, then u will definitely clear the test.&lt;br /&gt;ALL THE BEST.&lt;br /&gt;                                                 Aptitude.&lt;br /&gt; 1.    a=2, b=3, c=6  Find the value of c/(a+b)-(a+b)/c&lt;br /&gt;           Ans. 11/30&lt;br /&gt; 2.   What does the hexa number E78 in radix 7.&lt;br /&gt;           (a) 12455&lt;br /&gt;           (b) 14153&lt;br /&gt;           (c) 14256&lt;br /&gt;           (d) 13541&lt;br /&gt;           (e) 131112&lt;br /&gt;           &lt;br /&gt; 3.   In a murder case there are four suspects P,Q,R,S. Each of them makes a statement. They are p:&lt;br /&gt;     "I had gone to the theatre with S at the time of the murder".q: "I was playing cards with P at the time &lt;br /&gt;      of the murder".r: "Q didn't commit the murder".s: "R is not the murderer".Assuming the only one of the&lt;br /&gt;      above statement is false and that  one of them is the murderer, who is the murderer?&lt;br /&gt;             a) P&lt;br /&gt;             b) Q&lt;br /&gt;             c) R&lt;br /&gt;             d) Cann't be concluded                                                                                    &lt;br /&gt;              e) S&lt;br /&gt;             &lt;br /&gt;&lt;br /&gt;4.    Q is not equal to zero and k = (Q x n - s)/2.What is n?&lt;br /&gt;            (a) (2 x k + s)/Q&lt;br /&gt;            (b) (2 x s x k)/Q&lt;br /&gt;            (c) (2 x k - s)/Q&lt;br /&gt;            (d) (2 x k + s x Q)/Q&lt;br /&gt;            (e) (k + s)/Q &lt;br /&gt;5 Mohan earned twice as much as Deep. Yogesh earned rs.3/- more than half as much as deep. &lt;br /&gt;       If the amounts earned by Mohan,Deep,Yogesh are M,D,Y respectively, Which of the following is &lt;br /&gt;       the correct ordering of these amounts?&lt;br /&gt;         a) M &lt; D &lt; Y&lt;br /&gt;         b) M&lt; Y &lt; D&lt;br /&gt;         c) D&lt; M &lt; Y&lt;br /&gt;         d) It cann't be determined from the information given&lt;br /&gt;         e) D&lt; Y &lt; M&lt;br /&gt;        &lt;br /&gt;Questions 6 - 10 are to be answered on the following data&lt;br /&gt;            A causes B or C, but not both &lt;br /&gt;            F occurs only if B occurs&lt;br /&gt;            D occurs if B or C occurs&lt;br /&gt;            E occurs only if C occurs&lt;br /&gt;            J occurs only if E or F occurs&lt;br /&gt;            D causes G,H or both&lt;br /&gt;            H occurs if E occurs                                                                                        &lt;br /&gt;            G occurs if F occurs &lt;br /&gt;6.     If A occurs which of the following must occurs &lt;br /&gt;             I.   F and G&lt;br /&gt;             II.  E and H&lt;br /&gt;             III. D &lt;br /&gt;           (a) I only&lt;br /&gt;           (b) II only&lt;br /&gt;           (c) III only&lt;br /&gt;           (d) I,II, &amp; III&lt;br /&gt;           (e) I &amp; II (or) II &amp; III but not both &lt;br /&gt; &lt;br /&gt;7.    If B occurs which must occur &lt;br /&gt;          (a) D&lt;br /&gt;          (b) D and G&lt;br /&gt;          (c) G and H&lt;br /&gt;          (d) F and G&lt;br /&gt;          (e) J &lt;br /&gt; &lt;br /&gt;8.    If J occurs which must have occurred &lt;br /&gt;         (a) E&lt;br /&gt;         (b) either B or C&lt;br /&gt;         (c) both E &amp; F&lt;br /&gt;         (d) B&lt;br /&gt;         (e) both B &amp; C&lt;br /&gt; &lt;br /&gt;9.   Which may occurs as a result of cause not mentioned &lt;br /&gt;         I.     D&lt;br /&gt;         II.   A&lt;br /&gt;         III.  F &lt;br /&gt;          (a) I only&lt;br /&gt;          (b) II only&lt;br /&gt;          (c) I &amp; II&lt;br /&gt;          (d) II &amp; III&lt;br /&gt;          (e) I,II &amp; III                                                                                                  &lt;br /&gt;10.  E occurs which one cannot occurs &lt;br /&gt;           (a) A&lt;br /&gt;           (b) F&lt;br /&gt;          (c) D&lt;br /&gt;          (d) C&lt;br /&gt;          (e) J &lt;br /&gt;          &lt;br /&gt;11.  Given that A,B,C,D,E each represent one of the digits between 1 and 9 and that the following&lt;br /&gt;       multiplication holds:&lt;br /&gt;            A B C D E&lt;br /&gt;                    X 4&lt;br /&gt;           --------------&lt;br /&gt;          E D C B A&lt;br /&gt;           --------------      what digit does E represent ?&lt;br /&gt;             a) 4&lt;br /&gt;             b) 6&lt;br /&gt;             c) 8                                                                                                    &lt;br /&gt;             d) 7&lt;br /&gt;&lt;br /&gt;12.  HCL prototyping machine can make 10 copies every 4 seconds. At this rate, How many copies&lt;br /&gt;       can the machine make in 6 min.?&lt;br /&gt;        a) 900&lt;br /&gt;        b) 600&lt;br /&gt;        c) 360&lt;br /&gt;        d) 240&lt;br /&gt;        e) 150&lt;br /&gt;&lt;br /&gt;13. 10^2(10^8+10^8) =-------------- 10^4 &lt;br /&gt;             a) 2(10)^4&lt;br /&gt;             b) 2(10)^6&lt;br /&gt;             c) 10^8&lt;br /&gt;             d) 2(10)^8                                                                                                &lt;br /&gt;             e) 10^10 &lt;br /&gt;14. Worker W produces n units in 5 hours. Workers V and W, workers independently but at the &lt;br /&gt;      same time, produce n units in 2 hours.how long would it take V alone to produce n units?&lt;br /&gt;          a) 1 hr 26 min&lt;br /&gt;          b) 1 hr 53 min&lt;br /&gt;          c) 2 hr 30 min&lt;br /&gt;          d) 3 hr 30 min&lt;br /&gt;          e) 3 hr 20 min&lt;br /&gt;          &lt;br /&gt; 15.  Six knights - P,Q,R,S,T and U - assemble for a long journey in Two traveling parties. For security, each traveling party Consists of at least two knights. The two parties travel by separate routes, northern and southern. After one month, the routes of the northern and southern groups converge for a brief time and at that point the knights can, if they wish, rearrange their traveling parties before continuing, again in two parties along separate northern and southern routes. Throughout the entire trip, the composition of traveling parties must be in accord with the following conditions P and R are deadly enemies and, although they may meet briefly, can never travel together. p must travel in the same party with s  Q can’t travel by the southern route U can’t change routes&lt;br /&gt;16.  If one of the two parties of knights consists of P and U and two other knights and travels by the southern route,&lt;br /&gt;       the other members of this party besides P and U must be&lt;br /&gt;       a) Q and S&lt;br /&gt;       b) Q and T                                                                                                               &lt;br /&gt;       c) R and S&lt;br /&gt;       d) R and T&lt;br /&gt;       e) S and T &lt;br /&gt;       &lt;br /&gt;17. If each of the two parties of knights consists of exactly three members, which of the following is not a possible  travelling party and route?&lt;br /&gt;        a) P,S,U by the northern route&lt;br /&gt;        b) P,S,T by the northern route&lt;br /&gt;        c) P,S,T by the southern route&lt;br /&gt;        d) P,S,U by the southern route&lt;br /&gt;        e) Q,R,T by the southern route &lt;br /&gt;&lt;br /&gt;18)  If one of the two parties of knights consists of U and two other knights and travels by the northern route, the  other memnbers of this party besides U must be&lt;br /&gt;          a) P and S&lt;br /&gt;          b) P and T&lt;br /&gt;          c) Q and R&lt;br /&gt;          d) Q and T                                                                                                &lt;br /&gt;          e) R and T &lt;br /&gt;&lt;br /&gt;19)  If each of the two parties of knights consists of exactly three members of different parties, and R travels by the northern route,then T must travel by the&lt;br /&gt;        a) southern route with P and S&lt;br /&gt;        b) southern route with Q and R&lt;br /&gt;        c) southern route with R and U&lt;br /&gt;        d) northern route with Q and R&lt;br /&gt;        e) northern route with R and U &lt;br /&gt;        &lt;br /&gt;20.  If, when the two parties of knights encounter one another after a month, exactly one knight changes from &lt;br /&gt;       one travelling party to the other travelling party, that knight must be&lt;br /&gt;          a) P&lt;br /&gt;          b) Q&lt;br /&gt;          c) R&lt;br /&gt;          d) S     &lt;br /&gt;          e) T &lt;br /&gt;          &lt;br /&gt;					&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C Programming&lt;br /&gt;                                      &lt;br /&gt;  1. Which of the following about the following two declaration is true&lt;br /&gt;       i ) int *F()&lt;br /&gt;       ii) int (*F)()&lt;br /&gt;       Choice :&lt;br /&gt;      a) Both are identical&lt;br /&gt;      b) The first is a correct declaration and the second is wrong&lt;br /&gt;      c) The first declaraion is a function returning a pointer to an integer and the second is a pointer to function returning int&lt;br /&gt;      d) Both are different ways of declarin pointer to a function     &lt;br /&gt;2. What are the values printed by the following program?                                            &lt;br /&gt;        #define dprint(expr) printf(#expr "=%d\n",expr)&lt;br /&gt;         main()&lt;br /&gt;            {&lt;br /&gt;              int x=7;&lt;br /&gt;              int y=3;&lt;br /&gt;              dprintf(x/y);&lt;br /&gt;          }&lt;br /&gt;          Choice:&lt;br /&gt;           a) #2 = 2 b) expr=2 c) x/y=2 d) none&lt;br /&gt;           &lt;br /&gt;3. What is th output of the following program?                                                                  &lt;br /&gt;    int x= 0x65;&lt;br /&gt;         main()&lt;br /&gt;            {&lt;br /&gt;             char x;&lt;br /&gt;             printf("%d\n",x)&lt;br /&gt;           }&lt;br /&gt;       a) compilation error     b) 'A'     c) 65       d) unidentified&lt;br /&gt;4. What is the output of the following program&lt;br /&gt;         main()&lt;br /&gt;             {&lt;br /&gt;              int a=10;&lt;br /&gt;              int b=6;&lt;br /&gt;              if(a=3)&lt;br /&gt;              b++;&lt;br /&gt;              printf("%d %d\n",a,b++);&lt;br /&gt;              }&lt;br /&gt;          a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none&lt;br /&gt;          &lt;br /&gt;5. What can be said of the following program?&lt;br /&gt;          main()&lt;br /&gt;             {&lt;br /&gt;                enum Months {JAN =1,FEB,MAR,APR};&lt;br /&gt;                Months X = JAN;&lt;br /&gt;                if(X==1)&lt;br /&gt;                   {&lt;br /&gt;                     printf("Jan is the first month");                                                               &lt;br /&gt;                  }&lt;br /&gt;             }&lt;br /&gt;          a) Does not print anything&lt;br /&gt;          b) Prints : Jan is the first month&lt;br /&gt;          c) Generates compilation error&lt;br /&gt;          d) Results in runtime error&lt;br /&gt;          &lt;br /&gt;6. What is the output of the following program?&lt;br /&gt;                 main()&lt;br /&gt;                        {&lt;br /&gt;                          int l=6;&lt;br /&gt;                          switch(l)&lt;br /&gt;                          { default : l+=2;&lt;br /&gt;                            case 4: l=4;&lt;br /&gt;                            case 5: l++;&lt;br /&gt;                            break;&lt;br /&gt;                            }&lt;br /&gt;                            printf("%d",l);                                                                                       &lt;br /&gt;                              }&lt;br /&gt;                    a)8 b)6 c)5 d)4 e)none&lt;br /&gt;                   &lt;br /&gt;7. What is the output of the following program?&lt;br /&gt;            main()&lt;br /&gt;                   {&lt;br /&gt;                    int x=20;&lt;br /&gt;                    int y=10;&lt;br /&gt;                    swap(x,y);&lt;br /&gt;                    printf("%d %d",y,x+2);&lt;br /&gt;                  }&lt;br /&gt;                     swap(int x,int y)&lt;br /&gt;                             {&lt;br /&gt;                               int temp;&lt;br /&gt;                               temp =x;&lt;br /&gt;                               x=y;&lt;br /&gt;                                y=temp;&lt;br /&gt;                             }&lt;br /&gt;                     a)10,20 b) 20,12 c) 22,10 d)10,22 e)none&lt;br /&gt;                   &lt;br /&gt;&lt;br /&gt;8. What is the size of the following union. Assume that the size of int =2, size of float =4 and size of&lt;br /&gt;       char =1.&lt;br /&gt;       Union Tag{&lt;br /&gt;         int a;&lt;br /&gt;         flaot b;&lt;br /&gt;        char c;&lt;br /&gt;           };&lt;br /&gt;        a)2 b)4 c)1 d) 7          &lt;br /&gt;&lt;br /&gt;                                                                         &lt;br /&gt;&lt;br /&gt;  General computer concepts&lt;br /&gt;&lt;br /&gt;1. Which of the following involves context switch,&lt;br /&gt;          (a) system call&lt;br /&gt;          (b) priviliged instruction&lt;br /&gt;          (c) floating poitnt exception&lt;br /&gt;          (d) all the above&lt;br /&gt;          (e) none of the above&lt;br /&gt;&lt;br /&gt; 2. In OST, terminal emulation is done in                                                                  &lt;br /&gt;     (a) sessions layer&lt;br /&gt;     (b) application layer&lt;br /&gt;     (c) presentation layer&lt;br /&gt;     (d) transport layer&lt;br /&gt;&lt;br /&gt;3. For 1 MB memory, the number of address lines required,&lt;br /&gt;       (a)11&lt;br /&gt;       (b)20&lt;br /&gt;       (c)22&lt;br /&gt;       (d) 24&lt;br /&gt;&lt;br /&gt;4. Semaphore is used for&lt;br /&gt;      (a) synchronization&lt;br /&gt;      (b) dead-lock avoidence                                                                                    &lt;br /&gt;      (c) box&lt;br /&gt;      (d) none&lt;br /&gt;&lt;br /&gt;5.   Piggy backing is a technique for a) Flow control b) sequence c) Acknowledgement d) retransmition&lt;br /&gt;     &lt;br /&gt;6.    the operating system (mapping of virtual to physical address)&lt;br /&gt;7	A 177333(conversion of HEX "0xFEDB"in octal)&lt;br /&gt;&lt;br /&gt;8	 In signed magnitude notation what is the minimum value that can be represented with 8 bits&lt;br /&gt;&lt;br /&gt;(a) -128 &lt;br /&gt;(b) -255 &lt;br /&gt;(c) -127 &lt;br /&gt;(d) 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is all that I can recollect.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Technical Interview:&lt;br /&gt;&lt;br /&gt;There were 3 members in the Panel.&lt;br /&gt;They were really friendly.&lt;br /&gt;They make u really comfortable.&lt;br /&gt;&lt;br /&gt;	Be well versed with ur project.&lt;br /&gt;	Be prepared with at least one software language ( They almost cover all the topics in the subj chosen)&lt;br /&gt;I told them that I was more comfortable with JAVA. They covered all the topics. Be clr with all the basic concepts. If u don’t know the answer 2 any question then just admit it.&lt;br /&gt;	They may also ask u questions from ur resume&lt;br /&gt;	The most important thing is RELAX( KEEP SMILING).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HR Interview:&lt;br /&gt;&lt;br /&gt;This was not the regular kinda HR round.&lt;br /&gt;&lt;br /&gt;	I was asked abt my parents&lt;br /&gt;	My project&lt;br /&gt;	Was given a realistic problem 2 solve.&lt;br /&gt;	As I was from Hyd, he wanted me 2 convince him abt my commitment to HCL. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Aptitude.&lt;br /&gt; 1.    a=2, b=3, c=6  Find the value of c/(a+b)-(a+b)/c&lt;br /&gt;           Ans. 11/30&lt;br /&gt; 2.   What does the hexa number E78 in radix 7.&lt;br /&gt;           (a) 12455&lt;br /&gt;           (b) 14153&lt;br /&gt;           (c) 14256&lt;br /&gt;           (d) 13541&lt;br /&gt;           (e) 131112&lt;br /&gt;           Ans. (d) &lt;br /&gt;3.    10 : 4 seconds :: ? : 6 minutes                                                                       &lt;br /&gt;           Ans. 90 &lt;br /&gt;4.    Q is not equal to zero and k = (Q x n - s)/2.What is n?&lt;br /&gt;            (a) (2 x k + s)/Q&lt;br /&gt;            (b) (2 x s x k)/Q&lt;br /&gt;            (c) (2 x k - s)/Q&lt;br /&gt;            (d) (2 x k + s x Q)/Q&lt;br /&gt;            (e) (k + s)/Q &lt;br /&gt;5.     From the following statements determing the order of ranking&lt;br /&gt;        M has double the amount as D Y has 3 rupess more than half the amount of D&lt;br /&gt;        Ans. Data insuffiecient &lt;br /&gt;        Questions 6 - 10 are to be answered on the following data&lt;br /&gt;            A causes B or C, but not both &lt;br /&gt;            F occurs only if B occurs&lt;br /&gt;            D occurs if B or C occurs&lt;br /&gt;            E occurs only if C occurs&lt;br /&gt;            J occurs only if E or F occurs&lt;br /&gt;            D causes G,H or both&lt;br /&gt;            H occurs if E occurs                                                                                                   G occurs if F occurs &lt;br /&gt;6.     If A occurs which of the following must occurs &lt;br /&gt;             I.   F and G&lt;br /&gt;             II.  E and H&lt;br /&gt;             III. D &lt;br /&gt;           (a) I only&lt;br /&gt;           (b) II only&lt;br /&gt;           (c) III only&lt;br /&gt;           (d) I,II, &amp; III&lt;br /&gt;           (e) I &amp; II (or) II &amp; III but not both &lt;br /&gt;           Ans. (e) &lt;br /&gt;7.    If B occurs which must occur &lt;br /&gt;          (a) D&lt;br /&gt;          (b) D and G&lt;br /&gt;          (c) G and H&lt;br /&gt;          (d) F and G&lt;br /&gt;          (e) J &lt;br /&gt;          Ans. (a) &lt;br /&gt;8.    If J occurs which must have occured &lt;br /&gt;         (a) E&lt;br /&gt;         (b) either B or C&lt;br /&gt;         (c) both E &amp; F&lt;br /&gt;         (d) B&lt;br /&gt;         (e) both B &amp; C&lt;br /&gt;         Ans. (b) &lt;br /&gt;9.   Which may occurs as a result of cause not mentioned &lt;br /&gt;         I.     D&lt;br /&gt;         II.   A&lt;br /&gt;         III.  F &lt;br /&gt;          (a) I only&lt;br /&gt;          (b) II only&lt;br /&gt;          (c) I &amp; II&lt;br /&gt;          (d) II &amp; III&lt;br /&gt;          (e) I,II &amp; III                                                                                                  &lt;br /&gt;         Ans. (c) &lt;br /&gt;10.  E occurs which one cannot occurs &lt;br /&gt;           (a) A&lt;br /&gt;           (b) F&lt;br /&gt;          (c) D&lt;br /&gt;          (d) C&lt;br /&gt;          (e) J &lt;br /&gt;          Ans. (b) &lt;br /&gt;11.  A 5 litre jug contains 4 litres of a salt water solution that is 15 percent salt. If 1.5 litres of the solution&lt;br /&gt;        spills out of the jug, and the jug is then filled to capacity with water,approximately what percent of the&lt;br /&gt;         resulting solution in the jug is salt? &lt;br /&gt;           (A)7.5%      (B)9.5%      (C) 10.5%        (D)12%       (E)15% &lt;br /&gt;12. Working independently, Tina can do a certain job in 12 hours. Working independently, Ann can do&lt;br /&gt;       the same job in 9 hours. If Tina Works independently at the job for 8 hours and then Ann works&lt;br /&gt;       independently, how many hours will it take Ann to complete the remainder of the jobs? &lt;br /&gt;       (A)2/3       (B)3/4      (C)1    (D)2             (E)3&lt;br /&gt;      Answer :E)3 &lt;br /&gt;13. In a murder case there are four suspects P,Q,R,S. Each of them makes a statement. They are p:&lt;br /&gt;     "I had gone to the theatre with S at the time of the murder".q: "I was playing cards with P at the time &lt;br /&gt;      of the murder".r: "Q didn't commit the murder".s: "R is not the murderer".Assuming the only one of the&lt;br /&gt;      above statement is false and that  one of them is the murderer, who is the murderer?&lt;br /&gt;             a) P&lt;br /&gt;             b) Q&lt;br /&gt;             c) R&lt;br /&gt;             d) Cann't be concluded                                                                                    &lt;br /&gt;              e) S&lt;br /&gt;             Ans: E &lt;br /&gt;14.  Mohan earned twice as much as Deep. Yogesh earned rs.3/- more than half as much as deep. &lt;br /&gt;       If the amounts earned by Mohan,Deep,Yogesh are M,D,Y respectively, Which of the following is &lt;br /&gt;       the correct ordering of these amounts?&lt;br /&gt;         a) M &lt; D &lt; Y&lt;br /&gt;         b) M&lt; Y &lt; D&lt;br /&gt;         c) D&lt; M &lt; Y&lt;br /&gt;         d) It cann't be determined from the information given&lt;br /&gt;         e) D&lt; Y &lt; M&lt;br /&gt;15.  Statistics indicate that men drivers are involved in more accidents than women drivers. Hence &lt;br /&gt;        it may be concluded that&lt;br /&gt;         a) sufficiently information is not there to conclude anything&lt;br /&gt;         b) Men are actually better drivers but drive more frequently&lt;br /&gt;         c) Women Certainly drive more cautiously than Men&lt;br /&gt;         d) Men chauvinists are wrong about women's abilties.&lt;br /&gt;         e) Statistics sometimes present a wrong picture of things&lt;br /&gt;16. Given that A,B,C,D,E each represent one of the digits between 1 and 9 and that the following&lt;br /&gt;       multiplication holds:&lt;br /&gt;            A B C D E&lt;br /&gt;                    X 4&lt;br /&gt;           --------------&lt;br /&gt;          E D C B A&lt;br /&gt;           --------------      what digit does E represent ?&lt;br /&gt;             a) 4&lt;br /&gt;             b) 6&lt;br /&gt;             c) 8                                                                                                       &lt;br /&gt;             d) 7&lt;br /&gt;             Ans: c&lt;br /&gt;17.  HCL prototyping machine can make 10 copies every 4 seconds. At this rate, How many copies&lt;br /&gt;       can the machine make in 6 min.?&lt;br /&gt;        a) 900&lt;br /&gt;        b) 600&lt;br /&gt;        c) 360&lt;br /&gt;        d) 240&lt;br /&gt;        e) 150&lt;br /&gt;        Ans: a&lt;br /&gt;18. If a=2,b=4,c=5 then&lt;br /&gt;           a+b c&lt;br /&gt;          - ---- =&lt;br /&gt;         c a+b &lt;br /&gt;         a) 1&lt;br /&gt;         b) 11/30&lt;br /&gt;         c) 0&lt;br /&gt;         d) -11/30&lt;br /&gt;         e) -1 &lt;br /&gt;        Ans: b&lt;br /&gt;19. 10^2(10^8+10^8) =-------------- 10^4 &lt;br /&gt;             a) 2(10)^4&lt;br /&gt;             b) 2(10)^6&lt;br /&gt;             c) 10^8&lt;br /&gt;             d) 2(10)^8                                                                                                 &lt;br /&gt;             e) 10^10 &lt;br /&gt;             Ans: b&lt;br /&gt;20. Worker W produces n units in 5 hours. Workers V and W, workers independently but at the &lt;br /&gt;      same time, produce n units in 2 hours.how long would it take V alone to produce n units?&lt;br /&gt;          a) 1 hr 26 min&lt;br /&gt;          b) 1 hr 53 min&lt;br /&gt;          c) 2 hr 30 min&lt;br /&gt;          d) 3 hr 30 min&lt;br /&gt;          e) 3 hr 20 min&lt;br /&gt;          Ans: d&lt;br /&gt;   Six knights - P,Q,R,S,T and U - assemble for a long journey in Two ravelling parties. For security, each travelling&lt;br /&gt;   party Consists of at least two knights. The two parties travel by separate routes, northern and southern. After one&lt;br /&gt;   month, the routes of the northern and southern groups converge for a brief time and at that point the knights can, if&lt;br /&gt;   they wish, rearrange their travelling parties before continuing, again in two parties along separate northern and&lt;br /&gt;   southern routes. Throughout the entire trip, the composition of traveling parties must be in accord with the following&lt;br /&gt;   conditions P and R are deadly enemies and, although they may meet briefly,can never travel together. p must travel&lt;br /&gt;    in the same party with s&lt;br /&gt;    Q cann't travel by the southern route U cann't change routes&lt;br /&gt;21.  If one of the two parties of knights consists of P and U and two other knights and travels by the southern route,&lt;br /&gt;       the other members of this party besides P and U must be&lt;br /&gt;       a) Q and S&lt;br /&gt;       b) Q and T                                                                                                               &lt;br /&gt;       c) R and S&lt;br /&gt;       d) R and T&lt;br /&gt;       e) S and T &lt;br /&gt;       Ans: e&lt;br /&gt;22. If each of the two parties of knights consists of exactly three members, which of the following is not a possible&lt;br /&gt;      travelling party and route?&lt;br /&gt;        a) P,S,U by the northern route&lt;br /&gt;        b) P,S,T by the northern route&lt;br /&gt;        c) P,S,T by the southern route&lt;br /&gt;        d) P,S,U by the southern route&lt;br /&gt;        e) Q,R,T by the southern route &lt;br /&gt;        Ans: b&lt;br /&gt;23)  If one of the two parties of knights consists of U and two other knights and travels by the northern route, the&lt;br /&gt;       other memnbers of this party besides U must be&lt;br /&gt;          a) P and S&lt;br /&gt;          b) P and T&lt;br /&gt;          c) Q and R&lt;br /&gt;          d) Q and T                                                                                                 &lt;br /&gt;          e) R and T &lt;br /&gt;           Ans: c&lt;br /&gt;24)  If each of the two parties of knights consists of exactly three members of different parties, and R travels by the&lt;br /&gt;       northern route,then T must travel by the&lt;br /&gt;        a) southern route with P and S&lt;br /&gt;        b) southern route with Q and R&lt;br /&gt;        c) southern route with R and U&lt;br /&gt;        d) northern route with Q and R&lt;br /&gt;        e) northern route with R and U &lt;br /&gt;        Ans: a&lt;br /&gt;25.  If, when the two parties of knights encounter one another after a month, exactly one knight changes from &lt;br /&gt;       one travelling party to the other travelling party, that knight must be&lt;br /&gt;          a) P&lt;br /&gt;          b) Q&lt;br /&gt;          c) R&lt;br /&gt;          d) S                                                                                                                  &lt;br /&gt;          e) T &lt;br /&gt;          Ans: e&lt;br /&gt;26.  A gambler bets on the team of seven players ABCDEFG whose winning a-4 to 1 against b-4 to 1 against c-4 &lt;br /&gt;        to 1 against d-4 to 1 against e-5 to 1 against f-6 to 1 against g. how should he bet on g to set 20% profit. &lt;br /&gt;27.  If a person buy radio worth Rs 2468 and pay 7% sales .how much price of radio should reduce to pay &lt;br /&gt;       only Rs 2468. &lt;br /&gt;28  What is vasu salary if salary of vasu is more than rajan salary working in same company&lt;br /&gt;        i)vasu salary is 100 more than rajan salary.&lt;br /&gt;        ii)rajan found 2000 allowns which is 50 less than vasu.&lt;br /&gt;        (iii)basic salry of rajan is 1000. &lt;br /&gt;             (i)only i is required&lt;br /&gt;            (ii)i &amp; ii is required&lt;br /&gt;            (iii)i&amp; iii is required&lt;br /&gt;             (iv)i&amp;ii&amp;iii is required&lt;br /&gt;             (v)none of these&lt;br /&gt;29  If in 100 miles race 8 person is running winner take 9.8sec and fifth man takes 10.4 sec the time of 8 man is&lt;br /&gt;       in AP if in 4*100 meters realy of onside is 1,4,5,8 position then win by.&lt;br /&gt;          a).3 sec      b).1 sec      c).7 sec      d).5 sec           e)none&lt;br /&gt;30.  How many sons X have qwe based on relation&lt;br /&gt;        i)&lt;br /&gt;        ii)                                                                                                                  &lt;br /&gt;        iii)&lt;br /&gt;       ans(data i,ii,iii is insufficient)&lt;br /&gt;31.  A sink has 12 lits of water some quantity of water is taken out. if the remainng water is 6 litres less then the&lt;br /&gt;        water  taken out then  quantity of water taken out is.&lt;br /&gt;          a.3&lt;br /&gt;          b.6&lt;br /&gt;          c.9&lt;br /&gt;          d.1&lt;br /&gt;32    .which is the 4 digit number whose second digit is thrice the first digit and 3'rd digit is sum of 1'st and 2'nd and &lt;br /&gt;          last digit is twice the  second digit.&lt;br /&gt;             1.2674&lt;br /&gt;             2.1349.&lt;br /&gt;             3.3343&lt;br /&gt;             4.3678&lt;br /&gt;33.   In a straight highway 2 cars starts from the same point in opposite directions each travels for 8 Kms and take&lt;br /&gt;         left  turn then travel for 6 Kms what is the distance between them now.&lt;br /&gt;            1.16&lt;br /&gt;            2.20&lt;br /&gt;            3.25&lt;br /&gt;            4.10&lt;br /&gt;34. A problem based on house numbers.&lt;br /&gt;35. Five students compare their test and quiz marks.some datas given.5 questions based on this.&lt;br /&gt;                                         C Programming&lt;br /&gt;1. Which of the following about the following two declaration is true&lt;br /&gt;       i ) int *F()&lt;br /&gt;       ii) int (*F)()&lt;br /&gt;       Choice :&lt;br /&gt;      a) Both are identical&lt;br /&gt;      b) The first is a correct declaration and the second is wrong&lt;br /&gt;      c) The first declaraion is a function returning a pointer to an integer and the second is a pointer to function returning&lt;br /&gt;         int&lt;br /&gt;      d) Both are different ways of declarin pointer to a function     Answer : c) The first de...&lt;br /&gt;2. What are the values printed by the following program?                                            &lt;br /&gt;         #define dprint(expr) printf(#expr "=%d\n",expr)&lt;br /&gt;         main()&lt;br /&gt;            {&lt;br /&gt;              int x=7;&lt;br /&gt;              int y=3;&lt;br /&gt;              dprintf(x/y);&lt;br /&gt;          }&lt;br /&gt;          Choice:&lt;br /&gt;           a) #2 = 2 b) expr=2 c) x/y=2 d) none&lt;br /&gt;            Answer: c)x/y=2&lt;br /&gt;3. Which of the following is true of the following program&lt;br /&gt;       main()&lt;br /&gt;            {&lt;br /&gt;             char *c;&lt;br /&gt;             int *p;&lt;br /&gt;             c =(char *)malloc(100);&lt;br /&gt;             ip=(int *)c;&lt;br /&gt;             free(ip);&lt;br /&gt;           }&lt;br /&gt;          ans: The code functions properly releasing all the memory allocated&lt;br /&gt;4.output of the following.                                                                                         &lt;br /&gt;            main()&lt;br /&gt;                 {&lt;br /&gt;                   int i;&lt;br /&gt;                   char *p;&lt;br /&gt;                   i=0X89;&lt;br /&gt;                   p=(char *)i;&lt;br /&gt;                   p++;&lt;br /&gt;                   printf("%x\n",p);&lt;br /&gt;                    }&lt;br /&gt;             ans:0X8A&lt;br /&gt;5  which of the following is not a ANSI C language keyword?  ans:Function.&lt;br /&gt;6. When an array is passed as parameter to a function, which of the following statement is correct  choice:&lt;br /&gt;       a) The function can change values in the original array&lt;br /&gt;       b) In C parameters are passed by value. The funciton cannot change the original value in the array &lt;br /&gt;       c) It results in compilation error when the function tries toaccess the elements in the array&lt;br /&gt;       d) Results in a run time error when the funtion tries to access the elements in the array&lt;br /&gt;        Answer: a) The fu...&lt;br /&gt;7. The type of the controlling expression of a switch statement cannot be of the type &lt;br /&gt;        a) int b) char c) short d)float e) none&lt;br /&gt;        Answer : d)float&lt;br /&gt;8. What is the value of the expression (3^6) + (a^a)?&lt;br /&gt;     a) 3     b) 5    c) 6     d) a+18       e) None&lt;br /&gt;     Answer : 5&lt;br /&gt;9. What is the value assigned to the variable X if b is 7 ?&lt;br /&gt;       X = b&gt;8 ? b &lt;&lt;3 : b&gt;4 ? b&gt;&gt;1:b;&lt;br /&gt;       a) 7 b) 28 c) 3 d) 14 e) None&lt;br /&gt;        ans: 3;&lt;br /&gt;10. Which is the output produced by the following program&lt;br /&gt;                main()&lt;br /&gt;                  {&lt;br /&gt;                   int n=2;&lt;br /&gt;                   printf("%d %d\n", ++n, n*n);&lt;br /&gt;                    }&lt;br /&gt;       a) 3,6 b) 3,4 c) 2,4 d) cannot determine&lt;br /&gt;        Answer : b) 3,4&lt;br /&gt;11. What is th output of the following program?                                                              &lt;br /&gt;         int x= 0x65;&lt;br /&gt;         main()&lt;br /&gt;            {&lt;br /&gt;             char x;&lt;br /&gt;             printf("%d\n",x)&lt;br /&gt;           }&lt;br /&gt;       a) compilation error     b) 'A'     c) 65       d) unidentified&lt;br /&gt;12. What is the output of the following program&lt;br /&gt;         main()&lt;br /&gt;             {&lt;br /&gt;              int a=10;&lt;br /&gt;              int b=6;&lt;br /&gt;              if(a=3)&lt;br /&gt;              b++;&lt;br /&gt;              printf("%d %d\n",a,b++);&lt;br /&gt;              }&lt;br /&gt;          a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none&lt;br /&gt;           Answer : d) 3,7&lt;br /&gt;13. What can be said of the following program?&lt;br /&gt;          main()&lt;br /&gt;             {&lt;br /&gt;                enum Months {JAN =1,FEB,MAR,APR};&lt;br /&gt;                Months X = JAN;&lt;br /&gt;                if(X==1)&lt;br /&gt;                   {&lt;br /&gt;                     printf("Jan is the first month");                                                               &lt;br /&gt;                  }&lt;br /&gt;             }&lt;br /&gt;          a) Does not print anything&lt;br /&gt;          b) Prints : Jan is the first month&lt;br /&gt;          c) Generates compilation error&lt;br /&gt;          d) Results in runtime error&lt;br /&gt;           Answer: b) Prints : Jan..&lt;br /&gt;14. What is the output of the following program?&lt;br /&gt;           main()&lt;br /&gt;                 {&lt;br /&gt;                     char *src = "Hello World";&lt;br /&gt;                     char dst[100];&lt;br /&gt;                     strcpy(src,dst);&lt;br /&gt;                     printf("%s",dst);&lt;br /&gt;                     }strcpy(char *dst,char *src)&lt;br /&gt;                       {while(*src) *dst++ = *src++;&lt;br /&gt;                        }&lt;br /&gt;                       ) "Hello World" b)"Hello" c)"World" d) NULL e) unidentified&lt;br /&gt;                      Answer: d) NULL&lt;br /&gt;15. What is the output of the following program?&lt;br /&gt;                 main()&lt;br /&gt;                        {&lt;br /&gt;                          int l=6;&lt;br /&gt;                          switch(l)&lt;br /&gt;                          { default : l+=2;&lt;br /&gt;                            case 4: l=4;&lt;br /&gt;                            case 5: l++;&lt;br /&gt;                            break;&lt;br /&gt;                            }&lt;br /&gt;                            printf("%d",l);                                                                                       &lt;br /&gt;                              }&lt;br /&gt;                    a)8 b)6 c)5 d)4 e)none&lt;br /&gt;                    Answer : c)5&lt;br /&gt;16. What is the output of the following program?&lt;br /&gt;            main()&lt;br /&gt;                   {&lt;br /&gt;                    int x=20;&lt;br /&gt;                    int y=10;&lt;br /&gt;                    swap(x,y);&lt;br /&gt;                    printf("%d %d",y,x+2);&lt;br /&gt;                  }&lt;br /&gt;                     swap(int x,int y)&lt;br /&gt;                             {&lt;br /&gt;                               int temp;&lt;br /&gt;                               temp =x;&lt;br /&gt;                               x=y;&lt;br /&gt;                                y=temp;&lt;br /&gt;                             }&lt;br /&gt;                     a)10,20 b) 20,12 c) 22,10 d)10,22 e)none&lt;br /&gt;                   Answer:d)10,22&lt;br /&gt;17. What is the output of the following problem ?&lt;br /&gt;            #define INC(X) X++&lt;br /&gt;             main()&lt;br /&gt;               {&lt;br /&gt;                int X=4;&lt;br /&gt;                printf("%d",INC(X++));&lt;br /&gt;               }&lt;br /&gt;              a)4 b)5 c)6 d)compilation error e) runtime error&lt;br /&gt;               Answer : d) compilation error&lt;br /&gt;18. what can be said of the following&lt;br /&gt;            struct Node {&lt;br /&gt;            char *word;&lt;br /&gt;             int count;&lt;br /&gt;             struct Node left;&lt;br /&gt;              struct Node right;&lt;br /&gt;               }&lt;br /&gt;                 a) Incorrect definition&lt;br /&gt;                 b) structures cannot refer to other structure&lt;br /&gt;                 c) Structures can refer to themselves. Hence the statement is  OK&lt;br /&gt;                 d) Structures can refer to maximum of one other structure&lt;br /&gt;                 Answer :c)&lt;br /&gt;19. What is the size of the following union. Assume that the size of int =2, size of float =4 and size of&lt;br /&gt;       char =1.&lt;br /&gt;       Union Tag{&lt;br /&gt;         int a;&lt;br /&gt;         flaot b;&lt;br /&gt;        char c;&lt;br /&gt;           };&lt;br /&gt;        a)2 b)4 c)1 d) 7                                                                                                             &lt;br /&gt;20.  What is the output of the following program? (. has been used to indicate  a space)&lt;br /&gt;            main()&lt;br /&gt;             {&lt;br /&gt;              char s[]="Hello,.world";&lt;br /&gt;             printf(%15.10s",s);&lt;br /&gt;           }&lt;br /&gt;           a )Hello,.World...&lt;br /&gt;           b)....Hello,.Wor&lt;br /&gt;           c)Hello,.Wor....&lt;br /&gt;           d)None of the abov&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                             Aptitude&lt;br /&gt; 1.   How many of the integers between 25 and 45 are even ?&lt;br /&gt;        (A)21 (B)20 (C)11 (D)10 (E)9&lt;br /&gt;        Ans:d)10&lt;br /&gt;2.  If taxi fares were Rs 1.00 for the first 1/5 mile and Rs 0.20 for each 1/5 miles thereafter. The taxi fare for&lt;br /&gt;     a 3-mile ride was&lt;br /&gt;      (A)Rs 1.56       (B)Rs 2.40        (C)RS 3.00          (D)Rs 3.80           (E)Rs 4.20&lt;br /&gt;     Answer :d)Rs 3.80&lt;br /&gt;3. A computer routine was developed to generate two numbers (x,y) the first being a random number between&lt;br /&gt;    0 and 100 inclusive, and the second being less than or equal to the square root of the first. Each of the following&lt;br /&gt;    pair satisfies the routine EXCEPT&lt;br /&gt;      (A) (99.10) (B) (85.9) (C) (50.7) (D) (1.1) (E) (1.0)                                             &lt;br /&gt;      Answer : A) (99.10)&lt;br /&gt;4. A warehouse had a square floor with area 10,000 sq.meters. A rectangular addition was built along one entire side&lt;br /&gt;    of the warehouse that increased the floor by one-half as much as the original floor. How many meters did the &lt;br /&gt;    addition extend beyond the original buildings ? &lt;br /&gt;    (A)10 (B)20 (C)50 (D)200 (E)500&lt;br /&gt;     Ans: c)50&lt;br /&gt;5.  A digital wristwatch was set accurately at 8.30 a.m and then lost 2 seconds every 5 minutes. What time was &lt;br /&gt;     indicated on the watch at 6.30 p.m of the same day if the watch operated continuously that time ?&lt;br /&gt;      (A)5:56      B)5:58          (C)6.00      (D)6.23        (E)6.26&lt;br /&gt;     Ans :E) 6.26&lt;br /&gt;6. A 5 litre jug contains 4 litres of a salt water solution that is 15 percent salt. If 1.5 litres of the solution spills out &lt;br /&gt;    of the jug, and the jug is then filled to capacity with water, approximately what percent of the resulting solution &lt;br /&gt;    in the jug is salt? &lt;br /&gt;    (A)7.5%      (B)9.5%       (C) 10.5%        (D)12%        (E)15%&lt;br /&gt;   Ans :A)7.5%&lt;br /&gt;7.  A plane travelled K miles in the first 96 miles of flight time. If it completed the remaining 300 miles of the&lt;br /&gt;    trip in 1 minute, what was its average speed in miles per hour for the entire trip ?&lt;br /&gt;        (A)&lt;br /&gt;        (B)&lt;br /&gt;        (C)                                                                                                           &lt;br /&gt;        (D)&lt;br /&gt;        (E)&lt;br /&gt;   Ans :(300+k)/97 * 60&lt;br /&gt;8. A merchant sells an item at a 20 percent discount. but still makes a gross profit of 20 percent of the cost.&lt;br /&gt;     What percent of cost would be gross profit on the item have been if it had been sold without the discount?&lt;br /&gt;     (A)20%          (B)40%           (C)50%            (D)60%           (E)66.6%&lt;br /&gt;    Ansr :c) 50%&lt;br /&gt;9. A millionaire bought a job lot of hats 1/4 of which were brown. The millionaire sold 2/3 of the hats including&lt;br /&gt;    4/5 of the brown hats. What fraction of the unsold hats were brown.&lt;br /&gt;   (A)1/60       (B)1/15        (C)3/20         (D)3/5        (E)3/4&lt;br /&gt;   Ans :c)3/20&lt;br /&gt;10. How many integers n greater than and less than 100 are there such that,if the digits of n are reversed, &lt;br /&gt;      the resulting integer is n+9 ?&lt;br /&gt;     (A)5       (B)6        (C)7        (D)8     (E)9&lt;br /&gt;     Ans :D)8&lt;br /&gt;11. An investor purchased a shares of stock at a certain price.If the stock increased in price Rs 0.25 per share &lt;br /&gt;      and the total increase for the x shares was Rs 12.50, how many shares of stock had been purchased ?&lt;br /&gt;       (A)25         (B)50          (C)75         (D)100       (E)125&lt;br /&gt;       Ans :B)50&lt;br /&gt;12  At a special sale, 5 tickets can be purchased for the price of 3 tickets. If 5 tickets are purchased at the sale, &lt;br /&gt;      the amount saved will be  What percent of the original price of the 5 tickets?&lt;br /&gt;       (A)  20%          (B)   33.3%         (C)      40%         (D)      60%            (E)    66.6%&lt;br /&gt;         Ans :c)40%&lt;br /&gt;13.  Working independently, Tina can do a certain job in 12 hours. Working independently, Ann can do the same job &lt;br /&gt;       in 9 hours. If Tina Works independently at the job for 8 hours and then Ann works independently, how many hours&lt;br /&gt;       will it take Ann to complete the remainder of the jobs?&lt;br /&gt;         (A)      2/3          (B)     3/4 (C)  1 (D)      2        (E)      3                                    &lt;br /&gt;        Ans :E)3&lt;br /&gt;14. A decorator bought a bolt of d m number of red chips in any one stack ?&lt;br /&gt;        (A)   7   (B)     6      (C)  5         (D)         4      (E)     3&lt;br /&gt;        Ans :C) 5&lt;br /&gt;15. A sink has 12 lits of water some quantity of water is taken out. if the remainng water is 6 litres less then the&lt;br /&gt;          water taken out then  quantity of water taken out is.&lt;br /&gt;                a.  3&lt;br /&gt;                b.  6&lt;br /&gt;                c.  9                                                                                                          &lt;br /&gt;                d.  1&lt;br /&gt;16.    which is the 4 digit number whose second digit is thrice the first digit and 3'rd digit is sum of 1'st and 2'nd and&lt;br /&gt;        last   digit is twice the second digit.&lt;br /&gt;           1.2674&lt;br /&gt;           2.1349.&lt;br /&gt;           3.3343&lt;br /&gt;           4.3678&lt;br /&gt;17.    In a straight highway 2 cars starts from the same point in opposite directions each travels for 8 Kms and take&lt;br /&gt;        left turn then travel for 6 Kms what is the distance between them now.&lt;br /&gt;           1.16&lt;br /&gt;           2.20&lt;br /&gt;           3.25                                                                                                                &lt;br /&gt;           4.10&lt;br /&gt;  4.A problem based on house numbers.&lt;br /&gt;18. Five students compare their test and quiz marks. some datas given. 5 questions based on this.&lt;br /&gt;                       Technical Section&lt;br /&gt;1    In ANSI C which is such thing is not in Java.&lt;br /&gt;     typedef struct node&lt;br /&gt;            {&lt;br /&gt;             int &lt;br /&gt;             NODEPTR * NODE&lt;br /&gt;            }&lt;br /&gt;2     Q. In signed magnitude notation what is the minimum value that can be represented with 8 bits&lt;br /&gt;            a) -128 b) -255 c) -127 d) 0&lt;br /&gt;3    Q. there is an employer table with key feilds as employer no. data in every n'th row are needed for a simple following&lt;br /&gt;              queries will get required results.&lt;br /&gt;          a)   select A employe no. from employe A , where exists from employe B where A employe no. = B employe&lt;br /&gt;                 having (count(*) mod n)=0 &lt;br /&gt;         b)   select employe no. from employe A, employe B  where A employe no. = B employ no.&lt;br /&gt;              grouply employe no. having (count(*) mod n=0 )&lt;br /&gt;         c)  both a&amp; b&lt;br /&gt;        d)  none of the above&lt;br /&gt;4.   Piggybacking is done for, Ans=&gt;Acknowledgement.&lt;br /&gt;5.  WHICH IS NOT BASIC data type ans.Char*&lt;br /&gt;6.   which of the following statement is valid for string copy                                     &lt;br /&gt;            char *srt,*ptr;&lt;br /&gt;        a)   while(*str) {&lt;br /&gt;               *str=*ptr;&lt;br /&gt;                ++str=++ptr;&lt;br /&gt;                   }&lt;br /&gt;       b ) while(*str)&lt;br /&gt;            {*++str=*++ptr};&lt;br /&gt;       c) &lt;br /&gt;7   Two variable cannt have the same name in&lt;br /&gt;         a)function b) block c) file d)--- C Section&lt;br /&gt;8    #define inc(x) x++&lt;br /&gt;         main()&lt;br /&gt;             {&lt;br /&gt;               int t=1;&lt;br /&gt;               printf("%d",inc(t++));&lt;br /&gt;           } &lt;br /&gt;9 .  one or two que for the complicated declaration.                                                        &lt;br /&gt;10.   Const char *a="Abcd"; char const *a="lmno"; base do this,Two que were there.&lt;br /&gt;11.   char *p ;&lt;br /&gt;        char q[20];&lt;br /&gt;12.    int i,*p=&amp;i;&lt;br /&gt;        p=malloc(10);&lt;br /&gt;         free(p);&lt;br /&gt;         printf("%d",p);&lt;br /&gt;         ans : garbage&lt;br /&gt;13.    int i=20,*j=&amp;i&lt;br /&gt;          f(i)&lt;br /&gt;           printf("%d",i);&lt;br /&gt;14.       #define val 1+2&lt;br /&gt;           printf("%d%d",val/val,val^3)&lt;br /&gt;           ans : 3 9&lt;br /&gt;15.     #define "this" "#"&lt;br /&gt;          #define (x,y) x##y&lt;br /&gt;          printf("this","this is")&lt;br /&gt;          ans: compilation error (tested)&lt;br /&gt;16.       (2^2)+(a^a)&lt;br /&gt;17.       int a ,b=7&lt;br /&gt;            a=b&lt;4?b&lt;&lt;1:b&gt;4?7&gt;&gt;1:a                                                                              &lt;br /&gt;            ans.3&lt;br /&gt;18.       one que on c++ class member function&lt;br /&gt;             ans.d&lt;br /&gt;19.       work of memory management unit.&lt;br /&gt;20.       who relate virtual memory to physical memory   ans.os&lt;br /&gt;21.       memory is allocated to variable&lt;br /&gt;             a)when declared b)when define c)...&lt;br /&gt;22.      Question on double linked list&lt;br /&gt;23.     Define success 1 &lt;br /&gt;           define failure -1&lt;br /&gt;           if(condition)&lt;br /&gt;           printf(success);&lt;br /&gt;           else&lt;br /&gt;              printf(failure);&lt;br /&gt;                ans success&lt;br /&gt;24  .  main()&lt;br /&gt;             {&lt;br /&gt;               int var=25,varp;&lt;br /&gt;               varp=&amp;var;&lt;br /&gt;               varp=10;&lt;br /&gt;               fun(varp);&lt;br /&gt;               printf(%d%d",var,varp);&lt;br /&gt;               ans a)45,45 b)55,55 c) 20,55;&lt;br /&gt;25.     u r given two statements&lt;br /&gt;           a=(10.15);&lt;br /&gt;            b=10,15;&lt;br /&gt;            if they are executed what is the output   printf("%d%d",a,b);                            &lt;br /&gt;             a)10,15 b)15,10 c)10,10 d)15,15       ans a&lt;br /&gt;26.    define null 0    ans=0;&lt;br /&gt;27.     #define inc(x) x++&lt;br /&gt;           main()&lt;br /&gt;              {&lt;br /&gt;                int t=1;&lt;br /&gt;                printf("%d",inc(t++));&lt;br /&gt;            }&lt;br /&gt;             ans.error&lt;br /&gt;28.  argument in funtion can be passed&lt;br /&gt;           1)by value 2)by refference 3)....                                                                         &lt;br /&gt;29.      main&lt;br /&gt;            {int x=1,y=2,z=3;&lt;br /&gt;            x=y==z;&lt;br /&gt;            printf(x);&lt;br /&gt;           }&lt;br /&gt;30.   in switch float is not used&lt;br /&gt;31.   one question on register variable. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                 Section A&lt;br /&gt;1. Which of the following involves context switch,&lt;br /&gt;          (a) system call&lt;br /&gt;          (b) priviliged instruction&lt;br /&gt;          (c) floating poitnt exception&lt;br /&gt;          (d) all the above&lt;br /&gt;          (e) none of the above&lt;br /&gt;           Ans: (a)&lt;br /&gt;2. In OST, terminal emulation is done in                                                                  &lt;br /&gt;     (a) sessions layer&lt;br /&gt;     (b) application layer&lt;br /&gt;     (c) presentation layer&lt;br /&gt;     (d) transport layer&lt;br /&gt;     Ans: (b)&lt;br /&gt;3. For a 25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,&lt;br /&gt;       (a)120 nano secs&lt;br /&gt;       (b)120 micro secs&lt;br /&gt;       (c)75 nano secs&lt;br /&gt;       (d)75 micro secs&lt;br /&gt;4. For 1 MB memory, the number of address lines required,&lt;br /&gt;       (a)11&lt;br /&gt;       (b)16&lt;br /&gt;       (c)22&lt;br /&gt;       (d) 24&lt;br /&gt;       Ans. (b)&lt;br /&gt;5. Semaphore is used for&lt;br /&gt;      (a) synchronization&lt;br /&gt;      (b) dead-lock avoidence                                                                                    &lt;br /&gt;      (c) box&lt;br /&gt;      (d) none&lt;br /&gt;      Ans. (a)&lt;br /&gt;6. Which holds true for the following statement   class c: public A, public B&lt;br /&gt;     a) 2 member in class A, B should not have same name&lt;br /&gt;     b) 2 member in class A, C should not have same name&lt;br /&gt;     c) both&lt;br /&gt;     d) none&lt;br /&gt;     Ans. (a)&lt;br /&gt;7. Question related to java&lt;br /&gt;8. OLE is used in&lt;br /&gt;    a) inter connection in unix&lt;br /&gt;    b) interconnection in WINDOWS&lt;br /&gt;    c) interconnection in WINDOWS NT&lt;br /&gt;Ans. (b) &lt;br /&gt;9. Convert a given HEX number to OCTAL&lt;br /&gt;10. Macros and function are related in what aspect?                                                     &lt;br /&gt;      (a)recursion&lt;br /&gt;      (b)varying no of arguments&lt;br /&gt;      (c)hypochecking&lt;br /&gt;      (d)type declaration&lt;br /&gt;Ans.(b) Varying No. of Arguments.&lt;br /&gt;11.Preproconia.. does not do which one of the following&lt;br /&gt;        (a) macro&lt;br /&gt;        (b) conditional compliclation&lt;br /&gt;        (c) in type checking&lt;br /&gt;        (d) including load file&lt;br /&gt;        Ans. (c)&lt;br /&gt;12. Piggy backing is a technique for&lt;br /&gt;      a) Flow control&lt;br /&gt;      b) Sequence&lt;br /&gt;      c) Acknowledgement&lt;br /&gt;      d) retransmition&lt;br /&gt;      Ans. (c)&lt;br /&gt;13. In signed magnitude notation what is the minimum value that can be represented with 8 bits&lt;br /&gt;     (a) -128&lt;br /&gt;     (b) -255&lt;br /&gt;     (c) -127&lt;br /&gt;     (d) 0&lt;br /&gt;Ans.(a) -128&lt;br /&gt;14. There is an employer table with key fields as employer number data in every n'th row are needed for a simple following&lt;br /&gt;       queries will get required results.&lt;br /&gt;    (a) select A employee number from employee A , where exists from employee B where A employee no. &gt;= B&lt;br /&gt;          employee having (count(*) mod n)=0&lt;br /&gt;    (b) select employee number from employe A, employe B where A employe number&gt;=B employ number&lt;br /&gt;        group by employee number having(count(*) mod n=0 )&lt;br /&gt;    (c) both (a) &amp; (b)&lt;br /&gt;    (d) none of the above&lt;br /&gt;15. Type duplicates of a row in a table customer with non uniform key field customer number you can see&lt;br /&gt;    a) delete from costomer where customer number exists( select distinct customer number from customer having count )&lt;br /&gt;    b) delete customer a where customer number in b rowid                                          &lt;br /&gt;    c) delete customer a where custermor number in( select customer number from customer a, customer b ) &lt;br /&gt;    d) none of the above&lt;br /&gt;                        Section B&lt;br /&gt;1. Given the following statement enum day = { jan = 1 ,feb=4, april, may} What is the value of may?&lt;br /&gt;      (a) 4&lt;br /&gt;      (b) 5&lt;br /&gt;      (c) 6&lt;br /&gt;      (d) 11&lt;br /&gt;      (e) None of the above&lt;br /&gt;Ans c) 6&lt;br /&gt;2. Find the output for the following C program&lt;br /&gt;      main()&lt;br /&gt;        {int x,j,k;&lt;br /&gt;         j=k=6;x=2;&lt;br /&gt;        x=j*k;&lt;br /&gt;        printf("%d", x);&lt;br /&gt;Ans.36&lt;br /&gt;3. Find the output for the following C program                                                          &lt;br /&gt;       fn f(x)&lt;br /&gt;        { if(x&lt;=0)&lt;br /&gt;         return;&lt;br /&gt;         else f(x-1)+x;&lt;br /&gt;        }&lt;br /&gt;4. Find the output for the following C program&lt;br /&gt;        i=20,k=0;&lt;br /&gt;        for(j=1;j&lt;i;j=1+4*(i/j))&lt;br /&gt;        {k+=j&lt;10?4:3;&lt;br /&gt;       }&lt;br /&gt;      printf("%d", k);&lt;br /&gt;     Ans. k=4&lt;br /&gt;5. Find the output for the following C program&lt;br /&gt;       int i =10&lt;br /&gt;       main()&lt;br /&gt;      {int i =20,n;&lt;br /&gt;      for(n=0;n&lt;=i;)                                                                                                          &lt;br /&gt;      {int i=10;&lt;br /&gt;        i++;&lt;br /&gt;         }&lt;br /&gt;       printf("%d", i);&lt;br /&gt;       Ans. i=20&lt;br /&gt;6. Find the output for the following C program&lt;br /&gt;      int x=5;&lt;br /&gt;      y= x&amp;y&lt;br /&gt;7.Find the output for the following C program &lt;br /&gt;       Y=10;&lt;br /&gt;       if( Y++&gt;9 &amp;&amp; Y++!=10 &amp;&amp; Y++&gt;10)&lt;br /&gt;       {printf("%d", Y);&lt;br /&gt;     else&lt;br /&gt;      printf("%d", Y); &lt;br /&gt;      }&lt;br /&gt;      Ans. 13&lt;br /&gt;8. Find the output for the following C program&lt;br /&gt;           f=(x&gt;y)?x:y&lt;br /&gt;          a) f points to max of x and y&lt;br /&gt;          b) f points to min of x and y&lt;br /&gt;          c)error&lt;br /&gt;         Ans. (a)&lt;br /&gt;9. What is the sizeof(long int)&lt;br /&gt;        (a) 4 bytes&lt;br /&gt;        (b) 2 bytes&lt;br /&gt;        (c) compiler dependent                                                                                      &lt;br /&gt;        (d) 8 bytes&lt;br /&gt;10. Which of the function operator cannot be over loaded&lt;br /&gt;           (a) &lt;=&lt;br /&gt;           (b) ?:&lt;br /&gt;           (c) =&lt;br /&gt;           (d) *&lt;br /&gt;11. Find the output for the following C program&lt;br /&gt;          main()&lt;br /&gt;           {intx=2,y=6,z=6;&lt;br /&gt;             x=y==z;&lt;br /&gt;            printf(%d",x)&lt;br /&gt;              }&lt;br /&gt;                                            Section C &lt;br /&gt;Section C (Programming Skills)  Answer the questions based on the following program&lt;br /&gt;       STRUCT DOUBLELIST&lt;br /&gt;       { DOUBLE CLINKED                                                                                                      &lt;br /&gt;       INT DET; LIST VOID&lt;br /&gt;       STRUCT PREVIOUS; (BE GIVEN AND A PROCEDURE TO DELETE)&lt;br /&gt;       STRUCT NEW; (AN ELEMENT WILL BE GIVEN)&lt;br /&gt;       }&lt;br /&gt;        DELETE(STRUCT NODE)&lt;br /&gt;        {NODE-PREV-NEXT NODE-NEXT;&lt;br /&gt;        NODE-NEXT-PREV NODE-PREV;&lt;br /&gt;        IF(NODE==HEAD)&lt;br /&gt;        NODE&lt;br /&gt;        }&lt;br /&gt;1. In what case the prev was                                                                                           &lt;br /&gt;            (a) All cases&lt;br /&gt;            (b) It does not work for the last element&lt;br /&gt;            (c) It does not for the first element&lt;br /&gt;            (d) None of these&lt;br /&gt;    Answer the questions based on the following program&lt;br /&gt;         VOID FUNCTION(INT KK)&lt;br /&gt;         {KK+=20;&lt;br /&gt;          }&lt;br /&gt;           VOID FUNCTION (INT K)&lt;br /&gt;           INT MM,N=&amp;M&lt;br /&gt;           KN = K&lt;br /&gt;           KN+-=10;&lt;br /&gt;             }&lt;br /&gt;2. What is the output of the following program                                                              &lt;br /&gt;          main()&lt;br /&gt;          { int var=25,varp;&lt;br /&gt;           varp=&amp;var;&lt;br /&gt;           varp p = 10;&lt;br /&gt;           fnc(varp)&lt;br /&gt;           printf("%d%d,var,varp);&lt;br /&gt;           }&lt;br /&gt;              (a) 20,55&lt;br /&gt;              (b) 35,35&lt;br /&gt;              (c) 25,25&lt;br /&gt;              (d)55,55  &lt;br /&gt;3.  Here is the structure declaration of a doubly linked list&lt;br /&gt;       struct dlink {&lt;br /&gt;       int nodeid;&lt;br /&gt;       struct dlink *next;&lt;br /&gt;       struct dlink *prev;&lt;br /&gt;        } dlink_t;&lt;br /&gt;       A pointer of the head of the linked list is maintained as a global variable, whose definition is dlink_t *head; The funtion&lt;br /&gt;        remove_element(dlink_t *rp), needs to remove the node pointed to the rp and adjust the head. The first node's prev&lt;br /&gt;        and the last node's next are NULL. remove_element(dlink_t *rp)&lt;br /&gt;           {&lt;br /&gt;               rp-&gt;prev-&gt;next = rp-&gt;next;&lt;br /&gt;               rp-&gt;next-&gt;prev = rp-&gt;prev;                                                                                   &lt;br /&gt;              if( head == rp)&lt;br /&gt;              head = rp-&gt;next;&lt;br /&gt;            }     Which of the following statement is true about the fution remove_element&lt;br /&gt;          a) It work when head is the same as rp&lt;br /&gt;          b) It does not work when rp is the last element on the list&lt;br /&gt;         c) It sets the head of the list correctly&lt;br /&gt;         d) It works in all cases&lt;br /&gt;            Answer :B) It does...&lt;br /&gt;4.  Consider the following function written in c:&lt;br /&gt;              #define NULL 0&lt;br /&gt;              char *&lt;br /&gt;              index(sp,c)&lt;br /&gt;              register char *sp,c;&lt;br /&gt;               {&lt;br /&gt;               do {&lt;br /&gt;                    if(*sp == c)&lt;br /&gt;                       return (sp);   &lt;br /&gt;                       } while (*sp++);                                                                                         &lt;br /&gt;                      return NULL;&lt;br /&gt;                          }&lt;br /&gt;            The first argument sp, is a pointer to a C string. The second argument, c, is a character. This function scarches&lt;br /&gt;            for the character c, in the string. If it is found a pointer to that location is returned else NULL is returned. This&lt;br /&gt;             function works &lt;br /&gt;              a) Always&lt;br /&gt;              b) Always, but fails when the first byte contais the character  c&lt;br /&gt;              c) works when c is a non NULL character only&lt;br /&gt;              d) Works only when the character c is found in the string&lt;br /&gt;             ans: a&lt;br /&gt;5.  What is printed when this program is executed&lt;br /&gt;         main()&lt;br /&gt;                {&lt;br /&gt;                   printf ("%d\n",f(7)); &lt;br /&gt;                }&lt;br /&gt;                  f(X)&lt;br /&gt;                      {&lt;br /&gt;                         if ( x&lt;= 4)&lt;br /&gt;                         return x;&lt;br /&gt;                         return f(--x);&lt;br /&gt;                      }&lt;br /&gt;               a) 4&lt;br /&gt;               b) 5                                                                                                             &lt;br /&gt;               c) 6&lt;br /&gt;               d) 7&lt;br /&gt;                ans: a&lt;br /&gt;6. On a machine where pointers are 4 bytes long, what happens when the following code is executed.&lt;br /&gt;         main()&lt;br /&gt;               {&lt;br /&gt;                int x=0,*p=0;&lt;br /&gt;                x++; p++;&lt;br /&gt;                printf ("%d and %d\n",x,p);&lt;br /&gt;                 }&lt;br /&gt;           a) 1 and 1 is printed&lt;br /&gt;           b) 1 and 4 is printed&lt;br /&gt;           c) 4 and 4 is printed&lt;br /&gt;           d) causes an exception&lt;br /&gt;7. Which of the following is the correct code for strcpy, that is used to copy the contents from src to dest?&lt;br /&gt;         a) strcpy (char *dst,char *src)&lt;br /&gt;             {&lt;br /&gt;              while (*src)&lt;br /&gt;              *dst++ = *src++;&lt;br /&gt;               }&lt;br /&gt;        b) strcpy (char *dst,char *src)                                                                               &lt;br /&gt;                {&lt;br /&gt;                    while(*dst++ = *src++ )&lt;br /&gt;                }&lt;br /&gt;       c) strcpy (char *dst,char *src)&lt;br /&gt;              {&lt;br /&gt;                 while(*src)&lt;br /&gt;                 { *dst = *src;&lt;br /&gt;                    dst++; src++;&lt;br /&gt;                      }&lt;br /&gt;                   }&lt;br /&gt;           d) strcpy(char *dst, char *src)&lt;br /&gt;                       {&lt;br /&gt;                           while(*++dst = *++src);&lt;br /&gt;                      }&lt;br /&gt;                          ans:b&lt;br /&gt;  8.  Consider the following program  &lt;br /&gt;               main()&lt;br /&gt;                      {&lt;br /&gt;                        int i=20,*j=&amp;i;&lt;br /&gt;                        f1(j);&lt;br /&gt;                        *j+=10;&lt;br /&gt;                         f2(j);&lt;br /&gt;                         printf("%d and %d",i,*j);                                                                      &lt;br /&gt;                        }&lt;br /&gt;                         f1(k)&lt;br /&gt;                         int *k;&lt;br /&gt;                             {&lt;br /&gt;                               *k +=15;&lt;br /&gt;                               }&lt;br /&gt;                                   f2(x)&lt;br /&gt;                                   int *x;&lt;br /&gt;                              {&lt;br /&gt;                                 int m=*x,*n=&amp;m;&lt;br /&gt;                                 *n += 10;&lt;br /&gt;                                 }&lt;br /&gt;                The values printed by the program will be&lt;br /&gt;                a) 20 and 55&lt;br /&gt;                b) 20 and 45&lt;br /&gt;                c) 45 and 45&lt;br /&gt;                d) 45 and 55&lt;br /&gt;                e) 35 and 35&lt;br /&gt;9.  what is printed when the following program is compiled and executed?&lt;br /&gt;           int&lt;br /&gt;           func (int x)&lt;br /&gt;              {&lt;br /&gt;                if (x&lt;=0)&lt;br /&gt;            return(1);&lt;br /&gt;            return func(x -1) +x;                                                                                                  &lt;br /&gt;              }&lt;br /&gt;              main()&lt;br /&gt;                    {&lt;br /&gt;                       printf("%d\n",func(5));&lt;br /&gt;                      }&lt;br /&gt;            a) 12&lt;br /&gt;            b) 16&lt;br /&gt;            c) 15&lt;br /&gt;            d) 11&lt;br /&gt;Ans..b) 16.&lt;br /&gt;10. COnsider the following of c code in two files which will be linked together and executed .&lt;br /&gt;     a.c:    int i;&lt;br /&gt;          main()&lt;br /&gt;             {&lt;br /&gt;               i = 30;&lt;br /&gt;               f1();&lt;br /&gt;               printf("%d\n",i)&lt;br /&gt;             }&lt;br /&gt;              b.c:    static int f1()&lt;br /&gt;             {&lt;br /&gt;               i+=10;&lt;br /&gt;               }   which of the following is true ?&lt;br /&gt;            a) a.c will fail in compilation phase because f1() is not declared&lt;br /&gt;            b) b.c will fail in compilation because the variable i is not declared&lt;br /&gt;            c) will print 30&lt;br /&gt;            d) will print 40&lt;br /&gt;            e) a &amp; b&lt;br /&gt;            ans: e) a &amp; b&lt;br /&gt;11. Consider the following prg  &lt;br /&gt;             void funca (int *k)&lt;br /&gt;                     {&lt;br /&gt;                        *k += 20&lt;br /&gt;                         }&lt;br /&gt;                          void funcb (int *x)                                                                            &lt;br /&gt;                                 {&lt;br /&gt;                                   int m=*x,*n = &amp;m;&lt;br /&gt;                                   *n+=10;&lt;br /&gt;                                  }&lt;br /&gt;                     main()&lt;br /&gt;                              {&lt;br /&gt;                               int var = 25,*varp=&amp;var;&lt;br /&gt;                               funca(varp);&lt;br /&gt;                               *varp += 10;&lt;br /&gt;                               funcb(varp);&lt;br /&gt;                               printf ("%d and %d\n",var,*varp);&lt;br /&gt;                            }&lt;br /&gt;                    The values printed when the above prg is complied and executed are:&lt;br /&gt;              a) 20 and 55&lt;br /&gt;              b) 20 and 45&lt;br /&gt;              c) 45 and 55&lt;br /&gt;              d) 55 and 55&lt;br /&gt;              e) 35 and 35&lt;br /&gt;              ans: d&lt;br /&gt;12. consider the following program:&lt;br /&gt;              # include&lt;br /&gt;               class x {&lt;br /&gt;                        public:&lt;br /&gt;                               int a; &lt;br /&gt;                                   x();&lt;br /&gt;                           };&lt;br /&gt;                        x::x() { a=10; cout&lt;br /&gt;                        class b:public x {&lt;br /&gt;                             public:&lt;br /&gt;                                   b(); &lt;br /&gt;                                   }; &lt;br /&gt;                                    b::b() { a=20; cout                                                          &lt;br /&gt;                                    main ()&lt;br /&gt;                                    { b temp;&lt;br /&gt;                                    }&lt;br /&gt;                              what will be the output of this prg?&lt;br /&gt;         a) 10&lt;br /&gt;         b) 20&lt;br /&gt;         c) 2010&lt;br /&gt;         d) 1020&lt;br /&gt;         ans: b&lt;br /&gt;&lt;br /&gt;                                            APTITUDE PAPER&lt;br /&gt;1     The closing of the resturant by Mr.X on SEPT 1 was considered an unfinancial one, as the weather&lt;br /&gt;       remained unusually clear and sunny for another one month. An author who criticizes the act of Mr. X&lt;br /&gt;       would be proved wrong if the following was true?? &lt;br /&gt;       ANS choice a) the weather did not usually remained fine after SEPT 1.&lt;br /&gt;2     SUSAN works in a company who has restricted its employees  from smoking cigerrates in the canteen.&lt;br /&gt;        As susan is the employee of the company she does not smoke cigerrate in the canteen.Which of the following&lt;br /&gt;         unused phrases strengthens the rules of the company??                           &lt;br /&gt;       ANS the employees normally do not do the work for which the company has forbidden them to do.&lt;br /&gt;3    A q's on family relation was given like How many sons X has, I P is the daughter of X ,II some condt., III some&lt;br /&gt;       condt.  ANS al I ,II, III together are not sufficient.  &lt;br /&gt;4    A q's in which a name KAPIL is given he visits manoj's home.some condts given. ANS b)&lt;br /&gt;5    A,B,C,D are the 4 plays which are organised starting from tuesday.find the day on which C was played.in this&lt;br /&gt;      2 condt. will be given as  , I.....................,  II....................,  ANS both I and II&lt;br /&gt;6    A quest on crypto graphy like  &lt;br /&gt;        A B C D&lt;br /&gt;        E F G H&lt;br /&gt;       --------------&lt;br /&gt; .    .................... .is A=, find the other values. practice these types of quest.&lt;br /&gt;7.   A question on race was given.hell lot of condts.finally they make a team for 4*100 metres medaly.&lt;br /&gt;      ANS E none of the above                                                           &lt;br /&gt;8.   Piggy backing is a technique for a) Flow control b) sequence c) Acknowledgement d) retransmition&lt;br /&gt;       ans: c piggy backing&lt;br /&gt;9..   The layer in the OST model handles terminal emulation   a) session b) application c) presentation d) transport &lt;br /&gt;       ans: b application &lt;br /&gt; 10  ans: a odd numbers of errors&lt;br /&gt; 11.  In signed magnitude notation what is the minimum value that can be represented with 8 bits &lt;br /&gt;        a) -128 b) -255 c) -127 d) 0 ANS a) &lt;br /&gt; 12   c 20(no of address lines in 1MB of memory) &lt;br /&gt;13    A 120(25 hz processor,what is the time taken by the instr which needs 3 clock cycles)&lt;br /&gt;14    B synchronise the access(semaphores used for)                                           &lt;br /&gt;15   A system call(context switching is used in) &lt;br /&gt;16   B the operating system(mapping of virtual to physical address)&lt;br /&gt;17   A 177333(conversion of HEX "0xFEDB"in octal)&lt;br /&gt;18   D used as a network layer protocall in network and windows(OLE) system&lt;br /&gt;19   B has to be unique in the sub network(internet address)&lt;br /&gt;20.  There is an employer table with key feilds as employer no. data in every n'th row are needed for a simple&lt;br /&gt;       following queries will get required results.&lt;br /&gt;    a) select A employe no. from employe A , where exists from employe B where A employe no. &gt;= B employe&lt;br /&gt;         having (count(*) mod n)=0&lt;br /&gt;    b) select employe no. from employe A, employe B where A employe no. &gt;= B employ no. grouply employe no.&lt;br /&gt;        having  (count(*)  mod n=0 )&lt;br /&gt;    c) both a&amp; b    d)none of the above                                                                    &lt;br /&gt;21 . type duplicates of a row in a table customer with non uniform key feild customer no. you can see &lt;br /&gt;     a) delete from costomer where customer no. exists ( select distinct customer no. from customer having count )&lt;br /&gt;     b) delete customer a where customer no. in (select customer b where custermer no. equal to b custemor no.)&lt;br /&gt;        and a rowid &gt; b rowid c) delete customer a where custermor no. in ( select customer no. from customer a,&lt;br /&gt;         customer b ) d) none of the above&lt;br /&gt;22.  which feature in ANSI C but not in JAVA.??ANS variable arguments. &lt;br /&gt;23.  preprocessor does not do one of the following??ANS type checking. &lt;br /&gt;24.  long int size  a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes&lt;br /&gt;       ans: compiler dependent &lt;br /&gt;25.  x=2,y=6,z=6 x=y==z;&lt;br /&gt;        printf(%d",x) ?ANS 1                                                                            &lt;br /&gt;26.  class c : public A,publicB&lt;br /&gt;       a)  2   members in class a,b can have member functions with same name.&lt;br /&gt;       b)  2   members in class a,c can have member functions with same name.   c)both     d)none(ANS)&lt;br /&gt;27.  What will be the out put of the  following program&lt;br /&gt;         main()&lt;br /&gt;           {&lt;br /&gt;            char *p;&lt;br /&gt;            p=malloc(10);&lt;br /&gt;            free(p);&lt;br /&gt;            printf("%d",p);&lt;br /&gt;             }&lt;br /&gt;            ANS compilation error                                                                    &lt;br /&gt;&lt;br /&gt;28.  a=(10,15), b=10,15 what are the values of a &amp; b in ANSI C  ANS 15,10&lt;br /&gt;29     main()&lt;br /&gt;             {&lt;br /&gt;                 int x=10,y=15,z=16;&lt;br /&gt;                 x=y=z;&lt;br /&gt;                 printf("%d",x);&lt;br /&gt;               }&lt;br /&gt;                 ANS 0&lt;br /&gt;30           f(n) f(x)&lt;br /&gt;                    {&lt;br /&gt;                         if(x&lt;=0)                                                                               &lt;br /&gt;                              return;&lt;br /&gt;                        else f(x-1)+x;&lt;br /&gt;                     }&lt;br /&gt;                    find the value of fn(5)? ANS 15.&lt;br /&gt;31       struct {&lt;br /&gt;                 int det;&lt;br /&gt;                 struct prevoius;&lt;br /&gt;                 struct new;&lt;br /&gt;                   }&lt;br /&gt;                 delete(struct node)&lt;br /&gt;                       {&lt;br /&gt;                         node-prev-next=node-next;&lt;br /&gt;                         node-next-prev=node-prev;                                                        &lt;br /&gt;                         if(node==head)node&lt;br /&gt;                        }&lt;br /&gt;                    one element will be given.  ANS::it does not work when rp is the last element in the link list.&lt;br /&gt;32A code will be given which searches a particular char in the string. ANS:: it always works.&lt;br /&gt;33.     main()&lt;br /&gt;               {&lt;br /&gt;                 int var =25,varp;&lt;br /&gt;                 varp=&amp;var;&lt;br /&gt;                 varp p=10;&lt;br /&gt;                 fnc(varp);&lt;br /&gt;                 printf("%d%d",var,varp);&lt;br /&gt;               }&lt;br /&gt;                 ANS::55,55 (check this out)&lt;br /&gt;34.    #define VALUE 1+2 &lt;br /&gt;         main()&lt;br /&gt;            {&lt;br /&gt;                printf("%d and %d\n",VALUE/VALUE,VALUE*3);&lt;br /&gt;              }&lt;br /&gt;            ANS:: 5,7&lt;br /&gt;35What is the value assigned to the variable a if b is 7 a=b&gt;8?b&lt;&lt;2:b&gt;4?b&gt;&gt;1:b; ANS::3&lt;br /&gt;36.the value of the following expr (2^3)+(a^a) is a) 1 b)2 c) 3 d) insufficient data&lt;br /&gt;37 which of the following is not basic data type ANS char*                                      &lt;br /&gt;38. the declaration of the variable does not result in one of the following ANS allocatrion of the storage space for the&lt;br /&gt;      varable. &lt;br /&gt;39. in C parameters are passed by ANS:: value only.                                                 &lt;br /&gt;40. 2 variables cannot have the same name if they are ANS:: in the same block.&lt;br /&gt;41.a static funct. say s(),in as file f.c can be invoked from ANS all functs. in f.c after the definitions of s.&lt;br /&gt;42.macros and functions do not differ in the following aspects ANS::variable no of arguments.&lt;br /&gt;43.one q's in which he will give some different forms of   STRCPY function you will have to find out which form is&lt;br /&gt;       correct.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2387574353666087948-7508397593509462470?l=computeredu4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/7508397593509462470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2387574353666087948&amp;postID=7508397593509462470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/7508397593509462470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/7508397593509462470'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/2010/07/hcl-technologies-placement-papers.html' title='HCL TECHNOLOGIES PLACEMENT PAPERS'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-5563440125200902988</id><published>2010-07-03T05:31:00.000-07:00</published><updated>2010-07-03T05:54:07.609-07:00</updated><title type='text'>IMPORTANT JAVA QUESTIONS FOR SCJP EXAMS AND FOR INTERVIEW</title><content type='html'>&lt;strong&gt;JAVA QUESTIONS&lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What all the run( ) method can do?&lt;br /&gt;Correct Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;Your Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Each class in java can have a finalizer method.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Method definition has four parts, they are :-&lt;br /&gt;Correct Answer &lt;br /&gt;Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer &lt;br /&gt;Name of the method , Type of object , List of parameters , Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which is the default access modifier for an interface method?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;main&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the two threads of java?&lt;br /&gt;Correct Answer &lt;br /&gt;mainthread( ) , childthread( )&lt;br /&gt;Your Answer &lt;br /&gt;mainthread( ) , childthread( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which operator is used to create and concatenate string?&lt;br /&gt;Correct Answer &lt;br /&gt;Addition operator(+).&lt;br /&gt;Your Answer &lt;br /&gt;Addition operator(+).&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer &lt;br /&gt;Do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Do-while loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement will always execute the body of a loop at least once?&lt;br /&gt;Correct Answer &lt;br /&gt;Do&lt;br /&gt;Your Answer &lt;br /&gt;Do&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Double data type uses ________ to store a value&lt;br /&gt;Correct Answer &lt;br /&gt;64 bits&lt;br /&gt;Your Answer &lt;br /&gt;64 bits&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the Logical operators?&lt;br /&gt;Correct Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;Your Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;The data, or variable, defined within a class&lt;br /&gt;Instance variable.&lt;br /&gt;Instance variable.&lt;br /&gt;General form of Cast&lt;br /&gt;(target--type)value&lt;br /&gt;(target--type)value&lt;br /&gt;Determine the relationship that one operand has to the other&lt;br /&gt;Relational Operator&lt;br /&gt;Relational Operator&lt;br /&gt;The secondary versions of the Boolean AND and OR operators&lt;br /&gt;Short-Circuit Logical Operators&lt;br /&gt;Comparison operator&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of these lines of code will compile?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Threads define several ________.&lt;br /&gt;Correct Answer &lt;br /&gt;constructors&lt;br /&gt;Your Answer &lt;br /&gt;constructors&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which cast must be used to convert a larger value into a smaller one?&lt;br /&gt;Correct Answer &lt;br /&gt;Explicit cast.&lt;br /&gt;Your Answer &lt;br /&gt;Explicit cast.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is the logical construct upon which the entire java language is built.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is meant by garbage collection?&lt;br /&gt;Correct Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;Your Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Short data type range is -30,376 to 32768.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________method starts a threrad by calling its run method.&lt;br /&gt;Correct Answer &lt;br /&gt;start( )&lt;br /&gt;Your Answer &lt;br /&gt;start( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer &lt;br /&gt;For , While , Do-while&lt;br /&gt;Your Answer &lt;br /&gt;While , For , Continue&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Exit any loop&lt;br /&gt;Break&lt;br /&gt;Break, continue, return&lt;br /&gt;If&lt;br /&gt;Else&lt;br /&gt;Else&lt;br /&gt;Loop&lt;br /&gt;While&lt;br /&gt;While&lt;br /&gt;Jump&lt;br /&gt;Break, continue, return&lt;br /&gt;Goto&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;A ________can implement more than one interface.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Method&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The most commonly used ________eger type is int.&lt;br /&gt;Correct Answer &lt;br /&gt;int&lt;br /&gt;Your Answer &lt;br /&gt;int&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement the value of the expression is compared with each of the literal values in case statements.&lt;br /&gt;Correct Answer &lt;br /&gt;Switch&lt;br /&gt;Your Answer &lt;br /&gt;Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement used inside a set of nested loops, will only break out of the innermost loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Break&lt;br /&gt;Your Answer &lt;br /&gt;Jump&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Main thread is important for which two reasons?&lt;br /&gt;Correct Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;Your Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;There is no Global Variable in Java.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are keywords in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Extends , Synchronized , Sizeof&lt;br /&gt;Your Answer &lt;br /&gt;Synchronized , Sizeof&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;There are ________ kinds of Floating point type&lt;br /&gt;Correct Answer &lt;br /&gt;Two&lt;br /&gt;Your Answer &lt;br /&gt;One&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How to change the values of the elements of the array?&lt;br /&gt;Correct Answer &lt;br /&gt;By using array subscript expression&lt;br /&gt;Your Answer &lt;br /&gt;By specifying index number&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which loops can be nested in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;While , Do-while , For , Jump&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer &lt;br /&gt;Case , Default&lt;br /&gt;Your Answer &lt;br /&gt;Case , Default , Exit&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is a string?&lt;br /&gt;Correct Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;Your Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;All the methods declared inside an Interface are abstract.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statements allow the program to choose different paths of execution?&lt;br /&gt;Correct Answer &lt;br /&gt;Selection&lt;br /&gt;Your Answer &lt;br /&gt;Jump&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are primitive data types?&lt;br /&gt;Correct Answer &lt;br /&gt;byte, short, int, long&lt;br /&gt;Your Answer &lt;br /&gt;byte, short, int, long&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The explicit drop of an object reference by setting the value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Null&lt;br /&gt;Your Answer &lt;br /&gt;Instance&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A suspended thread can then be resumed allowing it to pick up where it left off.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java's multithreading system is built upon :-&lt;br /&gt;Correct Answer &lt;br /&gt;Thread class , Its methods , Companion interface&lt;br /&gt;Your Answer &lt;br /&gt;Thread class , Its methods , Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How array is defined?&lt;br /&gt;Correct Answer &lt;br /&gt;int arr[];&lt;br /&gt;Your Answer &lt;br /&gt;arr[10];&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How do you assign values to variables?&lt;br /&gt;Correct Answer &lt;br /&gt;By using the assignment operator =.&lt;br /&gt;Your Answer &lt;br /&gt;By using the assignment operator =.&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Byte can be Cast to Double Value.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Anything declared ________ can be accessed from anywhere within program.&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the kinds of variables in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;Your Answer &lt;br /&gt;Varchar, rawtype&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Is it necessary to implement all the methods of an interface while implementing the interface&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 2 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the two threads of java?&lt;br /&gt;Correct Answer &lt;br /&gt;mainthread( ) , childthread( )&lt;br /&gt;Your Answer &lt;br /&gt;mainthread( ) , childthread( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How can class be imported from a package to a program?&lt;br /&gt;Correct Answer &lt;br /&gt;import java.packagename.classname&lt;br /&gt;Your Answer &lt;br /&gt;import java.package.class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which keyword is used to create an instance of a class?&lt;br /&gt;Correct Answer &lt;br /&gt;new&lt;br /&gt;Your Answer &lt;br /&gt;new&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Multiple Choice Single Response&lt;br /&gt;Correct Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;Your Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which is the default access modifier for an interface method?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How multidimensional array is declared?&lt;br /&gt;Correct Answer &lt;br /&gt;int[4] [5];&lt;br /&gt;Your Answer &lt;br /&gt;int[4] [5];&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What returns a reference to the thread in which it is called?&lt;br /&gt;Correct Answer &lt;br /&gt;Method , Class , Object&lt;br /&gt;Your Answer &lt;br /&gt;Method , Class , Object&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Casting occurs commonly between numeric types&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Start( )executes a call to ________.&lt;br /&gt;Correct Answer &lt;br /&gt;run( )&lt;br /&gt;Your Answer &lt;br /&gt;run( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Running threads can be suspended, which temporarily suspends its activity.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;A ________ is a subclass of itself.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How many concrete classes can you have inside an interface?&lt;br /&gt;Correct Answer &lt;br /&gt;none&lt;br /&gt;Your Answer &lt;br /&gt;none&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java Applets are intelligent programs means :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;Your Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following can be referenced by 'this' variable?&lt;br /&gt;Correct Answer &lt;br /&gt;The instance variables and methods of a class&lt;br /&gt;Your Answer &lt;br /&gt;The instance variables of a class only&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of these lines of code will compile?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are different data types in java?&lt;br /&gt;Correct Answer &lt;br /&gt;char , double , byte&lt;br /&gt;Your Answer &lt;br /&gt;char , double , byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Select the facility provided along with JVM which enhances speed of execution :-&lt;br /&gt;Correct Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;The data, or variable, defined within a class&lt;br /&gt;Instance variable.&lt;br /&gt;Instance variable.&lt;br /&gt;General form of Cast&lt;br /&gt;(target--type)value&lt;br /&gt;(target--type)value&lt;br /&gt;Determine the relationship that one operand has to the other&lt;br /&gt;Relational Operator&lt;br /&gt;Relational Operator&lt;br /&gt;The secondary versions of the Boolean AND and OR operators&lt;br /&gt;Short-Circuit Logical Operators&lt;br /&gt;Short-Circuit Logical Operators&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;floating Point , Integer , Character&lt;br /&gt;Your Answer &lt;br /&gt;floating Point , Integer , Character&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Expression must be of the data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;Byte , Short , Int&lt;br /&gt;Your Answer &lt;br /&gt;Byte , Short , Int&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;For externalizable objects the ________ is solely responsible for the external format of its contents.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Using which keyword we can fully abstract a class?&lt;br /&gt;Correct Answer &lt;br /&gt;interface&lt;br /&gt;Your Answer &lt;br /&gt;interface&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer &lt;br /&gt;While loop&lt;br /&gt;Your Answer &lt;br /&gt;While loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;Your Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;Your Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Encapsulation&lt;br /&gt;Your Answer &lt;br /&gt;Encapsulation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java compiler stores the .class files in the path specified in CLASSPATH environmental variable.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java was developed at :-&lt;br /&gt;Correct Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;Your Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the kinds of variables in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;Your Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;Your Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;The source for the frist package defines three classes&lt;br /&gt;Correct Answer &lt;br /&gt;Protection , Derived , SamePackage&lt;br /&gt;Your Answer &lt;br /&gt;Protection , Derived , SamePackage&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the possible access modifiers while implementing interface methods?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;public&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which is a public static member of thread?&lt;br /&gt;Correct Answer &lt;br /&gt;currenthread( ) , mainthread( )&lt;br /&gt;Your Answer &lt;br /&gt;currenthread( ) , mainthread( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer &lt;br /&gt;Do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Do-while loop&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;A ________can implement more than one interface.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Boolean values can be cast into any other primitive type.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The name of the new thread is specified by ________.&lt;br /&gt;Correct Answer &lt;br /&gt;threadName&lt;br /&gt;Your Answer &lt;br /&gt;threadName&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;Your Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;It can have only one of two possible values&lt;br /&gt;Boolean type&lt;br /&gt;Boolean type&lt;br /&gt;Float hightemp, lowtemp&lt;br /&gt;Float variable declarations&lt;br /&gt;Float variable declarations&lt;br /&gt;Smallest int type&lt;br /&gt;Byte&lt;br /&gt;Byte&lt;br /&gt;Floating point numbers are also known as&lt;br /&gt;Real Numbers&lt;br /&gt;Real Numbers&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 3 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is meant by garbage collection?&lt;br /&gt;Correct Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;Your Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How can class be imported from a package to a program?&lt;br /&gt;Correct Answer &lt;br /&gt;import java.packagename.classname&lt;br /&gt;Your Answer &lt;br /&gt;import java.packagename.classname&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer &lt;br /&gt;Continue&lt;br /&gt;Your Answer &lt;br /&gt;Continue&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statements enable program execution to repeat one or more statements?&lt;br /&gt;Correct Answer &lt;br /&gt;Iteration&lt;br /&gt;Your Answer &lt;br /&gt;Iteration&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ loop is java's most fundamental looping statement.&lt;br /&gt;Correct Answer &lt;br /&gt;While&lt;br /&gt;Your Answer &lt;br /&gt;For&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java defines ________ Primitive type of data.&lt;br /&gt;Correct Answer &lt;br /&gt;Eight 8 simple types of data: byte, short, int, long (INTEGERS), float, double(FLOATING TYPE), char, and Boolean&lt;br /&gt;Your Answer &lt;br /&gt;Eight&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Boolean data types have only Yes or No value.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Subclasses , Packages&lt;br /&gt;Your Answer &lt;br /&gt;Classes , Subclasses , Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java was developed at :-&lt;br /&gt;Correct Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;Your Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Select the facility provided along with JVM which enhances speed of execution: -&lt;br /&gt;Correct Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;If the break statement is omitted in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the programming constructs?&lt;br /&gt;Correct Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement will always execute the body of a loop at least once?&lt;br /&gt;Correct Answer &lt;br /&gt;Do&lt;br /&gt;Your Answer &lt;br /&gt;Do&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A suspended thread can then be resumed allowing it to pick up where it left off.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The Switch statement can have multiple cases without a break statements between them.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;Your Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;In Interface we need not use the keyword abstract for the methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The range of Byte is ________&lt;br /&gt;Correct Answer &lt;br /&gt;(-128 to 127)&lt;br /&gt;Your Answer &lt;br /&gt;(-128 to 127)&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;Your Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are different data types in java?&lt;br /&gt;Correct Answer &lt;br /&gt;char , double , byte&lt;br /&gt;Your Answer &lt;br /&gt;char , double , byte&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is the logical construct upon which the entire java language is built.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Method definition has four parts, they are :-&lt;br /&gt;Correct Answer &lt;br /&gt;Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer &lt;br /&gt;Name of the method , List of parameters , Class&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;For statement&lt;br /&gt;Initialization, condition, iteration&lt;br /&gt;Initialization, condition, iteration&lt;br /&gt;Multi way branch statement&lt;br /&gt;Switch statement&lt;br /&gt;Switch statement&lt;br /&gt;To terminate the statement&lt;br /&gt;Break&lt;br /&gt;Break&lt;br /&gt;Iteration statement&lt;br /&gt;Do while&lt;br /&gt;Do while&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;Your Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is referred by a variable candidate for garbage collection when the variable goes out of scope.&lt;br /&gt;Correct Answer &lt;br /&gt;Objects&lt;br /&gt;Your Answer &lt;br /&gt;Objects&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Features of Java applets are :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can be transmitted over internet , Require java enabled web browser&lt;br /&gt;Your Answer &lt;br /&gt;They can be transmitted over internet , They require web server for their operation , Require java enabled web browser&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Packages act as containers for :-&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Subordinate packages&lt;br /&gt;Your Answer &lt;br /&gt;Classes , Subordinate packages , Subclasses&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is a string?&lt;br /&gt;Correct Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;Your Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Multiple Choice Single Response&lt;br /&gt;Correct Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;Your Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer &lt;br /&gt;Do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Do-while loop&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Range of char data type in java is 0 to 65,536.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How is it possible to use few methods of an interface in a class?&lt;br /&gt;Correct Answer &lt;br /&gt;By declaring the class as abstract&lt;br /&gt;Your Answer &lt;br /&gt;By declaring the class public&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Casting between primitive types allows conversion of one primitive type to another.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of these lines of code will compile?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the Logical operators?&lt;br /&gt;Correct Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;Your Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;When for loop start the execution, the initialization portion of the loop is executed.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Class&lt;br /&gt;New data type&lt;br /&gt;New data type&lt;br /&gt;Passing by value&lt;br /&gt;Methods - pass by value&lt;br /&gt;Methods - pass by value&lt;br /&gt;Passing by reference&lt;br /&gt;Objects – pass by reference&lt;br /&gt;Objects – pass by reference&lt;br /&gt;Methods and variable&lt;br /&gt;Members of class&lt;br /&gt;Members of class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer &lt;br /&gt;package&lt;br /&gt;Your Answer &lt;br /&gt;package&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________can be extended.&lt;br /&gt;Correct Answer &lt;br /&gt;Interface&lt;br /&gt;Your Answer &lt;br /&gt;Interface&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java Applets are intelligent programs means :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;Your Answer &lt;br /&gt;They can be transmitted over internet.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following is used to get the value of the instance variables?&lt;br /&gt;Correct Answer &lt;br /&gt;Dot Notation&lt;br /&gt;Your Answer &lt;br /&gt;Dot Notation&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump , Continue , Break&lt;br /&gt;Your Answer &lt;br /&gt;Continue , Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java Operators can be divided into these groups :-&lt;br /&gt;Correct Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;Your Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which is the default access modifier for an interface method?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;public&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Anything declared ________ can be accessed from anywhere within program.&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java virtual machine works as ________ for the the bytecode.&lt;br /&gt;Correct Answer &lt;br /&gt;Interpreter&lt;br /&gt;Your Answer &lt;br /&gt;Interpreter&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ loop repeats a set of statements a certain number of times until a condition is matched.&lt;br /&gt;Correct Answer &lt;br /&gt;For&lt;br /&gt;Your Answer &lt;br /&gt;For&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the Logical operators?&lt;br /&gt;Correct Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;Your Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which operator is used to create and concatenate string?&lt;br /&gt;Correct Answer &lt;br /&gt;Addition operator(+).&lt;br /&gt;Your Answer &lt;br /&gt;Addition operator(+).&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;If omit the package statement, which names are put into defualt pacakge?&lt;br /&gt;Correct Answer &lt;br /&gt;class&lt;br /&gt;Your Answer &lt;br /&gt;class&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;For&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Instance variable , Methods&lt;br /&gt;Your Answer &lt;br /&gt;Instance variable , Methods&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;In Interface we need not use the keyword abstract for the methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What modifiers may be used with top-level class?&lt;br /&gt;Correct Answer &lt;br /&gt;Public , Abstract , Final&lt;br /&gt;Your Answer &lt;br /&gt;Public , Abstract , Final&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump , Continue , Break&lt;br /&gt;Your Answer &lt;br /&gt;Continue , Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is an array?&lt;br /&gt;Correct Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;Your Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The switch statement does not require a break.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The for statement loop can be infinite.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which class can be extended?&lt;br /&gt;Correct Answer &lt;br /&gt;threadclass&lt;br /&gt;Your Answer &lt;br /&gt;threadclass&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer &lt;br /&gt;Byte&lt;br /&gt;Your Answer &lt;br /&gt;Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the two threads of java?&lt;br /&gt;Correct Answer &lt;br /&gt;mainthread( ) , childthread( )&lt;br /&gt;Your Answer &lt;br /&gt;current , new&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;Your Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;For statement&lt;br /&gt;Initialization, condition, iteration&lt;br /&gt;Initialization, condition, iteration&lt;br /&gt;Multi way branch statement&lt;br /&gt;Switch statement&lt;br /&gt;Switch statement&lt;br /&gt;To terminate the statement&lt;br /&gt;Break&lt;br /&gt;Break&lt;br /&gt;Iteration statement&lt;br /&gt;Do while&lt;br /&gt;Iteration&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement checks at the beginning of a loop to see whether the next loop iteration should occur?&lt;br /&gt;Correct Answer &lt;br /&gt;While&lt;br /&gt;Your Answer &lt;br /&gt;While&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The Process by which one object acquires properties of another object is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Inheritence&lt;br /&gt;Your Answer &lt;br /&gt;Inheritence&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statement allow the program to execute in a non-linear fashion?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump&lt;br /&gt;Your Answer &lt;br /&gt;Iteration&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Main thread is important for which two reasons?&lt;br /&gt;Correct Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;Your Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Casting between primitive types allows conversion of one primitive type to another.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Method definition has four parts, they are :-&lt;br /&gt;Correct Answer &lt;br /&gt;Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer &lt;br /&gt;Name of the method , Type of object , List of parameters&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer &lt;br /&gt;package&lt;br /&gt;Your Answer &lt;br /&gt;package&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Variable in an interface are implicitly final and static.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer &lt;br /&gt;When it knows there will be some idle time , Before it enters a compute-intense section of code , Before it enters a memory-intense section of code&lt;br /&gt;Your Answer &lt;br /&gt;Before it enters a memory-intense section of code , When it knows there will be some idle time&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How to change the values of the elements of the array?&lt;br /&gt;Correct Answer &lt;br /&gt;By using array subscript expression&lt;br /&gt;Your Answer &lt;br /&gt;By specifying index number&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following is used to get the value of the instance variables?&lt;br /&gt;Correct Answer &lt;br /&gt;Dot Notation&lt;br /&gt;Your Answer &lt;br /&gt;Dot Notation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Integer can Cast to byte value.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is an instance of the class.&lt;br /&gt;Correct Answer &lt;br /&gt;Object&lt;br /&gt;Your Answer &lt;br /&gt;Object&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Subclass of the Exception&lt;br /&gt;RuntimeException&lt;br /&gt;Throwable&lt;br /&gt;Access modifier&lt;br /&gt;Public&lt;br /&gt;Public&lt;br /&gt;Variable in inetrface&lt;br /&gt;Static type&lt;br /&gt;Static type&lt;br /&gt;Handle exceptions&lt;br /&gt;Throws class&lt;br /&gt;RuntimeException&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Casting occurs commonly between numeric types&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Multiple inheritance in Java can be achieve by ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Interface&lt;br /&gt;Your Answer &lt;br /&gt;Interface&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java Applets are intelligent programs means :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;Your Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are members of the threads class?&lt;br /&gt;Correct Answer &lt;br /&gt;Method&lt;br /&gt;Your Answer &lt;br /&gt;Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How do you assign values to variables?&lt;br /&gt;Correct Answer &lt;br /&gt;By using the assignment operator =.&lt;br /&gt;Your Answer &lt;br /&gt;By using the assignment operator =.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java's multithreading system is built upon :-&lt;br /&gt;Correct Answer &lt;br /&gt;Thread class , Its methods , Companion interface&lt;br /&gt;Your Answer &lt;br /&gt;Thread class , Companion interface , Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;As abstract class must have at least one abstract method and others may be concrete or abstract.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Encapsulation&lt;br /&gt;Your Answer &lt;br /&gt;Encapsulation&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;After the new thread is created, it will not start running until you call its ________method.&lt;br /&gt;Correct Answer &lt;br /&gt;start( )&lt;br /&gt;Your Answer &lt;br /&gt;start( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Anything declared ________ can be accessed from anywhere within program.&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Private&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Subclasses , Packages&lt;br /&gt;Your Answer &lt;br /&gt;Classes , Subclasses , Packages&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Double data type uses ________ to store a value&lt;br /&gt;Correct Answer &lt;br /&gt;64 bits&lt;br /&gt;Your Answer &lt;br /&gt;32 bits&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are different data types in java?&lt;br /&gt;Correct Answer &lt;br /&gt;char , double , byte&lt;br /&gt;Your Answer &lt;br /&gt;double , byte&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 4 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Constructor&lt;br /&gt;Initialization object&lt;br /&gt;Protected&lt;br /&gt;Parameters&lt;br /&gt;Method Generalized&lt;br /&gt;Method Generalized&lt;br /&gt;Memory deallocation&lt;br /&gt;Garbage Collection&lt;br /&gt;Garbage Collection&lt;br /&gt;This&lt;br /&gt;Current Object&lt;br /&gt;Current Object&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ statement defines a name space in which classes are stored&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;The argument to which specifies the delayperiod in milliseconds&lt;br /&gt;Correct Answer &lt;br /&gt;sleep( )&lt;br /&gt;Your Answer &lt;br /&gt;wait( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;By Providing the interface keyword, Java allows you to fully utilize the which aspect of polymorphism?&lt;br /&gt;Correct Answer &lt;br /&gt;One interface , Multiple methods&lt;br /&gt;Your Answer &lt;br /&gt;One interface , Multiple methods , Derived&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Exit any loop&lt;br /&gt;Break&lt;br /&gt;Exit&lt;br /&gt;If&lt;br /&gt;Else&lt;br /&gt;Else&lt;br /&gt;Loop&lt;br /&gt;While&lt;br /&gt;While&lt;br /&gt;Jump&lt;br /&gt;Break, continue, return&lt;br /&gt;Goto&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread can be preempted by a higher priority thread.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of these lines of code will compile?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How to declare an interface example?&lt;br /&gt;Correct Answer &lt;br /&gt;access class classname implements interface.&lt;br /&gt;Your Answer &lt;br /&gt;access interface name&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer &lt;br /&gt;Break&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;There is no Global Variable in Java.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;Your Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are keywords in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Extends , Synchronized , Sizeof&lt;br /&gt;Your Answer &lt;br /&gt;Extends , Synchronized , Sizeof&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Each class in java can have a finalizer method.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer &lt;br /&gt;Continue&lt;br /&gt;Your Answer &lt;br /&gt;Continue&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the programming constructs?&lt;br /&gt;Correct Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Loop&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java defines ________ integer type.&lt;br /&gt;Correct Answer &lt;br /&gt;Four&lt;br /&gt;Your Answer &lt;br /&gt;Five&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;Your Answer &lt;br /&gt;Distributed&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How is it possible to use few methods of an interface in a class?&lt;br /&gt;Correct Answer &lt;br /&gt;By declaring the class as abstract&lt;br /&gt;Your Answer &lt;br /&gt;By declaring the class public&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;Your Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________method starts a threrad by calling its run method.&lt;br /&gt;Correct Answer &lt;br /&gt;start( )&lt;br /&gt;Your Answer &lt;br /&gt;start( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following is the declaration of an array of string objects?&lt;br /&gt;Correct Answer &lt;br /&gt;String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;Your Answer &lt;br /&gt;String[ ] s; , String s[ ]:&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread can voluntarily relinquish control.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement is used to explicitly return from a method?&lt;br /&gt;Correct Answer &lt;br /&gt;Return&lt;br /&gt;Your Answer &lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Expression must be of the data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;Byte , Short , Int&lt;br /&gt;Your Answer &lt;br /&gt;Short , Int , Boolean&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is meant by garbage collection?&lt;br /&gt;Correct Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;Your Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;There are ________ kinds of Floating point type&lt;br /&gt;Correct Answer &lt;br /&gt;Two&lt;br /&gt;Your Answer &lt;br /&gt;Three&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ method suspends a thread for some period of time.&lt;br /&gt;Correct Answer &lt;br /&gt;sleep( )&lt;br /&gt;Your Answer &lt;br /&gt;sleep( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Running threads can be suspended, which temporarily suspends its activity.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Packages act as containers for :-&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Subordinate packages&lt;br /&gt;Your Answer &lt;br /&gt;Classes , Classes , Subclasses&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Long makes it useful when big ________ numbers are needed.&lt;br /&gt;Correct Answer &lt;br /&gt;Whole&lt;br /&gt;Your Answer &lt;br /&gt;Prime&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The explicit drop of an object reference by setting the value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Null&lt;br /&gt;Your Answer &lt;br /&gt;Null&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What all the run( ) method can do?&lt;br /&gt;Correct Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;Your Answer &lt;br /&gt;Declare variable , Create object , Create class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java assigns to each thread a priority that determines how that thread should be treated with respect to the others.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java compiler stores the .class files in the path specified in CLASSPATH environmental variable.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;To import a class, what is a syntax used?&lt;br /&gt;Correct Answer &lt;br /&gt;import classname;&lt;br /&gt;Your Answer &lt;br /&gt;import classname;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the java's control statements?&lt;br /&gt;Correct Answer &lt;br /&gt;For , If , Switch&lt;br /&gt;Your Answer &lt;br /&gt;For , If , Switch&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ loop repeats a statement or block while its controlling expressions is true.&lt;br /&gt;Correct Answer &lt;br /&gt;While&lt;br /&gt;Your Answer &lt;br /&gt;While&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java's which system allows a thread to enter a synhcronized method on an object, and then wait there until some other thread explicitly notifies it to come out :-&lt;br /&gt;Correct Answer &lt;br /&gt;Messaging&lt;br /&gt;Your Answer &lt;br /&gt;Run time&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java was developed at :-&lt;br /&gt;Correct Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;Your Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java allows loops to be nested.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java virtual machine works as ________ for the the bytecode.&lt;br /&gt;Correct Answer &lt;br /&gt;Interpreter&lt;br /&gt;Your Answer &lt;br /&gt;Compiler&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When you implement an interface method, it must be declared as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Do while loop always executes its body at least once, because its conditional expression is at the bottom of the loop.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer &lt;br /&gt;Case , Default&lt;br /&gt;Your Answer &lt;br /&gt;Case , Default , Jump&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer &lt;br /&gt;Boolean , Character&lt;br /&gt;Your Answer &lt;br /&gt;Boolean , Character&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;After calling start( ) NewThread, constructor returns to ________.&lt;br /&gt;Correct Answer &lt;br /&gt;main( )&lt;br /&gt;Your Answer &lt;br /&gt;main( )&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 5 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer &lt;br /&gt;^ , ^= , &lt;&lt;&lt;br /&gt;Your Answer &lt;br /&gt;^ , &amp;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer &lt;br /&gt;(+ +) , (+ =) , (- =)&lt;br /&gt;Your Answer &lt;br /&gt;(+ +)&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java defines ________ integer type.&lt;br /&gt;Correct Answer &lt;br /&gt;Four&lt;br /&gt;Your Answer &lt;br /&gt;Seven&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following is the declaration of an array of string objects?&lt;br /&gt;Correct Answer &lt;br /&gt;String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;Your Answer &lt;br /&gt;String[ s]:&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ statement defines a name space in which classes are stored&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Multiple Choice Single Response&lt;br /&gt;Correct Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;Your Answer &lt;br /&gt;Object oriented programming.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Select the facility provided along with JVM which enhances speed of execution :-&lt;br /&gt;Correct Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer &lt;br /&gt;Fast interpreter.&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Range of char data type in java is 0 to 65,536.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is an array?&lt;br /&gt;Correct Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;Your Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;It can have only one of two possible values&lt;br /&gt;Boolean type&lt;br /&gt;Boolean type&lt;br /&gt;Float hightemp, lowtemp&lt;br /&gt;Float variable declarations&lt;br /&gt;Float variable declarations&lt;br /&gt;Smallest int type&lt;br /&gt;Byte&lt;br /&gt;Real Numbers&lt;br /&gt;Floating point numbers are also known as&lt;br /&gt;Real Numbers&lt;br /&gt;Not real number&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The for statement loop can be infinite.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Expression must be of the data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;Byte , Short , Int&lt;br /&gt;Your Answer &lt;br /&gt;Byte , Int , Boolean&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Features of Java applets are :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can be transmitted over internet , Require java enabled web browser&lt;br /&gt;Your Answer &lt;br /&gt;They can be transmitted over internet , They require web server for their operation , Require java enabled web browser , They are intelligent programs.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java virtual machine works as ________ for the the bytecode.&lt;br /&gt;Correct Answer &lt;br /&gt;Interpreter&lt;br /&gt;Your Answer &lt;br /&gt;Compiler&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement is used inside the switch to terminate a statement sequence?&lt;br /&gt;Correct Answer &lt;br /&gt;Break&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The default ________ of objects protects private and transient data.&lt;br /&gt;Correct Answer &lt;br /&gt;Encoding&lt;br /&gt;Your Answer &lt;br /&gt;Casting&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are different data types in java?&lt;br /&gt;Correct Answer &lt;br /&gt;char , double , byte&lt;br /&gt;Your Answer &lt;br /&gt;varchar , char , double , byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How multidimensional array is declared?&lt;br /&gt;Correct Answer &lt;br /&gt;int[4] [5];&lt;br /&gt;Your Answer &lt;br /&gt;char[4,5]&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;Your Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump , Continue , Break&lt;br /&gt;Your Answer &lt;br /&gt;Jump , Continue , Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java Operators can be divided into these groups :-&lt;br /&gt;Correct Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;Your Answer &lt;br /&gt;Arithmetic , Relational&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Java defines ________ Primitive type of data.&lt;br /&gt;Correct Answer &lt;br /&gt;Eight&lt;br /&gt;Your Answer &lt;br /&gt;Eight&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Encapsulation&lt;br /&gt;Your Answer &lt;br /&gt;Encapsulation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer &lt;br /&gt;Byte&lt;br /&gt;Your Answer &lt;br /&gt;Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;The Stack performs which two function?&lt;br /&gt;Correct Answer &lt;br /&gt;pop( ) , push( )&lt;br /&gt;Your Answer &lt;br /&gt;pop( ) , push( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Float data type is useful when we need fractional values.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following assignments are valid?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 28; , double d = 2.3; , int I = '1';&lt;br /&gt;Your Answer &lt;br /&gt;short s = 28; , float f = 2.3; , double d = 2.3;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The Process by which one object acquires properties of another object is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Inheritence&lt;br /&gt;Your Answer &lt;br /&gt;Inheritence&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;As abstract class must have at least one abstract method and others may be concrete or abstract.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java define eight simple types of data byte, short, int, long, char, float, double, boolean.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When java program starts up, which thread begins running immediately?&lt;br /&gt;Correct Answer &lt;br /&gt;Main thread&lt;br /&gt;Your Answer &lt;br /&gt;Main thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;Your Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are means of encapsulating and containing the name space and scope of variables and methods?&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Packages , Subclasses&lt;br /&gt;Your Answer &lt;br /&gt;Classes , Packages , Subclasses&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What returns a reference to the thread in which it is called?&lt;br /&gt;Correct Answer &lt;br /&gt;Method , Class , Object&lt;br /&gt;Your Answer &lt;br /&gt;Class , Object&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java was developed at :-&lt;br /&gt;Correct Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;Your Answer &lt;br /&gt;Sun Microsystems&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement is used to explicitly return from a method?&lt;br /&gt;Correct Answer &lt;br /&gt;Return&lt;br /&gt;Your Answer &lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java Applets are intelligent programs means :-&lt;br /&gt;Correct Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;Your Answer &lt;br /&gt;They can react to user input and dynamically change.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;A ________ is a subclass of itself.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?&lt;br /&gt;Correct Answer &lt;br /&gt;Switch&lt;br /&gt;Your Answer &lt;br /&gt;Switch&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ loop is java's most fundamental looping statement.&lt;br /&gt;Correct Answer &lt;br /&gt;While&lt;br /&gt;Your Answer &lt;br /&gt;While&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ method suspends a thread for some period of time.&lt;br /&gt;Correct Answer &lt;br /&gt;sleep( )&lt;br /&gt;Your Answer &lt;br /&gt;sleep( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;floating Point , Integer , Character&lt;br /&gt;Your Answer &lt;br /&gt;floating Point , Integer , Character&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ statement in java is conditional branch statement.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer &lt;br /&gt;Boolean , Character&lt;br /&gt;Your Answer &lt;br /&gt;Boolean , Character&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The range of Byte is ________&lt;br /&gt;Correct Answer &lt;br /&gt;(-128 to 127)&lt;br /&gt;Your Answer &lt;br /&gt;(-128 to 127)&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Subclass of the Exception&lt;br /&gt;RuntimeException&lt;br /&gt;RuntimeException&lt;br /&gt;Access modifier&lt;br /&gt;Public&lt;br /&gt;Public&lt;br /&gt;Variable in inetrface&lt;br /&gt;Static type&lt;br /&gt;Static type&lt;br /&gt;Handle exceptions&lt;br /&gt;Throws class&lt;br /&gt;Throws class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ statement defines a name space in which classes are stored&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Suppose a given instance variable has been declared private, this instance variable is manipulated by methods outside its class.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The most commonly used ________eger type is int.&lt;br /&gt;Correct Answer &lt;br /&gt;int&lt;br /&gt;Your Answer &lt;br /&gt;int&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How to declare an interface example?&lt;br /&gt;Correct Answer &lt;br /&gt;access class classname implements interface.&lt;br /&gt;Your Answer &lt;br /&gt;access class classname implements interface.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What all the run( ) method can do?&lt;br /&gt;Correct Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;Your Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Threads define several ________.&lt;br /&gt;Correct Answer &lt;br /&gt;constructors&lt;br /&gt;Your Answer &lt;br /&gt;constructors&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which class can be extended?&lt;br /&gt;Correct Answer &lt;br /&gt;threadclass&lt;br /&gt;Your Answer &lt;br /&gt;threadclass&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is meant by garbage collection?&lt;br /&gt;Correct Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;Your Answer &lt;br /&gt;Object is no longer referred to by any variable&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Class&lt;br /&gt;New data type&lt;br /&gt;New data type&lt;br /&gt;Passing by value&lt;br /&gt;Methods - pass by value&lt;br /&gt;Methods - pass by value&lt;br /&gt;Passing by reference&lt;br /&gt;Objects – pass by reference&lt;br /&gt;Objects – pass by reference&lt;br /&gt;Methods and variable&lt;br /&gt;Members of class&lt;br /&gt;Members of class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ statement in java is conditional branch statement.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java allows loops to be nested.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;When java program starts up, one thread begin runing and it is called ________thread.&lt;br /&gt;Correct Answer &lt;br /&gt;main( )&lt;br /&gt;Your Answer &lt;br /&gt;main( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is an instance of the class.&lt;br /&gt;Correct Answer &lt;br /&gt;Object&lt;br /&gt;Your Answer &lt;br /&gt;Object&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Do while loop always executes its body at least once, because its conditional expression is at the bottom of the loop.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is an instance of a class that implements the runnable interface.&lt;br /&gt;Correct Answer &lt;br /&gt;threadOb&lt;br /&gt;Your Answer &lt;br /&gt;threadOb&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ are containers for classes.&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Select the facility provided along with JVM which enhances speed of execution :-&lt;br /&gt;Correct Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer &lt;br /&gt;Just-In-Time (JIT) compiler.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which is a public static member of thread?&lt;br /&gt;Correct Answer &lt;br /&gt;currenthread( ) , mainthread( )&lt;br /&gt;Your Answer &lt;br /&gt;currenthread( ) , mainthread( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A thread name can be obtained by caling which method?&lt;br /&gt;Correct Answer &lt;br /&gt;getName( )&lt;br /&gt;Your Answer &lt;br /&gt;getName( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the possible access modifiers while implementing interface methods?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;public&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Main thread is important for which two reasons?&lt;br /&gt;Correct Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;Your Answer &lt;br /&gt;It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are keywords in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Extends , Synchronized , Sizeof&lt;br /&gt;Your Answer &lt;br /&gt;Extends , Synchronized , Sizeof&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer &lt;br /&gt;package&lt;br /&gt;Your Answer &lt;br /&gt;package&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of these lines of code will compile?&lt;br /&gt;Correct Answer &lt;br /&gt;char c = 32; , short s = 20; , double d = 1.4;&lt;br /&gt;Your Answer &lt;br /&gt;short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;By Providing the interface keyword, Java allows you to fully utilize the which aspect of polymorphism?&lt;br /&gt;Correct Answer &lt;br /&gt;One interface , Multiple methods&lt;br /&gt;Your Answer &lt;br /&gt;One interface , Multiple methods&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When you implement an interface method, it must be declared as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer &lt;br /&gt;Before it enters a compute-intense section of code , Before it enters a memory-intense section of code , When it knows there will be some idle time&lt;br /&gt;Your Answer &lt;br /&gt;Before it enters a compute-intense section of code , Before it enters a memory-intense section of code , When it knows there will be some idle time&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Transient variable is variable that may not be serialized.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The for statement loop can be infinite.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;A constructor is automatically called when an object is instantiated.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Float data type is useful when we need fractional values.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java Operators can be divided into these groups :-&lt;br /&gt;Correct Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;Your Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;Your Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;A ________can implement more than one interface.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;If you do not implement all the methods of an interface while implementing, what specifier should you use for the class ?&lt;br /&gt;Correct Answer &lt;br /&gt;abtract&lt;br /&gt;Your Answer &lt;br /&gt;abtract&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement is used to explicitly return from a method?&lt;br /&gt;Correct Answer &lt;br /&gt;Return&lt;br /&gt;Your Answer &lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following is the declaration of an array of string objects?&lt;br /&gt;Correct Answer &lt;br /&gt;String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;Your Answer &lt;br /&gt;String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?&lt;br /&gt;Correct Answer &lt;br /&gt;Switch&lt;br /&gt;Your Answer &lt;br /&gt;Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the kinds of variables in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;Your Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Variable in an interface are implicitly final and static.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;   &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 6 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Nested if is less efficient then switch statement.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;Your Answer &lt;br /&gt;Garbage Collection&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When you implement an interface method, it must be declared as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are primitive data types?&lt;br /&gt;Correct Answer &lt;br /&gt;byte, short, int, long&lt;br /&gt;Your Answer &lt;br /&gt;byte, short, int, long&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;In While loop condition can be any Boolean expression&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Long makes it useful when big ________ numbers are needed.&lt;br /&gt;Correct Answer &lt;br /&gt;Whole&lt;br /&gt;Your Answer &lt;br /&gt;Real&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statement allow the program to execute in a non-linear fashion?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;With java Type Casts are checked at both compile-time and runtime.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following assignments are valid?&lt;br /&gt;Correct Answer &lt;br /&gt;short s = 28; , double d = 2.3; , int I = '1';&lt;br /&gt;Your Answer &lt;br /&gt;short s = 28; , float f = 2.3;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;Your Answer &lt;br /&gt;Can implement the runnable interface , Can extend the thread class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The explicit drop of an object reference by setting the value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Null&lt;br /&gt;Your Answer &lt;br /&gt;Instance&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is a string?&lt;br /&gt;Correct Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;Your Answer &lt;br /&gt;A combination of characters called as string&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the programming constructs?&lt;br /&gt;Correct Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop&lt;br /&gt;Your Answer &lt;br /&gt;Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What can be created by instantiating an object type thread?&lt;br /&gt;Correct Answer &lt;br /&gt;Thread&lt;br /&gt;Your Answer &lt;br /&gt;Thread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement the value of the expression is compared with each of the literal values in case statements.&lt;br /&gt;Correct Answer &lt;br /&gt;Switch&lt;br /&gt;Your Answer &lt;br /&gt;Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;How to declare an interface example?&lt;br /&gt;Correct Answer &lt;br /&gt;access class classname implements interface.&lt;br /&gt;Your Answer &lt;br /&gt;access interface name&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Integer can Cast to byte value.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Transient variable is variable that may not be serialized.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Using which keyword we can fully abstract a class?&lt;br /&gt;Correct Answer &lt;br /&gt;interface&lt;br /&gt;Your Answer &lt;br /&gt;interface&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ loop repeats a set of statements a certain number of times until a condition is matched.&lt;br /&gt;Correct Answer &lt;br /&gt;For&lt;br /&gt;Your Answer &lt;br /&gt;For&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;There are ________ kinds of Floating point type&lt;br /&gt;Correct Answer &lt;br /&gt;Two&lt;br /&gt;Your Answer &lt;br /&gt;Two&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;By default, all program import the java.lang package.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What returns a reference to the thread in which it is called?&lt;br /&gt;Correct Answer &lt;br /&gt;Method , Class , Object&lt;br /&gt;Your Answer &lt;br /&gt;Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Do while loop always executes its body at least once, because its conditional expression is at the bottom of the loop.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Jump , Continue , Break&lt;br /&gt;Your Answer &lt;br /&gt;Continue , Break&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;start( )&lt;br /&gt;thread&lt;br /&gt;child thread&lt;br /&gt;main thread&lt;br /&gt;child thread&lt;br /&gt;main&lt;br /&gt;NewThread&lt;br /&gt;this&lt;br /&gt;new&lt;br /&gt;sleep( )&lt;br /&gt;milliseconds&lt;br /&gt;milliseconds&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ are containers for classes.&lt;br /&gt;Correct Answer &lt;br /&gt;Packages&lt;br /&gt;Your Answer &lt;br /&gt;Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java's multithreading system is built upon :-&lt;br /&gt;Correct Answer &lt;br /&gt;Thread class , Its methods , Companion interface&lt;br /&gt;Your Answer &lt;br /&gt;Thread class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The default encoding of objects supports the ________ of the classes.&lt;br /&gt;Correct Answer &lt;br /&gt;Evolution&lt;br /&gt;Your Answer &lt;br /&gt;Encoding&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer &lt;br /&gt;Case , Default&lt;br /&gt;Your Answer &lt;br /&gt;Case , Default&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;Architecture neutral&lt;br /&gt;Your Answer &lt;br /&gt;Distributed&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Boolean values can be cast into any other primitive type.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;It can have only one of two possible values&lt;br /&gt;Boolean type&lt;br /&gt;Boolean type&lt;br /&gt;Float hightemp, lowtemp&lt;br /&gt;Float variable declarations&lt;br /&gt;Float variable declarations&lt;br /&gt;Smallest int type&lt;br /&gt;Byte&lt;br /&gt;Byte&lt;br /&gt;Floating point numbers are also known as&lt;br /&gt;Real Numbers&lt;br /&gt;Real Numbers&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer &lt;br /&gt;Boolean , Character&lt;br /&gt;Your Answer &lt;br /&gt;Character&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The smallest integer type is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Byte&lt;br /&gt;Your Answer &lt;br /&gt;Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which is a public static member of thread?&lt;br /&gt;Correct Answer &lt;br /&gt;currenthread( ) , mainthread( )&lt;br /&gt;Your Answer &lt;br /&gt;mainthread( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Casting does not affect the original object or value.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Anything declared ________ can be accessed from anywhere within program.&lt;br /&gt;Correct Answer &lt;br /&gt;Public&lt;br /&gt;Your Answer &lt;br /&gt;Public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;Your Answer &lt;br /&gt;getClass( ) method&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Method definition has four parts, they are :-&lt;br /&gt;Correct Answer &lt;br /&gt;Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer &lt;br /&gt;Name of the method , List of parameters&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the possible access modifiers while implementing interface methods?&lt;br /&gt;Correct Answer &lt;br /&gt;public&lt;br /&gt;Your Answer &lt;br /&gt;public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer &lt;br /&gt;package&lt;br /&gt;Your Answer &lt;br /&gt;package&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement is used to explicitly return from a method?&lt;br /&gt;Correct Answer &lt;br /&gt;Return&lt;br /&gt;Your Answer &lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;There are two distinct types of multitasking. Which are those?&lt;br /&gt;Correct Answer &lt;br /&gt;Process based , Thread-base&lt;br /&gt;Your Answer &lt;br /&gt;Process based , Thread-base&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;While , For&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 7 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java's which system allows a thread to enter a synhcronized method on an object, and then wait there until some other thread explicitly notifies it to come out :-&lt;br /&gt;Correct Answer &lt;br /&gt;Messaging&lt;br /&gt;Your Answer &lt;br /&gt;Run time&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Packages act as containers for :-&lt;br /&gt;Correct Answer &lt;br /&gt;Classes , Subordinate packages&lt;br /&gt;Your Answer &lt;br /&gt;Subordinate packages , Classes&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Threads priorities are not integers that specify the relative priority of one thread to another.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When java program starts up, which thread begins running immediately?&lt;br /&gt;Correct Answer &lt;br /&gt;Main thread&lt;br /&gt;Your Answer &lt;br /&gt;Main thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Java provides built-in support for which programming?&lt;br /&gt;Correct Answer &lt;br /&gt;Multithreaded&lt;br /&gt;Your Answer &lt;br /&gt;Multithreaded&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer &lt;br /&gt;Continue&lt;br /&gt;Your Answer &lt;br /&gt;Continue&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;When can a constructor be called without specifying arguments?&lt;br /&gt;Correct Answer &lt;br /&gt;When there are no constructors for the class&lt;br /&gt;Your Answer &lt;br /&gt;When the default constructor is not called&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Memory deallocation&lt;br /&gt;Garbage Collection&lt;br /&gt;Garbage Collection&lt;br /&gt;This&lt;br /&gt;Current Object&lt;br /&gt;Current Object&lt;br /&gt;Constructor&lt;br /&gt;Initialization object&lt;br /&gt;Initialization object&lt;br /&gt;Parameters&lt;br /&gt;Method Generalized&lt;br /&gt;Method Generalized&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer &lt;br /&gt;Encapsulation&lt;br /&gt;Your Answer &lt;br /&gt;Encapsulation&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is an instance of a class that implements the runnable interface.&lt;br /&gt;Correct Answer &lt;br /&gt;threadOb&lt;br /&gt;Your Answer &lt;br /&gt;threadO&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Expression must be of the data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;Byte , Short , Int&lt;br /&gt;Your Answer &lt;br /&gt;Byte , Short , Int , Boolean&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java define eight simple types of data byte, short, int, long, char, float, double, boolean.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What modifiers may be used with top-level class?&lt;br /&gt;Correct Answer &lt;br /&gt;Public , Abstract , Final&lt;br /&gt;Your Answer &lt;br /&gt;Public , Abstract , Final&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer &lt;br /&gt;type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ statement in java is conditional branch statement.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which statement used inside a set of nested loops, will only break out of the innermost loop?&lt;br /&gt;Correct Answer &lt;br /&gt;Break&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer &lt;br /&gt;If&lt;br /&gt;Your Answer &lt;br /&gt;If&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;The source for the frist package defines three classes&lt;br /&gt;Correct Answer &lt;br /&gt;Protection , Derived , SamePackage&lt;br /&gt;Your Answer &lt;br /&gt;Protection , Derived , SamePackage&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Java compiler stores the .class files in the path specified in CLASSPATH environmental variable.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Interface can be extended.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is the logical construct upon which the entire java language is built.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Is it necessary to implement all the methods of an interface while implementing the interface&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which loops can be nested in java?&lt;br /&gt;Correct Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;Your Answer &lt;br /&gt;While , Do-while , For&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Float data type is useful when we need fractional values.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What all the run( ) method can do?&lt;br /&gt;Correct Answer &lt;br /&gt;Can call other method , Declare variable&lt;br /&gt;Your Answer &lt;br /&gt;Can call other method , Create object&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Variable in an interface are implicitly final and static.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which of the following operators are used in conjunction with the this and super references?&lt;br /&gt;Correct Answer &lt;br /&gt;The dot operator&lt;br /&gt;Your Answer &lt;br /&gt;The dot operator&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;The ________ keyword halts the execution of the current loop and forces control out of the loop.&lt;br /&gt;Correct Answer &lt;br /&gt;Break&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is a data structure that controls the state of a collection of threads as a whole?&lt;br /&gt;Correct Answer &lt;br /&gt;Thread group&lt;br /&gt;Your Answer &lt;br /&gt;Thread group&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;By Providing the interface keyword, Java allows you to fully utilize the which aspect of polymorphism?&lt;br /&gt;Correct Answer &lt;br /&gt;One interface , Multiple methods&lt;br /&gt;Your Answer &lt;br /&gt;One interface , Multiple methods , Derived&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;For externalizable objects the ________ is solely responsible for the external format of its contents.&lt;br /&gt;Correct Answer &lt;br /&gt;Class&lt;br /&gt;Your Answer &lt;br /&gt;Objects&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which are the java's control statements?&lt;br /&gt;Correct Answer &lt;br /&gt;For , If , Switch&lt;br /&gt;Your Answer &lt;br /&gt;For , Switch , Continue&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What are the kinds of variables in Java?&lt;br /&gt;Correct Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;Your Answer &lt;br /&gt;Instance, local, class variables&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Java Operators can be divided into these groups :-&lt;br /&gt;Correct Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;Your Answer &lt;br /&gt;Arithmetic , Bitwise , Relational&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question&lt;br /&gt;Correct Answer&lt;br /&gt;Your Answer&lt;br /&gt;Interface&lt;br /&gt;Abtract method&lt;br /&gt;Abtract method&lt;br /&gt;Pacakge declaration&lt;br /&gt;Package pkg&lt;br /&gt;Package pkg&lt;br /&gt;Java.applet.Applet&lt;br /&gt;Class Applet&lt;br /&gt;Class Applet&lt;br /&gt;Java.applet&lt;br /&gt;Java.applet package&lt;br /&gt;Java.applet package&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;What is an array?&lt;br /&gt;Correct Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;Your Answer &lt;br /&gt;It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer &lt;br /&gt;floating Point , Integer , Character&lt;br /&gt;Your Answer &lt;br /&gt;floating Point , Integer&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;Start( )executes a call to ________.&lt;br /&gt;Correct Answer &lt;br /&gt;run( )&lt;br /&gt;Your Answer &lt;br /&gt;run( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________ is an instance of the class.&lt;br /&gt;Correct Answer &lt;br /&gt;Object&lt;br /&gt;Your Answer &lt;br /&gt;Object&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question &lt;br /&gt;________method starts a threrad by calling its run method.&lt;br /&gt;Correct Answer &lt;br /&gt;start( )&lt;br /&gt;Your Answer &lt;br /&gt;start( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statements allow the program to choose different paths of execution?&lt;br /&gt;Correct Answer &lt;br /&gt;Selection&lt;br /&gt;Your Answer &lt;br /&gt;Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question &lt;br /&gt;Which Control Statements enable program execution to repeat one or more statements?&lt;br /&gt;Correct Answer &lt;br /&gt;Iteration&lt;br /&gt;Your Answer &lt;br /&gt;Iteration&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;The switch statement does not require a break.&lt;br /&gt;Correct Answer &lt;br /&gt;False&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;In Interface we need not use the keyword abstract for the methods.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;What are the Logical operators?&lt;br /&gt;Correct Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;Your Answer &lt;br /&gt;OR() , AND(&amp;) , XOR(^)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question &lt;br /&gt;Byte can be Cast to Double Value.&lt;br /&gt;Correct Answer &lt;br /&gt;True&lt;br /&gt;Your Answer &lt;br /&gt;False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question &lt;br /&gt;Which thread is created automatically when the program is started?&lt;br /&gt;Correct Answer &lt;br /&gt;Main thread&lt;br /&gt;Your Answer &lt;br /&gt;Main thread , Current thread&lt;br /&gt;&lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The most commonly used ________eger type is int.&lt;br /&gt;Correct Answer: int&lt;br /&gt;Your Answer: int&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The Process by which one object acquires properties of another object is ________.&lt;br /&gt;Correct Answer: Inheritence&lt;br /&gt;Your Answer: Inheritence&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The easiest way to create a thread is to create a class that implements which interface?&lt;br /&gt;Correct Answer: Runnable&lt;br /&gt;Your Answer: Runnable&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are the possible access modifiers while implementing interface methods?&lt;br /&gt;Correct Answer: public&lt;br /&gt;Your Answer: public&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement is used inside the switch to terminate a statement sequence?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement is used to explicitly return from a method?&lt;br /&gt;Correct Answer: Return&lt;br /&gt;Your Answer: Return&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is probably the least used java data type&lt;br /&gt;Correct Answer: short&lt;br /&gt;Your Answer: short&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Java defines ________ Primitive type of data.&lt;br /&gt;Correct Answer: Eight&lt;br /&gt;Your Answer: Eight&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The switch statement does not require a break.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java's which system allows a thread to enter a synhcronized method on an object, and then wait there until some other thread explicitly notifies it to come out :-&lt;br /&gt;Correct Answer: Messaging&lt;br /&gt;Your Answer: Run time&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ keyword halts the execution of the current loop and forces control out of the loop.&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: At any time, a thread can be terminated.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Anonymous classes be implemented in an ________.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Function&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Features of Java applets are :-&lt;br /&gt;Correct Answer: They can be transmitted over internet , Require java enabled web browser &lt;br /&gt;Your Answer: They require web server for their operation , Require java enabled web browser , They are intelligent programs. &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When you write finalize() method for your class, you are overriding a finalizer inherited from a super class.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: To import a class, what is a syntax used?&lt;br /&gt;Correct Answer: import classname;&lt;br /&gt;Your Answer: import classname;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer: ^ , ^= , &lt;&lt; &lt;br /&gt;Your Answer: ^ , ^= , &lt;&lt; &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean values can be cast into any other primitive type.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer: getClass( ) method&lt;br /&gt;Your Answer: getClass( ) method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________can be extended.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the java's control statements?&lt;br /&gt;Correct Answer: For , If , Switch &lt;br /&gt;Your Answer: If , Switch , Continue , For &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: There is no Global Variable in Java.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After the new thread is created, it will not start running until you call its ________method.&lt;br /&gt;Correct Answer: start( )&lt;br /&gt;Your Answer: start( )&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The Operators used in mathematical Arithmetic Operator Arithmetic Operator&lt;br /&gt;Order in which operators are evaluated Order of precedence Order of precedence&lt;br /&gt;Whether an expression is evaluated Associativity Associativity&lt;br /&gt;left-to-right or right-to-left. &lt;br /&gt;Java operator syntax for right (= operator;) (= operator;)&lt;br /&gt;associativity&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statements enable program execution to repeat one or more statements?&lt;br /&gt;Correct Answer: Iteration&lt;br /&gt;Your Answer: Iteration&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4; &lt;br /&gt;Your Answer: short s = 20; , byte b = 128; , double d = 1.4; &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer: Classes , Subclasses , Packages &lt;br /&gt;Your Answer: Classes , Subclasses , Packages &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are the programming constructs?&lt;br /&gt;Correct Answer: Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop &lt;br /&gt;Your Answer: Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are means of encapsulating and containing the name space and scope of variables and methods?&lt;br /&gt;Correct Answer: Classes , Packages , Subclasses &lt;br /&gt;Your Answer: Classes , Packages , Subclasses &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement checks at the beginning of a loop to see whether the next loop iteration should occur?&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are the Logical operators?&lt;br /&gt;Correct Answer: OR() , AND(&amp;) , XOR(^) &lt;br /&gt;Your Answer: OR() , AND(&amp;) , XOR(^) &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following assignments are valid?&lt;br /&gt;Correct Answer: short s = 28; , double d = 2.3; , int I = '1'; &lt;br /&gt;Your Answer: float f = 2.3; , double d = 2.3; , int I = '1'; &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer: Boolean , Character &lt;br /&gt;Your Answer: Boolean , Character &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: We can contruct a thread on any object that implements ________.&lt;br /&gt;Correct Answer: Runnable&lt;br /&gt;Your Answer: Runnable&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Java compiler stores the .class files in the path specified in CLASSPATH environmental variable.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: User-defined package can also be imported just like the standard packages.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer: (+ +) , (+ =) , (- =) &lt;br /&gt;Your Answer: (+ +) , (+ =) , (- =) &lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The data, or variable, defined within Instance variable. Instance variable.&lt;br /&gt;General form of Cast (target--type)value (target--type)value&lt;br /&gt;Determine the relationship that one Relational Operator Relational Operator&lt;br /&gt;operand has to the other&lt;br /&gt;The secondary versions of the Boolean Logical Operators Logical Operator&lt;br /&gt;AND and OR operators Short-Circuit&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be preempted by a higher priority thread.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Java virtual machine works as ________ for the the bytecode.&lt;br /&gt;Correct Answer: Interpreter&lt;br /&gt;Your Answer: Interpreter&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer: Encapsulation&lt;br /&gt;Your Answer: Encapsulation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer: Jump , Continue , Break &lt;br /&gt;Your Answer: Continue , Break , Not &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: With java Type Casts are checked at both compile-time and runtime.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are the kinds of variables in Java?&lt;br /&gt;Correct Answer: Instance, local, class variables&lt;br /&gt;Your Answer: Instance, local, class variables&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 8 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Threads of equal priority must voluntarily yield control to their peers.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The Operators used in Arithmetic Operator Arithmetic Operator&lt;br /&gt;mathematical expressions&lt;br /&gt;Order in which operators are Order of precedence Logical Operator&lt;br /&gt;evaluated in expressions.&lt;br /&gt;Whether an expression is Associativity (= operator;)&lt;br /&gt;evaluated left-to-right or&lt;br /&gt;right-to-left. &lt;br /&gt;Java operator syntax for right (= operator;) Comparison Operator&lt;br /&gt;associativity&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What can be created by instantiating an object type thread?&lt;br /&gt;Correct Answer: Thread&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________method starts a threrad by calling its run method.&lt;br /&gt;Correct Answer: start( )&lt;br /&gt;Your Answer: start( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to declare an interface example?&lt;br /&gt;Correct Answer: access class classname implements interface.&lt;br /&gt;Your Answer: access interface name&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Multiple Choice Single Response&lt;br /&gt;Correct Answer: Object oriented programming.&lt;br /&gt;Your Answer: Object oriented programming.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The name of the new thread is specified by ________.&lt;br /&gt;Correct Answer: threadName&lt;br /&gt;Your Answer: Newthread&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Java Operators can be divided into these groups :-&lt;br /&gt;Correct Answer: Arithmetic , Bitwise , Relational &lt;br /&gt;Your Answer: Arithmetic , Bitwise , Relational &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which keyword is used to create an instance of a class?&lt;br /&gt;Correct Answer: new&lt;br /&gt;Your Answer: new method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are the kinds of variables in Java?&lt;br /&gt;Correct Answer: Instance, local, class variables&lt;br /&gt;Your Answer: Integer, char, long&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java was developed at :-&lt;br /&gt;Correct Answer: Sun Microsystems&lt;br /&gt;Your Answer: Sun Microsystems&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Java defines ________ Primitive type of data.&lt;br /&gt;Correct Answer: Eight&lt;br /&gt;Your Answer: Eight&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: There are ________ kinds of Floating point type&lt;br /&gt;Correct Answer: Two&lt;br /&gt;Your Answer: Two&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer: Instance variable , Methods &lt;br /&gt;Your Answer: Instance variable , Objects &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer: ^ , ^= , &lt;&lt; &lt;br /&gt;Your Answer: &amp; , ^ &lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;It can have only one of two Boolean type Boolean type&lt;br /&gt;possible values&lt;br /&gt;Float hightemp, lowtemp Float variable declarations Float variable declarations&lt;br /&gt;Smallest int type Byte Byte&lt;br /&gt;Floating point numbers are Real Numbers Real Numbers&lt;br /&gt;also known as&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A ________ is a subclass of itself.&lt;br /&gt;Correct Answer: Class&lt;br /&gt;Your Answer: Instance&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: In ________ statement the value of the expression is compared with each of the literal values in case statements.&lt;br /&gt;Correct Answer: Switch&lt;br /&gt;Your Answer: Switch&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ loop is java's most fundamental looping statement.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer: Architecture neutral&lt;br /&gt;Your Answer: Distributed&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer: If&lt;br /&gt;Your Answer: If&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement will always execute the body of a loop at least once?&lt;br /&gt;Correct Answer: Do&lt;br /&gt;Your Answer: Do&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which thread is created automatically when the program is started?&lt;br /&gt;Correct Answer: Main thread &lt;br /&gt;Your Answer: Main thread , Current thread , First thread &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which is a public static member of thread?&lt;br /&gt;Correct Answer: currenthread( ) , mainthread( ) &lt;br /&gt;Your Answer: currenthread( ) , Staticthread( ) , runthread( ) &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Stack performs which two function?&lt;br /&gt;Correct Answer: pop( ) , push( ) &lt;br /&gt;Your Answer: push( ) , first &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What returns a reference to the thread in which it is called?&lt;br /&gt;Correct Answer: Method , Class , Object &lt;br /&gt;Your Answer: Method , Object , Try &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Is it necessary to implement all the methods of an interface while implementing the interface&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer: floating Point , Integer , Character &lt;br /&gt;Your Answer: floating Point , Character , Boolean &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ loop repeats a set of statements a certain number of times until a condition is matched.&lt;br /&gt;Correct Answer: For&lt;br /&gt;Your Answer: If&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: By default, all program import the java.lang package.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statements allow the program to choose different paths of execution?&lt;br /&gt;Correct Answer: Selection&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can voluntarily relinquish control.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ statement in java is conditional branch statement.&lt;br /&gt;Correct Answer: If&lt;br /&gt;Your Answer: Switch&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: As abstract class must have at least one abstract method and others may be concrete or abstract.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement used inside a set of nested loops, will only break out of the innermost loop?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When an object is referenced, it mean that it has been identified by the finalizer method for garbage collection.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which cast must be used to cast an object to another class?&lt;br /&gt;Correct Answer: Specific cast.&lt;br /&gt;Your Answer: simplific cast&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Byte can be Cast to Double Value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are the programming constructs?&lt;br /&gt;Correct Answer: Sequential , Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop &lt;br /&gt;Your Answer: Selection -- if and switch statements , Iteration -- for loop, while loop and do-while loop , Loop &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: When can a constructor be called without specifying arguments?&lt;br /&gt;Correct Answer: When there are no constructors for the class&lt;br /&gt;Your Answer: When the name of the constructor differs from that of the class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Variable in an interface are implicitly final and static.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean data type have only Yes or No value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the two threads of java?&lt;br /&gt;Correct Answer: mainthread( ) , childthread( ) &lt;br /&gt;Your Answer: mainthread( ) , childthread( ) &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer: Classes , Subclasses , Packages &lt;br /&gt;Your Answer: Classes , Packages , Variables &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer: getClass( ) method&lt;br /&gt;Your Answer: getClass( ) method&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 9 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer: Garbage Collection&lt;br /&gt;Your Answer: Garbage Collection&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Running threads can be suspended, which temporarily suspends its activity.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statements enable program execution to repeat one or more statements?&lt;br /&gt;Correct Answer: Iteration&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: For&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer: Continue&lt;br /&gt;Your Answer: Exit&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statement allow the program to execute in a non-linear fashion?&lt;br /&gt;Correct Answer: Jump&lt;br /&gt;Your Answer: Selection&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which class can be extended?&lt;br /&gt;Correct Answer: threadclass&lt;br /&gt;Your Answer: threadclass&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Each class in java can have a finalizer method.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following is the declaration of an array of string objects?&lt;br /&gt;Correct Answer: String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;Your Answer: String[ s]: , String s[ ]:&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Java virtual machine works as ________ for the the bytecode.&lt;br /&gt;Correct Answer: Interpreter&lt;br /&gt;Your Answer: Compiler&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Methods Member of Class Member of Class&lt;br /&gt;Stack First In, Last Out First In, Last Out&lt;br /&gt;Class Object Oriented Programming Simple class&lt;br /&gt;Object Instance of Class Instance of Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Java's multithreading system is built upon :-&lt;br /&gt;Correct Answer: Thread class , Its methods , Companion interface&lt;br /&gt;Your Answer: Thread class , Its methods , Companion interface&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer: Boolean , Character&lt;br /&gt;Your Answer: Boolean , Character&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The mechanism which binds together the code and data and keeps both safe is ________.&lt;br /&gt;Correct Answer: Encapsulation&lt;br /&gt;Your Answer: Encapsulation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: There is no Global Variable in Java.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which loops can be nested in java?&lt;br /&gt;Correct Answer: While , Do-while , For&lt;br /&gt;Your Answer: Do-while , For , While&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Threads priorities are not integers that specify the relative priority of one thread to another.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How can class be imported from a package to a program?&lt;br /&gt;Correct Answer: import java.packagename.classname&lt;br /&gt;Your Answer: import java.class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When for loop start the execution, the initialization portion of the loop is executed.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: To import a class, what is a syntax used?&lt;br /&gt;Correct Answer: import classname;&lt;br /&gt;Your Answer: import classname;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the java's control statements?&lt;br /&gt;Correct Answer: For , If , Switch&lt;br /&gt;Your Answer: For , If , Continue&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The Process by which one object acquires properties of another object is ________.&lt;br /&gt;Correct Answer: Inheritence&lt;br /&gt;Your Answer: Inheritence&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A ________ is declared by use of the class keyword.&lt;br /&gt;Correct Answer: class&lt;br /&gt;Your Answer: class( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Short&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Select the facility provided along with JVM which enhances speed of execution :-&lt;br /&gt;Correct Answer: Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer: Java compiler.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Method definition has four parts, they are :-&lt;br /&gt;Correct Answer: Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer: Name of the method , Type of object , Class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many concrete classes can you have inside an interface?&lt;br /&gt;Correct Answer: none&lt;br /&gt;Your Answer: two&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement checks at the beginning of a loop to see whether the next loop iteration should occur?&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: Do-while&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to change the values of the elements of the array?&lt;br /&gt;Correct Answer: By using array subscript expression&lt;br /&gt;Your Answer: By using array subscript expression&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are means of encapsulating and containing the name space and scope of variables and methods?&lt;br /&gt;Correct Answer: Classes , Packages , Subclasses&lt;br /&gt;Your Answer: Classes , Packages , Subclasses&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Exit any loop Break Exit&lt;br /&gt;If Else Else&lt;br /&gt;Loop While While&lt;br /&gt;Jump Break, continue, return Break, continue, return&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting between primitive types allows conversion of one primitive type to another.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The smallest integer type is ________.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: class conditional { public static void main(String args[]) { int i = 20; int j = 55; int z = 0; z = i &lt; j ? i : j; // ternary operator System.out.println("The value assigned is " + z); } } } What is output of the above program?&lt;br /&gt;Correct Answer: The value assigned is 20&lt;br /&gt;Your Answer: The value assigned is 20&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Multiple inheritance in Java can be achieve by ________.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Object&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer: While , Do-while , For&lt;br /&gt;Your Answer: Do-while&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The range of Byte is ________&lt;br /&gt;Correct Answer: (-128 to 127)&lt;br /&gt;Your Answer: (-128 to 127)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: In While loop condition can be any Boolean expression&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: When java program starts up, one thread begin runing and it is called ________thread.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ statement defines a name space in which classes are stored&lt;br /&gt;Correct Answer: Packages&lt;br /&gt;Your Answer: New&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Packages act as containers for :-&lt;br /&gt;Correct Answer: Classes , Subordinate packages&lt;br /&gt;Your Answer: Classes , Classes , Subclasses&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How array is defined?&lt;br /&gt;Correct Answer: int arr[];&lt;br /&gt;Your Answer: int arr[];&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What modifiers may be used with top-level class?&lt;br /&gt;Correct Answer: Public , Abstract , Final&lt;br /&gt;Your Answer: Public , Abstract , Final&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer: Jump , Continue , Break&lt;br /&gt;Your Answer: Jump , Continue , Break&lt;br /&gt;&lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;br /&gt;&lt;br /&gt;Question: Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer: Can implement the runnable interface , Can extend&lt;br /&gt;the thread class &lt;br /&gt;Your Answer: Can implement the runnable interface , Can extend the&lt;br /&gt;thread class , New class &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Java allows loops to be nested.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: If omit the package statement, which names are put into&lt;br /&gt;defualt pacakge?&lt;br /&gt;Correct Answer: class&lt;br /&gt;Your Answer: method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The switch statement does not require a break.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a data structure that controls the state of a&lt;br /&gt;collection of threads as a whole?&lt;br /&gt;Correct Answer: Thread group&lt;br /&gt;Your Answer: Exceptions&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Main thread is important for which two reasons?&lt;br /&gt;Correct Answer: It is thread from which other "child" thread will be&lt;br /&gt;swapped , Often it must be the last thread to finish execution because&lt;br /&gt;It performs various shutdown actions &lt;br /&gt;Your Answer: It is thread from which other "child" thread will be&lt;br /&gt;swapped , It is current thread &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: For externalizable objects the ________ is solely&lt;br /&gt;responsible for the external format of its contents.&lt;br /&gt;Correct Answer: Class&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are keywords in Java?&lt;br /&gt;Correct Answer: Extends , Synchronized , Sizeof &lt;br /&gt;Your Answer: Extends , Synchronized &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Transient variable is variable that may not be serialized.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different modifiers?&lt;br /&gt;Correct Answer: Private , Protected , Final &lt;br /&gt;Your Answer: Private , Protected &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The explicit drop of an object reference by setting the&lt;br /&gt;value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer: Null&lt;br /&gt;Your Answer: Null&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The data, or variable, defined Instance variable. Instance variable.&lt;br /&gt;within a class&lt;br /&gt;General form of Cast (target--type)value (target--type)value&lt;br /&gt;Determine the relationship that Relational Operator Relational Operator&lt;br /&gt;The secondary versions of the Short-Circuit Logical Operators Logical Operator&lt;br /&gt;Boolean AND and OR operators&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: With java Type Casts are checked at both compile-time and&lt;br /&gt;runtime.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement provides an easy way to dispatch execution&lt;br /&gt;to different parts of your code based on the value of an expression?&lt;br /&gt;Correct Answer: Switch&lt;br /&gt;Your Answer: Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What all the run( ) method can do?&lt;br /&gt;Correct Answer: Can call other method , Declare variable &lt;br /&gt;Your Answer: Can call other method , Declare variable , Create&lt;br /&gt;object &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many types of literals are there?&lt;br /&gt;Correct Answer: Number literals, character literals, boolean&lt;br /&gt;literals, string literals, etc.&lt;br /&gt;Your Answer: Only boolean and string literals&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is an array?&lt;br /&gt;Correct Answer: It is value collection of same type of data type&lt;br /&gt;Your Answer: It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4; &lt;br /&gt;Your Answer: byte b = 128; , char c = 32; &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How do you assign values to variables?&lt;br /&gt;Correct Answer: By using the assignment operator =.&lt;br /&gt;Your Answer: By using the assignment operator =.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is the logical construct upon which the entire&lt;br /&gt;java language is built.&lt;br /&gt;Correct Answer: Class&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How multidimensional array is declared?&lt;br /&gt;Correct Answer: int[4] [5];&lt;br /&gt;Your Answer: int[4] [5];&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The for statement loop can be infinite.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer: Packages&lt;br /&gt;Your Answer: Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer: Before it enters a compute-intense section of code ,&lt;br /&gt;Before it enters a memory-intense section of code , When it knows there&lt;br /&gt;will be some idle time &lt;br /&gt;Your Answer: Before it enters a memory-intense section of code ,&lt;br /&gt;When it knows there will be some idle time , Before objects are finalized &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer: (+ +) , (+ =) , (- =) &lt;br /&gt;Your Answer: (+ +) , (- +) &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a string?&lt;br /&gt;Correct Answer: A combination of characters called as string&lt;br /&gt;Your Answer: A combination of characters called as string&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is meant by garbage collection?&lt;br /&gt;Correct Answer: Object is no longer referred to by any variable&lt;br /&gt;Your Answer: Object is no longer referred to by any variable&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting occurs commonly between numeric types&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is an instance of a class that implements the&lt;br /&gt;runnable interface.&lt;br /&gt;Correct Answer: threadOb&lt;br /&gt;Your Answer: threadA&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Integer can Cast to byte value.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Derived class Subclass of protection Superclass&lt;br /&gt;Class Interface Directories&lt;br /&gt;Packages Directories Excpetion&lt;br /&gt;Specifier Protected Protected&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be preempted by a higher priority thread.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: By Providing the interface keyword, Java allows you to&lt;br /&gt;fully utilize the which aspect of polymorphism?&lt;br /&gt;Correct Answer: One interface , Multiple methods &lt;br /&gt;Your Answer: One interface , Multiple methods , Derived &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Anonymous classes be implemented in an ________.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Interface&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Interface can be extended.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: There are two distinct types of multitasking. Which are&lt;br /&gt;those?&lt;br /&gt;Correct Answer: Process based , Thread-base &lt;br /&gt;Your Answer: Process based , Thread-base &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java provides built-in support for which programming?&lt;br /&gt;Correct Answer: Multithreaded&lt;br /&gt;Your Answer: Multithreaded&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in&lt;br /&gt;milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The switch differs from the if in that switch can only&lt;br /&gt;test for equality, whereas if can evaluate any type of Boolean expression.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is referred by a variable candidate for garbage&lt;br /&gt;collection when the variable goes out of scope.&lt;br /&gt;Correct Answer: Objects&lt;br /&gt;Your Answer: Class&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 10 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After calling start( ) NewThread, constructor returns to&lt;br /&gt;________.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Nested if is less efficient then switch statement.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Constructor Initialization object Initialization object&lt;br /&gt;Parameters Method Generalized Method Generalized&lt;br /&gt;Memory deallocation Garbage Collection Garbage Collection&lt;br /&gt;This Current Object Current Object&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which thread is created automatically when the program is&lt;br /&gt;started?&lt;br /&gt;Correct Answer: Main thread &lt;br /&gt;Your Answer: Main thread , Current thread &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: When java program starts up, one thread begin runing and&lt;br /&gt;it is called ________thread.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Multiple Choice Single Response&lt;br /&gt;Correct Answer: Object oriented programming.&lt;br /&gt;Your Answer: Systems Programming.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement will always execute the body of a loop at&lt;br /&gt;least once?&lt;br /&gt;Correct Answer: Do&lt;br /&gt;Your Answer: Do&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: In While loop condition can be any Boolean expression&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: By Providing the interface keyword, Java allows you to&lt;br /&gt;fully utilize the which aspect of polymorphism?&lt;br /&gt;Correct Answer: One interface , Multiple methods &lt;br /&gt;Your Answer: One interface , Multiple methods &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Short data type range is -30,376 to 32768.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which is a public static member of thread?&lt;br /&gt;Correct Answer: Currenthread( )&lt;br /&gt;Your Answer: Currenthread( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following is the declaration of an array of&lt;br /&gt;string objects?&lt;br /&gt;Correct Answer: String[ ] s; , String [ ]s: , String[ s]: &lt;br /&gt;Your Answer: String[ s]: , String s[ ]: &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: There are two distinct types of multitasking. Which are&lt;br /&gt;those?&lt;br /&gt;Correct Answer: Process based , Thread-base &lt;br /&gt;Your Answer: Process based , Thread-base &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is probably the least used java data type&lt;br /&gt;Correct Answer: short&lt;br /&gt;Your Answer: short&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting between primitive types allows conversion of one&lt;br /&gt;primitive type to another.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different modifiers?&lt;br /&gt;Correct Answer: Private , Protected , Final &lt;br /&gt;Your Answer: Private , Protected , Final &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: A Java application can execute anywhere on the network,&lt;br /&gt;this implements that Java is :-&lt;br /&gt;Correct Answer: Architecture neutral&lt;br /&gt;Your Answer: Architecture neutral&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java Applets are intelligent programs means :-&lt;br /&gt;Correct Answer: They can react to user input and dynamically change.&lt;br /&gt;Your Answer: They have additional intelligence.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The name of the new thread is specified by ________.&lt;br /&gt;Correct Answer: threadName&lt;br /&gt;Your Answer: Newthread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is referred by a variable candidate for garbage&lt;br /&gt;collection when the variable goes out of scope.&lt;br /&gt;Correct Answer: Objects&lt;br /&gt;Your Answer: Objects&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is&lt;br /&gt;false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: For&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Select the facility provided along with JVM which enhances&lt;br /&gt;speed of execution :-&lt;br /&gt;Correct Answer: Just-In-Time (JIT) compiler.&lt;br /&gt;Your Answer: Just-In-Time (JIT) compiler.&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is an instance of the class.&lt;br /&gt;Correct Answer: Object&lt;br /&gt;Your Answer: Object&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a data structure that controls the state of a&lt;br /&gt;collection of threads as a whole?&lt;br /&gt;Correct Answer: Thread group&lt;br /&gt;Your Answer: Thread group&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement used inside a set of nested loops, will&lt;br /&gt;only break out of the innermost loop?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer: Case , Default &lt;br /&gt;Your Answer: Case , Default &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in&lt;br /&gt;milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which loops can be nested in java?&lt;br /&gt;Correct Answer: While , Do-while , For &lt;br /&gt;Your Answer: While , Do-while , For &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: If the break statement is omited in switch statement, then&lt;br /&gt;execution will continue on into the next case.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Exit any loop Break Exit&lt;br /&gt;If Else Else&lt;br /&gt;Loop While While&lt;br /&gt;Jump Break, continue, return Break, continue, return&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: To import a class, what is a syntax used?&lt;br /&gt;Correct Answer: import classname;&lt;br /&gt;Your Answer: import classname;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ keyword halts the execution of the current&lt;br /&gt;loop and forces control out of the loop.&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Java's multithreading system is built upon :-&lt;br /&gt;Correct Answer: Thread class , Its methods , Companion interface &lt;br /&gt;Your Answer: Thread class , Its methods , Companion interface &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When an object is referenced, it mean that it has been&lt;br /&gt;identified by the finalizer method for garbage collection.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statements allow the program to choose&lt;br /&gt;different paths of execution?&lt;br /&gt;Correct Answer: Selection&lt;br /&gt;Your Answer: Selection&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Method definition has four parts, they are :-&lt;br /&gt;Correct Answer: Name of the method , Type of object , List of&lt;br /&gt;parameters &lt;br /&gt;Your Answer: Name of the method , List of parameters &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: There are ________ kinds of Floating point type&lt;br /&gt;Correct Answer: Two&lt;br /&gt;Your Answer: Two&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What returns a reference to the thread in which it is&lt;br /&gt;called?&lt;br /&gt;Correct Answer: Method , Class , Object &lt;br /&gt;Your Answer: Method , Class , Object &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement defines a name space in which classes are&lt;br /&gt;stored?&lt;br /&gt;Correct Answer: package&lt;br /&gt;Your Answer: objects&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is an instance of a class that implements the&lt;br /&gt;runnable interface.&lt;br /&gt;Correct Answer: threadOb&lt;br /&gt;Your Answer: threadOb&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Stack performs which two function?&lt;br /&gt;Correct Answer: pop( ) , push( ) &lt;br /&gt;Your Answer: pop( ) , push( ) &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The for statement loop can be infinite.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread's priority is used to decide when to switch from&lt;br /&gt;one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which one does not extend java.lang.Number?&lt;br /&gt;Correct Answer: Boolean , Character &lt;br /&gt;Your Answer: Integer , Boolean , Character &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: If you do not implement all the methods of an interface&lt;br /&gt;while implementing, what specifier should you use for the class ?&lt;br /&gt;Correct Answer: abtract&lt;br /&gt;Your Answer: abtract&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Running threads can be suspended, which temporarily&lt;br /&gt;suspends its activity.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are the possible access modifiers while implementing&lt;br /&gt;interface methods?&lt;br /&gt;Correct Answer: public&lt;br /&gt;Your Answer: public&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 11 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer: When it knows there will be some idle time , Before it enters a compute-intense section of code , Before it enters a memory-intense section of code &lt;br /&gt;Your Answer: Before it enters a memory-intense section of code , When it knows there will be some idle time , Before objects are finalized &lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;start( ) thread main&lt;br /&gt;main thread child thread child thread&lt;br /&gt;NewThread this new&lt;br /&gt;sleep( ) milliseconds milliseconds&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Expression must be of the data types :-&lt;br /&gt;Correct Answer: Byte , Short , Int &lt;br /&gt;Your Answer: Byte , Int , Boolean &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are members of the threads class?&lt;br /&gt;Correct Answer: Method&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What modifiers may be used with top-level class?&lt;br /&gt;Correct Answer: Public , Abstract , Final &lt;br /&gt;Your Answer: Public , Abstract , Final &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Start( )executes a call to ________.&lt;br /&gt;Correct Answer: run( )&lt;br /&gt;Your Answer: run( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a data structure that controls the state of a collection of threads as a whole?&lt;br /&gt;Correct Answer: Thread group&lt;br /&gt;Your Answer: Thread group&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;currentThread member of thread member of thread&lt;br /&gt;High priority thread preemptive multitasking thread's priority&lt;br /&gt;getName thread's name thread's name&lt;br /&gt;isAlive thread is still running thread is still running&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How do you assign values to variables?&lt;br /&gt;Correct Answer: By using the assignment operator =.&lt;br /&gt;Your Answer: By using the assignment operator =.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which of the following is used to get the value of the instance variables?&lt;br /&gt;Correct Answer: Dot Notation&lt;br /&gt;Your Answer: Semi colon&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer: Case , Default &lt;br /&gt;Your Answer: Case , Default &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The source for the frist package defines three classes&lt;br /&gt;Correct Answer: Protection , Derived , SamePackage &lt;br /&gt;Your Answer: Method , Derived , SamePackage &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Stack performs which two function?&lt;br /&gt;Correct Answer: pop( ) , push( ) &lt;br /&gt;Your Answer: pop( ) , push( ) &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer: Do-while loop&lt;br /&gt;Your Answer: Do-while loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a string?&lt;br /&gt;Correct Answer: A combination of characters called as string&lt;br /&gt;Your Answer: A combination of characters called as string&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How multidimensional array is declared?&lt;br /&gt;Correct Answer: int[4] [5];&lt;br /&gt;Your Answer: int[4] [5];&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: A thread name can be obtained by caling which method?&lt;br /&gt;Correct Answer: getName( )&lt;br /&gt;Your Answer: getName( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can voluntarily relinquish control.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which cast must be used to convert a larger value into a smaller one?&lt;br /&gt;Correct Answer: Explicit cast.&lt;br /&gt;Your Answer: simplific cast&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer: floating Point , Integer , Character &lt;br /&gt;Your Answer: floating Point , Integer , Character &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Suppose a given instance variable has been declared private, this instance variable is manipulated by methods outside its class.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Integer can Cast to byte value.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many concrete classes can you have inside an interface?&lt;br /&gt;Correct Answer: none&lt;br /&gt;Your Answer: three&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: When java program starts up, which thread begins running immediately?&lt;br /&gt;Correct Answer: Main thread&lt;br /&gt;Your Answer: Main thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which operator is used to create and concatenate string?&lt;br /&gt;Correct Answer: Addition operator(+).&lt;br /&gt;Your Answer: Addition operator(+).&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After calling start( ) NewThread, constructor returns to ________.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to change the values of the elements of the array?&lt;br /&gt;Correct Answer: By using array subscript expression&lt;br /&gt;Your Answer: By specifying index number&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How can class be imported from a package to a program?&lt;br /&gt;Correct Answer: import java.packagename.classname&lt;br /&gt;Your Answer: import java.packagename.classname&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Is it necessary to implement all the methods of an interface while implementing the interface&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: A Java application can execute anywhere on the network, this implements that Java is :-&lt;br /&gt;Correct Answer: Architecture neutral&lt;br /&gt;Your Answer: Architecture neutral&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Interface can be extended.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A class can only inherit a single ________.&lt;br /&gt;Correct Answer: Superclass&lt;br /&gt;Your Answer: Superclass&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Exit statement is optional in which loops in java?&lt;br /&gt;Correct Answer: While , Do-while , For &lt;br /&gt;Your Answer: While , Do-while , For &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Java allows loops to be nested.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is an array?&lt;br /&gt;Correct Answer: It is value collection of same type of data type&lt;br /&gt;Your Answer: It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ loop repeats a statement or block while its controlling expressions is true.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: Do-while&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A ________ is declared by use of the class keyword.&lt;br /&gt;Correct Answer: class&lt;br /&gt;Your Answer: class( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Double data type uses ________ to store a value&lt;br /&gt;Correct Answer: 64 bits&lt;br /&gt;Your Answer: 64 bits&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Packages act as containers for :-&lt;br /&gt;Correct Answer: Classes , Subordinate packages &lt;br /&gt;Your Answer: Classes , Subordinate packages , Subclasses &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The mechanism by which java frees the memory occupied by unused objects is ________.&lt;br /&gt;Correct Answer: Garbage Collection&lt;br /&gt;Your Answer: Garbage Collection&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The explicit drop of an object reference by setting the value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer: Null&lt;br /&gt;Your Answer: Instance&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many types of literals are there?&lt;br /&gt;Correct Answer: Number literals, character literals, boolean literals, string literals, etc.&lt;br /&gt;Your Answer: Number literals, character literals, boolean literals, string literals, etc.&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How array is defined?&lt;br /&gt;Correct Answer: int arr[];&lt;br /&gt;Your Answer: int arr[];&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are primitive data types?&lt;br /&gt;Correct Answer: byte, short, int, long&lt;br /&gt;Your Answer: byte, short, int, long&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following is the declaration of an array of string objects?&lt;br /&gt;Correct Answer: String[ ] s; , String [ ]s: , String[ s]: Your Answer: String[ ] s; , String [ ]s: , String[ s]:&lt;br /&gt;&lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting occurs commonly between numeric types&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer: Before it enters a compute-intense section of code , Before it enters a memory-intense section of code , When it knows there will be some idle time &lt;br /&gt;Your Answer: When it knows there will be some idle time , Before it enters a memory-intense section of code &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are members of the threads class?&lt;br /&gt;Correct Answer: Method&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean data type have only Yes or No value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ loop is java's most fundamental looping statement.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: In multithreaded program each part of such program is called :-&lt;br /&gt;Correct Answer: Thread&lt;br /&gt;Your Answer: Thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer: (+ +) , (+ =) , (- =) &lt;br /&gt;Your Answer: (+ =) , (- =) &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Each class in java can have a finalizer method.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: As abstract class must have at least one abstract method and others may be concrete or abstract.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: When java program starts up, one thread begin runing and it is called ________thread.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: class conditional { public static void main(String args[]) { int i = 20; int j = 55; int z = 0; z = i &lt; j ? i : j; // ternary operator System.out.println("The value assigned is " + z); } } } What is output of the above program?&lt;br /&gt;Correct Answer: The value assigned is 20&lt;br /&gt;Your Answer: The value assigned is 20&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When for loop start the execution, the initialization portion of the loop is executed.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which cast must be used to cast an object to another class?&lt;br /&gt;Correct Answer: Specific cast.&lt;br /&gt;Your Answer: Explicit cast.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are keywords in Java?&lt;br /&gt;Correct Answer: Extends , Synchronized , Sizeof &lt;br /&gt;Your Answer: Extends , Synchronized , Sizeof &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different data types in java?&lt;br /&gt;Correct Answer: char , double , byte &lt;br /&gt;Your Answer: char , double , byte &lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The Operators used in mathematical Arithmetic Operator (= operator;)&lt;br /&gt;expressions&lt;br /&gt;Order in which operators are evaluated in Order of precedence Order of precedence&lt;br /&gt;expressions.&lt;br /&gt;Whether an expression is evaluated Associativity Associativity&lt;br /&gt;left-to-right or right-to-left.&lt;br /&gt;Java operator syntax for right associativity (= operator;) Comparison Operator&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java uses which system to store packages?&lt;br /&gt;Correct Answer: File system directories&lt;br /&gt;Your Answer: File system directories&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different modifiers?&lt;br /&gt;Correct Answer: Private , Protected , Final &lt;br /&gt;Your Answer: Private , Protected &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After the new thread is created, it will not start running until you call its ________method.&lt;br /&gt;Correct Answer: start( )&lt;br /&gt;Your Answer: start( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer: Do-while loop&lt;br /&gt;Your Answer: Do-while loop&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ loop repeats a statement or block while its controlling expressions is true.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The data, or variable, defined within a class Instance variable. Instance variable.&lt;br /&gt;General form of Cast (target--type)value (target--type)value&lt;br /&gt;Determine the relationship that one operand Relational Operator Comparison operator&lt;br /&gt;has to the other&lt;br /&gt;The secondary versions of the Boolean AND Short-Circuit Logical Short-Circuit Logical and OR operators Operators Operators&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer: ^ , ^= , &lt;&lt; &lt;br /&gt;Your Answer: ^ , &lt;&lt; &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The name of the new thread is specified by ________.&lt;br /&gt;Correct Answer: threadName&lt;br /&gt;Your Answer: Currentthread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is probably the least used java data type&lt;br /&gt;Correct Answer: short&lt;br /&gt;Your Answer: short&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to change the values of the elements of the array?&lt;br /&gt;Correct Answer: By using array subscript expression&lt;br /&gt;Your Answer: By specifying index number&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is declared within the file that will belong to the specified pacakage?&lt;br /&gt;Correct Answer: classes&lt;br /&gt;Your Answer: classes&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many concrete classes can you have inside an interface?&lt;br /&gt;Correct Answer: none&lt;br /&gt;Your Answer: none&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A class is ________ for an objects in java.&lt;br /&gt;Correct Answer: Template&lt;br /&gt;Your Answer: Template&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Anonymous classes be implemented in an ________.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When an object is referenced, it mean that it has been identified by the finalizer method for garbage collection.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Features of Java applets are :-&lt;br /&gt;Correct Answer: They can be transmitted over internet , Require java enabled web browser &lt;br /&gt;Your Answer: They can be transmitted over internet , Require java enabled web browser , They are intelligent programs. &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer: Instance variable , Methods &lt;br /&gt;Your Answer: Instance variable , Methods &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Main thread is important for which two reasons?&lt;br /&gt;Correct Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions &lt;br /&gt;Your Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the two threads of java?&lt;br /&gt;Correct Answer: mainthread( ) , childthread( ) &lt;br /&gt;Your Answer: mainthread( ) , current &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: For&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4; &lt;br /&gt;Your Answer: short s = 20; , byte b = 128; &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are means of encapsulating and containing the name space and scope of variables and methods?&lt;br /&gt;Correct Answer: Classes , Packages , Subclasses &lt;br /&gt;Your Answer: Packages , Subclasses &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How is it possible to use few methods of an interface in a class?&lt;br /&gt;Correct Answer: By declaring the class as abstract&lt;br /&gt;Your Answer: By declaring the class as abstract&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement will always execute the body of a loop at least once?&lt;br /&gt;Correct Answer: Do&lt;br /&gt;Your Answer: Do&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 12 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting occurs commonly between numeric types&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: When might your program wish to run the garbage collector?&lt;br /&gt;Correct Answer: Before it enters a compute-intense section of code , Before it enters a memory-intense section of code , When it knows there will be some idle time &lt;br /&gt;Your Answer: When it knows there will be some idle time , Before it enters a memory-intense section of code &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What are members of the threads class?&lt;br /&gt;Correct Answer: Method&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean data type have only Yes or No value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ loop is java's most fundamental looping statement.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: In multithreaded program each part of such program is called :-&lt;br /&gt;Correct Answer: Thread&lt;br /&gt;Your Answer: Thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of the following are mathematical Expressions?&lt;br /&gt;Correct Answer: (+ +) , (+ =) , (- =) &lt;br /&gt;Your Answer: (+ =) , (- =) &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread can be blocked when waiting for a resource.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Each class in java can have a finalizer method.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: As abstract class must have at least one abstract method and others may be concrete or abstract.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: When java program starts up, one thread begin runing and it is called ________thread.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: class conditional { public static void main(String args[]) { int i = 20; int j = 55; int z = 0; z = i &lt; j ? i : j; // ternary operator System.out.println("The value assigned is " + z); } } } What is output of the above program?&lt;br /&gt;Correct Answer: The value assigned is 20&lt;br /&gt;Your Answer: The value assigned is 20&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When for loop start the execution, the initialization portion of the loop is executed.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which cast must be used to cast an object to another class?&lt;br /&gt;Correct Answer: Specific cast.&lt;br /&gt;Your Answer: Explicit cast.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are keywords in Java?&lt;br /&gt;Correct Answer: Extends , Synchronized , Sizeof &lt;br /&gt;Your Answer: Extends , Synchronized , Sizeof &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different data types in java?&lt;br /&gt;Correct Answer: char , double , byte &lt;br /&gt;Your Answer: char , double , byte &lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The Operators used in mathematical Arithmetic Operator (= operator;)&lt;br /&gt;expressions&lt;br /&gt;Order in which operators are Order of precedence Order of precedence&lt;br /&gt;evaluated in expressions.&lt;br /&gt;Whether an expression is evaluated Associativity Associativity&lt;br /&gt;left-to-right or right-to-left&lt;br /&gt;Java operator syntax for right (= operator;) Comparison Operator&lt;br /&gt;associativity&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java uses which system to store packages?&lt;br /&gt;Correct Answer: File system directories&lt;br /&gt;Your Answer: File system directories&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Constructors can be overloaded like regular methods.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different modifiers?&lt;br /&gt;Correct Answer: Private , Protected , Final &lt;br /&gt;Your Answer: Private , Protected &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After the new thread is created, it will not start running until you call its ________method.&lt;br /&gt;Correct Answer: start( )&lt;br /&gt;Your Answer: start( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeats a set of code at least once before the condition is tested.&lt;br /&gt;Correct Answer: Do-while loop&lt;br /&gt;Your Answer: Do-while loop&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ loop repeats a statement or block while its controlling expressions is true.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The data, or variable, defined Instance variable. Instance variable.&lt;br /&gt;within a class&lt;br /&gt;General form of Cast (target--type)value (target--type)value&lt;br /&gt;Determine the relationship that Relational Operator Comparison operator&lt;br /&gt;one operand has to the other&lt;br /&gt;The secondary versions of the Short-Circuit Logical Operators Short-Circuit Logical Operators&lt;br /&gt;Boolean AND and OR operators&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer: ^ , ^= , &lt;&lt; &lt;br /&gt;Your Answer: ^ , &lt;&lt; &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The name of the new thread is specified by ________.&lt;br /&gt;Correct Answer: threadName&lt;br /&gt;Your Answer: Currentthread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is probably the least used java data type&lt;br /&gt;Correct Answer: short&lt;br /&gt;Your Answer: short&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to change the values of the elements of the array?&lt;br /&gt;Correct Answer: By using array subscript expression&lt;br /&gt;Your Answer: By specifying index number&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is declared within the file that will belong to the specified pacakage?&lt;br /&gt;Correct Answer: classes&lt;br /&gt;Your Answer: classes&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How many concrete classes can you have inside an interface?&lt;br /&gt;Correct Answer: none&lt;br /&gt;Your Answer: none&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: A thread's priority is used to decide when to switch from one running thread to the next, this is called as the context switch.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A class is ________ for an objects in java.&lt;br /&gt;Correct Answer: Template&lt;br /&gt;Your Answer: Template&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Anonymous classes be implemented in an ________.&lt;br /&gt;Correct Answer: Interface&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When an object is referenced, it mean that it has been identified by the finalizer method for garbage collection.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Features of Java applets are :-&lt;br /&gt;Correct Answer: They can be transmitted over internet , Require java enabled web browser &lt;br /&gt;Your Answer: They can be transmitted over internet , Require java enabled web browser , They are intelligent programs. &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer: Instance variable , Methods &lt;br /&gt;Your Answer: Instance variable , Methods &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Main thread is important for which two reasons?&lt;br /&gt;Correct Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions &lt;br /&gt;Your Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions &lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the two threads of java?&lt;br /&gt;Correct Answer: mainthread( ) , childthread( ) &lt;br /&gt;Your Answer: mainthread( ) , current &lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: For&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4; &lt;br /&gt;Your Answer: short s = 20; , byte b = 128; &lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are means of encapsulating and containing the name space and scope of variables and methods?&lt;br /&gt;Correct Answer: Classes , Packages , Subclasses &lt;br /&gt;Your Answer: Packages , Subclasses &lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How is it possible to use few methods of an interface in a class?&lt;br /&gt;Correct Answer: By declaring the class as abstract&lt;br /&gt;Your Answer: By declaring the class as abstract&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement will always execute the body of a loop at least once?&lt;br /&gt;Correct Answer: Do&lt;br /&gt;Your Answer: Do&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Java Programming - 13 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer: Packages&lt;br /&gt;Your Answer: Objects&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the java's control statements?&lt;br /&gt;Correct Answer: For , If , Switch&lt;br /&gt;Your Answer: For , If , Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer: package&lt;br /&gt;Your Answer: class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Threads define several ________.&lt;br /&gt;Correct Answer: constructors&lt;br /&gt;Your Answer: constructors&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different data types in java?&lt;br /&gt;Correct Answer: char , double , byte&lt;br /&gt;Your Answer: char , double , byte&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: There is no Global Variable in Java.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Object Instance of Class Member of Class&lt;br /&gt;Methods Member of Class Instance of Class&lt;br /&gt;Stack First In, Last Out First In, Last Out&lt;br /&gt;Class Object Oriented Programming Object Oriented Programming&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean values can be cast into any other primitive type.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Short data type range is -30,376 to 32768.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How array is defined?&lt;br /&gt;Correct Answer: int arr[];&lt;br /&gt;Your Answer: int arr[];&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer: If&lt;br /&gt;Your Answer: If&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Features of Java applets are :-&lt;br /&gt;Correct Answer: They can be transmitted over internet , Require java enabled web browser&lt;br /&gt;Your Answer: They can be transmitted over internet , They require web server for their operation , Require java enabled web browser&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean data type have only Yes or No value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: class conditional { public static void main(String args[]) { int i = 20; int j = 55; int z = 0; z = i &lt; j ? i : j; // ternary operator System.out.println("The value assigned is " + z); } } } What is output of the above program?&lt;br /&gt;Correct Answer: The value assigned is 20&lt;br /&gt;Your Answer: The value assigned is 20&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer: Instance variable , Methods&lt;br /&gt;Your Answer: Objects , Methods&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The most commonly used ________eger type is int.&lt;br /&gt;Correct Answer: int&lt;br /&gt;Your Answer: int&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The range of Byte is ________&lt;br /&gt;Correct Answer: (-128 to 127)&lt;br /&gt;Your Answer: (-128 to 127)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: User-defined package can also be imported just like the standard packages.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer: Can implement the runnable interface , Can extend the thread class&lt;br /&gt;Your Answer: Can extend the thread class , Class object&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer: getClass( ) method&lt;br /&gt;Your Answer: getClass( ) method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: If you do not implement all the methods of an interface while implementing, what specifier should you use for the class ?&lt;br /&gt;Correct Answer: abtract&lt;br /&gt;Your Answer: abtract&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Main thread is important for which two reasons?&lt;br /&gt;Correct Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;Your Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions , It is main thread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: While loop&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A class can only inherit a single ________.&lt;br /&gt;Correct Answer: Superclass&lt;br /&gt;Your Answer: Superclass&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer: byte b = 128; , char c = 32;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Packages act as containers for :-&lt;br /&gt;Correct Answer: Classes , Subordinate packages&lt;br /&gt;Your Answer: Classes , Subordinate packages , Subclasses&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How can class be imported from a package to a program?&lt;br /&gt;Correct Answer: import java.packagename.classname&lt;br /&gt;Your Answer: import java.packagename.classname&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Do while loop always executes its body at least once, because its conditional _expression is at the bottom of the loop.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer: Continue&lt;br /&gt;Your Answer: Loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer: Classes , Subclasses , Packages&lt;br /&gt;Your Answer: Classes , Subclasses , Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer: Jump , Continue , Break&lt;br /&gt;Your Answer: Continue , Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statement allow the program to execute in a non-linear fashion?&lt;br /&gt;Correct Answer: Jump&lt;br /&gt;Your Answer: Jump&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: In While loop condition can be any Boolean _expression&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which is a public static member of thread?&lt;br /&gt;Correct Answer: currenthread( ) , mainthread( )&lt;br /&gt;Your Answer: mainthread( ) , Staticthread( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Object oriented programming organizes a program around processes acting on data.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ are stored in hierarchical manner.&lt;br /&gt;Correct Answer: Packages&lt;br /&gt;Your Answer: Objects&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement has a the effect of "jumping out" of the switch statement?&lt;br /&gt;Correct Answer: Break&lt;br /&gt;Your Answer: Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the java's control statements?&lt;br /&gt;Correct Answer: For , If , Switch&lt;br /&gt;Your Answer: For , If , Switch&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement defines a name space in which classes are stored?&lt;br /&gt;Correct Answer: package&lt;br /&gt;Your Answer: class&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Threads define several ________.&lt;br /&gt;Correct Answer: constructors&lt;br /&gt;Your Answer: constructors&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different data types in java?&lt;br /&gt;Correct Answer: char , double , byte&lt;br /&gt;Your Answer: char , double , byte&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: There is no Global Variable in Java.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Object Instance of Class Member of Class&lt;br /&gt;Methods Member of Class Instance of Class&lt;br /&gt;Stack First In, Last Out First In, Last Out&lt;br /&gt;Class Object Oriented Programming Object Oriented Programming&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean values can be cast into any other primitive type.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Short data type range is -30,376 to 32768.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How array is defined?&lt;br /&gt;Correct Answer: int arr[];&lt;br /&gt;Your Answer: int arr[];&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: In ________ statement condition is true, then statement 1 is executed.&lt;br /&gt;Correct Answer: If&lt;br /&gt;Your Answer: If&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Derived class Subclass of protection Subclass of protection&lt;br /&gt;Class Interface Directories&lt;br /&gt;Packages Directories Interface&lt;br /&gt;Specifier Protected Excpetion&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: _Expression must be of the data types :-&lt;br /&gt;Correct Answer: Byte , Short , Int&lt;br /&gt;Your Answer: Byte , Short , Int&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is an array?&lt;br /&gt;Correct Answer: It is value collection of same type of data type&lt;br /&gt;Your Answer: It is value collection of same type of data type&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statements allow the program to choose different paths of execution?&lt;br /&gt;Correct Answer: Selection&lt;br /&gt;Your Answer: Selection&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is referred by a variable candidate for garbage collection when the variable goes out of scope.&lt;br /&gt;Correct Answer: Objects&lt;br /&gt;Your Answer: Methods&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The Process by which one object acquires properties of another object is ________.&lt;br /&gt;Correct Answer: Inheritence&lt;br /&gt;Your Answer: Inheritence&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Threads of equal priority must voluntarily yield control to their peers.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How multidimensional array is declared?&lt;br /&gt;Correct Answer: int[4] [5];&lt;br /&gt;Your Answer: char[4,5]&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ method suspends a thread for some period of time.&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Suppose a given instance variable has been declared private, this instance variable is manipulated by methods outside its class.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Features of Java applets are :-&lt;br /&gt;Correct Answer: They can be transmitted over internet , Require java enabled web browser&lt;br /&gt;Your Answer: They can be transmitted over internet , They require web server for their operation , Require java enabled web browser&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Boolean data type have only Yes or No value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: class conditional { public static void main(String args[]) { int i = 20; int j = 55; int z = 0; z = i &lt; j ? i : j; // ternary operator System.out.println("The value assigned is " + z); } } } What is output of the above program?&lt;br /&gt;Correct Answer: The value assigned is 20&lt;br /&gt;Your Answer: The value assigned is 20&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Classes usually consist of two things such as :-&lt;br /&gt;Correct Answer: Instance variable , Methods&lt;br /&gt;Your Answer: Methods , Objects&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The most commonly used ________eger type is int.&lt;br /&gt;Correct Answer: int&lt;br /&gt;Your Answer: int&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The range of Byte is ________&lt;br /&gt;Correct Answer: (-128 to 127)&lt;br /&gt;Your Answer: (-128 to 127)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: User-defined package can also be imported just like the standard packages.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Java defines two ways when instantiating an object, such as :-&lt;br /&gt;Correct Answer: Can implement the runnable interface , Can extend the thread class&lt;br /&gt;Your Answer: Can extend the thread class , Class object&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which method is used to determine the class of an object?&lt;br /&gt;Correct Answer: getClass( ) method&lt;br /&gt;Your Answer: getClass( ) method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: If you do not implement all the methods of an interface while implementing, what specifier should you use for the class ?&lt;br /&gt;Correct Answer: abtract&lt;br /&gt;Your Answer: abtract&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Main thread is important for which two reasons?&lt;br /&gt;Correct Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions&lt;br /&gt;Your Answer: It is thread from which other "child" thread will be swapped , Often it must be the last thread to finish execution because It performs various shutdown actions , It is main thread&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ repeat a set of code while the condition is false.&lt;br /&gt;Correct Answer: While loop&lt;br /&gt;Your Answer: While loop&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A class can only inherit a single ________.&lt;br /&gt;Correct Answer: Superclass&lt;br /&gt;Your Answer: Superclass&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which of these lines of code will compile?&lt;br /&gt;Correct Answer: short s = 20; , char c = 32; , double d = 1.4;&lt;br /&gt;Your Answer: byte b = 128; , char c = 32;&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Packages act as containers for :-&lt;br /&gt;Correct Answer: Classes , Subordinate packages&lt;br /&gt;Your Answer: Classes , Subordinate packages , Subclasses&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Syntax to declare a variable in java is :-&lt;br /&gt;Correct Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;Your Answer: type identifier [=value][,identifier[=value]…]&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How can class be imported from a package to a program?&lt;br /&gt;Correct Answer: import java.packagename.classname&lt;br /&gt;Your Answer: import java.packagename.classname&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Do while loop always executes its body at least once, because its conditional _expression is at the bottom of the loop.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The ________ is similar to break, except that instead of halting the execution of the loop, it starts the next iteration.&lt;br /&gt;Correct Answer: Continue&lt;br /&gt;Your Answer: Loop&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Within what Java provides many levels of protection to allow control over the visiblity of variables and methods?&lt;br /&gt;Correct Answer: Classes , Subclasses , Packages&lt;br /&gt;Your Answer: Classes , Subclasses , Packages&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which statements can be used with the java's loop?&lt;br /&gt;Correct Answer: Jump , Continue , Break&lt;br /&gt;Your Answer: Continue , Break&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which Control Statement allow the program to execute in a non-linear fashion?&lt;br /&gt;Correct Answer: Jump&lt;br /&gt;Your Answer: Jump&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: In While loop condition can be any Boolean _expression&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which is a public static member of thread?&lt;br /&gt;Correct Answer: currenthread( ) , mainthread( )&lt;br /&gt;Your Answer: mainthread( ) , Staticthread( )&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Programming - 14 &lt;br /&gt;LIST OF ATTEMPTED QUESTIONS AND ANSWERS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A ________can implement more than one interface.&lt;br /&gt;Correct Answer: Class&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Casting does not affect the original object or value.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: In multithreaded program each part of such program is called :-&lt;br /&gt;Correct Answer: Thread&lt;br /&gt;Your Answer: Thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Stack performs which two function?&lt;br /&gt;Correct Answer: pop( ) , push( )&lt;br /&gt;Your Answer: pop( ) , push( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ loop repeats a statement or block while its controlling expressions is true.&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: The Bitwise Logical Operators are :-&lt;br /&gt;Correct Answer: ^ , ^= , &lt;&lt;&lt;br /&gt;Your Answer: &amp; , ^&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;Interface Abtract method Abtract method&lt;br /&gt;Pacakge declaration Package pkg Package pkg&lt;br /&gt;Java.applet. AppletClass AppletClass&lt;br /&gt;AppletJava.applet Java.applet package Java.applet package&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Transient variable is variable that may not be serialized.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Java defines ________ integer type.&lt;br /&gt;Correct Answer: Four&lt;br /&gt;Your Answer: Four&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement checks at the beginning of a loop to see whether the next loop iteration should occur?&lt;br /&gt;Correct Answer: While&lt;br /&gt;Your Answer: While&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Modulus operator % can be applied to these data types :-&lt;br /&gt;Correct Answer: floating Point , Integer , Character&lt;br /&gt;Your Answer: floating Point , Integer&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are keywords in Java?&lt;br /&gt;Correct Answer: Extends , Synchronized , Sizeof&lt;br /&gt;Your Answer: Extends , Synchronized , Sizeof&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Variable in an interface are implicitly final and static.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: The argument to which specifies the delayperiod in milliseconds&lt;br /&gt;Correct Answer: sleep( )&lt;br /&gt;Your Answer: sleep( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: Anything declared ________ can be accessed from anywhere within program.&lt;br /&gt;Correct Answer: Public&lt;br /&gt;Your Answer: Public&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Java define eight simple types of data byte, short, int, long, char, float, double, boolean.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: There are two distinct types of multitasking. Which are those?&lt;br /&gt;Correct Answer: Process based , Thread-base&lt;br /&gt;Your Answer: Thread-base , Object&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which of the following is used to get the value of the instance variables?&lt;br /&gt;Correct Answer: Dot Notation&lt;br /&gt;Your Answer: Dot Notation&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Integer can Cast to byte value.&lt;br /&gt;Correct Answer: False&lt;br /&gt;Your Answer: False&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What all the run( ) method can do?&lt;br /&gt;Correct Answer: Can call other method , Declare variable&lt;br /&gt;Your Answer: Can call other method , Create object , Create class&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a string?&lt;br /&gt;Correct Answer: A combination of characters called as string&lt;br /&gt;Your Answer: A combination of characters called as string&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are different modifiers?&lt;br /&gt;Correct Answer: Private , Protected , Final&lt;br /&gt;Your Answer: Private , Final , Main&lt;br /&gt;&lt;br /&gt;Match The Following&lt;br /&gt;Question Correct Answer Your Answer&lt;br /&gt;The data, or variable, defined Instance variable. Instance variable.&lt;br /&gt;within a class&lt;br /&gt;General form of Cast (target--type)value (target--type)value&lt;br /&gt;Determine the relationship that Relational Operator Relational Operator&lt;br /&gt;one operand has to the other&lt;br /&gt;The secondary versions of the Short-Circuit Logical Operators Comparison operator&lt;br /&gt;Boolean AND and OR operators&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Java uses which system to store packages?&lt;br /&gt;Correct Answer: File system directories&lt;br /&gt;Your Answer: File system directories&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: If omit the package statement, which names are put into defualt pacakge?&lt;br /&gt;Correct Answer: class&lt;br /&gt;Your Answer: method&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an _expression?&lt;br /&gt;Correct Answer: Switch&lt;br /&gt;Your Answer: Switch&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: When you write finalize() method for your class, you are overriding a finalizer inherited from a super class.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: After calling start( ) NewThread, constructor returns to ________.&lt;br /&gt;Correct Answer: main( )&lt;br /&gt;Your Answer: main( )&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The default encoding of objects supports the ________ of the classes.&lt;br /&gt;Correct Answer: Evolution&lt;br /&gt;Your Answer: Encoding&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: The Switch statement can have multiple cases without a break statements between them.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What is a data structure that controls the state of a collection of threads as a whole?&lt;br /&gt;Correct Answer: Thread group&lt;br /&gt;Your Answer: Exceptions&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: With java Type Casts are checked at both compile-time and runtime.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: A ________ is declared by use of the class keyword.&lt;br /&gt;Correct Answer: class&lt;br /&gt;Your Answer: class&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: Running threads can be suspended, which temporarily suspends its activity.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: How to declare an interface example?&lt;br /&gt;Correct Answer: access class classname implements interface.&lt;br /&gt;Your Answer: access class classname implements interface.&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which thread is created automatically when the program is started?&lt;br /&gt;Correct Answer: Main thread&lt;br /&gt;Your Answer: Main thread&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: What are the Logical operators?&lt;br /&gt;Correct Answer: OR() , AND(&amp;) , XOR(^)&lt;br /&gt;Your Answer: OR() , AND(&amp;) , XOR(^)&lt;br /&gt;&lt;br /&gt;True/False&lt;br /&gt;Question: If the break statement is omited in switch statement, then execution will continue on into the next case.&lt;br /&gt;Correct Answer: True&lt;br /&gt;Your Answer: True&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: What can be created by instantiating an object type thread?&lt;br /&gt;Correct Answer: Thread&lt;br /&gt;Your Answer: Method&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ is an instance of a class that implements the runnable interface.&lt;br /&gt;Correct Answer: threadOb&lt;br /&gt;Your Answer: threadF&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: ________ variables are declared by use of the Byte Keyword.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Single Answer&lt;br /&gt;Question: When you implement an interface method, it must be declared as :-&lt;br /&gt;Correct Answer: Public&lt;br /&gt;Your Answer: Public&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The explicit drop of an object reference by setting the value of a variable, whose data type is a reference type of ________.&lt;br /&gt;Correct Answer: Null&lt;br /&gt;Your Answer: New&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the two threads of java?&lt;br /&gt;Correct Answer: mainthread( ) , childthread( )&lt;br /&gt;Your Answer: mainthread( ) , childthread( )&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Method definition has four parts, they are :-&lt;br /&gt;Correct Answer: Name of the method , Type of object , List of parameters&lt;br /&gt;Your Answer: Name of the method , Type of object , List of parameters&lt;br /&gt;&lt;br /&gt;Select The Blank&lt;br /&gt;Question: The smallest integer type is ________.&lt;br /&gt;Correct Answer: Byte&lt;br /&gt;Your Answer: Byte&lt;br /&gt;&lt;br /&gt;Multiple Choice Multiple Answer&lt;br /&gt;Question: Which are the keywords use in switch statement?&lt;br /&gt;Correct Answer: Case , Default&lt;br /&gt;Your Answer: Case , Default , Exit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2387574353666087948-5563440125200902988?l=computeredu4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computeredu4u.blogspot.com/feeds/5563440125200902988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2387574353666087948&amp;postID=5563440125200902988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/5563440125200902988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2387574353666087948/posts/default/5563440125200902988'/><link rel='alternate' type='text/html' href='http://computeredu4u.blogspot.com/2010/07/important-java-questions-for-scjp-exams.html' title='IMPORTANT JAVA QUESTIONS FOR SCJP EXAMS AND FOR INTERVIEW'/><author><name>scientist</name><uri>http://www.blogger.com/profile/09678704509134942383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2387574353666087948.post-8139804825423807549</id><published>2010-07-03T05:20:00.000-07:00</published><updated>2010-07-03T05:25:28.630-07:00</updated><title type='text'>Java Interview Questions</title><content type='html'>Interview Questions on Java&lt;br /&gt;What if the main method is declared as private?&lt;br /&gt;&lt;br /&gt;&lt;font size=-1&gt;&lt;br /&gt;The program compiles properly but at runtime it will give “Main method not public.” message.&lt;br /&gt;What is meant by pass by reference and pass by value in Java?&lt;br /&gt;Pass by reference means, passing the address itself rather than passing the value. Pass by value means passing a copy of the value.&lt;br /&gt;If you’re overriding the method equals() of an object, which other method you might also consider?&lt;br /&gt;hashCode()&lt;br /&gt;What is Byte Code?&lt;br /&gt;Or&lt;br /&gt;What gives java it’s “write once and run anywhere” nature?&lt;br /&gt;All Java programs are compiled into class files that contain bytecodes. These byte codes can be run in any platform and hence java is said to be platform independent.&lt;br /&gt;Expain the reason for each keyword of public static void main(String args[])?&lt;br /&gt;public- main(..) is the first method called by java environment when a program is executed so it has to accessible from java environment. Hence the access specifier has to be public.&lt;br /&gt;static: Java environment should be able to call this method without creating an instance of the class , so this method must be declared as static.&lt;br /&gt;void: main does not return anything so the return type must be void&lt;br /&gt;The argument String indicates the argument type which is given at the command line and arg is an array for string given during command line.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What are the differences between == and .equals() ?&lt;br /&gt;Or&lt;br /&gt;what is difference between == and equals &lt;br /&gt;Or&lt;br /&gt;Difference between == and equals method&lt;br /&gt;Or&lt;br /&gt;What would you use to compare two String variables - the operator == or the method equals()?&lt;br /&gt;Or&lt;br /&gt;How is it possible for two String objects with identical values not to be equal under the == operator?&lt;br /&gt;The == operator compares two objects to determine if they are the same object in memory i.e. present in the same memory location. It is possible for two String objects to have the same value, but located in different areas of memory.&lt;br /&gt;== compares references while .equals compares contents. The method public boolean equals(Object obj) is provided by the Object class and can be overridden. The default implementation returns true only if the object is compared with itself, which is equivalent to the equality operator == being used to compare aliases to the object. String, BitSet, Date, and File override the equals() method. For two String objects, value equality means that they contain the same character sequence. For the Wrapper classes, value equality means that the primitive values are equal.&lt;br /&gt; public class EqualsTest {&lt;br /&gt;&lt;br /&gt;	public static void main(String[] args) {&lt;br /&gt;&lt;br /&gt;		String s1 = “abc”;&lt;br /&gt;		String s2 = s1;&lt;br /&gt;		String s5 = “abc”;&lt;br /&gt;		String s3 = new String(”abc”);&lt;br /&gt;		String s4 = new String(”abc”);&lt;br /&gt;		System.out.println(”== comparison : ” + (s1 == s5));&lt;br /&gt;		System.out.println(”== comparison : ” + (s1 == s2));&lt;br /&gt;		System.out.println(”Using equals method : ” + s1.equals(s2));&lt;br /&gt;		System.out.println(”== comparison : ” + s3 == s4);&lt;br /&gt;		System.out.println(”Using equals method : ” + s3.equals(s4));&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;Output&lt;br /&gt;== comparison : true&lt;br /&gt;== comparison : true&lt;br /&gt;Using equals method : true&lt;br /&gt;false&lt;br /&gt;Using equals method : true&lt;br /&gt;What if the static modifier is removed from the signature of the main method?&lt;br /&gt;Or&lt;br /&gt;What if I do not provide the String array as the argument to the method?&lt;br /&gt;Program compiles. But at runtime throws an error “NoSuchMethodError”.&lt;br /&gt;Why oracle Type 4 driver is named as oracle thin driver?&lt;br /&gt;Oracle provides a Type 4 JDBC driver, referred to as the Oracle “thin” driver. This driver includes its own implementation of a TCP/IP version of Oracle’s Net8 written entirely in Java, so it is platform independent, can be downloaded to a browser at runtime, and does not require any Oracle software on the client side. This driver requires a TCP/IP listener on the server side, and the client connection string uses the TCP/IP port address, not the TNSNAMES entry for the database name.&lt;br /&gt;What is the difference between final, finally and finalize? What do you understand by the java final keyword?&lt;br /&gt;Or&lt;br /&gt;What is final, finalize() and finally?&lt;br /&gt;Or&lt;br /&gt;What is finalize() method?&lt;br /&gt;Or&lt;br /&gt;What is the difference between final, finally and finalize?&lt;br /&gt;Or&lt;br /&gt;What does it mean that a class or member is final? &lt;br /&gt;o final - declare constant&lt;br /&gt;o finally - handles exception&lt;br /&gt;o finalize - helps in garbage collection&lt;br /&gt;Variables defined in an interface are implicitly final. A final class can’t be extended i.e., final class may not be subclassed. This is done for security reasons with basic classes like String and Integer. It also allows the compiler to make some optimizations, and makes thread safety a little easier to achieve. A final method can’t be overridden when its class is inherited. You can’t change value of a final variable (is a constant). finalize() method is used just before an object is destroyed and garbage collected. finally, a key word used in exception handling and will be executed whether or not an exception is thrown. For example, closing of open connections is done in the finally method.&lt;br /&gt;What is the Java API?&lt;br /&gt;The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets.&lt;br /&gt;What is the GregorianCalendar class?&lt;br /&gt;The GregorianCalendar provides support for traditional Western calendars.&lt;br /&gt;What is the ResourceBundle class?&lt;br /&gt;The ResourceBundle class is used to store locale-specific resources that can be loaded by a program to tailor the program’s appearance to the particular locale in which it is being run.&lt;br /&gt;Why there are no global variables in Java?&lt;br /&gt;Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:&lt;br /&gt;•	The global variables breaks the referential transparency&lt;br /&gt;•	Global variables creates collisions in namespace.&lt;br /&gt;How to convert String to Number in java program?&lt;br /&gt;The valueOf() function of Integer class is is used to convert string to Number. Here is the code example:&lt;br /&gt;String numString = “1000″;&lt;br /&gt;int id=Integer.valueOf(numString).intValue();&lt;br /&gt;What is the SimpleTimeZone class?&lt;br /&gt;The SimpleTimeZone class provides support for a Gregorian calendar.&lt;br /&gt;What is the difference between a while statement and a do statement?&lt;br /&gt;A while statement (pre test) checks at the beginning of a loop to see whether the next loop iteration should occur. A do while statement (post test) checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will always execute the loop body at least once.&lt;br /&gt;What is the Locale class? &lt;br /&gt;The Locale class is used to tailor a program output to the conventions of a particular geographic, political, or cultural region.&lt;br /&gt;Describe the principles of OOPS.&lt;br /&gt;There are three main principals of oops which are called Polymorphism, Inheritance and Encapsulation.&lt;br /&gt;Explain the Inheritance principle.&lt;br /&gt;Inheritance is the process by which one object acquires the properties of another object. Inheritance allows well-tested procedures to be reused and enables changes to make once and have effect in all relevant places&lt;br /&gt;What is implicit casting?&lt;br /&gt;Implicit casting is the process of simply assigning one entity to another without any transformation guidance to the compiler. This type of casting is not permitted in all kinds of transformations and may not work for all scenarios.&lt;br /&gt;Example&lt;br /&gt;int i = 1000;&lt;br /&gt;long j = i; //Implicit casting&lt;br /&gt;Is sizeof a keyword in java?&lt;br /&gt;The sizeof operator is not a keyword.&lt;br /&gt;What is a native method?&lt;br /&gt;A native method is a method that is implemented in a language other than Java.&lt;br /&gt;In System.out.println(), what is System, out and println?&lt;br /&gt;System is a predefined final class, out is a PrintStream object and println is a built-in overloaded method in the out object.&lt;br /&gt;What are Encapsulation, Inheritance and Polymorphism&lt;br /&gt;Or&lt;br /&gt;Explain the Polymorphism principle. Explain the different forms of Polymorphism.&lt;br /&gt;Polymorphism in simple terms means one name many forms. Polymorphism enables one entity to be used as a general category for different types of actions. The specific action is determined by the exact nature of the situation.&lt;br /&gt;Polymorphism exists in three distinct forms in Java:&lt;br /&gt;• Method overloading&lt;br /&gt;• Method overriding through inheritance&lt;br /&gt;• Method overriding through the Java interface&lt;br /&gt;What is explicit casting?&lt;br /&gt;Explicit casting in the process in which the complier are specifically informed to about transforming the object.&lt;br /&gt;Example&lt;br /&gt;long i = 700.20;&lt;br /&gt;int j = (int) i; //Explicit casting&lt;br /&gt;What is the Java Virtual Machine (JVM)?&lt;br /&gt;The Java Virtual Machine is software that can be ported onto various hardware-based platforms&lt;br /&gt;What do you understand by downcasting?&lt;br /&gt;The process of Downcasting refers to the casting from a general to a more specific type, i.e. casting down the hierarchy&lt;br /&gt;What are Java Access Specifiers?&lt;br /&gt;Or&lt;br /&gt;What is the difference between public, private, protected and default Access Specifiers?&lt;br /&gt;Or&lt;br /&gt;What are different types of access modifiers?&lt;br /&gt;Access specifiers are keywords that determine the type of access to the member of a class. These keywords are for allowing&lt;br /&gt;privileges to parts of a program such as functions and variables. These are:&lt;br /&gt;• Public : accessible to all classes&lt;br /&gt;• Protected : accessible to the classes within the same package and any subclasses.&lt;br /&gt;• Private : accessible only to the class to which they belong&lt;br /&gt;• Default : accessible to the class to which they belong and to subclasses within the same package&lt;br /&gt;Which class is the superclass of every class?&lt;br /&gt;Object.&lt;br /&gt;Name primitive Java types.&lt;br /&gt;The 8 primitive types are byte, char, short, int, long, float, double, and boolean.&lt;br /&gt;What is the difference between static and non-static variables?&lt;br /&gt;Or&lt;br /&gt;What are class variables?&lt;br /&gt;Or&lt;br /&gt;What is static in java?&lt;br /&gt;Or&lt;br /&gt;What is a static method? &lt;br /&gt;A static variable is associated with the class as a whole rather than with specific instances of a class. Each object will share a common copy of the static variables i.e. there is only one copy per class, no matter how many objects are created from it. Class variables or static variables are declared with the static keyword in a class. These are declared outside a class and stored in static memory. Class variables are mostly used for constants. Static variables are always called by the class name. This variable is created when the program starts and gets destroyed when the programs stops. The scope of the class variable is same an instance variable. Its initial value is same as instance variable and gets a default value when its not initialized corresponding to the data type. Similarly, a static method is a method that belongs to the class rather than any object of the class and doesn’t apply to an object or even require that any objects of the class have been instantiated.&lt;br /&gt;Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you can’t override a static method with a non-static method. In other words, you can’t change a static method into an instance method in a subclass.&lt;br /&gt;Non-static variables take on unique values with each object instance.&lt;br /&gt;What is the difference between the boolean &amp; operator and the &amp;&amp; operator? &lt;br /&gt;If an expression involving the boolean &amp; operator is evaluated, both operands are evaluated, whereas the &amp;&amp; operator is a short cut operator. When an expression involving the &amp;&amp; operator is evaluated, the first operand is evaluated. If the first operand returns a value of true then the second operand is evaluated. If the first operand evaluates to false, the evaluation of the second operand is skipped.&lt;br /&gt;How does Java handle integer overflows and underflows?&lt;br /&gt;It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.&lt;br /&gt;What if I write static public void instead of public static void?&lt;br /&gt;Program compiles and runs properly.&lt;br /&gt;What is the difference between declaring a variable and defining a variable?&lt;br /&gt;In declaration we only mention the type of the variable and its name without initializing it. Defining means declaration + initialization. E.g. String s; is just a declaration while String s = new String (”bob”); Or String s = “bob”; are both definitions.&lt;br /&gt;What type of parameter passing does Java support?&lt;br /&gt;In Java the arguments (primitives and objects) are always passed by value. With objects, the object reference itself is passed by value and so both the original reference and parameter copy both refer to the same object.&lt;br /&gt;Explain the Encapsulation principle.&lt;br /&gt;Encapsulation is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. Objects allow procedures to be encapsulated with their data to reduce potential interference. One way to think about encapsulation is as a protective wrapper that prevents code and data from being arbitrarily accessed by other code defined outside the wrapper.&lt;br /&gt;What do you understand by a variable?&lt;br /&gt;Variable is a named memory location that can be easily referred in the program. The variable is used to hold the data and it can be changed during the course of the execution of the program.&lt;br /&gt;What do you understand by numeric promotion?&lt;br /&gt;The Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integral and floating-point operations may take place. In the numerical promotion process the byte, char, and short values are converted to int values. The int values are also converted to long values, if necessary. The long and float values are converted to double values, as required.&lt;br /&gt;What do you understand by casting in java language? What are the types of casting?&lt;br /&gt;The process of converting one data type to another is called Casting. There are two types of casting in Java; these are implicit casting and explicit casting.&lt;br /&gt;What is the first argument of the String array in main method?&lt;br /&gt;The String array is empty. It does not have any element. This is unlike C/C++ where the first element by default is the program name. If we do not provide any arguments on the command line, then the String array of main method will be empty but not null.&lt;br /&gt;How can one prove that the array is not null but empty?&lt;br /&gt;Print array.length. It will print 0. That means it is empty. But if it would have been null then it would have thrown a NullPointerException on attempting to print array.length.&lt;br /&gt;Can an application have multiple classes having main method?&lt;br /&gt;Yes. While starting the application we mention the class name to be run. The JVM will look for the main method only in the class whose name you have mentioned. Hence there is not conflict amongst the multiple classes having main method.&lt;br /&gt;When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in Java?&lt;br /&gt;Static variable are loaded when classloader brings the class to the JVM. It is not necessary that an object has to be created. Static variables will be allocated memory space when they have been loaded. The code in a static block is loaded/executed only once i.e. when the class is first initialized. A class can have any number of static blocks. Static block is not member of a class, they do not have a return statement and they cannot be called directly. Cannot contain this or super. They are primarily used to initialize static fields.&lt;br /&gt;Can I have multiple main methods in the same class?&lt;br /&gt;We can have multiple overloaded main methods but there can be only one main method with the following signature :&lt;br /&gt;public static void main(String[] args) {}&lt;br /&gt;No the program fails to compile. The compiler say
