Question
What is Checksum? Write algorithm for Checksum.
Answer :
Word Count : 159
Definition of checksum :---- It is a sum derived from the bits of a segment of computer data that is calculated before and after transmission or storage to assure that the data is free from errors or tampering.
Checksum Algorithm:--
_______ __________ ______ _________ _____ _________ ____ ____ ________ ______ ___ _________.
__________ ________ ________ _______ ________ __________ _______ ____ __________ ______ ________.
_______ _____ _________ ______ ____ ________ ___.
______ _________ ________ ____ _______ _____ ____.
_____ _______ ___ ______ _______ _____.
___ ______ _____ ________ __________ ____.
____ __________ __________ ____ __________ _________ ________ _____ _______.
____ _________ _______ _________ ______.
_______ ________ _________ _______ ________.
___ ___ _______ __________ _______ __________ __________ _______.
__________ _____ ______ _____ ______ ___ ____ ________ ___ ______ _______ _____.
____ _________ _____ __________ _____ ___ ____ ___ ______.
_________ ________ _________ __________ ___ ___ ________ ___ ________ _______.
______ _________ _________ ______ ____ ____ ________ _______.
______ ______ _________.
Skip in 10
__________ ________ ________ _______ ________ __________ _______ ____ __________ ______ ________.
_______ _____ _________ ______ ____ ________ ___.
______ _________ ________ ____ _______ _____ ____.
_____ _______ ___ ______ _______ _____.
___ ______ _____ ________ __________ ____.
____ __________ __________ ____ __________ _________ ________ _____ _______.
____ _________ _______ _________ ______.
_______ ________ _________ _______ ________.
___ ___ _______ __________ _______ __________ __________ _______.
__________ _____ ______ _____ ______ ___ ____ ________ ___ ______ _______ _____.
____ _________ _____ __________ _____ ___ ____ ___ ______.
_________ ________ _________ __________ ___ ___ ________ ___ ________ _______.
______ _________ _________ ______ ____ ____ ________ _______.
______ ______ _________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.
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