Question
If in the number '4735267843', '1' is added to all the
odd digits and '2' is subtracted from the all the even digits then, all the digits are arranged in ascending order from left to right. What is the sum of last four digits from the right end of the number thus formed?Solution
4Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 3 2Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4 0Â Â Â Â Â 2Â Â Â Â Â Â 2Â Â Â Â Â 4Â Â Â Â Â 4Â Â Â Â Â Â 4Â Â Â Â Â 6Â Â Â Â Â 6Â Â Â Â Â 8Â Â Â Â Â 8 So, the sum of the last four digits from the right end is = (0 + 2 + 2 + 4) = 8.
In the context of ADTs, what does "encapsulation" refer to?
Which of the following is a new semantic element introduced in HTML5?
Which RAID level is often used to maximize storage capacity and does not provide data redundancy or fault tolerance?
Which of the following is true about Java's memory management?
Which of the following is NOT a method for handling deadlocks?
What is the primary purpose of a database transaction?
Which of the following tasks is NOT typically performed during lexical analysis?
What is the purpose of a lock in concurrency control?
What is the main objective of cluster analysis in data analytics?
Which key is used to create a digital signature?