Nombor Siri Piawai Antarabangsa: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
BukanTeamBiasa (bincang | sumb.)
Mencipta laman baru dengan kandungan '{{proses|BukanTeamBiasa}} {{One source|date=April 2009}} {{Refimprove|date=July 2009}} Sebuah '''International Standard Serial Number''' ('''ISSN''') adalah se...'
 
BukanTeamBiasa (bincang | sumb.)
Baris 5:
 
==Format kod==
The format of theFormat ISSN isadalah annombor eightlapan digit number, divideddibahagikan bydengan asuatu hyphen intoke twodalam fourdua nombor empat-digit numbers. TheDigit last digitterakhir, whichyang maymungkinnya be 0–90-9 oratau ansuatu X, isadalah asebuah [[check digit simak]]. The ISSN of the journaljurnal ''Hearing Research'', for examplecontohnya, isadalah 0378-5955, thedigit check digitsimaknya isadalah 5.
 
Untuk mengira digit simak, algoritma berikutnya dapat digunakan:
To calculate the check digit, the following algorithm may be used:
 
:CalculateKita thejumlah sumtujung ofdigit the first seven digits of thepertama ISSN multiplieddidarabkan bydengan itskedudukannya positiondi in the numbernombor, countingmengira fromdari the rightkananthat isiaitu, 8, 7, 6, 5, 4, 3, anddan 2, respectivelysecara tertentu:
::<math>0\cdot 8 + 3\cdot 7 + 7\cdot 6 + 8\cdot 5 + 5\cdot 4 + 9\cdot 3 + 5\cdot 2</math>
::<math>= 0 + 21 + 42 + 40 + 20 + 27 + 10</math>
::<math>= 160</math>.
:The [[moduloModulo operation|modulus]] 11 ofpada thisjumlah sumini iskemudian then calculateddikirakan: divide themembahagikan sumjumlah byoleh 11 anddan determinemenentukan theyang remainderbaki.
::<math>\frac{160}{11} = 14\mbox{ remainderbaki }6=14+\frac{6}{11}</math>.
 
:Jika tiada baki digit simak adalah 0.
:If there is no remainder the check digit is 0.
 
:ElseJika thistidak nilai modulus oratau remainderbaki valueini isditolak subtracted fromdari 11 tountuk givememberikan thedigit check digitsimak:
::<math>11 - 6 = 5</math>
::5 isadalah thedigit check digitsimak.
 
:AnSebuah X upper case X indi the checkkedudukan digit positionsimak indicatesmenandakan a checksimak digit of 10.
 
Untuk mengesahkan digit simak, kirakan jumlah kesemua lapan digit ISSN didarabkan oleh kedudukannya di nombor, mengira dari kanan (jika digit simak adalah X, kemudian tambahkan 10 ke jumlah). Modulus 11 pada jumlah seharusnya menjadi 0.
To confirm the check digit, calculate the sum of all eight digits of the ISSN multiplied by its position in the number, counting from the right (if the check digit is X, then add 10 to the sum). The modulus 11 of the sum must be 0.
 
==Code assignment==