Project - Artificial Intelligence - ثالث ثانوي

Project Service is provided to bank customers based on their time of arrival at the branch. The bank has one cashier and the average service time per customer is 2 minutes. The queue cannot exceed 40 people in the bank. 1 Create a Python program which will get one of the import values: "ENTRY" or "NEXT". • If you enter the value "ENTRY", it will read the name of the customer and immediately after that will show the number of people waiting in front of the costumer. If the queue is full, then the message "The branch is full. Come another day." will be displayed. • If you enter the value "NEXT", the name of the next customer to be served should be displayed. 2 Repeat the above process until there are no customers waiting for service. 3 وزارة التعليم Ministry of Education 68 2024-1446 Finally the program will display on the screen: • The number of people served. • The average customer waiting time.

Project

Project

Wrap up Now you have learned to: > Define what Al is. > Categorize the applications of Al. > Classify data structures. > Identify the differences between stack and queue data structures. > Identify the differences between list and linked list data structures. > Identify the differences between tree and graph data structures. > Implement complex data structures using Python. KEY TERMS Binary Tree Child Data Structure Ministry of Education 2024-1446 Decision Tree Dequeue Directed Graph Dynamic Front Index Leaf Linear Linked List Non-Linear Non-Primitive Null Pointer Push Rear Root Siblings Stack Sub-Tree Top Underflow Undirected Graph Graph Pop Head Primitive 69

Project

Now you have learned to:

KEY TERMS