[SOLVED] CSE308 Assignment 2-Queue Management System

30.00 $

Category: Tags: , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Offline-2-t2dy2b.zip (118.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
Rate this product

Consider a company producing a Queue Management System. The components of the Queue Management System are described as follows:

  1. Display unit for each of the booths in the service center.
    1. A use ATMega32, Arduino Mega or Raspberry Pi for receiving and processing data from

      web-based control unit.

    2. The display system could be LCD panel or LED matrix
  2. An application to control the display units over the Internet.
  3. The communication system for communication between the display unit and controller

    application

    1. We can think of WiFi connectivity through broadband service or mobile data service
    2. WiFi service requires WiFi module to communicate with the base station
    3. For mobile data we need SIM card for communicating
  4. The control unit can control multiple number of display units

You are to implement a web-based system that takes the sales order of the queue management system that selects the following:

β€’ The name of the Queue Management System specified as follows: o Deluxe: LCD panel with Raspberry Pi
o Optimal: Arduino Mega with LED matrix
o Poor: ATMega32 with LED matrix

  • The communication channel
  • The number of display units

    You have to determine the cost of the total system as well as description of the system. Cost of the following must be considered: processor, display, communication module, web-based controller application, yearly communication cost.

You have to use creational design patterns to demonstrate the above-mentioned web-based system. Do not develop the web-based application here. It is sufficient to demonstrate it through regular input and output command from the prompts.

Problem 2: [8 Points]

Assume that you are trying to implement syntax highlighting in a programming language editor. The editor currently supports 3 languages (C, CPP and Python). To perform this, you need to be able to parse the .c, .cpp and .py source files. Each language has specific rules of parsing. All the parsers implement an interface named Parser which contains all the functions required to parse a file. There is an Interface for the fonts of the source codes. The editor uses Courier New, Monaco and Consolas font for C, CPP and Python respectively. Assume that multiple instances of the editor cannot run simultaneously. The input will be the file name with extension and the output will be the selected font while showing environment and parser name when running parsing method of the editor.

Tasks:
β€’ Identify the design pattern(s) that can best capture the scenario above. β€’ Implement the scenario in Java

  • Offline-2-t2dy2b.zip