Bitmaps & Data Element Presence Quiz

Test your understanding of ISO8583 bitmap structure, bit numbering, secondary bitmaps, and bitmap manipulation.


1. In an ISO8583 primary bitmap, which bit indicates that a secondary bitmap follows?
2. You see a primary bitmap starting with byte `0x72`. Which fields from 1-8 are present?
3. What is Field 1 (DE1) in ISO8583?
4. To check if field 11 is present, you calculate byteIndex = (11-1)/8 = 1 and bitPosition = 7 - ((11-1)%8) = 5. What does this mean?
5. You're building an ISO8583 message with fields 2, 3, 4, and 70. What must be true about the bitmap?
6. A bitmap shows the hex bytes `80 00 00 00 00 00 00 00`. Which field is present?
7. What's the difference between binary and hex-ASCII bitmap encoding?
8. You're debugging a parser that shows field 64 when it should show field 65. What's the likely bug?
9. In the formula `bitPosition = 7 - ((field - 1) % 8)`, why do we subtract from 7?
10. You receive a 16-byte bitmap where the first byte is 0x40. What does this indicate?
11. How do you set field 37 in a bitmap using Go?
12. Your parser suddenly fails with a new integration partner. The first 8 bytes of the bitmap look like: 37 32 33 41 34 34 38 31. What's happening?
13. What's the purpose of the tertiary bitmap in ISO 8583:2003?
14. A message fails with 'unexpected end of message'. The bitmap indicated 15 fields but only 14 were found. What likely happened?
15. Which fields commonly use the secondary bitmap in production messages?
Join Discord