Lamp Developer

filter-iconFilter interviews by

Lamp Developer Interview Questions and Answers

Updated 2 Apr 2015

Q1. A hash function was written to convert a string into a hash. Write a un-hash function to revert it(from hash to string)?

Ans.

Use a reverse algorithm to convert the hash back to the original string.

  • Identify the algorithm used to create the hash

  • Create a reverse algorithm to undo the hash function

  • Apply the reverse algorithm to the hash to get the original string

Q2. Find angle between hour hand and minute hand in clock if time is given? Write a program or pseudo code?

Ans.

Calculate angle between hour and minute hand of a clock given time

  • Calculate hour hand angle based on current hour and minute

  • Calculate minute hand angle based on current minute

  • Calculate absolute difference between two angles

  • Return smaller angle between two angles

Q3. Puzzle – 25 horses – 5 lanes, find fastest 3 horses?

Ans.

25 horses race in 5 lanes, find fastest 3 horses.

  • Divide horses into 5 groups of 5 horses each.

  • Conduct 5 races with each group of horses.

  • Take the top 3 horses from each race and conduct a final race to determine the fastest 3 horses.

Q4. Write a regex for email validation?

Ans.

Regex for email validation

  • Start with a string of characters followed by '@' symbol

  • Followed by a string of characters, numbers, hyphens, or dots

  • End with a string of characters, a dot, and a 2-6 letter TLD

Lamp Developer Jobs

Lamp Developer 6-9 years
Bounteous x Accolite
3.4
Hyderabad / Secunderabad
PHP LAMP Developer 4-9 years
CashKaro.com
3.7
Chennai
Lamp Developer 1-4 years
RGB Webtech
0.0
Chandigarh
Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.8
 • 312 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Recently Viewed
SALARIES
Fiserv
COMPANY BENEFITS
Zomato
No Benefits
REVIEWS
Yazaki
No Reviews
REVIEWS
Capgemini
No Reviews
REVIEWS
Zomato
No Reviews
SALARIES
Google
DESIGNATION
JOBS
Browse jobs
Discover jobs you love
JOBS
Faasos Food Services
No Jobs
Lamp Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter