GeekInterview.com
Submitted Questions

How to handle academic gap while applying for a job?

Asked By: Chandra Vennapoosa | Asked On: May 7th, 2012

Some people have to experience what’s known as “academic gap” (or academic break down, as others would call it) due to several reasons, it could be that they had suffered an illness or faced financial constraints, which hindered them from graduating right away. If you had to go through...

Answered by: dimpal on: Jan 9th, 2013

If we are having backlocks still we can able to attend for interview in Wipro?

Answered by: sachindra bharti

i passed my 10th class in 1999 with 50%,12th in 2001 with 70%,i have a year gap 2001-2006,i am doing engineering in ece ,2006 batch,i got year back ,my eng marks is 59%,will i get job in mnc as a software devloper

Career options for bca graduates

Asked By: Chandra Vennapoosa | Asked On: Apr 20th, 2012

The bachelor of computer applications or bca is a three-year undergraduate program that is equivalent to a bachelor of technology course. Bca is designed to produce graduates who have the necessary skills and knowledge not only in computer and information technology, but also in communication, organization,...

Answered by: vamika mohan on: May 23rd, 2013

what should i do after my BCA ?? MBA is a good option??

Answered by: balmukund on: Dec 19th, 2012

I am doing BCA but I do not know any program. I am not understanding program so help me

Careers and higher education options for bba graduates

Asked By: Chandra Vennapoosa | Asked On: Apr 19th, 2012

Bba, better known as bachelor of business administration, is a 4-year program that includes business administration, commerce, and general business courses in its curriculum. If you are a bba degree holder or will soon be graduating as one, it would be best if you know what your career options are once...

Answered by: adarsh rane on: Sep 9th, 2012

I am final year BBA student....after BBA I want to do job so please help for the opportunities for build my career

Answered by: sandpnayar

I am a student of BBA 2nd yr I don't want 2 do MBA. After my graduati0n. Tell me about other options?

Bpo career for btech graduates

Asked By: Chandra Vennapoosa | Asked On: Apr 18th, 2012

Bachelor of technology, popularly known as btech, is a 4-year program (8 semesters) offered in many colleges and universities. Because of peoples increasing dependence on computers and the internet, btech degree holders are assured of great career opportunities. Most btech graduates find work as operations...

Answered by: geektester87 on: Feb 9th, 2013

You (as a tester) discovered a bug in the application you are testing. You created a bug report and assigned it to the developer. Developer followed all the instructions given in the bug report but is...

Answered by: JoseKumar

Is there hiring happening for informatica? Actually i am from B.Sc background with PGDCA. Currently working in Infosys BPO. Usually hiring happens for 2-3 yrs experience people. Is there any scope for me like people.

Anticipating your response

Jose

How to overcome employment gap during interview.

Asked By: Chandra Vennapoosa | Asked On: Apr 17th, 2012

So you were out of work for a while and are now planning to re-enter the workforce. The idea of hunting for a job is stressful enoughand it will be even more so when you have to think about how to explain to potential employers why you were out of work for a certain period of time. Whether you got laid...

Answered by: Padma Gandekar on: Jun 13th, 2013

Hi,
I have done my MBA hr in 2006 from pune. after marriage and family responsibilities i was at home around 2.5 years. i joined wipro bpo in 2010 and worked there for 2.8 years. I would like to restart my career in HR filed.need help

Answered by: manjunath.k on: Dec 17th, 2012

I completed degree in 2009 but now I am trying for jobs in BPO sector in these 3 years I helped to my father in agriculture

Importance of an mba for an entrepreneur

Asked By: Chandra Vennapoosa | Asked On: Sep 22nd, 2011

More often than not, aspiring entrepreneurs approach me with this question how important is an mba degree?. College graduates who dream of putting up their own business are faced with the dilemma of getting an mba or not. The truth is, there is no clear-cut answer to this question, and the decision...

Answered by: pradeep.roy.mit

MBA just after college or after 2-3 years ??

Answered by: coolchintu29

I am a software engineer.I will get any advantage if I do MBA.

What are my options when I do not get a job after graduation?

Asked By: Chandra Vennapoosa | Asked On: Oct 5th, 2011

Dear all, often, I receive questions from users asking me for suggestion and solution when they do not get a job even after completing their studies. While everyone aim to get a good job right after completing their studies, most of them will find it difficult to find a job. The reason could vary from...

Answered by: sunny on: Jul 18th, 2012

I got the Job But i m not satisfied with my Job because of Low salary package 10000 Rs. /Month & 2 years Bond aggrement .No saving from the Earning.
I am feeling uncomfortable here,What should i do?????? either continue or Leave it out
Please suggest me

Answered by: siva.subramanian14 on: Oct 4th, 2011

My name is siva and i am a BE CSE 2010 passout .I have also done dotnet course and not getting any nice job in IT field.can u just tell what to do mam.It will be more useful

Aptitude test preparation tips

Asked By: Chandra Vennapoosa | Asked On: Sep 22nd, 2011

Are you anxious about an upcoming job aptitude test? Are you taking the test for the first time? It is quite understandable for you to feel nervous about aptitude test. Remember that with the proper preparation, information and knowledge you can pass any test with relative ease and I will provide...

Answered by: devadas.guduri

Hi,
I am totally not good in aptitude test solving because I do not have proper educational background I have not done +2 directly I have done my graduation by correspondence, so what could help me to solve all the mathematical and analytical problems?

Devadas Guduri

Answered by: yashwant.jeughale

How to face aptitude test for placement in engg. college and what study to do for that?

What are the career options available in software testing industry?

Asked By: Chandra Vennapoosa | Asked On: Sep 22nd, 2011

If you want to have an exciting career that pays well, then you should consider finding employment in the software testing industry. It is a relatively new industry, but it is highly in-demand today due to the popularity of computers and the internet. But before you make the decision to work as...

Answered by: Poorvi on: Oct 14th, 2012

I would like to become a software tester, but i dont have experience in that field, I am a hard worker, i dont know how to get a job without experience .Please help me to get a job.

Answered by: rohitvaidya2010

Hi, I want to ask u is any scope to s/w testing now

What is the role of a mechanical engineer in the software industry?

Asked By: Chandra Vennapoosa | Asked On: Oct 18th, 2011

Are you a mechanical engineering graduate looking for a job? Then like many others, you must be wondering how your profession will flourish today where computers, electronic products, and the internet have become widely used. Mechanical engineering is perhaps one of the oldest disciplines in the field...

Answered by: afash on: May 5th, 2013

hello madam,i am doing final year in mechanical branch i would like to know that after completing of betch which feild gives more salary and i can go in software also are else any software company giving offers to us.pls give me important advise to me.

Answered by: debashishkundu15

Helo mam, this is Debashish kundu and currently I am pursuing my mechanical engineering.Right now I am in Final year of my graduation. I want to ask about my career opportunities after my graduation....

What are the career opportunities available for mca graduates?

Asked By: Chandra Vennapoosa | Asked On: Oct 3rd, 2011

Now that we live in the age of information technology, there is a world of opportunities waiting for mca graduates like you. Although understandably, you might be apprehensive about your future considering that workforce competition can be quite stiff, you need not worry as long as you plan your career...

Answered by: upma on: May 14th, 2013

Sir/Madam I have done B.Sc(Bio) and MCA(2007) and also D.Y.N.S. Now I am teaching in a U.P.(govt) but want a job in delhi and I want to utilize my education. D.O.B.25/08/79...

Answered by: Ranjeet Kumar Raushan on: Apr 20th, 2013

Dear Sir/Maam,

I have just completed MCA. I am working in Automotives Company, because of money problem, But I want to join in IT company. What should i do.

What do you think about our company?

Asked By: Chandra Vennapoosa | Asked On: Sep 13th, 2011

Most employers do give good impressions to job applicants who take the initiative to study and conduct intelligent research on their company profile and background. If you will be asked this question in your interview, be aware that they want to measure your level of interest toward the company...

Do you have any questions that you want to ask?

Asked By: Chandra Vennapoosa | Asked On: Sep 7th, 2011

In any form of interview such as that of a job interview procedure, it is normal process for an interviewer to ask the applicant to ask questions, if there are any. Since an interview is a two-way communication, both the interviewer and interviewee can exchange questions to each other. Yet, in...

Answered by: aishad sayyed on: Mar 27th, 2013

explain different hashing functions in searching technique

Answered by: N. Nageshwar on: Mar 18th, 2013

Can a Flexfiled qualifier be changed after it has been created?

What are the things you wish to achieve in 5 years?

Asked By: Chandra Vennapoosa | Asked On: Sep 7th, 2011

Individuals who make serious plans in their career even if they are just starting out are sought after by potential employers. These are the people who strive hard to achieve their goals so they do everything to attain their objectives in the long run. This can be a common question during job interviews,...

Give me good reasons why should I choose you over others.

Asked By: Chandra Vennapoosa | Asked On: Sep 6th, 2011

There are 12 applicants vying for this job. Give me good reasons why should I choose you over them. most of the time, the interviewers want to gauge how an applicant views herself or himself at par with the rest of the competition. This gives them a way to test ones self confidence and competitiveness....

Does a problem make you a better person?

Asked By: Chandra Vennapoosa | Asked On: Sep 6th, 2011

Have you been through a difficult situation? How does a problem make you a better person? in job interviews, your answers to the questions that interviewers or the employers ask are very crucial in the selection process. Notice that they scribble notes on their paper or your curriculum vitae in...

Describe a time when you had to work under pressure.

Asked By: Chandra Vennapoosa | Asked On: Sep 4th, 2011

Work can sometimes take its toll on an individual and only highly efficient people are able to take the challenge of beating the pressure. When employers search for potential job candidates, they highly consider the work efficiency as well as the endurance of the individual. So, they ask this question...

Has anyone asked you for help? What did you do?

Asked By: Chandra Vennapoosa | Asked On: Sep 4th, 2011

Part of measuring your personality or individual character is testing your ability to establish and keep good relations with people. Aside from that, the employer also wants to check your interpersonal skills or how you effectively deal with people. It is utterly important that an employee knows...

How productive are you?

Asked By: Chandra Vennapoosa | Asked On: Sep 3rd, 2011

You might wonder why the interviewer would ask such a question during the interview. This type of question is not commonly asked during job interviews. one reason they would ask it is to know if you have been making yourself productive even while on the job hunt. People who are keeping themselves...

How do you handle workplace problems?

Asked By: Chandra Vennapoosa | Asked On: Sep 3rd, 2011

The way you deal with other people tells so much about you. If you are actively searching for a job, you must consider enhancing your personality and getting yourself ready for the corporate world. Employers favor those candidates who have the right attitude and personality for the job apart from...

How do you handle pressure and stress?

Asked By: Chandra Vennapoosa | Asked On: Sep 2nd, 2011

Job interview questions are normally meant to test the different skills and competencies of the applicant for the job position as well as to certify the correctness of information stipulated on the curriculum vitae. Questions can vary from the easy ones to the most challenging type. {mosgoogle} interviewers...

Answered by: Richard Mitra on: May 12th, 2012

1). What goals do you have in your career? 2). How do you plan to achieve this goals? 3). Can you work well under deadlines or pressure? 4)Tell us about a time when you failed to meet a deadline? What...

Answered by: yousif on: Mar 21st, 2012

when you lose controller of steam turbine what you do ?

How do you handle difficult situations?

Asked By: Chandra Vennapoosa | Asked On: Sep 2nd, 2011

The set of questions you will probably get in a job interview may address both your personal and work experiences. In essence, your individual personality, work attitude, and skills are the main elements that the interviewers assess during the interview. These experts believe that a persons character...

Answered by: M.N.Revathi on: Feb 24th, 2012

First i have time to take decision for this type of problem we take these kind of decision after tat i have to, discuss my opinion to my boss like this i handle in difficult situation

How do you deal and overcome major challenges?

Asked By: Chandra Vennapoosa | Asked On: Sep 1st, 2011

Was there a time when you had to deal with a major challenge? How did you overcome it? interview questions are targeted to help the interviewer know you better and find out if your skills and abilities would make you suitable for the job position that you are applying for. Even the most basic...

Do you find yourself busy most of the time? Why?

Asked By: Chandra Vennapoosa | Asked On: Sep 1st, 2011

Tough questions are not always easy to answer, but if you plan ahead and structure your response to such questions, then for sure, you will be able to impress your interviewer. Because there are lots of applicants vying for the job position that you are hoping to get, it is imperative that you...

How do you handle conflict?

Asked By: Chandra Vennapoosa | Asked On: Aug 30th, 2011

Tell me about a time when you had a conflict with someone. How did you handle it? there is always a reason why an interviewer would ask a particular question. it could be that the interviewer would want to know about an experience, skill, personality, attitude, knowledge, or ability that you...

How do you approach a problem?

Asked By: Chandra Vennapoosa | Asked On: Aug 30th, 2011

What is the biggest problem you ever had to face? How did you approach the problem? questions such as the one given above are something that job applicants should anticipate during their interview. Companies want to hire people who know how to solve problems because problems are inherent in every...

Have you experienced being given too many tasks?

Asked By: Chandra Vennapoosa | Asked On: Aug 28th, 2011

Have you experienced being given too many tasks? What did you do to meet your deadlines? when you are in a job interview, one of the questions that you are going to be asked will have something to do with time management. Although there are job positions that have higher priorities for time...

Describe a time when you had to convince a friend ?

Asked By: Chandra Vennapoosa | Asked On: Aug 25th, 2011

Describe a time when you had to convince a friend or colleague about an idea that you have. this interview question is more commonly asked to job candidates for a supervisory or managerial position as it seeks to find out the ability of the person to convince or influence others. Yet, even on a regular...

What do you think about continuous learning?

Asked By: Chandra Vennapoosa | Asked On: Aug 22nd, 2011

Your interviewer would like to know if you are open for continuous learning so this question is asked during the interview. Your approach toward self-improvement is being evaluated. Employers see professionals as individuals who continually strive to develop themselves. It gives them an idea that such...

Answered by: deepa on: Aug 14th, 2012

I am currently woking in one organization as a software engineer,but here no competative enviornment.am like a shadow resoruce.am planning to change ny company,but here my security bond is there.what should i do?whether to continue in same company or moving ahead in diffrent companies?

Describe a time when you had to listen to someone.

Asked By: Chandra Vennapoosa | Asked On: Aug 22nd, 2011

Describe a time when you had to listen to someone. How did you show that person you were listening? when your interviewer asks you this question, you are obviously being assessed on your ability as a listener. Listening is very necessary for proper communication among and between individuals. In a workplace...

What do you do when someone criticizes you?

Asked By: Chandra Vennapoosa | Asked On: Aug 17th, 2011

Here is another example of a behavior-based type of question. But this time, the focus of assessment is on your personality. Interviewers use your personal character as one of the basis in gauging your work personality. Remember that how you are as a person also reflects how you can be as a working professional....

Do you like working in a team or alone? Explain.

Asked By: Chandra Vennapoosa | Asked On: Aug 20th, 2011

Employers would like to find out the ability of a candidate to work in a team so during interviews, this common question is asked. While they prefer potential their employees to be self-supervised individuals, they also want them to understand the value of teamwork by easily getting immersed in teams....

Have you gone above and beyond your job description?

Asked By: Chandra Vennapoosa | Asked On: Aug 20th, 2011

Have you tried going above and beyond your job description just to get the job done? Why did you do it? when you are being asked with this kind of open-ended question, the employer seeks to know how you can market yourself or showcase your skills by placing an edge against the rest of the candidates...

What was the most important decision you ever had to make?

Asked By: Chandra Vennapoosa | Asked On: Aug 17th, 2011

What was the most important decision you ever had to make? How did you arrive at that decision? an important part of assessing your skills and personal character is to test your behavior towards trying or challenging situations. This is another type of behavioral-based questioning in which your answer...

Do you seek advice from others when you have a question?

Asked By: Chandra Vennapoosa | Asked On: Aug 15th, 2011

Do you seek advice from others when you have a question? Will you evaluate their inputs before you consider their advice? a question such as this is asked by interviewers with a goal of determining an individual's preference in terms of who to look up to as their role models especially in decision-making...

Answered by: Ramesh on: Jan 28th, 2013

Hi..I am manual tester. I have 2 Years of exp in it. I would like to move on ETL development. Iw ant to know which tool is the best to learn and what are things i have to learn?
Can anyone Please suggest me?

Tell me about a skill you recently acquired or improved.

Asked By: Chandra Vennapoosa | Asked On: Aug 15th, 2011

Tell me about a skill you recently acquired or improved. How did you do it? every employer that seeks for qualified individuals to fill in vacancies in their company has a list of qualifications for a suitable candidate. The field of profession is an essential element for a job position but given...

What will you do when you are not able to get your message across to your audience?

Asked By: Chandra Vennapoosa | Asked On: Aug 14th, 2011

Have you experienced a time when you felt you could not get your message across to your audience? What did you do to remedy the problem? in a job interview, potential employers would want to know the communication strengths of jobseekers. This is especially true for job positions that require excellent...

Answered by: Charles on: Jun 16th, 2012

What support do i need from my manager or supervisor in order to produce quality work?

What is your way of building rapport with a person you just met?

Asked By: Chandra Vennapoosa | Asked On: Aug 14th, 2011

Recruitment officers would, more often than not, ask a question about rapport building. They want to find out if a candidate has the necessary skills to converse with people and feel comfortable in their presence. Whether it is a behavioral interview, or just the traditional type of interview, you will...

Answered by: Priya Yadav on: Aug 16th, 2012

what kind of things are asked in interviews..? is this neccessary for the people to be interactive?

Has there been a time when you were presented a problem and solved it?

Asked By: Chandra Vennapoosa | Asked On: Aug 13th, 2011

Has there been a time when you were presented a problem and solved it effectively through the use of your good judgment? Explain this question may be rephrased or restructured in different job interviews but the objective of the interviewer remains the same: they want to know your ability to solve...

Answered by: chetan on: Aug 13th, 2012

Which physical things needs to avoid in Personal interview ?

Provide an example of a goal that you successfully attained.

Asked By: Chandra Vennapoosa | Asked On: Aug 13th, 2011

This question is something that an interviewer would ask in order to know how well you establish goals. Having the ability to set goals and achieve them is something that most companies would look for in a job applicant because this will say a lot about your performance as a potential employee,...

What do you do when things do not go as planned? Cite an example.

Asked By: Chandra Vennapoosa | Asked On: Aug 12th, 2011

This question will gauge your ability to adapt to certain situations. interviewers ask this question because they want to know how well you can manage problems and changes at work. A lot of people might be tempted to simply say, "i have never had problems when things do not go as planned" or worse,...

Tell me three things about you, which are not found in your resume

Asked By: Chandra Vennapoosa | Asked On: Aug 11th, 2011

When an interviewer asks this open-ended question, you have to structure your answer carefully. Although it seems quite simple enough and you may be inclined to give out just any information about yourself that you can think of, such as your favorite dish, music, and color, it really is not as simple...

Find users running the script

Asked By: Beena | Asked On: Mar 6th, 2008

How do you find the users who are running the script ?

Answered by: dclavio on: Aug 4th, 2010

ps -auxw

Answered by: vinoth86 on: May 27th, 2008

Use v$session view.

Hcl placement paper held at anna university

Asked By: Beena | Asked On: Nov 14th, 2005

Hcl paper held at anna university on 16 th oct..This may be useful to others.The paper consists of 4 sections.1.Computer concepts -15 -1 mark -1/4 -ve2.C programming -20 -1 mark -1/4 -ve3.Analysing the programs -10 -2marks - 1 -ve4.Aptitude -20 -1 mark -1/4 -ve.I remember...

Answered by: ruth on: Apr 7th, 2007

2]QUES}
main()
{
printf("%d%d"size of ("Hcl
technologies"),strlen("HCL Technologies"));
)

ANS]17,16

Micrsoft puzzles, riddles placement paper

Asked By: Beena | Asked On: Nov 11th, 2005

Puzzles, riddles and others0. Classic: if a bear walks one mile south, turns lEFT and walks one mile to the east and then turns lEFT again and walks one mile north and arrives at its original position, what is the color of the bear. Ans. The color of the bear is trivial. The possible solutions to it...

Answered by: farheen on: Nov 12th, 2012

1st take only 6 balls,leave d 2 a) Divide 6 balls into 3 and 3, then weigh it, if any of the 2 divisions weigh less, means that 3 balls have a defective balls. b) Out of that 3 balls take 1 in your h...

Answered by: aditya bindal on: Sep 26th, 2010

9. The answer is in question itself. Here, if you stand "under" the mirror vertical will take place.

Microsoft personality interview questions

Asked By: Beena | Asked On: Nov 11th, 2005

Personalityit is best to read some website or a book for questions like these. 1. Tell me the courses you liked and why did you like them. 2. Give an instance in your life in which you were faced with a problem and you tackled it successfully. 3. What is your ideal working environment. 4. Why do you...

Answered by: Pankaj on: May 21st, 2006

I think you should know all development and research centers across the globe. Like I dint know there is one research center in Beijing. During Lunch interview I was asked how much did I know about microsoft work and their centers. I told them about cambridge, Haifa(israel) and more..

