Engineering Faculty
Engineering Faculty • EMI Resource Hub

Resources — Engineering

Engineering Video (MP4 / Stream)

Teaching EMI Class - Engineering

The material focuses on teaching the concept of Queue (antrian) in data structures, emphasizing the First In, First Out (FIFO) principle where the first element entered is the first to be removed. It explains queue operations such as enqueue (adding data at the tail), dequeue (removing data from the front), checking if the queue is full or empty, counting elements, displaying contents, and deleting all data. The queue is implemented both through arrays and linked lists, demonstrating how memory is managed and manipulated during insertion and deletion of data. Real-world applications such as CPU process scheduling and print job management are presented to illustrate the importance of queues. Throughout, the material includes C++ code examples and step-by-step illustrations to solidify understanding of queue operations and implementation mechanisms.

Play