This document appears to be an exam for a course on ad-hoc wireless sensor networks. It contains instructions for a midterm exam with 16 multiple choice questions covering topics like security routing, key management, MAC protocols, and programming challenges for sensor networks. It also contains 5 longer answer questions worth 8 marks each, covering topics such as battery management schemes, quality of service challenges in ad-hoc networks, security differences between ad-hoc and infrastructure networks, wireless sensor network architecture, and quality of sensor networks. The exam is worth a total of 120 marks and is for an M.Tech II semester course on ad-hoc wireless sensor networks.