A solid cube of 4 inches has been painted red, green and black on the pairs of opposite faces. It has then been cut into one inch cubes. Following questions relate to the smaller one inch cubes.1. How many cubes have only one face painted?
(1) 8(2) 16(3) 24 (4) 32
2. How many cubes have only two faces painted?
(1) 0(2) 16(3) 24(4) 32
3. How many cubes have only four faces painted?(1) 0(2) 8(3) 12 (4) 16
4. How many cubes have no faces painted?(1) 0(2) 8(3) 16(4) 24
5. 'Win' is related to 'Competition' in the same way as 'Invention' is related to?(1) Discovery(2) Experiment(3) Trial(4) Laboratory
6. In a certain code language, i')Guda buka' means 'Clear water'ii')Pin gola' means 'Overcast sky'iii)'Pin saf buka' means 'Clear blue sky' Which word in that code language means 'Blue'?(1) Pin (2) Buka(3) Saf(4) Guda
7 . I was born on August 11. Mohan is younger to me by 11 days. This year Independence Day falls on Monday. The day on which Mohan's birthday will fall this year will be (1) Monday (2) Tuesday(3) Sunday(4) Thursday
8. The flowers in a basket become double after every minute. In one hour, the basket becomes full. After how many minutes, the basket would be half-filled? 1) 30(2) 45(3) 59(4) 58
9. Which of the following will come in place of the question mark (?) in the following letter series?BXF, DVI, FTL, HRO,?1) JPL(2) KPL(3) JOL(4) None of these
10. If '+' means '*', '-' means '/' , '/' means '+' and '*' means '-' , then what will the value of 20/ 40 – 4 * 5 +6 ?1) 60(2) 1.67 (3) 150(4) 0
11. There are seven persons up on the ladder. 'A' is further up than 'E' but is lower than ‘C’, 'B' is in the middle. 'G' is between 'A' and ‘B’. 'E' is between 'B' and ‘F’. If 'F' is between 'B' and ‘D’, then the person on the top of the ladder will be1) A(2) B (3) C(4) D
12. I am proceeding towards North. I take a turn to my right. After some time I take a turn to my left and again to my left. Then I go to my right. After some distance I again turn towards my right. The direction in which I am moving now1) East(2) West (3) North(4) South
13. A student scores 55% marks in 8 papers of 100 marks each. He scores 15% of his total marks in English. How much does he score in English?1) 552) 663) 774) 445) None of these
14. In a class, 6 students can speak gujarati, 15 can speak Hindi and 6 can speak Marathi. If two students can speak two languages and one student can speak all the three languages, then how many students are there in the class?1) 21(2)22(3) 23 (4) 24
15. If 'A' runs faster than ‘E’ but not as fast as 'D' and 'D' runs faster than 'C' but not as fast as' ‘B’, then the person who runs the fastest is 1) A (2) B(3) C(4)D
16. A person is to go up a tree 60ft high. In every second, he climbs 5ft but slips 4ft. After how many seconds, will he be able to touch the top of the tree? (1) 60 (2) 59(3) 56(4) 58
Read the following statements carefully to answer these questions:Statements:1)Mohan and Ram play hockey and football.2)Edward and Ram play football and cricket.3)Mohan and Rafiq play tennis and hockey.4)Refiq and Edward play cricket and tennis
17. Name of the who plays hockey, football and tennis.(1) Edward (2) Ram(3) Mohan (4) Rafiq
18. Name the boys who plays hockey, football and cricket.(1) Ram (2) Mohan(3) Rafiq(4) Edward
19. Name of the boy who plays hockey, cricket and tennis.(1) Mohan (2) Ram(3) Rafiq(4) Edward
20. A gets 10% more marks than B. Then B gets(1) 10% more marks than A(2) 10% less marks than A(3) 9 % more marks than A(4) None of these.
21 .A and B invest Rs.200 and Rs.300 respectively in a business for a period of 3 years, respectively. Then the profit will be divided in the ratio(1) 4:3 (2) 2:3(3) 1:1 (4) 6:5
Directions (Q. 22-25): Study the following information carefully and answer the questions given below it.
(i) Seven subjects Sociology, Psychology, English, History, Geography, Economics and Hindi are taught between Monday and Friday by five persons A, B, C, D and E.
(ii) Each person teaches at least one subjects. At least one subject is taught every day. No person teaches two subjects on the same day. B teaches Sociology on Wednesday. History is taught by E but not on Monday or Thursday. English is taught on Monday by A. Geography and Economics are taught on Monday and Tuesday respectively. D teaches only one subject Psychology on Tuesday. Geography is not taught by E or B.
22. Who teaches Geography? 1) C2) E 3) B 4) Data inadequate 5) None of these
23. Which subject is taught on Friday?1) Hindi 2) Economics 3) History 4) Data inadequate 5) None of these
24. Who teaches Economics? 1) E 2) A3) B 4) Data inadequate 5) None of these
25. Which subjects is taught on Thursday?1) History 2) Economics 3) Geography 4) Data inadequate 5) None of these
IBM, Honeywell Papers
Monday, October 13, 2008 at 11:51 PM Labels: Accenture, Honeywell, IBM
Posted by Ravi 0 comments
IBM Paper
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...
A) not be more than 35 year as on 1.6.2000.
B) be a postgraduate in personnel management.
C) have work experience as personnel officer/manager of at least five years.
D) have good command over English.
In the case of a candidate-
(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.
(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. 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: Mark answer (1): if the candidate is to be selected.Mark answer (2): if the candidate is not to be selected.Mark answer (3): if the case to be referred to Director (Personnel). Mark answer (4): if the case is to be referred to Managing Director. Mark answer (5): if complete information is not provided.
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.
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.
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.
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.
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.
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.
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.
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.
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.Give answer (1): if only I follows. Give answer (2): if only II follows. Give answer (3): if either I or II follows. Give answer (4): if neither I nor II follows. Give answer (5): if both I and II follow.
9.)Statement: Severe drought is reported to have set in several parts of the country. Courses of action: I. Govt should immediately make arrangement for providing financial assistance to those affected. II. Food, water and fodder should immediately be sent to all these areas to save the people and cattle.
10.)Statement: A larger number of lower-ranked politicians are murdered by antisocial elements in city A.Courses of action: I. All those in the city with criminal records should immediately be arrested.II. The city police should keep a close vigil on the movements of anti-social elements so as to prevent future attacks.
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.Courses of action: I. The sale of capsuled Vitamin E should be banned.II. People should be encouraged to take fresh fruits and fresh vegetables to meet the body requirement of Vitamin E.
12.)Statement: India has been continuously experiencing military threats from its neighboring countries.Courses of action: I. India should engage in an all-over war to stop the nagging threats.II. India should get the neighbors into a serious dialogue to reduce the tension at its borders.
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. Courses of action: I. India should exploit this opportunity to hasten its economic growth.II. India should bargain effectively with the Western world and become a super power in South Asia.
14.)Statement: It is estimated that about twenty lakh people will visit the city during the ensuing festival. Courses of action: I. The civic authority should make adequate arrangements to tackle the situation.II. All the hospitals in the city should be put on high alert in case of any eventuality.
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?1) Yellow 2) Water 3) Green 4) Air5) None of these
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.
16.)A tale in literature not having true incidents 1) Fable 2) Allegory3) Novel 4) Fantasy 5) None of these
17.)Liable to commit mistake or error 1) Superficial2) Fallible3) Buffoon 4) Humane 5) None of these
18.)Wandering in search of adventure 1) Gypsy 2) Gyrate 3) Expedite 4) Errant 5) None of these
19.)Incapable of being satisfied 1) Greedy2) Nomadic3) Insatiable4) Devilish5) None of these
20.)Not having made a will 1) Generous2) Intestate 3) Munificent4) Voluntary 5) None of these
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?1) 50 metres South-West2) 50 metres South-East 3) 45 metres South-East4) 40 metres South 5) None of these
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? 1) for time tide none waits listen and 2) for time none tide waits listen and 3) for time tide waits none listen and4) for time tide none listen waits and 5) None of these
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? 1) red 2) white3) violet4) black 5) yellow
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? 1) M 2) W 3) D4) Data inadequate5) None of these
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? 1) Wheat2) Paddy 3) Jowar 4) Corn 5) Sesame
Posted by Ravi 0 comments
Accenture Placement Paper
1.Find the approximate value of the following equation.
6.23% of 258.43 - ? + 3.11% of 127 = 13.87
1) 2
2) 4
3) 8
4) 6
5) 10
2. A train overtakes 2 persons walking at 3 km/hr and 5 km/hr respectively in the same direction and completely passes them in 8 seconds and 10 seconds respectively. Find the speed of the train.
1) 15 km/hr
2) 13 km/hr
3) 10 km/hr
4) 10 km/hr
5) None of these
3.The ratio between the radius and height of a cone is 3:4. What is the curved surface area of the cone?
1) 15p m2
2) 12p m2
3) 9p m2
4) Data inadequate
5) None of these
4.A man stands on the top of a pole and makes an angle of 60° on the surface of a ground. He slides 20 m down and makes an angle of 30°at the same point. If he takes 10 seconds to reach the ground from here, find his speed.
1) 6 km/hr
2) 5 km/hr
3) 10 km/hr
4) 8 km/hr
5) 10.80 km/hr
5.Which of the following values of 'n' satisfies the in-equality n2 - 24n + 143 <> 13
3) 11 <> n > 13
5) None of these
6.If 2x+y = 11, 2y+z = 12 and z+2x = 8, find the value of 2x + 3y +4z.
1) 29
2) 33
3) 25
4) 39
5) None of these
7.A shopkeeper labels the price of article 15% above the cost price. If he allow Rs 51.20 discount on an article of Rs 1024, find his profit percent.
1) 10%
2) 8%
3) 12%
4) 9%
5) 9.25%
8.Which of the following numbers are completely divisible by 11?
A. 3245682 B. 283712 C. 438416 D. 36894
1) Only A
2) Only B
3) Only C
4) Only D
5) All are divisible
9.The sum of a number and its square is 1406. What is the number?
1) 38
2) 39
3) 37
4) 29
5) None of these
10.In a business P and Q invested amounts in the ratio 3:4, whereas the ratio between amounts invested by P and R was 6:7. If Rs 106501.50 was their profit, how much amount did Q receive? 1) Rs 40572
2) Rs 30429
3) Rs 35500.50
4) Rs 34629
5) None of these
Directions (Q. 11-15): Read each sentence to find out whether there is any error in it. The error, if any, will be in one part of the sentence. The number of that part is the answer. If there is no error, the answer is 5). (Ignore the errors of punctuation, if any.)
11. 1) To the best of 2) my knowledge and belief 3) his moral character was 4) is beyond approach. 5) No error
12. 1) This suggestion was 2) placed down a few years ago 3) because of a suspicion that 4) the best officers will quite. 5) No error
13. 1) Successful privatising calls for 2) a broad-based programme rather than 3) a preoccupation with getting the 4) best for individual companies. 5) No error
14. 1) There can be 2) little doubt that 3) he was the author 4) of his own downfall. 5) No error
15. 1) He became a 2) prickly person able to 3) get on with old friends 4) and new colleagues. 5) No error
Directions (Q. 16-25): 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 16 that Communists are opposed to economic reforms. The fact of the life is that Communists are the most 17 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 18. The development strategy 19 under Structural Adjustment and dictated by the World Bank, IMF and WTO is a strategy for the 20 development of capitalism under which the working people, who are the main productive force, are made 21, kept unemployed, thrown out of jobs, and so on. It has no social relevance. In the phase of globalization, no country can develop in 22 and entry of the foreign capital can not be 23 altogether. Integration with world economy has to ensure the free and speedy 24 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. Economic 25 should not mean license for plunder by MNCs.
16. 1) problem 2) mysticism 3) curiosity 4) misconception 5) mistake
17. 1) liberal 2) demanding 3) strident 4) detrimental 5) horrible.
18. 1) misnomer 2) terrible 3) danger 4) tragedy 5) shame
19. 1) reached 2) verified 3) assembled 4) hurled 5) envisaged
20. 1) westernised 2) unfettered 3) gross 4) accumulated 5) astounding
21. 1) labourers 2) culprit 3) redundant 4) escapists 5) icons
22. 1) unison 2) liberalisation 3) coalition 4) association 5) isolation
23. 1) forced 2) loaded 3) denied 4) stated 5) scrutinised
24. 1) development 2) empowerment 3) unity 4) mobilisation 5) cohesion
25. 1) growth 2) potential 3) strategy 4) reforms 5) vitality
.
.
.
.
.
.
.
.
ANSWERS
1. (4) 2. (2) 3. (4) 4. (5) 5. (3) 6. (1) 7. (5) 8. (5) 9. (3) 10. (1) 11. (4) 12. (2) 13. (1) 14. (5) 15. (2) 16. (4) 17. (3) 18.(1) 19. (5) 20. (2) 21. (3) 22. (5) 23. (3) 24. (1) 25. (4)
Posted by Ravi 0 comments
How to Communicate with the Interviewer?
at 11:40 PM Labels: Placement / Interview Tips
In any organization, a good communicator is a positive assert and a long-term investment. Hence interviewers gauge the communication skills of the candidates. They may not be very particular about the accuracy of each answer but their primary target is fluently of expression, which you will have to demonstrate with utmost ease and facility while you respond to questions.
Your communication skills are one of the areas that an employer is looking at on the job interview. Many people will go into a job interview and say to the employer, “I have excellent communication skills.” But, if your interview suggests otherwise, then you’re just blowing hot air.
The interview gives you an opportunity to show off your communication skills. Communicating is more than just talking someone to death or listening to you talks. Communicating is a two part process. In an interview situation, you have to use active listening. Active listening basically means paying attention to what the other person is saying. Many people practice lazy listening. This is where you are not paying attention to the person speaking and you’re busy thinking about other things or what you’re going to say.
When the interviewer asks you a question, you can start off your answer by restating the question. This gives you extra time to form your answer.
For example, the interviewer asks, “How would your former employer describe you?”
Your answer would start off as, “My former employer would describe me as…”
When answering a question, keep your answers short and to the point. If you’re telling a story, keep it simple. The interviewer doesn’t need to know the life history of the people in the story. Don’t use slang or a bunch of ump’s and hubs.
Remember, you are trying to demonstrate to the interviewer that you have excellent communication skills. When you use umps and hubs throughout your answers, it signals to the interviewer that you aren’t sure of your answers or you don’t have excellent communication skills.
Practice your answers before the interview. You can’t know every question that he or she will ask you, but with the “most frequently asked questions” section of this website, you’ll be more prepared than most people.
During a job interview, a potential employer asks, “Can you take on more than one project at a time?” If you respond, “Yes,” you may want to rethink that answer. Be specific. Here’s a preferred answer to the question above, “In general, depending upon the type and length of projects, I believe I can efficiently handle more than one project at a time.” Active listening means two things: analysis and response to the message being communicated. An active listener maintains eye contact and good posture with a slight lean towards the speaker. Gestures, appearance, timing, voice responses, facial expressions, spatial distance – all affect how the speaker (or interviewer) interprets thelistener. So a person preparing for a job or work project interview should consider the cultural climate and norms of societyof the interviewer. In short, perceived active listening based on nonverbal signals can vary from culture to culture. Especially in this age of such great cultural diversity, be courteous of others regardless of cultural, sexual or societal backgrounds. If you are a woman and get to a door before a man, open it. If your interviewer doesn’t speak English very welland looks puzzled at your words, go back and explain yourself again in different words and re-establish a good communication exchange. A major part of active listening is paraphrasing. It’s not the same as summarizing. A summary is a shortened version of the original message, focusing on the main point. To paraphrase means to re-state the message in your own words. Active listeners take notes by paraphrasing or restating what the speaker said in their own words, and summarizing main points. A good listener is not the same thing as a silent listener. Good listeners ask questions, even something like, “Is this an accurate statement of what you have said?” to let the speaker know that you understand the message being communicated.
Posted by Ravi 0 comments
How to present yourself in an Interview
at 11:38 PM Labels: Placement / Interview Tips
Express yourself at job interview
The job interview is a key step to the road to your future. It’s your opportunity to shine. An interview gives you a chanceto display your intelligence, talent and enthusiasm. How you handle yourself can make or break your chances of getting the job you want.
Interests
What types of work excite you? What job do you really want?
Abilities
What skills do you have? What ones do you need for the job you want?
Education
List the schools you’ve attended, courses you’ve taken, and degrees and certificates you’ve earned.
Experience
List all your previous jobs, including part-time, free-lance and volunteer work.
Values
What basic attitudes do you have toward the world, other people and yourself?
Strengths and Weaknesses
What are you good at? What weakness must you overcome to get the jog you want?
Most of all know your goals!
Ask yourself what you want to be doing in 5 years from now. Know you’re immediate and long –range goals!
Know the organization, too.
It may give you the edge you need.
Be friendly
Greet the interviewer by name. Smile and give a firm handshake. Treat everyone you talk with in a polite, professional manner.
Show your enthusiasm
Enthusiasm and a sense of humor can help create a good impression.
Be positive
Keep the atmosphere friendly and pleasant. Don’t put others down to make yourself look good.
Maintain eye contact
Good eye contact is a key to building trust in a relationship.
Express yourself
Speak clearly. Use complete sentences, avoid one word answers. Don’t use slang, and don’t ramble.
Be aware of body language
Your tone of voice, posture, etc. all gives clues about your feelings and attitudes. Be sensitive to these signals in
yourself and others. Face the interviewer in a relaxed open manner.
Be a good listener
Be alert to nonverbal cues indicating when you should start or stop talking. Don’t be thinking of your response while theinterviewer is still talking.
Be yourself
Don’t try to change your personality. Give the interviewer a chance to find out who you are.
Take your time.
Answer all the questions thoughtfully. Give specific examples, where appropriate.
Emphasize your strengths.
Focus on work experience, courses or personal qualities that would be beneficial for the job.
Don’t criticize.
Don’t put down previous employers, teachers, or co-workers. It will give the interviewer a negative impression of you.
Have something to offer
Discuss ways you can contribute to the organization. Let the interviewer know how you can meet a need or solve a problem.
Be assertive
This doesn’t mean you should be aggressive. It means being confident in your abilities.
Avoid personal issues
Don’t discuss family, personal or financial problems.
Thank the interviewer
Be sure to thank the interviewer for his or her time and interest when the interview is over.
Ask
When you can expect a decision and if you should call. Make sure the employer knows how to reach you.
Analyze
Your performance in the interview. Ask yourself if you did all you could to emphasize your strengths.
Follow up
The interview with a thank you letter. In it, restate your interest in the job, summarize key points of the interview and add further information to help your case.
Don’t get discouraged
Rejection is part of any job search. The key is to learn from the process.
Posted by Ravi 0 comments
C, C++ Tech Aptitude Questions
Saturday, October 4, 2008 at 1:29 PM Labels: Other Aptitude Papers, Study Materials
Answer:
A modifier, also called a modifying function is a member function that changes the value of at least one data member. In other words, an operation that modifies the state of an object. Modifiers are also known as ‘mutators’.
2. What is an accessor?
Answer:
An accessor is a class operation that does not modify the state of an object. The accessor functions need to be declared as const operations .
Answer:
Template class:
A generic definition or a parameterized class not instantiated until the client provides the needed information. It’s jargon for plain templates.
Class template:
A class template specifies how individual classes can be constructed much like the way a class specifies how individual objects can be constructed. It’s jargon for plain classes.
4. When does a name clash occur?
Answer:
A name clash occurs when a name is defined in more than one place. For example., two different class libraries could give two different classes the same name. If you try to use many class libraries at the same time, there is a fair chance that you will be unable to compile or link the program because of name clashes.
5. Define namespace.
Answer:
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.
6. What is the use of ‘using’ declaration.
Answer:
A using declaration makes it possible to use a name from a namespace without the scope operator.
7. What is an Iterator class?
Answer:
A class that is used to traverse through the objects maintained by a container class. There are five categories of iterators:
input iterators,
output iterators,
bidirectional iterators,
random access.
An iterator is an entity that gives access to the contents of a container object without violating encapsulation constraints. Access to the contents is granted on a one-at a-time basis in order. The order can be storage order (as in lists and queues) or some arbitrary order (as in array indices) or according to some ordering relation (as in an ordered binary tree). The iterator is a construct, which provides an interface that, when called, yields either the next element in the container, or some value denoting the fact that there are no more elements to examine. Iterators hide the details of access to and update of the elements of a container class. The simplest and safest iterators are those that permit read-only access to the contents of a container class. The following code fragment shows how an iterator might appear in code:
cont_iter:=new cont_iterator();
x:=cont_iter.next();
while x/=none do
...
s(x);
...
x:=cont_iter.next();
end;
9. List out some of the OODBMS available.
Answer:
GEMSTONE/OPAL of Gemstone systems.
ONTOS of Ontos.
Objectivity of Objectivity inc.
Versant of Versant object technology.
Object store of Object Design.
ARDENT of ARDENT software.
POET of POET software.
10. List out some of the object-oriented methodologies.
Answer:
Object Oriented Development (OOD) (Booch 1991,1994).
Object Oriented Analysis and Design (OOA/D) (Coad and Yourdon 1991).
Object Modelling Techniques (OMT) (Rumbaugh 1991).
Object Oriented Software Engineering (Objectory) (Jacobson 1992).
Object Oriented Analysis (OOA) (Shlaer and Mellor 1992).
11. What is an incomplete type?
Answer:
Incomplete types refers to pointers in which there is non availability of the implementation of the referenced location or it points to some location whose value is not available for modification.
Example:
int *i=0x400 // i points to address 400
*i=0; //set the value of memory location pointed by i.
Incomplete types are otherwise called uninitialized pointers.
12. What is a dangling pointer?
Answer:
A dangling pointer arises when you use the address of an object after its lifetime is over. This may occur in situations like returning addresses of the automatic variables from a function or using the address of the memory block after it is freed.
Answer:
Objects communicate by sending messages Provides response to a message to each other.
A message is sent to invoke a method. It is an implementation of an operation.
14. What is an adaptor class or Wrapper class?
Answer:
A class that has no functionality of its own. Its member functions hide the use of a third party software component or an object with the non-compatible interface or a nonobject- oriented implementation.
15. What is a Null object?
Answer:
It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object.
16. What is class invariant?
Answer:
A class invariant is a condition that defines all valid states for an object. It is a logical condition to ensure the correct working of a class. Class invariants must hold when an object is created, and they must be preserved under all operations of the class. In particular all class invariants are both preconditions and post-conditions for all operations or member functions of the class.
17. What do you mean by Stack unwinding?
Answer:
It is a process during exception handling when the destructor is called for all local objects between the place where the exception was thrown and where it is caught. 18. Define precondition and post-condition to a member function.
Precondition:
A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation is not responsible for doing anything sensible if its precondition fails to hold. For example, the interface invariants of stack class say nothing about pushing yet another element on a stack that is already full. We say that isful() is a precondition of the push operation.
Post-condition:
A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function. A class is implemented correctly if post-conditions are never false. For example, after pushing an element on the stack, we know that isempty() must necessarily hold. This is a post-condition of the push operation.
19. What are the conditions that have to be met for a condition to be an invariant of the
class?
Answer:
The condition should hold at the end of every constructor.
The condition should hold at the end of every mutator(non-const) operation.
20. What are proxy objects?
Answer:
Objects that stand for other objects are called proxy objects or surrogates.
Example:
template
class Array2D
{
public:
class Array1D
{
public:
T& operator[] (int index);
const T& operator[] (int index) const;
...
};
Array1D operator[] (int index);
const Array1D operator[] (int index) const;
...
};
The following then becomes legal:
Array2D
........
cout<Here data[3] yields an Array1D object and the operator [] invocation on that object yields the float in position(3,6) of the original two dimensional array. Clients of the Array2D class need not be aware of the presence of the Array1D class. Objects of this latter class stand for one-dimensional array objects that, conceptually, do not exist for lients of Array2D. Such clients program as if they were using real, live, two-dimensional arrays. Each Array1D object stands for a one-dimensional array that is absent from a conceptual model used by the clients of Array2D. In the above example, Array1D is a proxy class. Its instances stand for one-dimensional arrays that, conceptually, do not exist
21. Name some pure object oriented languages.
Answer:
Smalltalk,
Java,
Eiffel,
Sather.
22. Name the operators that cannot be overloaded.
Answer:
sizeof . .* .-> :: ?:
23. What is a node class?
Answer:
A node class is a class that,
relies on the base class for services and implementation,
provides a wider interface to te users than its base class,
relies primarily on virtual functions in its public interface
depends on all its direct and indirect base class
can be understood only in the context of the base class
can be used as base for further derivation
can be used to create objects.
A node class is a class that has added new services or functionality beyond the services inherited from its base class.
24. What is an orthogonal base class?
Answer:
If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes operate in different dimensions and do not interfere with each other in any way. The same derived class may inherit such classes with no difficulty.
25. What is a container class? What are the types of container classes?
Answer:
A container class is a class that is used to hold objects in memory or external storage. A container class acts as a generic holder. A container class has a predefined ehavior and a well-known interface. A container class is a supporting class whose purpose is to hide the topology used for maintaining the list of objects in memory. When a container class contains a group of mixed objects, the container is called a heterogeneous container; when the container is holding a group of objects that are all the same, the container is called a homogeneous container.
Answer:
An abstract class is a protocol class if:
it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.
it has a non-inline virtual destructor defined with an empty implementation,
all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.
27. What is a mixin class?
Answer:
A class that provides some but not all of the implementation for a virtual base class is often called mixin. Derivation done just for the purpose of redefining the virtual functions in the base classes is often called mixin inheritance. Mixin classes typically don't share common bases.
28. What is a concrete class?
Answer:
A concrete class is used to define a useful object that can be instantiated as an automatic variable on the program stack. The implementation of a concrete class is defined. The concrete class is not intended to be a base class and no attempt to minimize dependency on other classes in the implementation or behavior of the class.
29.What is the handle class?
Answer:
A handle is a class that maintains a pointer to an object that is programmatically accessible through the public interface of the handle class.
Explanation:
In case of abstract classes, unless one manipulates the objects of these classesthrough pointers and references, the benefits of the virtual functions are lost. User code may become dependent on details of implementation classes because an abstract type cannot be allocated statistically or on the stack without its size being known. Using pointers or references implies that the burden of memory management falls on the user. Another limitation of abstract class object is of fixed size. Classes however are used to represent concepts that require varying amounts of storage to implement them. A popular technique for dealing with these issues is to separate what is used as a single object in two parts: a handle providing the user interface and a representation holding all
or most of the object's state. The connection between the handle and the representation is typically a pointer in the handle. Often, handles have a bit more data than the simple epresentation pointer, but not much more. Hence the layout of the handle is typically table, even when the representation changes and also that handles are small enough to move around relatively freely so that the user needn’t use the pointers and the references.
30. What is an action class?
Answer:
The simplest and most obvious way to specify an action in C++ is to write a
function. However, if the action has to be delayed, has to be transmitted 'elsewhere'
before being performed, requires its own data, has to be combined with other actions, etc
then it often becomes attractive to provide the action in the form of a class that can
execute the desired action and provide other services as well. Manipulators used with
iostreams is an obvious example.
Explanation:
A common form of action class is a simple class containing just one virtual
function.
class Action
{
public:
virtual int do_it( int )=0;
virtual ~Action( );
}
Given this, we can write code say a member that can store actions for later
execution without using pointers to functions, without knowing anything about the
objects involved, and without even knowing the name of the operation it invokes. For
example:
class write_file : public Action
{
File& f;
public:
int do_it(int)
{
return fwrite( ).suceed( );
}
};
class error_message: public Action
{
response_box db(message.cstr( ),"Continue","Cancel","Retry");
switch (db.getresponse( ))
{
case 0: return 0;
case 1: abort();
case 2: current_operation.redo( );return 1;
}
};
A user of the Action class will be completely isolated from any knowledge of
derived classes such as write_file and error_message.
Posted by Ravi 0 comments
Words similarity
Sunday, September 28, 2008 at 1:13 PM Labels: GRE
- viscous - vicious
- restive - restful
- effect - affect
- compass - compress
- indigenous - indigent
- ingenuous (and disingenuous) - ingenious (ingenuity)
- infer - imply
- insensible - insensitive
- elusive - effusive
- corroborate - collaborate
- endemic - epidemic
- dissemble - disassemble
- diffident - different (difference)
- deference - deprecate (deprecation) - depreciate (depreciation)
- fission - division into two or more parts: Nuclear fission is the principle behind nuclear weapons.
fusion - joining of two or more entities into one, such as in nuclear fusion (the joining of atomic nuclei) or fusion jazz (jazz that joins elements from various musical traditions): They are attempting to harness the energy produced by nuclear fusion - extant - in existence; used especially to refer to the last surviving examples of something passing out of existence, such as an antique book or a nearly extinct species
extent - length or amount: The extent of corruption in the bureaucracy was well known. - incredulous (credulous) - disbelieving, very doubtful incredible (credible) - difficult to believe
- emulate - to pattern one's behavior (on a respected role model) imitate - to copy
- descry - to make open or plain, by saying decry - to condemn
- engender - to bring into being endanger - to put at risk
- ambiguous - vague; capable of various interpretations
ambivalent - being of two minds; holding conflicting feelings or attitudes - discomfort (n) - the lack of ease or comfort
- flaunt - to display brazenly or pretentiously
flout - to show an obvious disregard or disrespect for; to treat contemptuously - lied - the past tense of lie, as in "He lied about his age to get into the Army."
lied - (pronounced leed) a song; a type German of song, meant to be sung, as opposed to a purely instrumental tune (since this is actually a German word, the plural is lieder, not lieds)
Posted by Ravi 0 comments
Infosys Aptitude Paper - Difficulty : Easy
2. A boy asks his father, " what is the age of grand father?". Father replied " He is x years old in x^2 years", and also said, "we are talking about 20th century". what is the year of birth of grand father?
3. A boy travels in a scooter after covering 2/3rd of the distance the wheel got punctured he covered the remaining distance by walk. Walking time is twice that of the time the boy’s riding time. How many times the riding speed as that of the walking speed?
4. In a Knockout tournament 51 teams are participated, every team thrown out of the tournament if they lost twice. How many matches to be held to choose the winner?Ans: 101 matches
5. A man sold 2 pens. Initial cost of each pen was Rs. 12. If he sell it together one at 25% profit and another 20% loss. Find the amount of loss or gain, if he sells them separately.Ans: 60 Paise gain
6. Find the 3 digit no. whose last digit is the square root of the first digit and second digit is the sum of the other two digits.
7. Meera was playing with her brother using 55 blocks.She gets bored playing and starts arranging the blocks such that the no. of blocks in each row is one less than that in the lower row. Find how many were there in the bottom most row?
8. Two people are playing with a pair of dies. Instead of numbers, the dies have different colors on their sides. The first person wins if the same color appears on both the dies and the second person wins if the colors are different. The odds of their winning are equal. If the first dice has 5 red sides and 1 blue side, find the color(s) on the second one.
9. A person travels in a car with uniform speed. He observes the milestone, which has 2 digits. After one hour he observes another milestone with same digits reversed. After another hour he observes another milestone with same 2 digits separated by 0. Find the speed of the car?
10. Three persons A, B &C went for a robbery in different directions and they theft one horse, one mule and one camel. They were caught by the police and when interrogated gave the following statements
11. One quarter of the time till now from midnight and half of the time remaining from now up to midnight adds to the present time. What is the present time?
12. After world war II three departments did as follows First department gave some tanks to 2nd &3rd departments equal to the number they are having. Then 2nd department gave some tanks to 1st & 3rd departments equal to the number they are having. Then 3rd department gave some tanks to 2nd &1st departments equal to the number they are having. Then each department has 24 tanks. Find the initial number of tanks of each department?
13. A, B, C, D&E are having their birthdays on consecutive days of the week not necessarily in the same order. A 's birthday comes before G's as many days as B's birthday comes after E's. D is older than E by 2 days. This time G's birthday came on Wednesday. Then find the day of each of their birthdays?
14. A girl 'A' told to her friend about the size and color of a snake she has seen in the beach. It is one of the colors brown/black/green and one of the sizes 35/45/55. If it were not green or if it were not of length 35 it is 55.If it were not black or if it were not of length 45 it is 55.If it were not black or if it were not of length 35 it is 55.a) What is the color of the snake?b) What is the length of the snake?
15. There are 2 persons each having same amount of marbles in the beginning. after that 1 person gain 20 more from second person n he eventually lose two third of it during the play n the second person now have 4 times marble of what 1st person is having now. find out how much marble did each had in the beginning.
16. A lady was out for shopping. she spent half of her money in buying A and gave 1 dollar to bagger. further she spent half of her remaining money and gave 2 dollar to charity. further she spent half of remaining money n gave 3 dollar to some children's. now she has left with 1 dollar. how much she had in the beginning?
17. There are certain diamonds in a shop.1 thief stole half of diamonds and 2 more.2 thief stole half of remaining and 2 more3. same as above4 same as above.5 came nothing was left for that.how many diamonds was there???
18. There are three friends A B C.1. Either A or B is oldest2. Either C is oldest or A is youngest.Who is Youngest and who is Oldest?Ans A is youngest n B is oldest.
19. Father says my son is five times older than my daughter. my wife is 5 times older that my son. I am twice old from my wife and altogether (sum of our ages) is equal to my mother 's age and she is celebrating her 81 birthday. so what is my son's age?
20. In Mulund, the shoe store is closed every Monday, the boutique is closed every Tuesday, the grocery store is closed every Thursday and the bank is open only on Monday, Wednesday and Friday. Everything is closed on Sunday.One day A, B, C and D went shopping together, each with a different place to go. They made the following statements:
21. The Novice hockey tournaments are on for beginners. Just three teams are in the league, and each plays the other two teams just once. Only part of the information appears in the result chart, which is given below
22. A recent murder case centered around the six men, clam, flip, gront, herm, mast, and walt. In one order or another these man were the victim, the murderer, the witness, the police, the judge, and the hangman. The facts of the case were simple. The victim had died instantly from the effect of gunshot wound inflicted a shot. After a lengthy trial the murderer was convicted, sentenced to death, and hanged.§ Mast knew both the victim and the murderer. § In court the judge asked clam his account of the shooting. § Walt was the last of the six to see flip alive. § The police testified that he picked up gront near the place where the body was found. § Herm and Walt never met. What role did each of the following play in this melodrama ?
b) Victim - Herm.
Find who played following role in the above drama
23. Fodder, pepsi and cereale often eat dinner out.a) each orders either coffee or tea after dinner.b) if fodder orders coffee, then pepsi orders the drink that cereale ordersc) if pepsi orders coffee, then fodder orders the drink that cereale doesnot oderd) if cereale orders tea, then fodder orders the drink that pepsi orderswhich person/persons always orders the same drink after dinner ?
24. At a recent birthday party there were four mothers and their children. Aged 1,2,3 and 4. from the clues below can you work out whose child is whose and their relevant ages ?· It was jane’s child’s birthday party. · Brian is not the oldest child. · Sarah had Anne just over a year ago. · Laura’s Child will be next birthday. · Daniel is older than Charlie is. ·
25. We are given 100 pieces of a puzzle. If fixing two components together is counted as 1 move ( a component can be one piece or an already fixed set of pieces), how many moves do we need to fix the entire puzzle.
26. Two guys work at some speed...After some time one guy realises he has done only half of the other guy completed which is equal to half of what is left !!! #$%#$ So how much faster than the other is this guy supposed to do to finish with the first... (This one stumped me)..
27. There is a square cabbage patch.He told his sisterthat i have a larger patch than last year and hence211 more cabbages thios year.Then how many cabbages ihave this year.? Ans:106*106=11236
28. There are three guesses on the color of a mule1 says:itz not black2 says:itz brown or grey3 says: itz brownAtlest one of them is wrong and one of them istrue.....Then whatz the color of mule?
29. Jim,Bud and sam were rounded up by the police yesterday. because one of them wassuspected of having robbed the local bank. The three suspects made the following statementsunder intensive questioning.Jim: I'm innocentBud: I'm innocentSam: Bud is the guilty one.If only one of the statements turned out to be true, who robbed the bank?
30. There are two containers on a table. A and B . A is half full of wine, while B, which is twice A's size,is onequarter full of wine . Both containers are filled with water and the contents are poured into a third container C. What portion of container C's mixture is wine ?
31. A man was on his way to a marriage in a car with a constant speed. After 2 hours one of the tier is punctured and it took 10 minutes to replace it. After that they traveled with a speed of 30 miles/hr and reached the marriage 30 minutes late to the scheduled time. The driver told that they would be late by 15 minutes only if the 10 minutes was not waste. Find the distance between the two towns?
32. An artist has exactly seven paintings --- ,T,U,V,W,X,Y, and Z -- from which she must choose exactly five to be in an exhibit. Any combination is acceptable provided it meets the following conditions:
A. T replaces V
4) If the artist chooses painting V to be included among the paintings in the exhibit, which one of the following must be true of that combination of paintings?
A. T is not chosen
33. Yesterday my mother asked me to buy some stamps. Stamps are available in 2 paise,7paise,10paise,15paise and 20paise denominations. For three types of stamps I was asked to buy five of each. For the other two types of stamps. I was asked to buy six of each. Unfortunately I forgot which I was supposed to buy five of and which to buy six of . Luckily my mother had given me the exact money required to buy the stamps , Rs. 3.00 and the shopkeeper was able to give me the correct stamps. Which stamps did I buy?
34. Farmer jones sold a pair of cows for Rs. 210 , On one he made a profit of ten percent and on the other he lost ten percent. Although he made a profit of five percent. How many did each cow originally cost him?
35. I spent one-sixth of my age as a boy and one-12th in youth, remarked the boss "spent one-seventh and five years in matrimony". My son born just after that period was elected as a governor 4 years back when he was half of my present age. What is the age of the boss?
36. A girl had several dollars with her. she went out for shopping and spent half of them in shopping mall,being generous she had given 1 dollar to the beggar. After that she went for lunch and spent the half of the remaining and gave 2 dollars as tip to the waiter. Then she went to watch a movie and spent the half of remaining dollars and gave autorikshaw-wala 3 dollars. This left her with only 1 dollar. How many dollars did she had with her at the beggining.
37. 3 couples were there ,B ,E,C. and G, H, M ,Bill,Eds and Cleo husbands and Grace,Helen and Marry wives, not in order.went to play 18 points golf .1.GHM and E scored 100,102,106 and 94 respectively.2.B and C either scored 98 and 96 and had written there scores in cards which they lost .but when found them back,they found that the two couples had the sAME TOTAL.3.eDS WIFE DEFEATED bILLS WIFE.Tell the combinations?
38. A bargain hunter bought some plates for $ 1.30 from a sale on saturday, where price 2cents was marked off at each article .On Monday she went to return them at regular prices, and bought some cups and saucers from that much amount of money only. the normal price of plate were equal to the price of 'one cup and one saucer'.In total she bought 16 items more than previous. saucers were only of 3 cents hence she brought 10 saucers more than the cups,How many cups and saucers she bought and at what price?
39. Racing competition. Participants were from 3 tribes Sonorean-always says truthMidorean-alternatively says T and F ,not with any particular start.Nororean-always FalseA says-1. C obstructed me at the last moment ,which caused me to lose the race.2. C always speak true3. c is the winner.B says - 1. A is the winner.2. c says false always.C says- 1.B won the Race2. I didn't caused any obstruction to A at the last time.Identify the tribes of each.
Posted by Ravi 0 comments
Wipro Campus Recruitment
Wednesday, August 6, 2008 at 11:43 PM Labels: Wipro
Analytical Section
A,B,C,D,E ,F are to be given adjacent rooms .The rooms don’t have complete walls between them rather sound, smoke can easily get through from one to another as there are gaps over a wall for free exchange of air. Miss C the head is allotted room no 5 as wished by her. Miss E needs a telephone for regular communication. Mr A & Mr B prefer to have adjacent rooms. Mr B,C,D are chain smokers. Miss C is allergic to cigarette smoke.
a) The correct order of placement of rooms is
b) Which slot is best for Mr A ?
A doctor is supposed to see his patients at 9.00, 10,00 11.00, 1.00 PM , 2.00 PM , 3.00 PM. Rajiv, Mark, Mathew, Hassan, Priya, Reni are the patients . Hassan is scheduled to be seen in early afternoon. Priya should be seen earlier in the day than Reni. Other such conditions were given and you needed to find based on the given conditions that how many such combinations are possible.
In a film festival Amitabh ,SRK, Kamal hassan ,Hrithik and Subhash Ghai , Maniratnam and Yash Chopra are available as judges. A team of three is to be sent. The team must contain atleast one actor and ione director. If SRK is selected Kamal Hassan should also be selected and vice versa, If Amitabh is selected Subhash Ghai cannot be selected. If Hrithik is selected Maniratnam is also selected and vice versa. What should be the team if Amitabh is selected ?
H == A+B –R , F == H + I , T == F + A – C+ D , S == T/2, R == A*S; If F is to be derived what is also needed to be derived ?
a) S
b) Q
c) R
d) T
A team of at least three people is to be constituted for Mayor of a village for representation in a trade fair. One man, one woman, two boys, three girls are available. All three males cannot be selected, all four females cannot be selected. The team should contain at least one elder. What is the possible configuration that exactly sums up the formation of team :
a) three girls ,
b) two boys and the lady
c) the man, woman , one boy, one girl
d) two boys, woman and a girl.
A series of drama is to be arranged on all the five days of the week. Monday to Friday. Drama contains fiction, romance, horror, comedy, tragedy. Horror cannot immediately precede romance , fiction should be scheduled earlier than romance , comedy should come after tragedy. If Horror is arranged on Friday then what should be the sequence of the dramas.(NB there may have been other conditions in this examples which I presently don’t remember )
Three ice creams are to be made available every day by the college canteen. The IC available are strawberry, butterscotch,vanilla,choco, mango, choco-vanilla, pineapple. Each day should have ice creams which was also present day before. All the icecreams can be repeated only thrice during the entire week .IF choco, vanilla ,straw berry is given on Wednesday . What should be given on Thursday … four options. The question probably has some data missing. Check it out.
A team is to be selected from the hockey players available from the circuit. The selection team would require atleast four people. There are three coaches A,B,C and three selectors D,E,F available. But there schedule do not match . A cannot come if D is selected. If C is selected F should also be selected. If E is selected B should not be selected. What is the team?
Technical Section
Full form of URL ?
a) universal resource locator
b) uniform resource locator
c)none of these
d) unidentified random locator.
CDROM access is
a) RANDOM
b) SEMI RANDOM
3) SEQUENTIAL
4) ?????????/
Total time spent by process...waiting in queue, execution etc response time..of process.
What is the function of shell?
Interpreter
b) command interpreter
c) interface
d) /?????????
Which is a command interpreter ?
a) Shell
b) Kernel
c)???
d)None of these
main()
{
printf("%c","abcdef"[4]);
}
what is the output ?
a) abcdef
b) d
c) e
d) ERROR.
main()
{
char dummy[20];
scanf("%[^a]",dummy);
printf("%s", dummy);
}
what will it do?
a) ERROR
b) take characters till ctrl z is pressed
c) take upto 19 characters
d) None of These
How are objects in cpp passed ?
a) By value
b) By reference
If the ethernet card is removed .
a) IP address will change
b) MAC address will change
Operation of queue
a) FIFO
b) LIFO
c) FILO
d) None of these
Static member of a class is
a) class specific
b) Object specific
c) Referenced by using the scope resolution operator
d) a & c
TCP is
a) connection oriented
b) connection less
c) god only knows
d) None of these
How is data send by IP layer?
a) as frames
b) as packets
c) as datagrams
d) None of these
If Link list is used to implement a stack what operations should be implemented :
a) insert front, delete front
b) insert front , delete rear
c) insert rear, delete front
d) None of these
Link list is implemented as a structure (data, link *), How is pointer moved to the next node , cursor points to the present node.
a) cursor == cursor->link,
b) cursor ++
c) ++ cursor
d) None of these.
How is memory allocated by new ?
a) In a heap
b) in a stack
b) both a & b
c) None of these.
Technical Interview:
The interview will be over in 30 min
Difference between structure and class.
How to resolve ambiguity in multiple inheritance ?
What is static and dynamic binding in C ?
What is the difference between structure and array?
Difference between calloc and malloc & realloc?
What is static class and static member function?
What is pointer to a pointer?
How it is declared and how is it accessed?
What is the difference between function overriding and overloading ?
What is the scope of a variable ?
What is the difference between C & C++ ?
Some questions on templates and exceptions. What is stream ?
How is it opened and describe file handling in CPP?
Some questions related to Hard Disc :
What is a hdd?
How is a file accessed from the hdd?
Why isn’t it used in place of a RAM ?
What is RAID describe its basic structure ? .
Where is the file information stored on the hard disk ?
What is FAT ?
How are files physically arranged on the hard disc?What is JVM, what is BYTE CODE ?
What is multithreading ?
How can it be implemented using C, write a program to describe it?
What is the complexity of radix sort and how is it determined?
A sequence of 15 numbers was to be sorted using heap sort. (He stopped me after the 3rd iteration).
Some questions related to java-script, dynamic HTML, static HTML, ASP, .NET A query on natural join in SQL,
what is the need of normalization ?
What is data inconsistency and redundancy?
What is the basic difference between file systems and database systems?
What are triggers and assertions in SQL? How can you use C to connect with Oracle SQL database? (Using Oracle 8i PRO C/C++ precompiler )A complicated query on a trigger. (which I couldn’t ans).What is fork system call?
How is a child process called and what happens to the parent ?
In C what is spawnv () function, describe its execution.
How can you use C for writing assembly language programs ?
If you have done any project then try to bring the discussion towards it. I was interviewed on the project for about 20 min and I kept on explaining till he took up the HR form and signed it!!!! The interviewer was very impressed with my technical knowledge and gave his feedback to the HR interviewer as “Very Confident & sound technical skills”. (I had overlooked the remark when he was writing it !!!)
HR Interview.
I was initially asked to describe myself . Since I had presented four papers in different places in India I took his attention towards it by telling that one of my hobbies is public presentation, and I supported it with example . He asked me about each and every paper and I took 45 min to explain him all the papers. Then he asked whether I wanted to know anything about WIPRO. I asked him around 11 - 12 questions and he was pretty impressed. The trick was to just to nod ur head and frame the next question in line while he was explaining one question.WIPRO has undertaken a project named “ MOBIO” it deals with biometrics. Since our minor project is on fingerprint recognition I would like to know something about MOBIO. After gaining the billion dollar status Mr Azim Premjee said that appreciation of rupee is a concern. What should be the possible steps so that it no more remains a concern?
U have diversified from soaps to software as well as maintained a constant growth rate.
What is the secret of ur success?
The work culture at WIPRO is great. How do u maintain it?
How do u allocate projects among ur employees?
How do u select employees for foreign duty?
What is six sigma strategy and how do u implement it?
In the ex-pression “WIPRO is a CMMi company” , what does ‘i’ signify?
Is SAP associated with you someway ?
Do you have plans to design a ìp better than Pentium 4? (They were the first in India to develop 8086 chip at IISc Bangalore , so I took this chance of asking him the silly question!!!)
Posted by Ravi 0 comments
Infosys model Paper
Saturday, August 2, 2008 at 11:23 PM Labels: Infosys
Ans: 12km
Solution:
T1+T2=6 T1-time for forward journey, T2-time for return journey D1+D2=forward /return distance D1-distance in plains D2-distance in hills D1/4 +D2/3=T1 (forward time) D1/4 +D2/6=T2 (return time) Adding we will get D1+D2=12 km
2. A boy asks his father, " what is the age of grand father?". Father replied " He is x years old in x^2 years", and also said, "we are talking about 20th century". what is the year of birth of grand father?
3. A boy travels in a scooter after covering 2/3rd of the distance the wheel got punctured he covered the remaining distance by walk. Walking time is twice that of the time the boy’s riding time. How many times the riding speed as that of the walking speed?
4. In a Knockout tournament 51 teams are participated, every team thrown out of the tournament if they lost twice. How many matches to be held to choose the winner?
7. Meera was playing with her brother using 55 blocks.She gets bored playing and starts arranging the blocks such that the no. of blocks in each row is one less than that in the lower row. Find how many were there in the bottom most row?
9. A person travels in a car with uniform speed. He observes the milestone, which has 2 digits. After one hour he observes another milestone with same digits reversed. After another hour he observes another milestone with same 2 digits separated by 0. Find the speed of the car?
10. Three persons A, B &C went for a robbery in different directions and they theft one horse, one mule and one camel. They were caught by the police and when interrogated gave the following statements A: B has stolen the horseB: I didn't rob anything.C: both A & B are false and B has stolen the mule.
The person who has stolen the horse always tell the truth and
The person who has stolen the camel always tell the lie.
Find who has stolen which animal?
Ans:
A- camel
11. One quarter of the time till now from midnight and half of the time remaining from now up to midnight adds to the present time. What is the present time?
12. After world war II three departments did as follows First department gave some tanks to 2nd &3rd departments equal to the number they are having. Then 2nd department gave some tanks to 1st & 3rd departments equal to the number they are having. Then 3rd department gave some tanks to 2nd &1st departments equal to the number they are having. Then each department has 24 tanks. Find the initial number of tanks of each department?
Ans :
A-39
B-21
C-12
13. A, B, C, D&E are having their birthdays on consecutive days of the week not necessarily in the same order. A 's birthday comes before G's as many days as B's birthday comes after E's. D is older than E by 2 days. This time G's birthday came on Wednesday. Then find the day of each of their birthdays?
Ans:
Birthday of D on SUNDAY
Birthday of B on MONDAY
Birthday of E on TUESDAY
Birthday of G on WEDNESDAY
Birthday of A on THURSDAY
14. A girl 'A' told to her friend about the size and color of a snake she has seen
in the beach. It is one of the colors brown/black/green and one of the sizes 35/45/55.
If it were not green or if it were not of length 35 it is 55.
If it were not black or if it were not of length 45 it is 55.
If it were not black or if it were not of length 35 it is 55.
a) What is the color of the snake?
b) What is the length of the snake?
Ans:
a) brown
b) 55
15. There are 2 persons each having same amount of marbles in the beginning. after that 1 person gain 20 more from second person n he eventually lose two third of it during the play n the second person now have 4 times marble of what 1st person is having now. find out how much marble did each had in the beginning.
ANSWER - 100 each
16. A lady was out for shopping. she spent half of her money in buying A and gave 1 dollar to bagger. further she spent half of her remaining money and gave 2 dollar to charity. further she spent half of remaining money n gave 3 dollar to some children's. now she has left with 1 dollar. how much she had in the beginning?
Ans $42
17. There are certain diamonds in a shop.
3. same as above
4 same as above.
5 came nothing was left for that.
how many diamonds was there???
Ans 60 diamonds
18. There are three friends A B C.
1. Either A or B is oldest
2. Either C is oldest or A is youngest.
Who is Youngest and who is Oldest?
Ans A is youngest n B is oldest.
19. Father says my son is five times older than my daughter. my wife is 5
times older that my son. I am twice old from my wife and altogether
(sum of our ages) is equal to my mother 's age and she is celebrating
her 81 birthday. so what is my son's age?
Ans - 5 years.
20. In Mulund, the shoe store is closed every Monday, the boutique is closed every Tuesday, the grocery store is closed every Thursday and the bank is open only on Monday, Wednesday and Friday. Everything is closed on Sunday. One day A, B, C and D went shopping together, each with a different place to go. They made the following statements:
A) D and I wanted to go earlier in the week but there wasn’t day when we could both take care of our errands.
B) I did not want to come today but tomorrow I will not be able to do what I want to do.
C) I could have gone yesterday or the day before just as well as today.
D) Either yesterday or tomorrow would have suited me.
Which place did each person visit ?
A-BOUTIQUEB-BANKC-GROCERYD-SHOE
Posted by Ravi 0 comments
100 Technical Questions with answers
Sunday, July 27, 2008 at 11:28 PM Labels: Other Aptitude Papers, Study Materials
Technical Questions
1. A 2MB PCM(pulse code modulation) has
a) 32 channels
b) 30 voice channels & 1 signalling channel.
c) 31 voice channels & 1 signalling channel.
d) 32 channels out of which 30 voice channels, 1 signalling channel, & 1 Synchronizatio channel.
Ans: (c)
2. Time taken for 1 satellite hop in voice communication is
a) 1/2 second
b) 1 seconds
c) 4 seconds
d) 2 seconds
Ans: (a)
3. Max number of satellite hops allowed in voice communication is :
a) only one
b) more han one
c) two hops
d) four hops
Ans: (c)
4. What is the max. decimal number that can be accomodated in a byte.
a) 128
b) 256
c) 255
d) 512
Ans: (c)
5. Conditional results after execution of an instruction in a micro processor is stored in
a) register
b) accumulator
c) flag register
d) flag register part of PSW(Program Status Word)
Ans: (d)
6. Frequency at which VOICE is sampled is
a) 4 Khz
b) 8 Khz
c) 16 Khz
d) 64 Khz
Ans: (a)
7. Line of Sight is
a) Straight Line
b) Parabolic
c) Tx & Rx should be visible to each other
d) none
Ans: (c)
8. Purpose of PC(Program Counter) in a MicroProcessor is
a) To store address of TOS(Top Of Stack)
b) To store address of next instruction to be executed.
c) count the number of instructions.
d) to store base address of the stack.
Ans: (b)
9. What action is taken when the processor under execution is interrupted by a non-maskable interrupt?
a) Processor serves the interrupt request after completing the execution of the current instruction.
b) Processor serves the interupt request after completing the current task.
c) Processor serves the interupt request immediately.
d) Processor serving the interrupt request depends upon the priority of the current task under execution.
Ans: (a)
10. The status of the Kernel is
a) task
b) process
c) not defined.
d) none of the above.
Ans: (b)
11. To send a data packet using datagram , connection will be established
a) before data transmission.
b) connection is not established before data transmission.
c) no connection is required.
d) none of the above.
Ans: (c)
12. Word allignment is
a) alligning the address to the next word boundary of the machine.
b) alligning to even boundary.
c) alligning to word boundary.
d) none of the above.
Ans: (a)
13 When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack is
a) left to right
b) right to left
c) bigger variables are moved first than the smaller variales.
d) smaller variables are moved first than the bigger ones.e) none of the above.
Ans: (b)
14 What is the type of signalling used between two exchanges?
a) inband
b) common channel signalling
c) any of the above
d) none of the above.
Ans: (a)
15 Buffering is
a) the process of temporarily storing the data to allow for small variation in device speeds
b) a method to reduce cross talks
c) storage of data within transmitting medium until the receiver is ready to receive.
d) a method to reduce routing overhead.
Ans: (a)
16. Memory allocation of variables declared in a program is
a) allocated in RAM
b) allocated in ROM.
c) allocated on stack.
d) assigned to registers.
Ans: (c)
17. A software that allows a personal computer to pretend as a computer terminal is
a) terminal adapter
b) bulletin board
c) modem
d) terminal emulation
Ans: (d)
18. Find the output of the following program
int *p,*q;
p=(int *)1000;
q=(int *)2000;
printf("%d",(q-p));
Ans: 500
19. Which addressing mode is used in the following statements:
(a) MVI B,55 (b) MOV B,A (c) MOV M,A
Ans. (a) Immediate addressing mode.
(b) Register Addressing Mode
(c) Direct addressing mode
20. RS-232C standard is used in _____________.
Ans. Serial I/O
21. Memory. Management in Operating Systems is done by
a) Memory Management Unit
b) Memory management software of the Operating System
c) Kernel
Ans: (b)
22. What is done for a Push opertion?
Ans: SP is decremented and then the value is stored.
23. Binary equivalent of 52
Ans. 110100
24. Hexadecimal equivalent of 3452
Ans. 72A
25. Explain Just In Time Concept ?
Ans. Elimination of waste by purchasing manufacturing exactly when needed
26. A good way of unit testing s/w program is
Ans. User test
27. OOT uses
Ans. Encapsulated of detect methods
28.EDI useful in
Ans. Electronic Transmission
29. MRPII different from MRP
Ans. Modular version of man redundant initials
30. Hard disk time for R/W head to move to correct sector
Ans. Latency Time
31. The percentage of times a page number bound in associate register is called
Ans. Bit ratio
32. Expand MODEM
Ans. Modulator and Demodulator
33. RDBMS file system can be defined as
Ans. Interrelated
34. Super Key is
Ans. Primary key and Attribute
35. Windows 95 supports
(a) Multiuser
(b) n tasks
(c) Both
(d) None
Ans. (a)
36.In the command scanf, h is used for
Ans. Short int
37.A process is defined as
Ans. Program in execution
38.A thread is
Ans. Detachable unit of executable code
39.What is the advantage of Win NT over Win 95
Ans. Robust and secure
40.How is memory management done in Win95
Ans. Through paging and segmentation
41.What is meant by polymorphism
Ans. Redfinition of a base class method in a derived class
42.What is the essential feature of inheritance
Ans. All properties of existing class are derived
43.What does the protocol FTP do
Ans. Transfer a file b/w stations with user authentification
44.In the transport layer ,TCP is what type of protocol
Ans. Connection oriented
45.Why is a gateway used
Ans. To connect incompatible networks
46.How is linked list implemented
Ans. By referential structures
47.What method is used in Win95 in multitasking
Ans. Non preemptive check
48.What is a semaphore
Ans. A method synchronization of multiple processes
49.What is the precedence order from high to low, of the symbols () ++ /
Ans. () , ++, /
50.Preorder of A*(B+C)/D-G
Ans.*+ABC/-DG
51.What is the efficiency of merge sort
Ans. O (n log n)
52.In which layer are routers used
Ans. In network layer
53.Which of the following sorting algorithm has average sorting behavior -- Bubble sort, merge sort, heap sort, exchange sort
Ans. Heap sort
54.In binary search tree which traversal is used for getting ascending order values—Inorder, post order, preorder
Ans. Inorder
55.What are device drivers used for
Ans. To provide software for enabling the hardware
56.What is fork command in unix
Ans. System call used to create process
57.What is make command in unix
Ans. Used for creation of more than one file
58.In unix. profile contains
Ans. Start up program
59.In unix ' ls 'stores contents in
Ans. node block
60. Which of the following involves context switch,
(a) system call
(b) privileged instruction
(c) floating point exception
(d) all the above
(e) none of the above
Ans: (a)
61. In OST, terminal emulation is done in
(a) sessions layer
(b) application layer
(c) presentation layer
(d) transport layer
Ans: (b)
62. For 1 MB memory, the number of address lines required,
(a)11
(b)16
(c)22
(d)24
Ans. (b)
63. Semaphore is used for
(a) synchronization
(b) dead-lock avoidance
(c) box
(d) none
Ans. (a)
64. Which holds true for the following statement
class c: public A, public B
a) 2 member in class A, B should not have same name
b) 2 member in class A, C should not have same name
c) both
d) none
Ans. (a)
65.Preproconia.. does not do which one of the following
(a) macro
(b) conditional complication
(c) in type checking
(d) including load file
Ans. (c)
66. Piggy backing is a technique for
a) Flow control
b) Sequence
c) Acknowledgement
d) retransmission
Ans. (c)
67. Which is not a memory management scheme?
a) Buddy system
b) swapping
c) monitors
d) paging
Ans : c
68. There was a circuit given using three nand gates with two inputs and one output. Find the output.
a) OR
b) AND
c) XOR
d) NOT
Ans. (a)
69. Integrated check value (ICV) are used as:
Ans. The client computes the ICV and then compares it with the senders value.
70. When applets are downloaded from web sites , a byte verifier performs _________?
Ans. Status check.
71. An IP/IPX packet received by a computer using... having IP/IPX both how the packet is handled.
Ans. Read the, field in the packet header with to send IP or IPX protocol.
72. The UNIX shell ....
a) does not come with the rest of the systemb) forms the interface between the user and the kernalc) does not give any scope for programmingd) deos not allow calling one program from with in anothere) all of the above
Ans. (b)
73. In UNIX a files i-node ......?
Ans. Is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.
74. The very first process created by the kernel that runs till the kernel process is halts is
a) Init
b) getty
c) both (a) and (b)
d) none of these
Ans. (a)
75. In the process table entry for the kernel process, the process id value is
(a) 0
(b) 1
(c) 2
(d) 255
(e) it does not have a process table entry
Ans. (a)
76. Which of the following API is used to hide a window
a) Show Window
b) Enable Window
c) Move Window
d) SetWindowPlacement
e) None of the above
Ans. (a)
77. Which function is the entry point for a DLL in MS Windows 3.1
a) Main
b) Winmain
c) Dllmain
d) Libmain
e) None
Ans. (b)
78. The standard source for standard input, standard output and standard error is
a) the terminal
b) /dev/null
c) /usr/you/input, /usr/you/output/, /usr/you/error respectively
d) None
Ans. (a)
79. The redirection operators > and >>
a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard output
e) None of these
Ans. (b)
80. The command grep first second third /usr/you/myfile
a) prints lines containing the words first, second or third from the file /usr/you/myfile
b) searches for lines containing the pattern first in the filessecond, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfile and third for lines containing the words first or second and prints them
d) replaces the word first with the word second in the files third and /usr/you/myfile
e) None of the above
Ans. (b)
81. You are creating a Index on EMPNO column in the EMPLOYEE table. Which statement will you use?
a) CREATE INdEX emp_empno_idx ON employee, empno;
b) CREATE INdEX emp_empno_idx FOR employee, empno;
c) CREATE INdEX emp_empno_idx ON employee(empno);
d) CREATE emp_empno_idx INdEX ON employee(empno);
Ans. c
82. Which program construct must return a value?
a) Package
b) Function
c) Anonymous block
d) Stored Proceduree) Application Procedure
Ans. b
83. Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?a
) ALTER TABLE employee dROP PRIMARY KEY CASCAdE;
b) ALTER TABLE employee dELETE PRIMARY KEY CASCAdE;
c) MOdIFY TABLE employee dROP CONSTRAINT employee_id_pk CASCAdE;
d) ALTER TABLE employee dROP PRIMARY KEY employee_id_pk CASCAdE;
e) MOdIFY TABLE employee dELETE PRIMARY KEY employee_id_pk CASCAdE;
Ans. a
84. Which three commands cause a transaction to end? (Choose three)
a) ALTER
b) GRANT c
) DELETE
d) INSERT
e) Updatef) ROLLBACK
Ans. a ,b ,f
85. Under which circumstance should you create an index on a table?
a) The table is small.
b) The table is updated frequently.
c) A columns values are static and contain a narrow range of values
d) Two columns are consistently used in the WHERE clause join condition of SELECT statements.
Ans.d
86. What was the first name given to Java Programming Language.
a) Oak - Java
b) Small Talk
c) Oak
d) None
Ans.a
87.When a bicycle is in motion,the force of friction exerted by the ground on the two wheels is such that it acts
(a) In the backward direction on the front wheel and in the forward direction on the rear wheel.
(b) In the forward direction on the front wheel and in the backward direction on the rear wheel.
(c) In the backward direction on both the front and rear wheels.
(d) In the backward direction on both the front and rear wheels.
Ans. (d)
88. A certain radioactive element A, has a half life = t seconds. In (t/2) seconds the fraction of the initial quantity of the element so far decayed is nearly
(a) 29%
(b) 15%
(c) 10%
(d) 45%
Ans. (a)
89. Which of the following plots would be a straight line ?
(a) Logarithm of decay rate against logarithm of time
(b) Logarithm of decay rate against logarithm of number of decaying nuclei
(c) Decay rate against time
(d) Number of decaying nuclei against time
Ans. (b)
90. A radioactive element x has an atomic number of 100. It decays directly into an element y which decays directly into element z. In both processes a charged particle is emitted. Which of the following statements would be true?
(a) y has an atomic number of 102
(b) y has an atomic number of 101
(c) z has an atomic number of 100
(d) z has an atomic number of 101
Ans. (b)
91. If the sum of the roots of the equation ax2 + bx + c=0 is equal to the sum of the squares of their reciprocals then a/c, b/a, c/b are in
(a) AP
(b) GP
(c) HP
(d) None of these
Ans. (c)
92. A man speaks the truth 3 out of 4 times. He throws a die and reports it to be a 6. What is the probability of it being a 6?
(a) 3/8
(b) 5/8
(c) 3/4
(d) None of the above
Ans. (a)
93. If cos2A + cos2B + cos2C = 1 then ABC is a
(a) Right angle triangle
(b) Equilateral triangle
(c) All the angles are acute
(d) None of these
Ans. (a)
94. Image of point (3,8) in the line x + 3y = 7 is
(a) (-1,-4)
(b) (-1,4)
(c) (2,-4)
(d) (-2,-4)
Ans. (a)
95. The mass number of a nucleus is
(a) Always less than its atomic number
(b) Always more than its atomic number
(c) Sometimes more than and sometimes equal to its atomic number
(d) None of the above
Ans. (c)
96. The maximum KE of the photoelectron emitted from a surface is dependent on
(a) The intensity of incident radiation
(b) The potential of the collector electrode
(c) The frequency of incident radiation
(d) The angle of incidence of radiation of the surface
Ans. (c)
97. Which of the following is not an essential condition for interference
(a) The two interfering waves must be propagated in almost the same direction or the two interfering waves must intersect at a very small angle
(b) The waves must have the same time period and wavelength
(c) Amplitude of the two waves should be the same
(d) The interfering beams of light must originate from the same source
Ans. (c)
98. When X-Ray photons collide with electrons
(a) They slow down
(b) Their mass increases
(c) Their wave length increases
(d) Their energy decreases
Ans. (c)
99. An electron emits energy
(a) Because its in orbit
(b) When it jumps from one energy level to another
(c) Electrons are attracted towards the nucleus
(d) The electrostatic force is insufficient to hold the electrons in orbits
Ans. (b)
100. How many bonds are present in CO2 (Carbon di Oxide) molecule?
(a) 1
(b) 2
(c) 0
(d) 4
Ans. (d)
Posted by Ravi 0 comments