Question
If in the number '854634168', '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 first four digits from the right end of the number thus formed?Solution
8Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 8 6Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6 2Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 6 So, the sum of the first four digits from the right end is = (4 + 6 + 6 + 6) = 22.
A relation is in 2NF if:
Which of the following matches the definition given below: It is an artificial key that aims to uniquely identify each record.
Which DBMS command is used to remove a table completely along with its structure?
Deadlock occurs when:
Which type of join returns all rows from the left table and matching rows from the right table?
Given the `SinglyLinkedList` and its `delete_node` method as provided, what will be the output of `my_list.print_list()` after the following sequence of...
A column or set of columns that uniquely identifies each row in a table is called a:
Indexing in DBMS improves:
Which of the following is a property of a relational database?
Which stage involves evaluating the project's practicality, cost, and resources before proceeding further?
Â