Google interview questions

Category: General Question    |    1 views    |    Add a Comment

You have to get from point A to point B. You don’t know if you can get there. What would you do?

Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?

What method would you use to look up a word in a dictionary?

Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announce that at least one husband has been unfaithful. What happens?

You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you fine the ball that is heavier by using a balance and only two weighings?

How do you cut a rectangular cake into two equal pieces when someone has already taken a rectangular piece from it? The removed piece an be any size or at any place in the cake. You are only allowed one straight cut.

How many piano tuners are there in the entire world?

What gives you joy?

Mike has $20 more than Todd. How much does each have given that combined they have $21 between them. You can’t use fractions in the answer. Hint: This is a trick question, pay close attention to the condition)

How many times a day a clock’s hands overlap?

Two MIT math graduates bump into each other. They hadn’t seen each other in over 20 years.
The first grad says to the second: “how have you been?”
Second: “Great! I got married and I have three daughters now”
First: “Really? how old are they?”
Second: “Well, the product of their ages is 72, and the sum of their ages is the same as the number on that building over there..”
First: “Right, ok.. oh wait.. I still don’t know”
second: “Oh sorry, the oldest one just started to play the piano”
First: “Wonderful! my oldest is the same age!” Problem: How old are the daughters?

If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands? (The answer to this is not zero!)

Four people need to cross a rickety rope bridge to get back to their camp at night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it’s only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minutes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes?

If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?

In a country in which people only want boys, every family continues to have children until they have a boy. if they have a girl, they have another child. if they have a boy, they stop. what is the proportion of boys to girls in the country?

You have an empty room, and a group of people waiting outside the room. At each step, you may either get one person into the room, or get one out. Can you make subsequent steps, so that every possible combination of people is achieved exactly once?

Share/Save/Bookmark

 

Interview questions for a low-level programmer

Category: General Question    |    1 views    |    Add a Comment
  1. What is assembler?
  2. What is linker?
  3. What is debugger?
  4. What is compiler?
  5. What is locator?
  6. What is emulator?
  7. When divide overflow error occurs?
  8. What does .startup stand for?
  9. Explain the logic of array addition program.
  10. Explain the logic of finding out negative numbers from an array of signed numbers.
  11. Explain the logic of code conversion (BCD to hex and hex to BCD) program.
  12. Explain the logic of multiplication (by successive addition and shift and add method) program.
  13. Explain the logic of non overlap and overlap block transfer program.
  14. Explain the logic of string-related programs.
  15. Which assembler directives are used with near procedure?
  16. Which assembler directives are used with far procedure?

Share/Save/Bookmark

 

x86 programming interview questions

Category: General Question, HR Interview Questions    |    0 views    |    Add a Comment
  1. What is an interrupt?
  2. Which are the hardware and software interrupts in 8086?
  3. Mention the priority of interrupts in8086.
  4. What is int1, int2, int3?
  5. What is NMI interrupt?
  6. What is IVT in 8086?
  7. What is the size of IVT?
  8. Where IVT is located?
  9. Which steps 8086 follows to handle any interrupt?
  10. What are the types of interfacing?
  11. Compare memory interfacing and IO interfacing.
  12. What are the types of IO interfacing?
  13. What is the difference between direct and indirect IO interfacing?
  14. What is the difference between memory mapped IO and IO mapped IO interfacing?
  15. What is the difference between DOS and BIOS?
  16. What do u mean by handle in simulation of dos copy command?
  17. Which functions of INT 21 are used for performing following operations on file- opening, creating, reading, writing & closing the file?
  18. Explain the logic of simulation of DOS COPY COMMAND program.
  19. What is the difference between .com &.exe programs?
  20. What is directive org 100h? Where it is required?
  21. What is the size of .com program?
  22. How to convert .exe programs to .com programs?
  23. What is TSR?
  24. How TSR programs are different than normal programs?
  25. What is PSP? What is its significance?
  26. What is type 0 or divide by 0 error?
  27. In TSR what is the significance of the following functions of INT 21h: 35h, 25h, 31h?
  28. What are the applications of TSR program?
  29. Explain the logic of real time clock TSR program.
  30. Explain the logic of ‘div by zero’ TSR program
  31. Which parts is transient & residence part of your program?
  32. Which are the functions used in RTC & divide by 0 screen saver explain?

Share/Save/Bookmark

 

general questions from an international company

Category: General Question, HR Interview Questions    |    2 views    |    Add a Comment

A TechInterviews reader sent in the questions he faced at a major global company. The questions are fairly generic:

  1. Tell me about your analytical skills, cite some examples of how you have used your skills in the past.
  2. What are some of your long term goals?
  3. What are your short term goals?
  4. Where do you see yourself five years from now?
  5. Tell me why I should hire you?
  6. What does customer service mean to you?
  7. Why did you leave your last job?
  8. Describe your definition of a team player?
  9. Sight examples of when in the past you have proven to be a team player?
  10. How would you handle a conflict with another employee?
  11. What do you believe you can gain by working at this company?
  12. Give me some examples of times in the past, when you were able to avoid a conflict, by thinking on your feet. Tell what you know about this company.

Share/Save/Bookmark