>= 1; end return count;endSparse Countfunction sparsecount (unsigned int n) begin int count=0; while (n) begin count++; n &= (n-1); end return count ;end10. What are the different ways to implement a condition where the value of x can be either a 0 or a 1. Apparently the if then else solution has a jump when written out in assembly. if (x == 0) y=a else y=b There is a logical, arithmetic and a data structure solution to the above problem. 11. Reverse a linked list. 12. Insert in a sorted list 13. In a X's and 0's game (i.e. TIC TAC TOE) if you write a program for this give a fast way to generate the moves by the computer. I mean this should be the fastest way possible. The answer is that you need to store all possible configurations of the board and the move that is associated with that. Then it boils down to just accessing the right element and getting the corresponding move for it. Do some analysis and do some more optimization in storage since otherwise it becomes infeasible to get the required storage in a DOS machine. 14. I was given two lines of assembly code which found the absolute value of a number stored in two's complement form. I had to recognize what the code was doing. Pretty simple if you know some assembly and some fundaes on number representation. 15. Give a fast way to multiply a number by 7. 16. How would go about finding out where to find a book in a library. (You don't know how exactly the books are organized beforehand). 17. Linked list manipulation. 18. Tradeoff between time spent in testing a product and getting into the market first. 19. What to test for given that there isn't enough time to test everything you want to. 20. First some definitions for this problem: a) An ASCII character is one byte long and the most significant bit in the byte is always '0'. b) A Kanji character is two bytes long. The only characteristic of a Kanji character is that in its first byte the most significant bit is '1'. Now you are given an array of a characters (both ASCII and Kanji) and, an index into the array. The index points to the start of some character. Now you need to write a function to do a backspace (i.e. delete the character before the given index). 21. Delete an element from a doubly linked list. 22. Write a function to find the depth of a binary tree. 23. Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted. 24. Assuming that locks are the only reason due to which deadlocks can occur in a system. What would be a foolproof method of avoiding deadlocks in the system. 25. Reverse a linked list. Ans: Possible answers - iterative loop curr->next = prev; prev = curr; curr = next; next = curr->next endloop recursive reverse(ptr) if (ptr->next == NULL) return ptr; temp = reverse(ptr->next); temp->next = ptr; return ptr; end 26. Write a small lexical analyzer - interviewer gave tokens. expressions like "a*b" etc. 27. Besides communication cost, what is the other source of inefficiency in RPC? (answer : context switches, excessive buffer copying). How can you optimize the communication? (ans : communicate through shared memory on same machine, bypassing the kernel _ A Univ. of Wash. thesis) 28. Write a routine that prints out a 2-D array in spiral order! 29. How is the readers-writers problem solved? - using semaphores/ada .. etc. 30. Ways of optimizing symbol table storage in compilers. 31. A walk-through through the symbol table functions, lookup() implementation etc. - The interviewer was on the Microsoft C team. 32. A version of the "There are three persons X Y Z, one of which always lies".. etc.. 33. There are 3 ants at 3 corners of a triangle, they randomly start moving towards another corner.. what is the probability that they don't collide. 34. Write an efficient algorithm and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage. 35. The if (x == 0) y = 0 etc.. 36. Some more bitwise optimization at assembly level 37. Some general questions on Lex, Yacc etc. 38. Given an array t[100] which contains numbers between 1..99. Return the duplicated value. Try both O(n) and O(n-square). 39. Given an array of characters. How would you reverse it. ? How would you reverse it without using indexing in the array. 40. Given a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - solutions given in the C lib -typec.h) 41. Fundamentals of RPC. 42. Given a linked list which is sorted. How will u insert in sorted way. 43. Given a linked list How will you reverse it. 44. Give a good data structure for having n queues ( n not fixed) in a finite memory segment. You can have some data-structure separate for each queue. Try to use at least 90% of the memory space. 45. Do a breadth first traversal of a tree. 46. Write code for reversing a linked list. 47. Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9). 48. Given an array of integers, find the contiguous sub-array with the largest sum. ANS. Can be done in O(n) time and O(1) extra space. Scan array from 1 to n. Remember the best sub-array seen so far and the best sub-array ending in i. 49. Given an array of length N containing integers between 1 and N, determine if it contains any duplicates. ANS. [Is there an O(n) time solution that uses only O(1) extra space and does not destroy the original array?] 50. Sort an array of size n containing integers between 1 and K, given a temporary scratch integer array of size K. ANS. Compute cumulative counts of integers in the auxiliary array. Now scan the original array, rotating cycles! [Can someone word this more nicely?] * 51. An array of size k contains integers between 1 and n. You are given an additional scratch array of size n. Compress the original array by removing duplicates in it. What if k " href="http://www.geekinterview.com/question_details/18138">Microsoft algorithms and programming written test

Asked By: Beena | Asked On: Nov 11th, 2005

Algorithms and programming1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife ? 2. You're given an array containing both positive and negative...

Answered by: rmalladi on: Sep 4th, 2008

1) Slice the cake horizontally in mid height.

Answered by: rmalladi on: Sep 4th, 2008

