technical interview Q & A for high-tech professionals
Interview Questions
Electronics Hardware
Computer Software
Quick Thinking Tests
General questions
Phone screening questions
Submit your Q or A

Technical articles
Technical discussion
Resume and interview
How to get a job in Silicon Valley
How much are you worth on market?
Do you need an agent?

Break point
Written Exam
Logic Tests
Professional Test
Tomato company
Cup of coffee
How stock market works
Engineering jokes

About Hitequest
About Hitequest
Home page


=Electronics Hardware Questions=



You have 2 switches to control the light in the long corridor.
You want to be able to turn the light on entering the corridor and turn it off at the other end.
Do the wiring circuit.

A: this is how I would connect the switches


let's put switch "A" at one end of the corridor and the switch "B" at the other end. Then, lamp = A XOR B.

XOR is correct for your diagram. However, if you connect switches A and B differently, then XOR is inverted. That means when both switches are up (1) OR both are down (0)