Capgemini Interview Question

Introduction,Some Basic Technical Question and asked us to write a small codes like prime number and asked us some simple logical questions like 3 bulbs find the switch,etc..