Question

Draw ERD for an Real Time Traffic Management System. Make necessary assumptions

15 Sep 2022
Answer :
Word Count : 450

An entity-relationship diagram (ERD) is a graphical representation of entities and their relationships to each other. Here's an ERD for the Real Time Traffic Management System, with necessary assumptions:

+-------------------+         +-----------------------+       +---------------------+
| Traffic Authority | <------- | Traffic Management    |       | Vehicle             |
|                   |          | System                |-------|                     |
___ _______ ___ ______ ______ _________ ___ ____.
__________ _________ _______ _____ ____ ___ ____ __________.
_____ ________ ________ __________ ____ ___ _________ ___ _________ _____ ________.
__________ _________ _________ ______ ________ ___ _________ _________ ___ ____ ______ ___.
_________ ________ __________ ______ ______ ___ _____ _____.
___ _______ ______ ________ _____ __________ ________ _____.
____ _____ _______ _____ __________ _______ ______ ______ _______.
________ _____ ___ ______ _________ _______ ________ ____ _________ __________ ___.
_____ ______ ____ _____ ____ ______ _________ __________ __________.
_________ _________ ____ _______ ______ __________ ________ ______ _______ ____ __________ _____.
__________ ____ _________ __________ ______ _____ _______ _________ __________.
____ ____ ________ ___ ____ __________ ________ _______ _______.
________ ______ ___ _____ _______ ___ ________ _________ ___ _____ _________.
________ _______ ________ ________ ________ ________ ____ ___.
__________ ____ ________ ________ ___ ____ __________ __________ ________ _________.
______ ________ __________ ________ ________.
___ __________ ___ ____ __________ ___ _______ ______.
_____ __________ ___ ________ _________ _____ _______ ____ ___ ___ ___.
____ _________ ________ _______ ___ ___ _____ ________ _______ ______ ____.
_______ ________ _______ ________ ________ _____.
______ _____ ____ ____ ______ __________.
___ ______ ___ __________ _______ _____ ____ _______.
__________ _____ ______ ___ _______.
______ ______ _____ _______ ____ ________ __________ _____ ________ _________ _________ _________.
__________ _____ _________ ____ ______ ___ ____.
________ ________ ____ ___ ____ _________ _________ _________ ___ __________.
___ _________ ______ _________ _____ ____ ________ _____ _________ _______ _______.
___ ___ ________ ______ _________ _____.
_________ ______ __________ ________ _________ ____ __________ _____ _____.
____ _________ __________ _______ _____ _______ ______ _________.
__________ _______ _________ _____ _____ _________ _____.
____ ______ _______ _______ ______ _______.
_____ ______ _____ ___ _______ _____.
_______ ____ ___ _______ __________ ______ ____ __________ ______ ____ __________.
__________ _____ ___ ___ ______ ______.
_______ _______ _______ ___ _________.
______ _______ _______ ________ ___ _______ ____ _______ ___.
________ _______ __________ ______ _________ ____ ____ __________ __________.
___ _______ _____ ______ ________ ____ ___ ____ ______.
_________ ______ ______ ____ ________ ______ ____ _____ _________.
________ _________ _____ ________ ________ ___ ____ __________.

IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
'; fetch( "query.php?type=1&method=0&lr=0&app=401&mycartproduct=1", { method: "GET", cache: "no-store" } ) .then(function(response) { if (!response.ok) { throw new Error( "HTTP " + response.status ); } return response.text(); }) .then(function(html) { loader.innerHTML = html; /* Your existing function, if available. */ if (typeof updateTotals === "function") { updateTotals(); } else { calculateCartTotal(); } }) .catch(function(error) { console.error( "Cart loading error:", error ); loader.innerHTML = '
Unable to load cart.
'; });}/* ========================================================= CALCULATE TOTAL========================================================= */function calculateCartTotal() { let subtotal = 0; /* Looks for .item-price inside AJAX products. Examples accepted: ₹200 ₹200.00 Rs 200 Rs. 200 200 200.00 */ const prices = document.querySelectorAll( '#loadmycart .item-price' ); prices.forEach(function(element) { let text = element.textContent || ''; text = text .replace(/₹/g, '') .replace(/Rs\.?/gi, '') .replace(/,/g, '') .trim(); let value = parseFloat(text); if (!isNaN(value)) { subtotal += value; } }); updateCartDisplay(subtotal);}/* ========================================================= UPDATE TOTAL DISPLAY========================================================= */function updateCartDisplay(total) { const subtotalElement = document.getElementById('subtotal'); const totalElement = document.getElementById('total'); const checkoutButton = document.getElementById('checkoutButton'); const noItems = document.getElementById('noitems'); const amount = Number(total) || 0; if (subtotalElement) { subtotalElement.textContent = '₹' + amount.toFixed(2); } if (totalElement) { totalElement.textContent = '₹' + amount.toFixed(2); } /* EMPTY CART */ if (amount
Top