Check digit:
- The digits in the number are added together, and the unit digit of the result is called as check digit, which is used for error detection.
- The unit’s digit of that sum is stored with the number.
- The additional digit is used along with the check digit to find out the transposition error, and it can be found out by the sum of even digits or odd digits in the number.
For example,
Consider the number 3422.
Count the numbers from left to right; it produces the sum of the digits as 11. It is stored as 3422-15.
- Here, “1” is the unit’s digit of the sum of all the digits, which is called as check bit.
- “5” is the unit’s digit of the sum of the first and third digits (3+2 =5), which is the additional digit used along with the check digit.
- While storing the above number 3422-15, if “2” is corrupted by “4” and “4” is corrupted by “2”, it leads to a transposition error.
- So, the number is received as 3242-15.
- By adding the number, it produces the check digit as “1” and it produces the additional digit as “7”.
- But the received additional digit is “5”. Hence, it is clear that the received number is corrupted.
- So, the number is received as 3242-15.

Explanation of Solution
a.
Find the additional digit using the sum of odd digits for “1066” numbers:
The additional digit (using the sum of odd digits) for the number 1066 can be determined by the following steps:
Check digit:
- Step 1: Count the given number from left to right.
- Step 2: From the above diagram, the sum of digits produces the result as 13.
- Step 3: The unit’s place in the sum represents the check digit. Thus, “3” is in the unit’s place.
- Step 4: Therefore, check digit for the number 1066 is 3.
Additional digit:
- Step 1: In the given number 1066, take the numbers from the odd position from left to right.
- Step 2: From the above diagram, it is clear that the number “1” on first position and the number “6” on third position are the odd position numbers.
- Step 3: The sum of digits produces the result as “7” (1+6 = 7).
- Step 4: Hence, “7” in the unit’s place is the additional digit used along with the check digit.
Therefore, additional digit used along with the check digit “3” for the number 1066 is “7”.
Explanation of Solution
b.
Find the additional digit using the sum of odd digits for “1498” numbers:
The additional digit (using the sum of odd digits) for the number 1498 can be determined by the following steps:
Check digit:
- Step 1: Count the given number from left to right.
- Step 2: From the above diagram, the sum of digits produces the result as 22.
- Step 3: The unit’s place in the sum represents the check digit. Thus, “2” is in the unit’s place.
- Step 4: Therefore, check digit for the number 1498 is 2.
Additional digit:
- Step 1: In the given number 1498, take the numbers from the odd position from left to right.
- Step 2: From the above diagram, it is clear that the number “1” on first position and the number “9” on third position are the even position numbers.
- Step 3: The sum of digits produces the result as “10” (1+9 = 10).
- Step 4: Hence, “0” in the unit’s place is the additional digit used along with the check digit.
Therefore, additional digit used along with the check digit “2” for the number 1498 is “0”.
Explanation of Solution
c.
Find the additional digit using the sum of odd digits for “1668” numbers:
The additional digit (using the sum of odd digits) for the number 1668 can be determined by the following steps:
Check digit:
- Step 1: Count the given number from left to right.
- Step 2: From the above diagram, the sum of digits produces the result as 21.
- Step 3: The unit’s place in the sum represents the check digit. Thus, “1”is in the unit’s place.
- Step 4: Therefore, the check digit for the number 1668 is 1.
Additional digit:
- Step 1: In the given number 1668, take the numbers from the odd position from left to right.
- Step 2: From the above diagram, it is clear that the number “1” on first position and the number “6” on third position are the even position numbers.
- Step 3: The sum of digits produces the result as “7” (1+6 = 7).
- Step 4: Hence, “7” in the unit’s place is the additional digit used along with the check digit.
Therefore, additional digit used along with the check digit “1” for the number 1668 is “7”.
Explanation of Solution
d.
Find the additional digit using the sum of odd digits for “2001” numbers:
The additional digit (using the sum of odd digits) for the number 2001 can be determined by the following steps:
Check digit:
- Step 1: Count the given number from left to right.
- Step 2: From the above diagram, the sum of digits produces the result as 3.
- Step 3: The unit’s place in the sum represents the check digit. Thus, “3” is in the unit’s place.
- Step 4: Therefore, check digit for the number 2001 is 3.
Additional digit:
- Step 1: In the given number 2001, take the numbers from the odd position from left to right.
- Step 2: From the above diagram, it is clear that the number “2” on first position and the number “0” on third position are the even position numbers.
- Step3: The sum of digits produces the result as “2” (2+0 = 2).
- Step 4: Hence, “2” in the unit’s place is the additional digit used along with the check digit.
Therefore, additional digit used along with the check digit “3” for the number 2001 is “2”.
Explanation of Solution
e.
Find the additional digit using the sum of odd digits for “4040” numbers:
The additional digit (using the sum of odd digits) for the number 4040 can be determined by the following steps:
Check digit:
- Step 1: Count the given number from left to right.
- Step 2: From the above diagram, the sum of digits produces the result as 8.
- Step3: The unit’s place in the sum represents the check digit. Thus, “8” is in the unit’s place.
- Step 4: Therefore, check digit for the number 4040 is 8.
Additional digit:
- Step 1: In the given number 4040, take the numbers from the odd position from left to right.
- Step 2: From the above diagram, it is clear that the number “4” on first position and the number “0” on third position are the even position numbers.
- Step3: The sum of digits produces the result as “4” (4+4 = 8).
- Step4: Hence, “4” in the unit’s place is the additional digit used along with the check digit.
Therefore, additional digit used along with the check digit “8” for the number 4040 is “8”.
Want to see more full solutions like this?
Chapter 18 Solutions
COMPUTER SCIENCE ILLUMINATED
- Maximum Independent Set problem is known to be NP-Complete. Suppose we have a graph G in which the maximum degree of each node is some constant c. Then, is the following greedy algorithm guaranteed to find an independent set whose size is within a constant factor of the optimal? 1) Initialize S = empty 2) Arbitrarily pick a vertex v, add v to S delete v and its neighbors from G 3) Repeat step 2 until G is empty Return S Yes Noarrow_forwardPlease help me answer this coding question in the images below for me(it is not a graded question):write the code using python and also provide the outputs requiredarrow_forwardWhat does the reduction showing Vertex Cover (VC) is NP-Complete do: Transforms any instance of VC to an instance of 3SAT Transforms any instance of 3SAT to an instance of VC Transforms any instance of VC to an instance of 3SAT AND transforms any instance of 3SAT to an instance of VC none of the abovearrow_forward
- Please assist me by writing out the code with its output (in python) using the information provided in the 2 images below.for the IP Address, it has been changed to: 172.21.5.204the serve code has not been open yet though but the ouput must be something along these lines(using command prompt):c:\Users\japha\Desktop>python "Sbongakonke.py"Enter the server IP address (127.0.0.1 or 172.21.5.199): 172.21.5.204Enter your student number: 4125035Connected to server!It's your turn to pour! Enter the amount to your pour (in mL):Please work it out until it gets the correct outputsNB: THIS QUESTION IS NOT A GRADED QUESTIONarrow_forwardneed help with a html code and css code that will match this image.arrow_forwardneed help with a html code and css code that will match this image. Part B - A Navigation Part B is the navigation component of a page. Information you need includes: Color Codes: Visiting links: #ff6666 Unvisited links: #ccff66 Hovered links: white Search box: #2ec4b6 rebeccapurple white Font: Google Font (Roboto) Icons: Font Awesome (fa-quidditch, fa-search) This is a flexbox based navigation menu. Other then padding, all spacing/positioning should be controlled using flex properties. The home link in the nav should point to your assignment file (to triggers visited styling). In the "state" screenshot below, Home is visited, Services is hovered (the mouse doesn't show up in the screenshot) and Products is unvisited.arrow_forward
- MGMT SS STATS, an umbrella body that facilitates and serves various Social Security Organizations/Departments within the Caribbean territories, stood poised to meet the needs of its stakeholders by launching an online database. The database will provide members and the public access to the complete set of services that can (also) be initiated face-to-face, and it will provide managed, private, secure access to a repository of public and/or personal information. Ideally, the database will have basic details of pension plans recorded in the registry, member plan statistics, and cash inflows and outflows from pension funds.For example, insured persons accumulate contributions. Records for these persons will include information on the insured persons able to acquire various benefits once work is interrupted due to sickness, death, retirement, and maternity or employment injury. They will also include information on pensions such as invalidity, disability, and survivors that stem from one…arrow_forwardWhy all appvif i want to sign in its required phone number why not using google or apple its make me frustratedarrow_forwardWhy is the accuracy of time important in data visualizations? Detail a scenario from your professional experience in which time was structured poorly in a data visualization. How did this affect the understanding of the data presented? How do you think this error or oversight occurred?arrow_forward
- Write the KeanStudent class. The UML diagram of the class is represented below: KeanStudent - fullName: String - keanID: int -keanEmailAddress: String cellPhoneNumber: String + numberOfStudent: int + KeanStudent() + KeanStudent(fullName: String, keanID: int, keanEmailAddress: String, cellPhoneNumber: String) +getFullName(): String +setFullName(newFullName: String): void +getKeanIDO): int +getKeanEmailAddress(): String +getCellPhoneNumber(): String + setCellPhoneNumber(newCellPhoneNumber: String): void +toString(): String 1. Implement the KeanStudent class strictly according to its UML one-to-one (do not include anything extra, do not miss any data fields or methods) 2. Implement a StudentTest class to test the class KeanStudent you just created. • Create two KeanStudent objects using a no-args constructor and one from the constructor with all fields. o Print the contents of both objects. 。 Print numberOfStudent. 3. Add comments to your program (mark where data fields, constructors,…arrow_forwardMGMT SS STATS, an umbrella body that facilitates and serves various Social SecurityOrganizations/Departments within the Caribbean territories, stoodpoised to meet the needs of its stakeholders by launching an onlinedatabase at www.SSDCI.gov. The database will provide membersand the public access to the complete set of services that can (also)be initiated face-to-face, and it will provide managed, private, secure access to a repository ofpublic and/or personal information. Ideally, the database will have basic details of pensionplans recorded in the registry, member plan statistics, and cash inflows and outflows frompension funds.For example, insured persons accumulate contributions. Records for these persons will includeinformation on the insured persons able to acquire various benefits once work is interrupteddue to sickness, death, retirement, and maternity or employment injury. They will also includeinformation on pensions such as invalidity, disability, and survivors that stem from…arrow_forward(c) Consider the following set of processes: Process ID Arrival Time Priority Burst Time A 2 3 100 B 6 C 10 1 (highest) 2 40 80 D 16 4 (lowest) 20arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





