JavaScript is required

Nguyên lý hoạt động của hàng đợi là?

A. LIFO
B. LILO
C. FIFO
D. FILO
Trả lời:

Đáp án đúng: C


Hàng đợi (queue) là một cấu trúc dữ liệu hoạt động theo nguyên tắc FIFO (First-In, First-Out), nghĩa là phần tử nào được thêm vào trước thì sẽ được lấy ra trước. LIFO (Last-In, First-Out) là nguyên tắc của ngăn xếp (stack), còn FILO (First-In, Last-Out) và LILO (Last-In, Last-Out) không phải là các nguyên tắc hoạt động chuẩn của cấu trúc dữ liệu.

This is a comprehensive multiple-choice question bank for the Microprocessor 1 course, tailored for Electrical - Electronics Engineering students. It covers core topics such as microprocessor systems, data representation in computers, the architecture and instruction set of the 8086 microprocessor, assembly language programming, and the 8051 microcontroller.


50 câu hỏi 60 phút

Câu hỏi liên quan