3)    let the array be a[n]. let x be an int----------------------------------int a[n],i,x;for (i=0;i<n;i++){for(x=i;x<n;x++){ if(a[i]-a[x]==0)   printf (a[i] "and&...

Microsoft networks and security written test

Asked By: Beena | Asked On: Nov 11th, 2005

1. How do you use rsa for both authentication and secrecy?2. What is arp and how does it work?3. What's the difference between a switch and a router?4. Name some routing protocols? (rip,osPF etc..)5. How do you do authentication with message digest(md5)? (usually md is used for finding tampering of data)6....

Answered by: Amarendra Tallam on: Feb 10th, 2006

What is ARP and how does it work?Defination:ARP (Address Resolution Protocol) is a protocol for mapping link layer addresses to a physical machine address that is recognized in the local networkWorkin...

Microsoft Java written test

Asked By: Beena | Asked On: Nov 11th, 2005

Java1. How do you find the size of a Java object (not the primitive type) ? Ans. Type cast it to string and find its s.Length() 2. Why is multiple inheritance not provided in Java? 3. Thread t = new thread(); t.Start(); t = null; now what will happen to the created thread? 4. How is garbage collection...

Answered by: THANGARASU.N on: Jul 15th, 2011

4. storage memory allocation can be used in the garbage collection finalize also used in the garbage collection polymorphism also used in the run time entities in virtual functions of garbage collection

Answered by: chandrasekhar Acharya on: Jun 3rd, 2006

. Why is multiple inheritance not provided in Java? 3. Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread? 4. How is garbage collection done in java? 5. How do yo...

Which property of textbox cannot be changed atruntime and whats the maximum size of a textbox?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rakesh.dadri on: Dec 4th, 2010

The property of textbox which we cannot change at run time are:
name
multiline.

Answered by: Dharmendra Dixit on: Oct 16th, 2006

Hi All,

 We can not change the 'Multiline' proprty of TextBox at the Run Time.

  and TextBox has No Limits

Which property of menu cannot be set at run time?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: v_k_paramesh on: Nov 18th, 2005

Name property cannot set at run time

Which property is used to compress a image in image control?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: deep on: Jan 27th, 2006

strech

Which controls have refresh method, clear method

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sandeep on: Oct 17th, 2005

datagrid,listbox,combobox,label,button have refresh methodand textbox has clear methodalmost all controls have refresh method

Which controls can not be placed in mdi?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rahul on: Jul 29th, 2006

The Controls which do not have Align property can't be placed on MDI Form

Image Box can't be paste into a MDI form.

Answered by: avinash on: Nov 15th, 2005

The Controls which do not have Align property can't be placed on MDI Form.

E.g., Picturebox only has Align property in Standard Components of VB other controls dont have align property an hence can't be drawn on MDI Form.

What was introduced to visual basic to allow the use of callback functions?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Abc on: Mar 11th, 2006

DTPicker

What types of data access have you used?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Dharmendra Dixit on: Sep 12th, 2006

i hv used ADO for data access. In ADO there r 3 mian objects(a) connection(b) Command(c) Recordset

What methods are called from the objeCTContext object to inform mts that the transaction was successful or unsuccessful?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: akhil mahajan on: May 12th, 2006

setabort and setcomplete

What is the difference between msgbox statement and msgboxq function?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: shailesh.pachori on: Nov 24th, 2005

MsgBox is a built in VB function which displays a Message Box and MsgBoxQ is a function defined by the user.

What is ole and dde? Explain.

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: suhani02 on: Sep 12th, 2006

Object Linking and Embedding (OLE) is a distributed object system and protocol developed by Microsoft. OLE allows an editor to "farm out" part of a document to another editor and then reimport it. Fo...

Answered by: Dharmendra Dixit on: Sep 12th, 2006

Object Linking and Embedding (OLE) is a distributed object system and protocol developed by Microsoft.OLE allows an editor to "farm out" part of a document to another editor and then reimport it. For ...

What does the implements statement do?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sanjay Kumar Dalai on: Nov 20th, 2006

Hi,    This Implements Statemets generally used for the purpose of Inheritance.    If you want to impelments properties,method & events of super class&...

Answered by: suhani02 on: Sep 12th, 2006

Implements statement Specifies one or more interfaces, or interface members, that must be implemented in the class or structure definition in which it appears.

What does option explicit refer to?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Nitheen on: Jul 3rd, 2006

Option Explicit is used for declaring variables mandatory.
Ex:Option Explicit
This has to declared in General

Answered by: Bhaskar on: Feb 2nd, 2006

Option Explicit makes the declaration of Variables Mandatory

What do byval and byref mean and which is the default?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Bhaskar on: Feb 2nd, 2006

If you pass an argument by reference when calling a procedure, the procedure access to the actual variable in memory.  As a result, the variable's value can be changed by the procedure.If you pas...

What are the different compatibility types when we create a com component?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: akhil mahajan on: May 12th, 2006

no compatibility - creates new GUIDproject compatibility binary compatibility - maintains the references

What are the ADO objects? Explain them.

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Dharmendra Dixit on: Sep 16th, 2006

Hi all, There are 3 main objects od ADO(1) Connection - Used to make connection with Database(2) command - with this we can execyte command like(select* from)(3) Recordset - The inmemory Representation of records in ADO is known as RecordSet Thanks & Regards Dharmendra K Dixit Jr. Software Engg

Answered by: Venky on: Jan 18th, 2006

The ADO objects are:

  Command

  Connection       

  Error

  Field

  Parameter       

  Property

  Record

  RecordSet

  Stream

Vb and object oriented programming

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Dharmendra Dixit on: Sep 16th, 2006

Yes VB 6.0 Supports OOPS, Because VB6.0 is an Object Based Progarmming Language, and it also known as 'Event Driven Programming'it supports Polymorphism - Yes Encapsulation - Yes Inheritance - Partially support (Not full) Thanks & Regards Dharmendra K Dixit

Answered by: siva prasad on: Feb 5th, 2006

VB do supports oops.

   Polymorphism - Yes , Encapsulation -Yes, Inheritance - NO

Under the ADO command object, what collection is responsible for input to stored procedures?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Galka on: Aug 2nd, 2006

The Parameters collection

Types of system controls, container objects, combo box

Asked By: Beena | Asked On: Sep 19th, 2005

Type library and what is its purpose?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: venky on: Feb 3rd, 2006

Type libraries are files that explicitly describe some or all of the contents of components. This includes information about the methods, properties, constants, and other members exposed by the compon...

To set the command button for esc, which property needs to be changed?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: v_k_paramesh on: Nov 18th, 2005

set cancel property to true

Ex: button1.cancel = true

Name the four different cursor and locking types in ADO and describe them briefly

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sanjay Kumar Dalai on: Dec 4th, 2006

Dear All,Four type of Cursor 1.Satic 2.KeySet 3.Dynamic 4. Forwar Only .Static Cursor :we can't delete,update and Insert data.It can't display any modification of data by other users.This one faster f...

Answered by: v_k_paramesh on: Nov 18th, 2005

Cursor types:1. Forwardonly, 2. Static, 3. Keyset 4. Dyanmic

Lock types : 1. lockpessimistic, 2. lockoptimistic,3. lockbatchoptimistic 4. lockreadonly

Name of the control used to call a windows application

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: shailesh.pachori on: Apr 19th, 2006

OLE is the control used to call a windows application.

Kind of components can be used as dcom servers

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: balaji on: Oct 5th, 2006

Hai,

DataBase Components can be used as DCOM Servers...

How to set a shortcut key for label?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini.Ramasamy on: Apr 2nd, 2007



 By setting the UseMnemonic property to true

How to register a component?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: chandra prakash on: Oct 10th, 2005

To register component use

run command prompt type:

c: regsvr32 nameofcomp

How does a dcom component know where to instantiate itself?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: balaji on: Oct 5th, 2006

Hai,

When Client App requests some COM component in different machine server creates proxy object on client through which client app access the server component.

Draw and explain sequence modal of DAO

Asked By: Beena | Asked On: Sep 19th, 2005

Difference between a function and a subroutine, dynaset and napshot, early and late binding, image and picture controls, linked object and embedded object, list box and combo box, list index and tab index,...

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: zakir khan on: May 29th, 2012

Tab index is associated with tab button, i.e. when we press tab then it moves to next element
snd list index is associated with List box controls items present in List Box

Answered by: vivek on: Dec 14th, 2011

Early Binding: Manually binding the OLB file is called early binding. Its "early" because you are exposing the object model during design-time, as opposed to during run-time. Sub CheckBinding() ...

Describe: in of process vs. Out of process component. Which is faster?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sanjay Kumar Dalai on: Nov 20th, 2006

Dear All,In of process component running in same address space but out of Process component running in different address spaces. Out of Process component create separate thread & run in that thread....

Describe database connection pooling relative to mts

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sathish on: Jul 7th, 2007

This enables MTS to reuse database connections. Database connections are sent to "sleep" mode as against normal constructions and destructions. This can be revoked upon request.

Define the scope of public, priVATe, friend procedures?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sanjay Kumar Dalai on: Dec 4th, 2006

Dear All,when we declare private procedure that procedure can be access with in the current module.It can't be access out side the module.private key word use for data hiding purpose.In case of F...

Default property of datacontrol

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini.Ramasamy on: Apr 2nd, 2007



  Connect Property

Controls which do not have events

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini on: Apr 2nd, 2007


 Shape and Line Controls

Answered by: Nagesh on: Aug 24th, 2006

Line Control

Constructors and distructors

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Amar on: Oct 9th, 2007

Constructors have same name as class has, constructor's need not any call through objects, they are called automatically when an instance of class is created.
Destructors are used to make the memory free used by constructor variable, it do it's job just defining a destructor at the end of pro.

Answered by: Sandeep on: Oct 17th, 2005

when we initialize the form at that time if we want to set any variable's value then we can set it by defining in constructor. constructor 's name always same as class name.and destructor is used to recover memory occupied by any variable defining in constructor.

Can database schema be changed with DAO, rdo or ADO?

Asked By: Beena | Asked On: Sep 19th, 2005

Benefits of using mts

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: ravindra on: Apr 1st, 2007

object pooling....

Benefit of wrapping database calls into mts transactions

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: suga on: Oct 29th, 2005

Can some one answer for this question.

Question: Benefit of wrapping database calls into MTS transactions

thank you

suga sandra

Answered by: praveena on: Oct 22nd, 2005

Benefit of wrapping database calls into MTS transa...

Advantages of disconnected record sets

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sanjay Kumar Dalai on: Nov 22nd, 2006

Dear All,disconnected record gives more advantages in Database connection free.when user open a recordset using table/vew ,it will lock the table/view as user not free its.As result other user can't d...

Advantage of activex dll over active exe

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Virginia on: Dec 28th, 2005

Advantages of ActiveX Dll1) An in-process component shares its clients address space, so property and method calls dont have to be marshaled. This results in much faster performance. Disadvanta...

Activex and types of activex components in vb

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rajen singh on: Nov 12th, 2007

ACTIVEX: ActiveX  are reusable software components or simply a class by which we can call a member functions or datamembers on creating object or simply drag & drop a control to access its functionality.

3 Types:
ActiveX dll
ActiveX exe
ActiveX control

3 main differences between flexgrid control and dbgrid control

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Virginia on: Dec 28th, 2005

1. Datagrid is Editable, flexgrid is Diplay only.

2. DBGrid allows full data binding while MSFlexGrid allows read-only binding

3.  MSFlex grid is smaller and allows cell merging while Datagrid is larger and does not allow cell merging.

Answered by: Sornambal Sivaraman on: Oct 20th, 2005

3 main differences between flexgrid control and dbgrid control

Difference between "applet" and "application"

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: J Raghavendra on: Dec 24th, 2005

An Applet is a special kind of java program that is designed to transmit over internet and automatically executed by java compatible web browser. An Applet can react to user input and dynamically change.Application can be an execution of a program in the host system.

Answered by: Manish Sharma on: Nov 25th, 2005

Application is a program that run in a standalone machine, whilw applet is a application that can be run on web browser.

How to use C++ code in Java program?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: maharaja on: Apr 10th, 2006

C++ can be used in java program by using Native API. There are 4 types of drivers in JDBC. Native API/Partly java driver is one of the type, which is used to connect the C++ code in Java Program

Answered by: nidhi on: Apr 6th, 2006

c and c++ methods can be used as native methods,but you need to load the class before that as a library!

What are interfaces? Or how to support multiple inheritance in Java?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: pradeepthi on: Sep 30th, 2005

An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate...

Why Java is not 100% pure object oriented language?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Karthik on: Aug 31st, 2007

Because of multithreading its not pure OOP.

Answered by: Milind on: Oct 18th, 2005

Purely object oriented language is one which deals only with the objects.

e.g. SmallTalk is the only pure object oriented language.

As java also deals with datatypes as int, float etc. which are not objects of any class, it is not purely object oriented language.

Explain garbage collection mechanism in Java

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sampra on: Feb 20th, 2008

Like in c and c++ we have some mechanism to create the object and some mechnaishm to distroy the object .but in java  we have mechanism to create the object but we dont have any  mechanism t...

Answered by: nuttyvarun on: Feb 19th, 2008

Garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory used by objects that will never be accessed or mutated again by the application.

Can I create final executable from Java?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sandeep on: Nov 7th, 2005

u can thru batch process

Answered by: sandeep on: Nov 7th, 2005

yes u can create executable for java just download install4j and use it

What is the meaning of "final" keyword?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sambitsahu on: Jan 5th, 2010

Final Variable :: Constant
Final Method  :: Can't Override
Final Class     :: Can't instatiate

Answered by: sampra on: Feb 15th, 2008

fianl key word is use to declare a mamber as constant

Does Java have "goto"?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: dina1985vlr on: Aug 19th, 2009

Goto keyword is there but not we used why?

Answered by: sampra on: Mar 5th, 2008

in java we have keyword goto but we are not using it is putted as reserve

What gives Java it's "write once and run anywhere" nature?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sampra on: Feb 14th, 2008

Bez byte code genrated and understtod same on each compiler

Answered by: sujatham on: Aug 10th, 2007

Byte code produced in one JVM can be executed in any other JVM.

What is byte code?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sampra on: Feb 20th, 2008

BYTE code is a code genrated by JVM its in binary form and can be understood by JVM only

Answered by: nuttyvarun on: Feb 19th, 2008

Bytecode is a term (others are p-code etc) used to denote a form of intermediate code, a binary representation of an executable program designed to be executed by an interpreter or virtual machine rat...

Disadvantages of Java

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sujatham on: Aug 10th, 2007

Java has the following disadvantages. Because programs written in Java language runs on a virtual machine, it runs somewhat slowly compared to other programs. However, it is unlikely that it feels ann...

Answered by: kuriakose on: Sep 30th, 2005

Java language runs on a virtual machine, it runs somewhat slowly compared to other programs.  It is difficult to write a perfect program, especially if it is as big as a virtual machine

Difference: awt, swing

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: christopher.rbrt on: Dec 19th, 2007

Swing has built in support for Look and Feel, but Awt has not it has to be get support from OS in which it is running.

Answered by: Mithun on: Feb 14th, 2006

1. AWT is written in platform specific code where as Swing componets are written entirely in java , thus its totally platform independent.2.AWT components are heavy-weight components means these are k...

Difference: Java beans, servlets

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: lieutaryan on: Feb 13th, 2010

Servlets are java classes designed to serve content from the web, like a web server serves HTML pages. A servlet is used to receive requests, process them, and then return responses to the program tha...

Answered by: prem kumar on: Jul 29th, 2006

HI

What is meant by reusable?

we can use instance of a class as we want more times. Then, and diff between bean and class.

Prem

premkumar.cm@gmail.com

Explain working of Java virtual machine (jvm)

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: nishant.mca2010 on: Dec 16th, 2010

Java Virtual Machine is the heart of entire java program execution process. It is responsible for taking the .class file and converting each byte code instruction into the machine language instruct...

Answered by: ramakrishnankt on: Apr 20th, 2009

* Creation of bytecode
* Verifying the byte code
* Linking the code withlibrary
* Maintaining garbage collection

Explain Java security model

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: pawan powar on: Oct 18th, 2005

  In java, we have Sand box Security Model.  Some Features   Structured Memory Access(No Pointer Arithematics)   Type-safe reference casting   Automatic ga...

Difference between == and equals method

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rajesh on: Nov 4th, 2005

Hai,

== will check the equality of the references of the objects where as

.equals will check the equality of the content.

Difference Java, C++

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: arun on: Oct 3rd, 2005

for ur answer refer to text books,

my question here, are session thread safe??, also execute method of the action class is thread safe??, i mean can multiple request process with in the execute method,.? pls email me to arun_hyd@msn.com

Meaning - abstract classes, abstract methods

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: jawaharl0207 on: Oct 25th, 2009

Abstract Class: There are two ways to create abstract class, one is by mentioning abstract key before the class declaration, and second one is by mentioning abstract key before the method declaration ...

Answered by: haruto on: Oct 22nd, 2009

In java a class has a well defined structure and behaviour.  There are times where we do not need to implement a method such methods are written in the class where the class is preceded by keyw...

How to create a database link?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rahultripathi on: Sep 22nd, 2005

Create [shared/public] database link connect To identified by using

Any problem Don't hesitate write to rahultripathi@myway.com

Difference between "Oracle" and "Microsoft access" databases?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: mragu1986 on: Mar 16th, 2009

Oracle is more secure than MS Access.
Oracle stores unlimited data while MS
Access is not.
Sequence creation is not possible in MS Access.
Oracle is scalable but not
MS Access.

Answered by: Shoby on: May 9th, 2006

Oracle is ORDBMS (Object Oriented Relational DataBase) while Access is RDBMS(Relational DataBase) only.

What is the difference among "dropping a table”,” truncating a table" and deleting all records" from a table?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: psingla on: Mar 8th, 2010

Truncate:Deletes all the record from the table.keeps no entry in log file.so rollback is not possiblefast in operation than delete.Its a DDL statementReset the identity column value to 1 (specific to ...

Answered by: vasumathi.sridharan on: May 26th, 2009

Delete is a DML Statement
Truncate is a DDL Statement

Delete can be rolledback
Truncate cannot be rolledback

The memory occupied by the table will be released in Truncate.
That is Not the case with Delete

Truncate cannot use a where clause
Delete can use a where clause

Truncate is faster than Delete.


Difference between "varchar" and "varchar2" datatypes?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: cybersavvy on: Feb 5th, 2009

Varchar2 in Oracle is equal to varchar in SQL Server. There is no varchar2 data type in SQL Server

Answered by: smithanair on: Sep 17th, 2008

VARCHAR is used to store alphanumeric values without padding unused memory locations. But VARCHAR2 is used to store alphanumeric values with padding unused memory locations. so using VARCHAR2 we are saving memory locations.

What is SQL*loader?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: gvinoy on: Jan 26th, 2006

SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database. Its syntax is similar to that of the DB2 Load utility, but comes with more options. SQL*Loader su...

Answered by: rahultripathi on: Sep 22nd, 2005

The SQL Loader is bulk loader utility which is used to move the data from a external file to database.One can use load data into database using sqlldr .Ex:-  load datainfile 'C:\rahul.csv' i...

What are the large object types supported by Oracle?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: raghu2110 on: May 20th, 2008

Blob datatype is used for storing large Binary data Like Photos,signatures etc 
Clob datatype is used for stoeing large character data upto 4GB like resume and other docs

Answered by: manish hoiyani on: Sep 14th, 2006

clob, blob, used to unstructured data and binary data respectively.

What is a view? How to get script for a view?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: starmile on: Jan 2nd, 2006

View is a logical partition of one or more table in horizontally(by putting condition) or vertically (by including selected columns). View can be used to update table, provides sec...

Answered by: SankaraNarayanan on: Oct 3rd, 2005

View is the only part of existing table(Collection Cols) and we have to collect the no of col from table and we get  one view.The Max no.of col in view as 1024.

What are "hints"? What is "index covering" of a query?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: psingla on: Mar 17th, 2010

Hints are instructions given by the developer in the query to use a particular type of exectuion plan.Whenever a query is written then sql comipler creates n number of execution plans and opt for the ...

Answered by: Bobby on: Oct 13th, 2007

Hints are options or strategies specified for enforcement by the SQL Server 2005 query processor on SELECT, INSERT, UPDATE, or DELETE statements. The hints override any execution plan the query optimizer might select for a query.

Why can a "group by" or "order by" clause be expensive to process?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: psingla on: Mar 17th, 2010

Group by: It clubs all the similar rows and display only the distinct data so here clubing and displaying distinct data is an overhead.

Order by: It sorts the data either in ascending order or in desending order as specified in the query.  Sorting the data is an overhead.

Answered by: Shehzad on: Aug 22nd, 2006

Group by class will have to group all the data returing from the query in our specifed groups... so it is definitly an overhead from execution point of view... imagine that the number of rows returned...

What is a "trigger"?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: neel_desai on: Oct 11th, 2008

A trigger is a special kind of stored procedure that automatically executes when an event occurs in the database server. There are three types of triggers: 1. DML trigger     &nbs...

Answered by: sreyas kvm on: Feb 3rd, 2008

Trigger is a self executing event in sql server where a relevent action is occured.

triggers are useful in master-child relation ship in a table.

Trigger can be created as,

create trigger triggername on tablename for insert,update,delete as "necessory action"

How functional dependency is related to database table design?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: jayaprakash.raman on: Apr 24th, 2007

Normalization is the technique of breaking the complex tables into much understandable smaller one to improve the optimzation of the database structure. The concept of "Fucntional Dependancy"...

Answered by: sm on: Nov 9th, 2005

In database table design we are providing Primary key and Foreign keys.And according to primary and Foreign keys tables are functionaly dependent on each other.

Difference between primary key and aggregate key?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: psingla on: Mar 8th, 2010

primary key:is a key on ( 1  or group of columns) used to identify a record uniquely.builds clustered index automaticallyAlternate key:is a key which is a unique key but not a primary key.no...

Answered by: khurram on: Aug 3rd, 2006

aggregate fact tables have two types of keys

-composite key

-serrogate key (system generated key)

So aggregate-key is a primary key

How to convert raw data type into text?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Nirav on: Jul 25th, 2006

You can use Bulk copy program (BCP) to  convert a data from row to text or text to row

When do you get constraint violation? What are the types of constraints?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sahu on: Jan 28th, 2006

Ans:Database returns an error message when a constraint is violated.Differnet type of constrains;1.Domain Constraints:A Domain constraint deals with one or more columns2.Entity Constraints3.Referentia...

Explain normalization and denormalization with examples?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: siva on: Apr 27th, 2012

It is good.I understood if you put some brief explanation with data, is very usable to the persons who are not understanding about normalization like me. ...

Answered by: siva on: Apr 27th, 2012

Your Explnation may be good but it was too dificult to understand with out examples

What is a "transaction"? Why are they necessary?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Mai Nguyen on: Apr 16th, 2006

 

A transaction is a group of operations combined into a logical unit of work.  Developer uses transactions to control and maintain the consistency and integrity of each action in a transaction, despite errors that might occur in the system

 

BEGIN Trnasaction

Commit Transaction

Answered by: geekist on: Oct 24th, 2005

Transactions are an atomic piece of instructions in SQL which have to be executed all or none.The word atomic signifies the all or none character of a transaction.

How to run SQL script from a UNIX shell?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sreddy_bond on: May 8th, 2008

Rownum is the id which is assigned to recored, by the time of record set selected (executed).
Rowid is, the id which is assigned physically to each record in table.

Regads
Sarele

Answered by: Bill on: Nov 9th, 2006

   sql dbname < script_filename > output.out 2>&1

What is the use of analyzing the tables?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: tiras on: Oct 12th, 2005

1. Optimise DB performance

Answered by: shantinath patil on: Oct 8th, 2005

What is the use of ANALYZing the tables?

How to remove duplicate records from a table?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Vijay on: May 10th, 2012

SELECT ID FROM TBLSAMPLE GROUP BY ID OR SELECT DISTINCT (ID) FROM TBLSAMPLE

Code
  1. SELECT ID FROM TBLSAMPLE GROUP BY ID
  2. OR
  3. SELECT DISTINCT (ID) FROM TBLSAMPLE

Answered by: Mally on: Feb 12th, 2012

Good Code...however the code will delete all the duplicates... you may want to add:

delete top(n) clause in your delete statement to exactly delete the required number of records.

What is dynamic SQL method ?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Genie_Cool on: Jun 1st, 2007

If we are speaking about SQL Server and Dynamic SQL, then the following is the answer.Some queries in SQL Server might be given during run-time as we may not know the table that we might use in the pr...

Answered by: rahultripathi on: Sep 22nd, 2005

In dynamic SQL method 4 in  queries(select ) there are variable number of column and bind variable . Other word we can say that until run time we don't how many bind varible there.   Exemple...

What is the difference between "translate" and "replace"?

Asked By: Beena | Asked On: Sep 19th, 2005

Star Read Best Answer

Editorial / Best Answer

Answered by: jayaprakash.raman

View all answers by jayaprakash.raman

Member Since Apr-2007 | Answered On : Apr 24th, 2007

Please refer that here we are discussing about Sql Server only. There is no function named 'Translate' in Sql Server. 'Translate' function exists in Oracle for translating a single character to some other character.

Replace fucntion in Sql server is used to replace a string as well as character to another string or character. No need to have a seperate function like Transalate in Oracle:

Find below the examples to get the clear idea:

Ex 1: Sql Server replace function similar to Oracle Replace function

Declare @Str varchar(100)

set @Str='India is my country'

print @Str

print replace(@Str,'India','Pakistan')



Result

India is my country

Pakistan is my country


Ex 1: Sql Server replace function similar to Oracle Translate Replace function

Declare @Str varchar(100)

set @Str='Think You'

print @Str

print replace(@Str,'i','a')
Result

Think You

Thank You



Note: Please try to post Sql server questions only here. Ther is a seperate section available for Oracle. If we mix both, it will confuse the people who are specializing their skill in particular area. Thank you.

Answered by: jayaprakash.raman on: Apr 24th, 2007

Please refer that here we are discussing about Sql Server only. There is no function named 'Translate' in Sql Server. 'Translate' function exists in Oracle for translating a single cha...

Answered by: aruna on: Apr 3rd, 2006

Translate is a character wise function

where as replace is a string wise

Give some examples of analytical functions?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: jayaprakash.raman on: Apr 24th, 2007

Examples for Analytical functions in Sql Server 2005:

AVG, COMPUTE, DENSE RANK, NTile, Over, RANK, Row Number, STDEV, SUM, VAR, VARP, WITH ROLLUP

Answered by: rahultripathi on: Sep 22nd, 2005

Analytical Function:-  return the infornation that about the relative possition of record (ROW_NUMBER,Rank,DENSE_RANK) and  allow to campare with succesor and precedessors when the...

What is pro*c? What is oci?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Adas on: Nov 1st, 2012

Can anyone tell the exact diff b/w Pro*C and OCI

Answered by: Nisikant on: Mar 3rd, 2009

Pro *C is a Oracle database pre-compiler. It acts as a database connectivity. We can also embed the SQL statement within C or C++ programming code which will execute successfully.

What is the difference between "null in c" and "null in Oracle?"

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: zelani on: Jan 12th, 2009

null in c is some garbage value which cannot be predicted . If you are not intialising any value to the variable then null value is present in auto variables.null in oracle is used in sql queries for ...

Answered by: symhdl on: Jan 2nd, 2009

This is not truely the right answer.When you store data in oracle its terminated with a zero byte. For example when you store HELLO its stored as 5HELLO where is the zero byte. When you don...

Talk about "exception handling" in PL/SQL?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: krishnaindia2007 on: May 6th, 2008

A warning or error condition is called an exception. An exception may raise in a pl/sql block due to designing faults, coding mistakes or hardware failure. If an exception raises in a block ...

Answered by: g_sidhu on: Jan 31st, 2008

You can handle exception in two ways:– Trap it with a handler : If the exception is raised in the executable section of the block, processing branches to the corresponding exception handler...

How to find out the database name from SQL*plus command prompt?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: farhad1 on: Sep 24th, 2008

select * from global_name;

Answered by: satyam_Ora on: May 5th, 2008

SQL> select name from v$database;

NAME
---------
ORCL

How will you copy the structure of a table without copying the data?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: psingla on: Mar 8th, 2010

sql server:
 select * into
from
where 1=2

oracle:
create table as
select * from
where 1=2

Answered by: udayaveeramani on: Jul 3rd, 2009

select column_list into new_table_name from old_table_name where false_condition(ex. 1!=1)

What is the difference between "procedure" and "function"?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sushilmishra on: Jun 8th, 2009

* Stored procedure contains all DML stmt to perform operation With permanent table where user define function does not contain insert, update, delete stmt to modify the permanent table.* Stored proc...

Answered by: praveen34.tit on: Apr 2nd, 2009

The major difference between procedure and function is that 1. Procedure can be compiled only once and vice versa. 2. Execution of procedure is faster then function 3. Function can be used in select Q...

Difference between a "where" clause and a "having" clause?

Asked By: Beena | Asked On: Sep 19th, 2005

Star Read Best Answer

Editorial / Best Answer

Answered by: Ankush Sharma

Answered On : Sep 13th, 2011

Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between the two:

1. The WHERE clause specifies the criteria which individual records must meet to be selcted by a query. It can be used without the GROUP BY clause. The HAVING clause cannot be used without the GROUP BY clause.
2. The WHERE clause selects rows before grouping. The HAVING clause selects rows after grouping.
3. The WHERE clause cannot contain aggregate functions. The HAVING clause can contain aggregate functions.

for Example: if for an "Select" statement we use the "where" clause then the the result based on the "where" condition results and then we can use "group by" clause to arrange in some order, Now if we want to impose the condition on that group then we use "having" clause.

The main reason for using WHERE clause is to select rows that are to be included in the query. For example, assume table Test.Suppose I want the names, account numbers, and balance due of all customers from California and Los Angles. Since STATE is one of the fields in the record format, I can use WHERE to select those customers.

Using the code

Code
  1. SELECT cusnum, lstnam, init
  2. FROM Test
  3. WHERE state IN ('CA', 'LA')
  4.  
  5. CUSNUM LSTNAM INIT BALDUE
  6. ====== ============ ==== ========
  7. 938472 John G K 37.00
  8. 938485 Mark J A 3987.50
  9. 593029 Lily E D 25.00

Suppose I want the total amount due from customers by state. In that case, I would need to use the GROUP BY clause to build an aggregate query.

Code
  1. SELECT state,SUM(baldue)
  2. FROM Test
  3. GROUP BY state
  4. ORDER BY state
  5.  
  6. State Sum(Baldue)
  7. ===== ===========
  8. CA 250.00
  9. CO 58.75
  10. GA 3987.50
  11. MN 510.00
  12. NY 589.50
  13. TX 62.00
  14. VT 439.00
  15. WY .00

Using Having

Code
  1. SELECT state,SUM(baldue)
  2. FROM Test
  3. GROUP BY state
  4. HAVING SUM(baldue) > 250
  5.  
  6.  
  7. State Sum(Baldue)
  8. ===== ===========
  9. GA 3987.50
  10. MN 510.00
  11. NY 589.50
  12. VT 439.00

Answered by: Ankush Sharma on: Sep 13th, 2011

Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between ...

Answered by: Ankush Sharma on: Sep 13th, 2011

Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between ...

What cursor type do you use to retrieve multiple record sets?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: prathima on: Nov 3rd, 2005

ref cursor can be used to retrieve and return the multiple records

Answered by: rahultripathi on: Sep 21st, 2005

we are using explicit cursor to retrieve multiple row

Explain normalization with examples?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Rakesh on: Feb 7th, 2012

Normalization--To Reduce or to remove the redundancy in table we used Normalization and the normalization we can achieve by breaking of tables by this table is in Normalized.

Answered by: prabu on: Jul 13th, 2011

0NF "sql CUSTOMER ORDER (CustName, OrderNo, ProdNo, ProdDesc, Qty, CustAddress, DateOrdered) 1NF - remove multivalued attributes "sql CUSTO...

Difference - loading and linking?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: harsha419 on: Jul 7th, 2009

A linker takes several object files and libraries as input and produces one executable object file (or) Linking is simply the process of placing the address of a called function into the calling funct...

Answered by: abhishek on: Jan 2nd, 2007

Load -> Puts the CSECT(smallest executable unit) into main memory.Linking is a different cup of tea, this is done to make a module executable.The only way you can draw a relation between is wh...

Define and explain com?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: suraj on: Oct 17th, 2005

Component Object Model, or COM, is a Microsoft platform for software componentry. It is used to enable cross-application communication and dynamic object creation in any programming language that supp...

What is marshalling?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: chandu on: Jan 27th, 2006

The process of packing one or more items of data into a message buffer, prior to transmitting that message buffer over a communication channel. The packing process not only collects together values wh...

Answered by: shan on: Dec 7th, 2005

In a distributed environment, client sends its request as a bundle. its like adding header to the data. This process of bundling data is called marshelling.

What are the different process states?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: russpark on: Sep 29th, 2010

This varies by individual Operating System Vendor (AIX, HPUX, etc...) -here's what the man page for the ps command in hpux 11i v1 says:          &...

Answered by: laki.sreekanth on: Nov 19th, 2009

  • Kernal
  • User
  • Readyto
  • Orphan
  • Zombie
  • Sleeping
  • Run

Explain the following file systems: ntfs, macintosh (hpfs), and fat?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Ravindra Garg on: Nov 10th, 2005

NTFS--NTFS is a high-performance and self-healing file system proprietary to Windows XP 2000 NT, which supports file-level security, compression and auditing. It also supports large volumes and powerf...

What is semaphore?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sumit01_77 on: Jan 25th, 2006

In simple terms a Semaphore is a unit or resource which is used for synchrosation between two processes , it is kind of flag (in abstract terms) which every process will check before processing ahead to avoid the deadlock situationAshish

Answered by: praveenlaxmipalem on: Nov 25th, 2005

A semaphore is a type of Interprocess communication resource used for synchronization and mutual exclusion between any two asynchronous processes.

Operating system security?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Pruthvi on: Jul 12th, 2007

Hi
Yes, What you said is some what correct. But it doesnot fill what it supposed to. I mean operating system security is the preventic usage of hardware and software of system from viruses and invalid users.

Answered by: safar on: May 13th, 2007

Operating system security means in simple to secure your data from external attack, either from intruder or any damage.

Regards
Safar

Explain scheduling?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: lovely sethi on: Aug 25th, 2007

It is a process by whichuser work will proceed at the proper time, whether user is there or not.

Answered by: suhasiniballa on: Nov 18th, 2005

scheduling

Explain memory partitioning, paging, segmentation?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: amit.bansal07 on: Aug 4th, 2009

Memory Partitioning- means partitioning the memory into small units or blocks & load the data or code into the blocks, & use this data & code when required by a process.Paging- i...

Answered by: waris on: Jun 9th, 2006

explain segmentation and paging?

What are your solution strategies for "dining philosophers problem?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: suraj on: Oct 17th, 2005

P: philoshoferf1: forksOne solution is to order the forks and require the philosophers to pick the forks up in increasing order. In this solution the philosophers are labeled P1, P2, P3, P4, and P5 an...

Answered by: suraj on: Oct 17th, 2005

/* here is a c code may help u   by suraj */#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <semaphore.h>#include <pthread.h>#include "msecond....

What is concurrency? Explain with example deadlock and starVATion?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: raj on: May 17th, 2007

Deadlock:Two processes are said to be in deadlock situation if process A holding onto resources required for process B and where as B holding onto the resources required for process A.Starvation:This ...

Answered by: peter on: Jan 14th, 2006

A { wait_for(lock_1) {  do something that takes time  wait_for(lock_2) {   do something  } }}B { wait_for(lock_2) {  do somet...

Explain the UNIX kernel?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: jay prakash patel on: Aug 14th, 2011

Kernel is base foundation of operating system .The kernel provide services such as hardware and software interaction
and memory management. Efficiency of operating system is depend on efficiency of kernel.

Answered by: nayakss on: Dec 10th, 2008

Unix operating system derived into three different levels and the inner most level is Kernel. Who is the sole responsible of all the activites as scheduler, memory manager etc. The outmost level is Shell which connect to end user with the Kernel.

How does windows NT supports multitasking?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Sandhya.Kishan on: Jul 11th, 2012

Windows NT supports multitasking with the help of preemptive multitasking which is based on preemptive operating system. The operating system takes control of the processor from a task in two ways: W...

Answered by: peter on: Nov 1st, 2005

preemptive multitask

Explain the working of virtual memory?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Mohammed Mujahid on: Feb 8th, 2007

It is capacity of hard disk which is used by RAM for paging.

Answered by: nani on: Oct 13th, 2006

virtuval memory meabns separation of logical memory from physical memory.it is implemented by demand paging

What is inode?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: zorba on: Nov 3rd, 2007

an inode is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object

http://en.wikipedia.org/wiki/Inode

Answered by: moorthyvsm on: Sep 3rd, 2007

A unique number associated with each filename. This number is used to look up an entry in the inode table which gives information on the type, size, and location of the file and the userid of the owner of the file.

What is the difference between a 'thread' and a 'process'?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: nani on: Oct 13th, 2006

Program in execution is called Process
Thread is a flow of control in a program

Answered by: vishwa on: Sep 13th, 2006

Process is nothing but a program execution, each pogram having atleast a sequence, where thread is nothing but a sequence of program execution.

What is mutex?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: smokie brown on: Feb 19th, 2006

Mutex is a mechanism which is useful in coordinating mutually exclusive access to a shared resource. For example, to prevent two threads from writing to shared memory at the same time, each thread wai...

Answered by: suraj on: Oct 17th, 2005

1. Mutexes can synchronize threads within the same  process  or     in other processes. 2. Mutexes  can  be  used  to  synchronize  threads&...

How to handle Java tree in QTP

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: aarruunnaa on: Oct 3rd, 2007

 
please explain what is the abbreviation and the meaning of DOM.why it is used for.


plz mail the answer to aru576@yahoo.co.in also

Answered by: siddhartha on: Sep 23rd, 2005

Hi,    first of all we need to have a java add-in to handle a java tree.In tools option we have the "object identification" drop down list.There we have the java option to recognise the...

What is the difference between an object and an instance? And give me a real time example to differentiate these two?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Sarje on: Aug 15th, 2009

object and instance both are sameI think you want know the difference between reference and object.If so thenreference of any class type is a variable that can hold the reference(more or less we can s...

Answered by: pravinsharma on: Oct 15th, 2008

An object is part of a process/thread which demands processor time through the JVM.

The act of creating the object from a class is called instantiation.

In literary sense an instance is existance/occurrence of an object.

In this case a duplicate copy(instance) of an object is still the same object.

What is the basic difference between Java and .Net

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: akhilmisra on: Feb 8th, 2009

JAVA is platform independent while .Net works only for the MS platforms. .Net supports an array of languages while for working with J2EE you have only one option and that is 'JAVA". .Net work...

Answered by: krupananda on: Jun 17th, 2008

No thats not true. Java has a byte code editor too..
Refer : http://www.cs.ioc.ee/~ando/jbe/

The DBA has added state column to the customers table and has asked you to add acorresponding state item to the customers block of the orders form. You want to make it easier for order entry clerks to...

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sun_5 on: Dec 25th, 2008

Combo Box will be useful in this Scenario

Answered by: msathishkumar_be on: Mar 12th, 2007

The Combo Box is the best option for this cause it is only accept the user input when
compare with other list styles.

Can we set the time (by user) explicitly for garbage collection.?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sivanesh.a on: Dec 24th, 2006

Use ...System.gc() method

Answered by: Ravi Nagar on: Oct 24th, 2005

Even calling the garbage collector method doesn't ensure that garbage collection will take place. Its just a request method.

Is Java a fully object oriented programming or not? If not why?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: srusti on: Jun 7th, 2013

No, 100% sure Java is not fully object oriented programming language. Because multiple inheritance is one of the main concept in oops. But java doesnt support multiple inheritance and it uses primitive data types. hence its not object oriented language

Answered by: chaithanya chatla on: Dec 27th, 2012

Java is fully Oops language ..even though it is having primitive datatypes again it is having corresponding wrapper classes for each and every primitive datatype..

What is the use of aggregation when we have rollup as we know rollup component in abinitio is used to summirize group of data record. Then where we will use aggregation ?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sateesh44 on: Apr 12th, 2011

Aggregate and ROLLUP generates records that summarize groups of records. But Roll-up provides more control over record selection, grouping, and aggregation.

Answered by: jakirajam on: Sep 26th, 2010

Rollup is multistage component. It is working as a text mode and package mode.
In package mode user has to develop own logic. In text mode it work as a aggregate component.
It is one type of facility in roll up.

What are kinds of layouts does ab initio supports

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Ashim Dutta on: Oct 20th, 2005

Basically there are serial and parallel layouts supported by AbInitio. A graph can have both at the same time. The parallel one depends on the degree of data parallelism. If the multi-file system is 4...

In Oracle varchar2 takes dynamic space for storage then why char is still in Oracle?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Paras on: Feb 23rd, 2013

To Provide backward compatibility. i.e. program written in older version of Oracle might have CHAR used in it. The newer version should be compatible with it. Thats why CHAR is still there in Oracle ..

Answered by: Prasad on: Aug 18th, 2011

Since Char is fixed length , the processing speed will be more as there is no need of extra work to measure how much an instance of column is used the memory space. But in Varchar, the processor has ...

What is the difference between process and thread?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sneha on: Aug 23rd, 2011

A process is a collection of one or more threads thread is a subset of a process multitasking of two or more process is known as process based multitasking multitasking of two or more threads is kn...

Answered by: crazy19892002 on: Jul 29th, 2009

Process is program that is in execution, but threads are the division of process in multiple task simultaneously.

Cursor syntax brief history?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: prabakaran on: Sep 17th, 2005

To retrieve data with SQL one row at a time you need to use cursor processing.Not all relational databases support this, but many do.Here I show this in Oracle with PL/SQL, which is Procedural Languag...

Answered by: Prabakaran on: Sep 17th, 2005

To retrieve data with SQL one row at a time you need to use cursor processing. Not all relational databases support this, but many do.Here I show this in Oracle with PL/SQL, which is Procedural Langua...

Difference between store procedure and trigger?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: jpundalik on: Dec 30th, 2009

Below are the few difference between Stored Procedure and Triggers

Both are stored objects and stored in data base dictionaries

Stored Procedure
- Can pass parameters
- Manual execution required

Triggers:
- No parameters can be passed
- Automatical executed when the event occurs

Answered by: chennoju on: Aug 3rd, 2006

Stored procedure and Trigger both will be in the database in precompiled formate which ready execute, the main difference between these two isto execute the stored procedure programe need to type...

What do you meant by priVATe constructor? Why somebody declare only priVATe constructor.

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sampra on: Feb 15th, 2008

if we declare const as pvt thn can use in other class

Answered by: sujatham on: Jul 30th, 2007

If  we declare private  constructor   in a class ,another  class  cannot  create object for   that  class.

What is the job of quality assurance engineer? Difference between the testing & quality assurance job.

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Santhoshi Kotha on: Apr 26th, 2011

QA is the entire software development process-monitoring and improving the process, to make sure that any agreed upon standards and procedures are followed,ensuring the problems are found and deal wit...

Answered by: Divyavel on: Oct 30th, 2008

Testing involves Quality control and quality Assurance.Quality assurance is giving adiquate confidence to the customers

What is the disadvantage of paint method in applet

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Sandeep on: Nov 4th, 2005

The paint() method is called each time a Applet must be redrawn.

Give example of : high severity & low priority

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: nirmmal on: Feb 11th, 2007

Thr is a module in the application which is not at all working so it is given high severity but it will be have low priority if that module gets discarded for the release.

Answered by: sudhir deshmukh on: Nov 3rd, 2006

The example is :Suppose you have an login screen on which if you will enter a 100 word password (normally no one is using) than it will come under high severity but at the release time if you are not ...

Is there any difference between smoke testing & sanity testing ?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: nirmmal on: Feb 11th, 2007

A smoke test is a series of test cases that are run prior to commencing with full-scale testing of an application. The idea is to test the high-level features of the application to ensure that the es...

Answered by: swarna on: Oct 10th, 2006

Smoke testing is a DAY BY DAY TESTING.

sanity testing is done after recording or any modifications or chages are done.

What is the differences between JSP lifecycle and servlet lifecycle?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: Viresh on: Apr 18th, 2006

theoritically no difference.programatically jasper javac/jikesjsp----------> servlet(java file)---------------->servlet(class file)---------------------->

Answered by: shaik_masthan on: Dec 23rd, 2005

in servlet we can implement init,service and destroy method but in jsp we dont have any implementation for that i.e jsp container taking care of that implimentation . Finally only translation phase is different i.e jsp converted into servlet

It is a saying that static methods in Java programs should be minimised. What is the reason for this? Any problems arise or there is any performance measures to be looked into it.

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: geeksterrahul on: Jul 25th, 2009

One simple answer:Static(per class) members are created one instance/class loader/class instance. so they will reside until the class unloads(application closes).Meaning,they will stay during the life...

Answered by: sunil kulyana on: Jul 21st, 2006

Static variables and classesIn Java, usually a class member (variable or method) is accessed in conjunction with an object of its class. In the case of static variables and methods, it is possible to ...

What are the advantages and disadvantages of using views in ABAP porgramming ?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: srikanthgolla on: Aug 18th, 2010

Advantages: View is used to retrieve the data very fast from the database tables *memory wastage is reduced *faster than joins to retrieve the data from database tables Dis...

Answered by: prashanth on: Oct 27th, 2006

hi shivanagalakshmi garu my name is prashanth iam complited my mca in 2005 june 15.i learned testing but testing have more compition and but in testing they want 3+ years exp.can give one advise 2 me ...

What if storage limit of shared object repository exceeds its limit(2 mb).How this kind of situation can be handled?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sreenivas_nandam on: Sep 29th, 2008

You can use descriptive programming.

Answered by: Ritik1008 on: Sep 27th, 2008

We have to divide existing scripts (actions) into two or more scripts and use action based object repository where each action has its own repository.
So can we managewith storage limit of shared object repository.

Conduct a testing Java application which add-in's selected in winrunneer?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: nitin on: Oct 26th, 2005

what is the cost of licensed version of winrunner?can we use trial version for complete testing of software?

Answered by: vamsikrishna on: Oct 4th, 2005

Junit,Jmeter....etc., These are open source.............

What is the process of functionality testing?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: veena devi on: Oct 27th, 2005

when you do the testing in the project just we can check the functionality how to work the project here we cant test the code just how it works this module.

How to conduct testing in broken-links using winrunner?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: venkat on: Dec 21st, 2005

web_link_valid ("WinRunner", valid);with the above buit in function you can validate link................

How do I upload a file from client side to server side using servlet and JSP this will happen when I click upload button on web-page?

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: rameshbabukm on: May 26th, 2007

If u r using jsp then

ur form should look like this

<..form name="frmAddElement" method="post" enctype="multipart/form-data">

and a file upload tag

<..input name="fileupload" type="file" value="aaa"/>

and from the java side use the any open source file reader like

import org.apache.commons.fileupload.*;

which will read the file from http request content

Regards
Ramesh

Answered by: rajjava on: Sep 18th, 2005

<input type=file name=f>

X) main(){ printf("%x",-1

Asked By: Beena | Asked On: Sep 15th, 2005

Fff0explanation :-1 is internally represented as all 1's. When lEFT shifted four times the least significant 4 bits are filled with 0's.The %x format specifier specifies that the integer value be printed as a hexadecimal value

Answered by: xeejam on: Nov 11th, 2005

Depending on the machine implementation it will result in FFFFFF0 (for 32bit ) or FFF0 (16 bit )

Ix) main(){ int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

Asked By: Beena | Asked On: Sep 15th, 2005

Threeexplanation :the default case can be placed anywhere inside the loop. It is executed only when all other cases doesn't match.

Answered by: yogeesh on: Nov 8th, 2005

loop? or block?

Answered by: Lakshmi Prabha on: Oct 22nd, 2005

the output will be three because when execution takes place ,inside the switch the corresponding case 3(since i=3)is selected and as there is a break statement after it, it cmes out of the loop.

Viii) main(){ char *p; printf("%d %d ",sizeof(*p),sizeof(p));}

Asked By: Beena | Asked On: Sep 15th, 2005

1 2explanation:the sizeof() operator gives the number of bytes taken by its operand. P is a character pointer, which needs one byte for storing its value (a character). Hence sizeof(*p) gives a value of 1. Since it needs two bytes to store the address of the character pointer sizeof(p) gives 2.

Answered by: satyajitdas on: Aug 18th, 2007

ans is->1 4 as *p will give the value and char is 1 byte but p will print 4 because its an address so it will print 4 bytes

Answered by: aniljoo on: Feb 12th, 2007

ans is 1 & 2 bcoz *p is pointing to some char data which must be 1 byte and size(p) is 2 byte bcoz it is holding the address which is an integer

Vii)7. main(){ int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m);}

Asked By: Beena | Asked On: Sep 15th, 2005

0 0 1 3 1explanation :logical operations always give a result of 1 or 0 . And also the logical and (&&) operator has higher priority over the logical or (||) operator. So the expression i++ && j++ && k++ is executed first. The result of this expression is 0 (-1 && -1 && 0 = 0). Now the expression...

Answered by: abhimanipal on: Jan 30th, 2010

Although the answer posted above is correct. There is one mistake in the explanation. Beena says that && operator has higher precedence tha || operator so && is evaluated first. But in...

Vi) main(){ extern int i; i=20;printf("%d",i);}

Asked By: Beena | Asked On: Sep 15th, 2005

Linker error : undefined symbol '_i'explanation: extern storage class in the following declaration, extern int i;specifies to the compiler that the memory for I is allocated in some other program and that address will be given to the current program at the time of...

Answered by: ashoksurati on: Apr 11th, 2008

Extern is a kind of variable declaration,if we declare a variable as extern it can be accessable anywhere in the program.the accessing of the variable is doesn't depends on the scope.

TahnkU
Ashok

Answered by: pavan.mustyala on: Apr 11th, 2008

Extern is a key word in C that indicates the scope of a variable or function.This key word can be used with a variable when it is used across different files of a typical project.The variable is ...

LOOPS in C programming.

Asked By: Beena | Asked On: Sep 15th, 2005

Main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j

Recursion C program.

Asked By: Beena | Asked On: Sep 15th, 2005

Main() { static int var = 5; printf("%d ",var--); if(var) main(); } ans:5 4 3 2 1 explanation:when static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function,...

Iii) main(){ float me = 1.1; double you = 1.1; if(me==you)printf("i love u");else printf("i hate u");}

Asked By: Beena | Asked On: Sep 15th, 2005

I hate uexplanation:for floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than...

Answered by: sreelu on: Mar 15th, 2006

ans is i hate u because the of float and doubles are different. if condition is false.

Different ways of expressing the same idea.

Asked By: Beena | Asked On: Sep 15th, 2005

Main(){ char s[ ]="man"; int i; for(i=0;s[ I ];i++) printf("n%c%c%c%c",s[ I ],*(s+i),*(i+s),i[s]);} ans:mmmm aaaa nnnn explanation:s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally array name is the base address for that array. Here s is the base address. I is...

All the programs are tested under turbo c/c++ compilers. It is assumed that, programs run under dos environment, the underlying machine is an x86 system, program is compiled using...

Asked By: Beena | Asked On: Sep 15th, 2005

Answer: compiler error: cannot modify a constant value. Explanation: p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".

Answered by: Cranston Snord on: Oct 15th, 2007

This is misleading in that "void main()" would also be a bad idea- can cause the application to crash in some runtime environments.  Best to use int main(int argc, char **argv) instead.

Answered by: sam on: Mar 1st, 2006

error: increment of read-only location

When I add 4 times my age 4 years from now to 5 times my age 5 years from now, I get 10 times my current age. How old will I be 3 years from now?

Asked By: Beena | Asked On: Sep 15th, 2005

Let x= current age 4(x+4) +5(x+5) =10x4x+16+5x+25=10x9x+41=10x10x-9x=41so x= 41 yearsnow the age is 41+3=44years

Answered by: sivanesh.a on: Dec 24th, 2006

ANS: 44 YRS

Answered by: Divya on: Dec 2nd, 2005

Let x= current age
4(x+4) +5(x+5) =10x
4x+16+5x+25=10x
9x+41=10x
10x-9x=41
so x= 41 years
Now the age is 41+3=44years

A tennis championship is played on a knock-out basis, i.E., a player is out of the tournament when he loses a match.(a) how many players participate in the tournament if 15 matches are toTALLY played?(b)...

Asked By: Beena | Asked On: Sep 15th, 2005

A] see you don't need to sum it up. Since it's a knock out only 1 person emerges winner finally.So 15+1=16 because after 15 matches finally we should have 15losers and 1winner.B]49.Its always one less than no of players as perthe idea given above.

