Alarm Input Management

What have you tried? Can you reliably read the switches? Can you make the LED turn on and off? Can you make the buzzer make noise? Once you can do those things (and there are examples for each), you know that the wiring is correct, and that the hardware works. Combining the examples to create a finished sketch is not that difficult. Or, it wouldn't be if your requirements weren't so vague.

You need to make the requirements exact - no terms like fast and slow. Define exactly what fast means. Define exactly what slow means.