The document describes the algorithms for several scheduling and memory management problems: 1) Priority scheduling assigns processes priority and processes the highest priority process first. Round robin scheduling allows each process to run for a time quantum before switching to another process. 2) The barber shop problem simulates customers getting haircuts from barbers, with queues if seats are full. 3) The dining philosophers problem models resource allocation to avoid deadlock between philosophers eating with shared chopsticks. 4) The banker's algorithm prevents deadlock by checking resource requests do not exceed availability. 5) FIFO and LRU page replacement replace the oldest or least recently used frame when a new page is needed.