Answered by: sivanesh.a on: Dec 24th, 2006

16, 49

Answered by: annie abraham on: Feb 10th, 2006

as matches played 15 times,each time 2 player.so the game will end when one is out.so next person come.again game will start.there shoul be a winner at end of the whole game so total number of players are 31.

15*2+1 

A rich merchant had collected many gold coins. He did not want anybodyto know about them. One day, his wife asked, "how many gold coins do wehave?"after pausing a moment, he replied, "well! If I divide...

Asked By: Beena | Asked On: Sep 15th, 2005

37(x-y) =x^2-y^2. You no that x^2-y^2=(x-y)(x+y).So (x-y) cancels on both sides to give x+y=37.So sum of unequal halves=37 which is the req answer.

Answered by: vivekbhc on: Jul 21st, 2008

the merchant is having n gold coins he divides it into x and y37times the difference is 37(x-y)the squares of the two numbers is x^2 and y^2   so 37(x-y)=X^2-Y^2   (X^2-Y^2 = ...

GLenn and jason each have a collection of cricket balls. GLenn saidthat if jason would give him 2 of his balls they would have an equalnumber; but, if GLenn would give jason 2 of his balls, jason would...

Asked By: Beena | Asked On: Sep 15th, 2005

1. G+2=j-22. 2(g-2)=j+2.Solve these 2 to getj=14

Answered by: madhurimasridhar on: Mar 6th, 2009

Glenn said that if jason would give him 2 of his balls then they would have equal no of balls.
The no of balls of Glenn is G sayand jason is J say

given condition G+2 = J

another condition is that2 (G-2) = J+2

Solving these two condition we get J value as 10

Jason has 10 balls.

Answered by: vivekbhc on: Jul 21st, 2008

Glen+2=jason

2(glen-2)=jason

glen+2=2(gason-2)

glen+2=2jasong-4

so glen=6, jason=8

Monkeys and bananas:suppose 8 monkeys take 8 minutes to eat 8 bananas.(a) how many minutes would it take 3 monkeys to eat 3 bananas?Sol:each mky takes 8 min to eat a banana (b) how many monkeys would...

Asked By: Beena | Asked On: Sep 15th, 2005

8m=48 m=6

Answered by: L.ARULKUMAR, on: Feb 11th, 2007

1. Monkeys and bananas:Suppose 8 monkeys take 8 minutes to eat 8 bananas. (a) How many minutes would it take 3 monkeys to eat 3 bananas?My thought : 8 monkeys takes 8 minutes to eat 8 bananas So 1 monkey will take 8 minutes to eat 1 bananas So 3 monkey will take 8 minutes to eat 3 bananas.

Answered by: Sivakumar on: Dec 8th, 2005

8 monkeys take 8 mins to eat 8 bans.

so, 1 monkey take 8 min to eat 1 banana.

if 1 monkey eat for 48 mins it will eat 6 bananas

there are 48 bananas, so we need 8 monkeys giving 6 bananas each.

Vacation timeit was vacation time, and so I decided to visit my cousin's home. What a grand time we had! In the mornings, we both would go for a jog. The evenings were spent on the tennis court. Tiring...

Asked By: Beena | Asked On: Sep 15th, 2005

Use sets and venn diagram to solve such questions.A,b ,aub,anb etc.12=tennis+leave18=jog +leaveso jog-tennis=6again jog+tennis=14.So solve and get jog=10,leave=8,tennis=4.So tot=22

Old man wrinkleman wrinkle spent one-fourth of his life as a boy, one-eighth as a youth, and one-half as an active man. If man wrinkle spent 8 years as an old man, then how many years did he spend as an...

Asked By: Beena | Asked On: Sep 15th, 2005

(1/4)y+(1/8)y+(1/2)y =p; where y =total life time.Y-p=8.Since p=(14/16)ywe've y=64active age=32

Answered by: tmhasan7 on: Sep 20th, 2006

In case the above solution confuses.....

1. If x is total life

(1/4)x+(1/8)x+(1/2)x+px =x, where p is the proportion of oldage.

(1/4)+(1/8)+(1/2)+p =1

This gives px = 1/8x = 8 years,

2. This gives, total life, x = 64 years

3. One half of this is active age. So its 32 years.

A farmer has C chickens. A sack of feed comes for 9 days. As the feedcost is increasing the farmer sells some chickens and retains 12 chicken. If he reduces thefeed quantity by 10% .Then he observes that...

Asked By: Beena | Asked On: Sep 15th, 2005

C chickens can b fed for 9 days. So C chick can eat 1/9 in 1 day.So 1 chick can eat (1/9c) in one day. After his reduction one chick gets to eat only 90% of what it used to eat in one day.So new feed value=0.9*(1/9c) for 1day.But now he has only 12 chicks.That means as per new rule feed is suitable for...

A train travels at a particular speed for a duration of one hour, after which one of its engine malfunctions reducing its speed to 3/5th of the actual speed before theoccurrence of fault in engine. It...

Asked By: Beena | Asked On: Sep 15th, 2005

Let the actual speed of train be x miles/hour. After fault its speed will be reduced to 3x/5 miles/hour. If we could find the speed of the train, we will get the solution!!!By seeing one can find that time difference( 45 minutes) occur between two cases, in the 50 miles distance traveled by the train...

Answered by: Scott McGillivray on: Jul 30th, 2006

I get 366.67 miles.Let v = train full velocityLet d = distanceCase 1 - train goes (1 hour * v) + (2 hours * 3 v / 5) = d Therefore d = v * 2.2 hoursCase 2 - train covers 50 miles...

Answered by: Praveen on: Jan 12th, 2006

Case first : let us assume speed to train be x miles/hours Total distance travelled in case 1 = x*1 + 3x/5*2 = 11x/5 milesCase 2 : Total distance travelled in case 2 = x+50 + 3x/5*(2-45/60) = 50 +7x/4...

A man wearing a hat stands on a bridge across a river. At an instant his hat falls into the river and starts flowing along with the stream at the same speed of the stream.At the same instant the man jumps...

Asked By: Beena | Asked On: Sep 15th, 2005

Let the swimming speed of man be = a yds/min.Speed of stream = b yds/min.Then the man swims at (a-b) yds/min. Against the stream.And (a+b) yds/min in direction with the stream.Lets assume the man covered a distance of x in 10 min swim up the stream at speed (a-b).The time taken by him to cover the same...

A and b are two friends, together they go out for shopping. A buys a hat and a suit,all together a spends 15 rupees. B buys a hat which costs same as the suit bought bya. B even buys a dress which cost...

Asked By: Beena | Asked On: Sep 15th, 2005

Lets say a spent x and y rupees on hat and suit respectively. From the conditions we can say b spent y and x-1 rupees on hat and dress respectively. From what b told to a we can write that.....=> x + y = 15 = (3/2)x + (x-1)=> (3/2)x + (x-1) = 15=> (5/2)x - 1 = 15=> (5/2)x = 16=> x = 16 * (2/5)=> x =...

Answered by: neha verma on: Apr 23rd, 2007

in ur equation (3/2)x + (x-1)
 you havnt considered da cost of suit bought by A

A bag contains 20 yellow balls, 10 green balls, 5 white balls, 8 black balls,and 1 red ball. How many minimum balls one should pick out so that to make surethe he gets at least 2 balls of same color.

Asked By: Beena | Asked On: Sep 15th, 2005

6 balls

Answered by: manojthesingham on: Dec 4th, 2009

Remind that there's only one red ball

so that the minimum will be at the 6 ball.

Answered by: sivanesh.a on: Dec 24th, 2006

ANS: 6

Two trains each 1/6 mile in length run in opposite dirctions to each other with equal speed of 60 miles/hour. What is the time taken to completelycross over the two trains.

Asked By: Beena | Asked On: Sep 15th, 2005

Speed at which two trains travel towards each other = 60+60 = 120 miles/hour.Total length to be covered = (1/6)+(1/6) = 2/6 mile.Time to taken to cover 2/6 mile at speed of 120 miles/hour is.....(2/6)/120 = 1/360 hour = 10 seconds.

Answered by: ganesh on: Jan 2nd, 2007

Hi,   I am doing B.E IIyr.I ve doubt how come you could say that the velocity is 120mile/hr......actually it appears to be twice the velocity of each but actually.....so are you tr...

Answered by: sivanesh.a on: Dec 24th, 2006

10 SECONDS

A cube of 3cm side is colored red on all of its six faces. It is cut intosmall cubes of side 1cm each. (a) no. Of small cubes with 3 faces colored red (b) no. Of small cubes with 2 faces colored red(c)...

Asked By: Beena | Asked On: Sep 15th, 2005

(a) no. Of small cubes with 3 faces colored red : 8(b) no. Of small cubes with 2 faces colored red: 12(c) no. Of small cubes with 1 face colored red : 6(d) no. Of small cubes with no faces colored red: 1

Answered by: manojthesingham on: Dec 4th, 2009

Extended CUBE sumHere we cut Cubes into 3 equal parts on each side  n = 3,   3faces=8;  2faces=12;  1faces=6;  0faces=1; n = 5,   ...

Answered by: keerthi on: Sep 18th, 2007

I got your formula but not able to understand why did u take n=3

is that to do with 3cm size

A prisoner tried to escape from the jail in five different ways infive consecutive days from monday to friday, but in vain.The five ways are....(a)tried to bribe the jailer of the prison.(b)tried to escape...

Asked By: Beena | Asked On: Sep 15th, 2005

From condition 1 and 3 we can say that the prisoner tried to escape inmethods a,b,c in order on 3 consecutive days. From conditions 2 and 3 andthe order for a,b,c we can say that the order for thursday and friday wase, d in order.So, the order from monday through friday will be a,b,c,e,d.

Answered by: A.K.Prajapati on: Nov 7th, 2008

the order is: a,b,c,d,e.

Answered by: ankur midha on: Oct 19th, 2005

ans- a,b,c,d,e

There are 15 poles in a straight line each equally placed from each other. The time taken to reach the 10th pole after a man startswalking from 1st pole is 10 seconds. What is the time required to reach...

Asked By: Beena | Asked On: Sep 15th, 2005

Let any two poles be placed x units apart. Distance between 1st and 10th pole=(10-1)x=9x units.Distance between 1st and 15th pole=(15-1)x=14x units.If time taken to cover 9x units is 10 seconds, then time taken to cover 14x units is..... (10*14x)/9x = 15.55 seconds.

Answered by: manohar on: Apr 13th, 2006

The time taken to cross the poles from 1st pole to 10th pole(i.e, 9 poles ) is 10 sec.

Then the time taken to cross 1 pole is 10/9 sec.

Therefore the time taken to cross the poles from 1st pole to 15th pole(i.e, 14 poles) is (10/9)*14=15.55 sec.

 

 

B.V.Manohar

K.E.C

A solicitor says to his friend that its one hour before the end of the summer; when can we have our meeting?Friend: we can meet 11 hours after the town clock has 10 seconds to strike.Solicitor: doesnt...

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: Rama on: Apr 1st, 2006

The clock strikes 1 sec for each intreval......tat means.....

if it is goin to strike for 10 sec.....it will be 11(am or pm)....

11 hrs after clock strikes for 10 sec means....11 hrs after 11

tat ia after 22 hrs

I guess......AM I RIGHT?

Answered by: Ekta on: Nov 25th, 2005

Sinc there are 10 sec betwn 11 hrs(11 hrs = 10 intervals), 1 sec is betwn 2 hrs.. so they meet after 2 hrs.

A farmers wife says to her husband if we have 75 chickens, they can be fed for 20 days and if still more 100 chickens are there they can be fed for only 15 dayshow many chickens does the farmer have?

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: archana on: Apr 2nd, 2006

No.of chicken, No.of days to serve them food are inversely proportional. x chicken->y days (x-75) ->(y+20) (x+100) -> (y-15) xy=(x-75)(y+20)=(x+100)(y-15)(x-75)(y+20)=(x+...

Answered by: thomasren on: Nov 9th, 2005

175

Last year my cousin came to my place and we played a game where the loosing one has to give one chocolate to the person who won the game .At the end of the vacation, i.E the day my cousin was leaving she...

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: gettopooja on: Jul 19th, 2006

as one had won 12 games but still gave other 8 chocolates therefor total number if games is 12+12 +8=32 ans

Answered by: neetu on: Apr 1st, 2006

32 days

A person is 80 years old in 490 and only 70 years old in 500 in which year is he born?

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: ROHIT NETHIKAR on: Mar 8th, 2006

yeah he must have born in BC 570

hence in BC 500 he will be 70 years

and in BC 490 he will be 80 years

Answered by: Prasanna on: Sep 30th, 2005

He must be born in 570 BC :)

A man drives with constant speed and then after some time he sees a milestone with 2-digits.Then he travels for an hour n sees the same 2 digits in reverse order. And then after an hour he sees that the...

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: neetu on: Apr 1st, 2006

45 mph

Mile stones that were seen 16,61,and 106.

Answered by: ankurmiddha on: Oct 23rd, 2005

ans - 45

Trains leave from new york to washington every hour on the hour (1:00,2:00....).Trains leave from washington to new york every hour on the hour and half hour(1:00,1:30,2:0,2:30....).It takes a train 5...

Asked By: Beena | Asked On: Sep 15th, 2005

Answered by: mehta_purvi17 on: Nov 7th, 2006

Ans:-6

Answered by: S.KANNAN on: Aug 3rd, 2006

yes the ans is 21 only.1.00 clock train from newyork met the train8am to 6 pm trains from washington.u r all seeing only from 1.00 o clock train.there r also train b4 1 o clock tat is 12.30,12.00,1.30,1.00.............

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: