SlideShare a Scribd company logo
1 of 8
CSE Assignment
Name: Md. Raihan
Dept: CSE
Course: cse105
ID: 2012-2-60-040
sce: 4
(111000110010)₂ conversion                    base2 to base8 conversion
                                              Equivalent value list
Binary to octal→
                                                     binary    Octal
base2(binary)= 111000110010
base8(octal)= 7062 oct
                                                     000       0
So, (111000110010)₂=(7062)₈
                                                     001       1
binary to decimal→
Base8(octal)= 7062                                   010       2
            = 7*8³+0*8²+6*8¹+2*8°
                                                     011       3
            = 3634 dec
So, (111000110010)₂=(3634)₁₀
                                                     100       4
binary to hexadecimal →
                                                     101       5
                remainder
3634/16= 227       2 in hexadecimal form             110       6
227/16 = 14         3 in hexademal form
14/16 = 0          14=E in hexadecimal form          111       7

So,(111000110010)₂=(E32)₁₆
(70642)₈ conversion
Octal to decimal→
Oct= 76042 = 7*8´+6*8³+0*8²+4*8¹+2*8° = 31778 dec
So, (76042)₈= (31778)₁₀
                         Decimal
                                   Operation   Quotient Remainder   Binary Result
                         Number
octal to binary→         31778     ÷2=         15889     0          0
                         15889     ÷2=         7944      1          10
                         7944      ÷2=         3972      0          010
                         3972      ÷2=         1986      0          0010
                         1986      ÷2=         993       0          00010
                         993       ÷2=         496       1          100010
                         496       ÷2=         248       0          0100010
                         248       ÷2=         124       0          00100010
                         124       ÷2=         62        0          000100010
                         62        ÷2=         31        0          0000100010
                         31        ÷2=         15        1          10000100010
                         15        ÷2=         7         1          110000100010
                         7         ÷2=         3         1          1110000100010
                         3         ÷2=         1         1          11110000100010
                         1         ÷2=         0         1          111110000100010
Octal to hexadecimal→

(76042)₈= (31778)₁₀

Decimal    operation    quotient remainder
number
31778      ÷16 =        1986     2
1986       ÷16=         124      2
124        ÷16 =        7        12=C
7          ÷16=         0        7
0          Done.


So,
  (76042)₈=(7C22)₁₆
(786)₁₀ conversion

Decimal to binary→
Decimal      operation   quotient   remainder   Binary result
number
786          ÷2=         393        0           0
393          ÷2=         196        1           10
196          ÷2=         98         0           010
98           ÷2=         49         0           0010
49           ÷2=         24         1           10010
24           ÷2=         12         0           010010
12           ÷2=         6          0           0010010
6            ÷2=         3          0           00010010
3            ÷2=         1          1           100010010
1            ÷2=         0          1           1100010010

 So, (786)₁₀=(1100010010)₂
Decimal to octal→
  Decimal                                             Octal
               Operation       Quotient   Remainder
  Number                                              Result
  786        ÷8=                98           2        2
  98         ÷8=                12           2        22
  12         ÷8=                 1           4        422
  1          ÷8=                 0           1        1422
  0          done.

So, (786)₁₀ = (1422)₈
Decimal to hexadecimal→
  Decimal                                             Hexadecimal
               Operation       Quotient   Remainder
  Number                                              Result
  786         ÷ 16 =             49          2        2
  49          ÷ 16 =              3          1        12
  3           ÷ 16 =              0          3        312=3C
  0           done.
So, (786)₁₀= (312)₁₆ =(3C)₁₆
FA09 conversion
                                              Hexa-decimal value list:
Hexa-dec to decimal→
FA09 hexadecimal:                                 Hexa
                                                              0    1   2    3    4    5    6    7
                                                  decimal:
= ((F)*163) + ((A)*162) + (0*161) + (9*160)
= (15*163) + (10*162) + (0* 161) + (9*160)        Decimal:    0    1   2    3    4    5    6    7
= (15* 4096) + (10* 256) + (0* 16) + (9*1)        Hexa
                                                              8    9   A    B    C    D    E    F
= 61440+ 2560 + 0+9                               decimal:

= 64009 decimal                                   Decimal:    8    9   10   11   12   13   14   15


Hexadecimal to octal→
(FA09)₁₆=(64009)₈
 Decimal
              Operation      Quotient     Remainder          octal Result
 Number
 64009       ÷8=               8001           1              1
 8001        ÷8=               1000           1              11
 1000        ÷8=                125           0              011
 125         ÷8=                  15          5              5011
 15          ÷8=                   1          7              75011
 1           ÷8=                   0          1              175011

So, (FA09)₁₆ =(175011)₈
hexadecimal digit to obtain the equivalent
Hexadecimal to binary→
                                          group of four binary digits list:

Hexa
         F       A       0         9                   Hexa
decimal=                                                              0 1 2 3 4 5 6 7
                                                       decimal:
Binary=   1111 1010      0000      1001
      = 1111101000001001 binary
                                                                      0   0   0   0   0   0   0   0
                                                                      0   0   0   0   1   1   1   1
                                                       Binary:
                                                                      0   0   1   1   0   0   1   1
                                                                      0   1   0   1   0   1   0   1
  So,
     (FA09)₁₆=(111101000001001)₂                       Hexa
                                                                8 9 A B C DE F
                                                       decimal:

                                                                  1   1   1       1   1   1   1   1
                                                                  0   0   0       0   1   1   1   1
                                                       Binary:
                                                                  0   0   1       1   0   0   1   1
                                                                  0   1   0       1   0   1   0   1

More Related Content

What's hot

Alg2 Final Keynote
Alg2 Final KeynoteAlg2 Final Keynote
Alg2 Final Keynote
Chris Wilson
 
Number system
Number systemNumber system
Number system
aviban
 
Day 4 evaluating with add and subtract
Day 4 evaluating with add and subtractDay 4 evaluating with add and subtract
Day 4 evaluating with add and subtract
Erik Tjersland
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operations
markme18
 

What's hot (20)

ALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMSALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMS
 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
 
Ch21 19
Ch21 19Ch21 19
Ch21 19
 
Alg2 Final Keynote
Alg2 Final KeynoteAlg2 Final Keynote
Alg2 Final Keynote
 
Number system
Number systemNumber system
Number system
 
Day 4 evaluating with add and subtract
Day 4 evaluating with add and subtractDay 4 evaluating with add and subtract
Day 4 evaluating with add and subtract
 
Digital logic design lecture 03
Digital logic design   lecture 03 Digital logic design   lecture 03
Digital logic design lecture 03
 
Slideshare
SlideshareSlideshare
Slideshare
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operations
 
Fundamentos matematicas
Fundamentos matematicasFundamentos matematicas
Fundamentos matematicas
 
Topic 3 decimals
Topic 3   decimalsTopic 3   decimals
Topic 3 decimals
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Maths micro teaching copy
Maths micro teaching   copyMaths micro teaching   copy
Maths micro teaching copy
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Math Studies Calculus Application
Math Studies Calculus ApplicationMath Studies Calculus Application
Math Studies Calculus Application
 
1
11
1
 
Graph functions
Graph functionsGraph functions
Graph functions
 
Per6 basis_Representations Of Integers
Per6 basis_Representations Of IntegersPer6 basis_Representations Of Integers
Per6 basis_Representations Of Integers
 
Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
Maths 301 key_sem_1_2007_2008
Maths 301 key_sem_1_2007_2008Maths 301 key_sem_1_2007_2008
Maths 301 key_sem_1_2007_2008
 

Similar to Cse

2.1 data represent on cpu
2.1 data represent on cpu2.1 data represent on cpu
2.1 data represent on cpu
Wan Afirah
 
Binary octal
Binary octalBinary octal
Binary octal
drdipo4
 
Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)
asghar123456
 
01.number systems
01.number systems01.number systems
01.number systems
rasha3
 
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Hsien-Hsin Sean Lee, Ph.D.
 
Mock cat solutions paper no 1
Mock cat solutions paper no 1Mock cat solutions paper no 1
Mock cat solutions paper no 1
Vandan Kashyap
 

Similar to Cse (20)

2.1 data represent on cpu
2.1 data represent on cpu2.1 data represent on cpu
2.1 data represent on cpu
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptx
 
Binary octal
Binary octalBinary octal
Binary octal
 
Bolum1cozumler
Bolum1cozumlerBolum1cozumler
Bolum1cozumler
 
Konversi bilangan octal
Konversi bilangan octalKonversi bilangan octal
Konversi bilangan octal
 
Unit 4.docx
Unit 4.docxUnit 4.docx
Unit 4.docx
 
Number system
Number systemNumber system
Number system
 
Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)
 
01.number systems
01.number systems01.number systems
01.number systems
 
Myrecharge ppt new
Myrecharge ppt new Myrecharge ppt new
Myrecharge ppt new
 
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
 
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
 
01.number systems
01.number systems01.number systems
01.number systems
 
Problemas de funciones
Problemas de funcionesProblemas de funciones
Problemas de funciones
 
Ch15p
Ch15pCh15p
Ch15p
 
Mock cat solutions paper no 1
Mock cat solutions paper no 1Mock cat solutions paper no 1
Mock cat solutions paper no 1
 
unit-i-number-systems.pdf
unit-i-number-systems.pdfunit-i-number-systems.pdf
unit-i-number-systems.pdf
 
Ch13s
Ch13sCh13s
Ch13s
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
Unit 1 PDF.pptx
Unit 1 PDF.pptxUnit 1 PDF.pptx
Unit 1 PDF.pptx
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
Krashi Coaching
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 

Cse

  • 1. CSE Assignment Name: Md. Raihan Dept: CSE Course: cse105 ID: 2012-2-60-040 sce: 4
  • 2. (111000110010)₂ conversion base2 to base8 conversion Equivalent value list Binary to octal→ binary Octal base2(binary)= 111000110010 base8(octal)= 7062 oct 000 0 So, (111000110010)₂=(7062)₈ 001 1 binary to decimal→ Base8(octal)= 7062 010 2 = 7*8³+0*8²+6*8¹+2*8° 011 3 = 3634 dec So, (111000110010)₂=(3634)₁₀ 100 4 binary to hexadecimal → 101 5 remainder 3634/16= 227 2 in hexadecimal form 110 6 227/16 = 14 3 in hexademal form 14/16 = 0 14=E in hexadecimal form 111 7 So,(111000110010)₂=(E32)₁₆
  • 3. (70642)₈ conversion Octal to decimal→ Oct= 76042 = 7*8´+6*8³+0*8²+4*8¹+2*8° = 31778 dec So, (76042)₈= (31778)₁₀ Decimal Operation Quotient Remainder Binary Result Number octal to binary→ 31778 ÷2= 15889 0 0 15889 ÷2= 7944 1 10 7944 ÷2= 3972 0 010 3972 ÷2= 1986 0 0010 1986 ÷2= 993 0 00010 993 ÷2= 496 1 100010 496 ÷2= 248 0 0100010 248 ÷2= 124 0 00100010 124 ÷2= 62 0 000100010 62 ÷2= 31 0 0000100010 31 ÷2= 15 1 10000100010 15 ÷2= 7 1 110000100010 7 ÷2= 3 1 1110000100010 3 ÷2= 1 1 11110000100010 1 ÷2= 0 1 111110000100010
  • 4. Octal to hexadecimal→ (76042)₈= (31778)₁₀ Decimal operation quotient remainder number 31778 ÷16 = 1986 2 1986 ÷16= 124 2 124 ÷16 = 7 12=C 7 ÷16= 0 7 0 Done. So, (76042)₈=(7C22)₁₆
  • 5. (786)₁₀ conversion Decimal to binary→ Decimal operation quotient remainder Binary result number 786 ÷2= 393 0 0 393 ÷2= 196 1 10 196 ÷2= 98 0 010 98 ÷2= 49 0 0010 49 ÷2= 24 1 10010 24 ÷2= 12 0 010010 12 ÷2= 6 0 0010010 6 ÷2= 3 0 00010010 3 ÷2= 1 1 100010010 1 ÷2= 0 1 1100010010 So, (786)₁₀=(1100010010)₂
  • 6. Decimal to octal→ Decimal Octal Operation Quotient Remainder Number Result 786 ÷8= 98 2 2 98 ÷8= 12 2 22 12 ÷8= 1 4 422 1 ÷8= 0 1 1422 0 done. So, (786)₁₀ = (1422)₈ Decimal to hexadecimal→ Decimal Hexadecimal Operation Quotient Remainder Number Result 786 ÷ 16 = 49 2 2 49 ÷ 16 = 3 1 12 3 ÷ 16 = 0 3 312=3C 0 done. So, (786)₁₀= (312)₁₆ =(3C)₁₆
  • 7. FA09 conversion Hexa-decimal value list: Hexa-dec to decimal→ FA09 hexadecimal: Hexa 0 1 2 3 4 5 6 7 decimal: = ((F)*163) + ((A)*162) + (0*161) + (9*160) = (15*163) + (10*162) + (0* 161) + (9*160) Decimal: 0 1 2 3 4 5 6 7 = (15* 4096) + (10* 256) + (0* 16) + (9*1) Hexa 8 9 A B C D E F = 61440+ 2560 + 0+9 decimal: = 64009 decimal Decimal: 8 9 10 11 12 13 14 15 Hexadecimal to octal→ (FA09)₁₆=(64009)₈ Decimal Operation Quotient Remainder octal Result Number 64009 ÷8= 8001 1 1 8001 ÷8= 1000 1 11 1000 ÷8= 125 0 011 125 ÷8= 15 5 5011 15 ÷8= 1 7 75011 1 ÷8= 0 1 175011 So, (FA09)₁₆ =(175011)₈
  • 8. hexadecimal digit to obtain the equivalent Hexadecimal to binary→ group of four binary digits list: Hexa F A 0 9 Hexa decimal= 0 1 2 3 4 5 6 7 decimal: Binary= 1111 1010 0000 1001 = 1111101000001001 binary 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 Binary: 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 So, (FA09)₁₆=(111101000001001)₂ Hexa 8 9 A B C DE F decimal: 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 Binary: 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1