Top Banner
1 SUN BANK SIMULATION SUN BANK SIMULATION By SUN LABS
12

SUN BANK SIMULATION

Jan 02, 2016

Download

Documents

ila-ross

SUN BANK SIMULATION. By SUN LABS. IDEA OF THE PROGRAM: The Program shows the time simulation of at what time customer gets in the Queue and how much time does it takes for the customer to reach the counter for its request to be processed, and then how much time customer spends on the counter. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SUN BANK SIMULATION

1

SUN BANK SIMULATIONSUN BANK SIMULATION

By SUN LABS

Page 2: SUN BANK SIMULATION

• IDEA OF THE PROGRAM:• The Program shows the time simulation of at what time

customer gets in the Queue and how much time does it takes for the customer to reach the counter for its request to be processed, and then how much time customer spends on the counter.

• The Customers are being processed in FIFO structure to maintain the Queue.

2

Page 3: SUN BANK SIMULATION

DATA STRUCTURE : QUEUE

3

What is a Queue ? Queue is way to Organize Data in a FIFO (First in First Out) Format

Operations of Queue Enqueue Dequeue Clone

Page 4: SUN BANK SIMULATION

OPERATIONS OF QUEUE

4

• Enqueue: • It allows to Insert an item / member in the Queue

• It uses Class’s Object as a reference

• Dequeue:• It Allows to Remove an Item / member from the Queue following the FIFO

format

• Clone:• It Copies the Queue in another Queue Keeping all its Properties and members

same

Page 5: SUN BANK SIMULATION

5

• Add to Queue:• Members are Added in the Queue by filling up the Text Fields and pressing Add to

Queue button.

• Members are Placed at the End of Queue for FIFO structure to be followed

• Process: • Sends you to the Processing Counter for User Information to be Processed using

Queue Structure.

Implementation of Queue

Page 6: SUN BANK SIMULATION

6

• Dequeue:• Members are Deleted From the Queue and place their values in text fields to be processed

• Save: • Make two files• First with the name of customer with their account details in it.• Second Named as Dequeue keeping the Record of user with their time taken to Process

their requests

• Timer: • It calculates the time taken by taken by each customer since their arrival till their request is

being processed.

Processing a Queue

Page 7: SUN BANK SIMULATION

7

Page 8: SUN BANK SIMULATION

8

Page 9: SUN BANK SIMULATION

9

Page 10: SUN BANK SIMULATION

10

Page 11: SUN BANK SIMULATION

11

Page 12: SUN BANK SIMULATION

FILE VIEWS

12