This presentation is the property of its rightful owner.
Sponsored Links
1 / 239

コンピュータの言語 PowerPoint PPT Presentation


  • 51 Views
  • Uploaded on
  • Presentation posted in: General

コンピュータの言語. 2011 年度 秋学期 金曜1・2限 1限担当:山添大丈 2限担当:荻野正樹. コンピュータの言語 第六回. コンピュータのための処理手順 アルゴリズムの基礎 その2. 2. 2 . コンピュータのための 処理手順. アルゴリズムの基礎 データの探索と整列 様々なアルゴリズム. 第1回中間テストの結果. 1 時間目クラス. 2 時間目クラス. コンピュータと言語 2011  中間試験1回目. Q1. 14 通りの情報を表すには、( )ビット必要 ? a. 1, b. 2, c. 3, d. 4

Download Presentation

コンピュータの言語

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


7067471

2011


7067471

2


7067471

.


7067471

1

2


7067471

2011

Q1. 14? a. 1, b. 2, c. 3, d. 4

Q2. 2000 a. 1, b. 2, c. 3, d. 4

Q3. M( a. 3, b. 4, c. 5, d. 6

Q4. (2.25)102? a 1.01 b 10.001 c 1.001 d 10.01

Q5. (31.25)1016? a 2F.2 b 2F.4 c 1F.2 d 1F.4

Q6. (101.01001)210?a 3.28125 b 5.28125 c 3.625 d 5.625

Q7. (101.01001) 216?a A.8F b 5.8F c A.48 d 5.48

1/2=0.5, 1/4=0.25, 1/8=0.125, 1/16=0.0625, 1/32=0.03125, 1/64=0.015625

Q8.

a. 1, b. 2, c. 3, d. 4

Q9.a. 1, b. 2, c. 3, d. 4

Q10.

a. ASCII, b. EBCDIC, c. JIS, d. Unicode

Q11. 616(??) a. FF0000, b. 00FF00, c. 0000FF, d. FFFFFF

Q12. 616(??)a. FFFF00, b. 00FFFF, c. FF00FF, d. FFFFFF

Q13. (5A2)1610?

Q14. (26)10 2?


7067471


7067471

i = 7

No

i > 0

Yes

i

i = i 2


7067471


7067471

a

a

a

3

5

JavaScript

a a

var a;

a = 3;

a = 5;

a 3

a 5 3


7067471

A=1?

(A)

AA+1

A>=16

(JIS)

10


7067471

i

i = 2 i = 5 i = 8 i = 11

i > 10

i i

  • :

i 2 , 3 , i>10


7067471

.


7067471

.


7067471

14


7067471


7067471

5

4

3

0

1

2

3

4

12

JavaScript

var data = new Array(6);data[0] = 3;data[1] = 4;data[3] = 12;

data

05

12


7067471


7067471


7067471

SelectionSort

:


7067471

28

3

3

17

25

24

10

3

10

17

25

24

28

17

3

10

17

25

24

24

28

3

10

17

24

25

25

28

3

28

17

25

24

10

10

3

10

17

24

25

28


7067471

60

40

10

30

80

1

20

70

1

20

10

60

40

80

70

2:

(1)

(2)

1

20

10

30

60

40

80

70

(3)

1

10

20

40

60

70

80

1

20

10

10

1

1

20

20

1

10

20


7067471


7067471

[]


7067471

    • :

    • :


7067471


7067471

OrderedArray

  • 10

0 1 2 3 4 5 6 7 8 9 10

(10)(11)

(10)(5)


7067471


7067471


7067471

SelectionSort

:


7067471

28

3

3

17

25

24

10

3

10

17

25

24

28

17

3

10

17

25

24

24

28

3

10

17

24

25

25

28

3

28

17

25

24

10

10

3

10

17

24

25

28


Data i

28

3

17

25

24

10

3

10

17

25

24

28

3

10

17

25

24

28

3

10

17

24

25

28

3

28

17

25

24

10

3

10

17

24

25

28

data[i]

N = 6

imin i +1 N1

i 04N21

i 0, 1, iN1

0

1

2

3

4

5

i = 0

3

i N1min

10

i = 1

17

i = 2

i data[i]

min

i = 3

24

i = 4

25


7067471

28

3

17

25

24

10

3

10

17

25

24

28

3

10

17

25

24

28

3

10

17

24

25

28

3

28

17

25

24

10

3

10

17

24

25

28

min()

place(

min)

??

??

i 0, 1, i N1

j i+1, 1, j N

0

1

2

3

4

5

i = 0

3

min = data[i]

data[j]min

No

10

i = 1

place = i

i = 2

17

Yes

min = data[j]

i = 3

24

min

place = j

i = 4

25

data[i] data[place]


7067471

A

B

2

A

2

B


7067471

< 2-13>

  • j

data d


7067471

< 2-13>

  • j

data d

60

40

30

2

30

3

10

10

10

60

30

40

2

30

30

3

40

30

10

30

60

40

2

3

40

40


7067471

60

40

10

30

80

1

20

70

1

20

10

60

40

80

70

2:

(1)

(2)

1

20

10

30

60

40

80

70

(3)

1

10

20

40

60

70

80

1

20

10

10

1

1

20

20

1

10

20


7067471

(1)

(2)

(3)


7067471


7067471


7067471

[]


7067471

x == data[1]

Yes

No

x == data[2]

Yes

No

x1 data[0]

  • x

  • data

x == data[0]

Yes

No

data[0]data[1]

data[2]

0 2


7067471

x,

data,

size

0

1

i size

i 0, 1, i size

data[0]data[1]

data[2]

data[3]

data[size1]

x == data[i]

Yes

x == data[i]

size

No

size 0 size1


7067471

(a) (b)

< 2-10>

(a)

(b)

No

Yes

Yes

x == data[i]

No

i = i + 1


7067471

0

i = 0

< 2-10>

(a)

(b)

No

i size

0 size1

Yes

Yes

x == data[i]

No

i = i + 1


7067471

    • :

    • :


7067471


7067471

OrderedArray

  • 10

0 1 2 3 4 5 6 7 8 9 10

(10)(11)

(10)(5)


7067471

L (low)

H (high)

M (mid)

M

M1

M+1

data[M] 11

[x] x

x

M = [ (L+H) / 2 ]

L

H

data


7067471

< data[M] H = M1

L: 0

H: 1

(3)

1

2

  • L>H

  • L<H L=H

M: 0

> data[M] L = M+1

L: 1

H: 1

(4)

2

M: 1

> data[M] L = M+1

(5)

L: 2

H: 1

3L > H

:

L: 0

M: 6

H: 12

(1)

data

< data[M] H = M1

(2)

L: 0

H: 5

L+H / 2

M = [ (L+H) / 2 ]

data[M]

M: 2

1 L < H

2 L = H


7067471

<>

x >= data[M]

x <= data[M]

x == data[M]

L H

M = [(L+H) / 2]

L = 0

Yes

x < data[M]

H = size 1

No

H = M 1

No

x > data[M]

Yes

L = M 1

x,

data,

size


7067471

M L, M, H

< 2-11>

L: 0

H: 8

data


7067471

< 2-11> ()

  • M L, M, H

(1)

L0

H8

4

M4

0

1

3

(2)

L0

H3

2

2

3

M1

(3)

L2

H3

M2


7067471

M

< 2-12>

L: 0

H: 5

data


7067471

< 2-12> ()

L: 0

H: 5

data

2

4

(1)

M: 2

3

4

5

5

6> data[M] L = M1

L: 3

H: 5

5

5

5

7

()

M: 4

6> data[M] L = M1

L: 5

H: 5

7

()

M: 5

6< data[M] H = M1

L: 5

H: 4


Backup

Backup


Obsolete

Obsolete


7067471

< 3-6>

x

N

i = 1

Yes

i < N

No

i


7067471

data[i] == x i N

i = i + 1

< 3-6> ()

x

N

i = 1

Yes

i < N

No

i


7067471

L H

x

M = [(L+H)] / 2

L = 0

Yes

x < data[M]

H = N1

No

H = M 1

Yes

x > data[M]

No

L = M 1


7067471

F

F == 0

x

L H

M = [(L+H)] / 2

L = 0

Yes

x < data[M]

H = N1

H = M 1

No

No

F = 1

L > H

Yes

x > data[M]

Yes

No

F

L = M 1

F = 0

F = 0


7067471

    • : flag


7067471

L > H

L > H

x k

M [ (L+H) / 2 ]

L 1

H N

x : T(M)

H M 1

L M + 1


7067471

F

L > H

F = 0

x k

M [ (L+H) / 2 ]

F 1

L 1

H N

L : H

x : T(M)

H M 1

L M + 1

F 0

F 0


7067471

2010


7067471

.


7067471

1028()

(kadai04.txt)


7067471

    • :

    • :


7067471

  • JIS


7067471

2

2

2

2

: 24

0

2

2

2

2

24

2

4

6

8


7067471

i = 7

No

i > 0

Yes

i

i = i 2


7067471

A=1?

(A)

AA+1

A>=16

(JIS)


7067471

i = 7

No

i > 0

Yes

i

i = i 2


7067471


7067471


7067471

    • C


7067471

a

b

ab


7067471

a

a*b

:

JavaScript

var a = 3;

var b = 4;

alert(a*b);

a

b

b = 4

b 4

ab


7067471

a

a

a

3

5

JavaScript

a a

var a;

a = 3;

a = 5;

a 3

a 5 3


7067471

a

a*b

:

JavaScript

var a = 3;

var b = 4;

alert(a*b);

a

b

b = 4

b 4

ab


Javascript

: JavaScript

<html><head><title></title></head><body><h1></h1>

<script type="text/javascript"> var a = 3; var b = 4; alert(a*b);</script></body></html>

eg1.html


7067471

a

:

JavaScript

a

var a = Number ( prompt("a") );

var b = Number ( prompt("b") );

alert(a*b);

b

ab


7067471

b =

<2-1>

  • a b c 5%c

a

c


7067471

b =

<2-1>

  • a b c 5%c

a

a 0.8

c =

b 1.05

c


7067471

<2-2>

  • a b 5 ab

a

b

c a

c a

a b

b c

??

a

??

b


7067471

3

a

c

b

c

a

b

a

c

b

5

3

3

5

a b

(1) ac

(2) ba

(3) ca b

3

5

3

5

<2-2>

a3b5

a

aca

5

3

b

c a

a b

b c

a

b

ab


7067471

  • x>y, xy

No

Yes

No

Yes


7067471

:

JavaScript

var age = Number( prompt("?", "18") );

if (age>12) { alert( age + "" );} else { alert( age + "" );}

age

age12

No

Yes


7067471

<2-3>

  • 5012

a

b

c

a

b

c


7067471

a

b

c

No

Yes

a

50

No

No

Yes

b

12

No

No

Yes

c

8

No

<2-3>

a

b

c

a

50

Yes

b

12

Yes

c

8

Yes


7067471

<2-4>

a

a

a


7067471

<2-4>

a

No

Yes

a

65

No

Yes

a

12

No

Yes


7067471

93


7067471

1028()

(kadai04.txt)


7067471

i = 7

No

i > 0

Yes

i

i = i 2


7067471


7067471

a

a

a

3

5

JavaScript

a a

var a;

a = 3;

a = 5;

a 3

a 5 3


7067471


7067471

No

Yes


7067471

A== 1?

(A)

AA+1

A>=16

(JIS)

100


7067471

No

Yes

No

Yes

101


7067471

-: (

sum i sum

i 1 i

JavaScript

i

sum = 0

i = 1

var sum = 0;var i = 1;

while (i<=10) { sum = sum + i; i = i + 1; }

alert(sum);

No

i 10

Yes

sum = sum + i

i = i + 1

sum

102


7067471

-: (

sum i sum

i 1 i

JavaScript

i

sum = 0

i = 1

var sum = 0;var i = 1;

do { sum = sum + i; i = i + 1; } while (i<=10);

alert(sum);

sum = sum + i

i = i + 1

No

i 10

sum

Yes

103


7067471

<2-5>

  • (a) i

  • (b) i i

i = 7

i > 0

No

Yes

i

i = i 2


7067471

<2-5>

i = 7

i > 0

No

Yes

i

i >0 i

i = i 2

  • i


7067471

<2-6>

  • (a)(b) i

sum = 0

(a)

No

i 13

Yes

sum = sum + i

(b)

sum


7067471

<2-6>

sum = 0

: JavaScript

i = 5

(a)

var sum = 0;var i = 5;

while (i<=13) { sum = sum + i; i = i + 2; }

alert(sum);

No

i 13

(a)

Yes

sum = sum + i

(b)

(b)

i = i + 2

sum


7067471


7067471

JavaScript

var n = Number( prompt(", "3") );

while ( n>0 ) { alert( ""+ n + ""); n = n - 1; } alert( "");

n

!

:

n

n = 0

n

n n 1

n


7067471

<2-7>

n = 5

n == 0

n = n 2


7067471

<2-7>

n == 0

n 0

n = 5

n == 0

n = n 2

n==1 n

n < 0 n


7067471

i

i = 2 i = 5 i = 8 i = 11

i > 10

i i

  • :

i 2 , 3 , i>10


7067471

sum = 0

i = 2

(a)

i 2 , 3 , i>10

No

i 10

Yes

sum = sum + i

(b)

i = i + 3

sum


7067471

JavaScript

i 1 i

i = i + 1

var sum = 0;

for ( var i=1; i<=10; i++ ) { sum = sum + i; }

alert(sum);

!

for i 10

:

sum = 0

i : 1, 1, i>10

sum = sum + i

i 1 1 i10

sum


7067471

7:

0k

JavaScript

k

var k = Number( prompt( k", "3" ) );var sum = 0;

for ( var i=0; i<=k; i=i+2 ) { sum = sum + i; }

alert(sum);

sum = 0

i : 0, 2, i>k

sum = sum + i

i ki 2

i k

sum


7067471

<2-8>

  • (a)

    • i

sum = 0

(a)

sum = sum + i

sum


7067471

(a)

i : 5, 2, i>13

: 5

: 2

: 1313

: JavaScript

var sum = 0;

for ( var i=5; i<=13; i=i+2 ) { sum = sum + i; }

alert(sum);

<2-8>

sum = 0

(a)

sum = sum + i

(a)

sum


7067471

JavaScript

var max = 0;

while (true) { var n = Number(prompt(, 0)); if (n>max) { max = n; }}

n maxn max

max = 0

n

n>max

No

Yes

max = n


7067471

JavaScript

var max = 0;

while (true) { var n = Number(prompt(, 0)); if (n<=0) { break; } if (n>max) { max = n; }}

alert(max);

n while

n

max = 0

n

n<=0

Yes

No

n>max

max

No

Yes

max = n


7067471

10

JavaScript

var max = 0; var n = Number(prompt(, 0));while (n>0) { if (n>max) { max = n; } n = Number(prompt(, 0));} alert(max);

max = 0

n

n<=0

n 0

Yes

n>max

No

max = n

n

n

n

max


7067471

<2-9>

  • 1010(a)

max = 0

(a)

n<=0

max

n<=0


7067471

max = 0

max = 0

n

n<=0

n 0

(a)

Yes

n>max

No

max = n

n

n

max

max

n<=0

n<=0

122


7067471

JavaScript

var max = 0; var n;do { n = Number(prompt(, 0)); if (n>max) { max = n; }} while (n>0); alert(max);

n

n

Yes

n>max

No

max = n

n

n <= 0

<2-9>

max = 0

max

n 0


7067471

A=1?

(A)

AA+1

A>=16

(JIS)

124


7067471

11

max = 0

Sub1

n

n = Sub1

Yes

n>max

No

n<=0

max = n

max

n


7067471

11

JavaScript

var max = 0; var n;do { n = Sub1( );} while (n>0); alert(max);

function Sub1( ) { n = Number(prompt(, 0)); if (n>max) { max = n; } return n;}

Sub1

n

Yes

n>max

No

max = n

n


7067471

1028()

(kadai04.txt)


7067471

(

  • 1075.2516

  • 1075.252

  • 2101.000110116

  • 2101.000110110

  • 16B.2A2

  • 16B.2A10

  • 616

128


7067471

etc.

129


7067471

      • while for JavaScriptJavaC


Backup1

Backup


7067471

b =

<2-1>

  • a b c 5%c

a

a 0.8

c =

b 1.05

c


7067471

3

a

c

b

c

a

b

a

c

b

5

3

3

5

a b

(1) ac

(2) ba

(3) ca b

3

5

3

5

<2-2>

a3b5

a

aca

5

3

b

c a

a b

b c

a

b

ab


7067471

a

b

c

No

Yes

a

50

No

No

Yes

b

12

No

No

Yes

c

8

No

<2-3>

a

b

c

a

50

Yes

b

12

Yes

c

8

Yes


7067471

<2-4>

a

No

Yes

a

65

Yes

No

a

12

Yes

No


7067471

<2-5>

i = 7

No

i > 0

Yes

i

i >0 i

i = i 2

  • i


7067471

: JavaScript

var sum = 0;var i = 5;

while (i<=13) { sum = sum + i; i = i + 2; }

alert(sum);

(a)

(b)

<2-6>

sum = 0

i = 5

(a)

No

i 13

Yes

sum = sum + i

(b)

i = i + 2

sum


7067471

<2-7>

n == 0

n 0

n = 5

n == 0

n = n 2

n==1 n

n < 0 n


7067471

(a)

i : 5, 2, i>13

: 5

: 2

: 1313

: JavaScript

var sum = 0;

for ( var i=5; i<=13; i=i+2 ) { sum = sum + i; }

alert(sum);

<2-8>

sum = 0

(a)

sum = sum + i

(a)

sum


7067471

JavaScript

var max = 0; var n;do { n = Number(prompt(, 0)); if (n>max) { max = n; }} while (n>0); alert(max);

n

n

Yes

n>max

No

max = n

n

n <= 0

<2-9>

max = 0

max

n 0


7067471


Javascript1

: JavaScript

  • JavaScript

    • (2005)

  • ! JavaScript

    • (2003)

  • JavaScript

    • (2002)

  • JavaScript 3

    • (2000)

  • JavaScript

  • JavaScript

http://pzxa85.hp.infoseek.co.jp/www/js/index.htm

http://www.site-cooler.com/kwl/javascript/


While for

while for

while ()

0 0 forfor (expr1; expr2; expr3)

expr1;

while (expr2) {

expr3;

}

for


7067471

No

Yes

Yes

No


7067471

:

i 5, -1, 0

i = 1, 2, , 10

i

i=5, 4, 1, 0


7067471


7067471


7067471


7067471


7067471


7067471

    • 22


7067471


7067471

  • 0104

  • 0511

  • 1214


7067471

    • Web


7067471

RGB

10

11)

12)

13

14

orX


7067471

RGB


7067471


7067471


7067471

    • :

    • :

    • :


7067471


7067471

:

  • CDDVD


7067471

  • (bit: binary digit)

    • 01

0

1


7067471

0

0

()

0

1

0

1

# $ % &

1

1


7067471

  • (byte)

    • = 8

      28=256

    • : 10011010

0

1

0

0

1

1

0

1

=

22222222 = 28 = 256


7067471

  • 1B ()= 8

  • 1KB () = 1,024B = 210 B

  • 1MB () = 1,024KB= 220 B

  • 1GB ()= 1,024MB= 230 B

  • 1TB ()= 1,024GB= 240 B


  • 7067471

    < 1-1>

    • (1) 12

    • 2^4 =16, 2^3=8

    • (2) 1945/bit

    • 1945bit?? 11bit

    • byte?? 2byte


    7067471

        • ======


    7067471


    7067471

    • nm


    7067471

    • 10n

    4725 = 4 x 103 + 7 x 102 + 2 x 101 + 5 x 100

      • : (11011)2 = (27)10 = (1B)16


    7067471

    312

    16

    312 = 2561 + 163 + 18

    160 = 1

    161 = 16

    162 = 256

    16

    1

    1

    1

    1

    256

    16

    16

    1

    1

    1

    1

    2561

    163

    18

    :

    10

    312 = 1003 + 101 + 12

    100 = 1

    101 = 10

    102 = 100

    100

    10

    1

    1

    100

    100

    1003

    101

    12


    7067471

    2 1

    37

    18

    2 0

    9

    2 1

    (100101)2

    2 0

    4

    2

    2 0

    1

    2 1

    0

    n

      • : (37)10


    7067471

    < 1-2>

    • (3804)10


    7067471

    RGB


    7067471


    7067471

    • ON/OFF)


    7067471

    < 1-1>

    • (1) 12

    • 2^4 =16, 2^3=8

    • (2) 1945/bit

      • 1945bit??

        • 11bit

      • byte??

        • 2byte


    7067471

    16 120 8

    167 7

    (78)16

    0

    < 1-2>

    • (120)10


    7067471

    = 12x4096 + 2x256 + 15x16 + 3x1

    = (49907)10

    C 2 F 3

    16

    163

    162

    161

    160

      • : (C2F3)16 =

    163 = (24)3

    = 243 = 212

    = 21022

    = 10244

    = Cx163 + 2x162 + Fx161 + 3x160

      • : (1101)2 = 1x23 + 1x22 + 0x21 + 1x20 = (13)10


    7067471

    0.375

    2

    0.75

    2

    0.5

    2

    0.75

    1.5

    1.0

    (0.0011)2

    • n

      • : (0.1875)10

    0.1875

    2

    0.375


    7067471

    < 1-3>

    • (0.171875)10


    7067471

    0.171875

    16

    0.75

    16

    2.75

    12.0

    (0.2C)16

    < 1-3>

    • (0.171875)10


    7067471

    1

    162

    1

    16

    = 15x1 + 2x + 12x

    = (15.171875)10

      • : (F.2C)16 =

    F . 2 C

    16

    160

    16-1

    16-2

    = Fx160 + 2x16-1 + Cx16-2


    7067471

    < 1-4>

    • (1.01)2


    7067471

    < 1-4>

    • (1.01)2

    (1.01)2 = 120 + 02-1 + 12-2

    = 11+ 00.5 + 10.25

    = (1.25)10


    7067471

      • : 2222 = 24 = 16


    7067471

    23

    22

    21

    20

    23

    22

    21

    20

    23

    22

    21

    20

    4 + 1

    8 + 2 + 1

    4

    (5.B4)16

    11(B)

    4

    5

    • : (101.101101)2

    (0) 1 0 1 . 1 0 1 1 0 1 (0) (0)


    7067471

    < 1-5>

    • (7.6E)16


    7067471

    7 . 6 E (14)

    0 1 1 1

    0 1 1 0

    1 1 1 0

    (111.0110111)2

    < 1-5>

    • (7.6E)16


    Windows

    [][]

    : Windows

    • Windows C

      • [] [] [] []


    Windows1

    Windows

    • [x^y]

      • x

    : 23 [2] [x^y] [3] [=]


    Windows2

    (43)10

    (43)16

    (43)2

    Windows


    7067471

    2010


    7067471

    RGB


    7067471

    RGB


    7067471

      • bit

      • 28=256


    7067471

      • :

      • : n

      • :

      • :


    7067471

    0.375

    2

    0.75

    2

    0.5

    2

    0.75

    1.5

    1.0

    (0.0011)2

    • n

      • : (0.1875)10

    0.1875

    2

    0.375


    7067471

    1

    162

    1

    16

    = 15x1 + 2x + 12x

    = (15.171875)10

      • : (F.2C)16 =

    F . 2 C

    16

    160

    16-1

    16-2

    = Fx160 + 2x16-1 + Cx16-2


    7067471

      • :

      • : n

      • :

      • :


    7067471


    7067471

    A

    01000001

    01000001

    01000001


    7067471

    (01000001)2

    EBCDIC

    (11000001)2

    A

    ASCII


    7067471

      • ISO: International Organization for Standardization

        • ASCIIJISJISJIS


    7067471

    b4

    b3

    b2

    b1

    b8

    b7

    b6

    b5

    • : 28 = 256

    A = 0 1 0 0 0 0 0 1

    4

    1

    JIS


    7067471

    b4

    b4

    b3

    b3

    b2

    b2

    b1

    b1

    b8

    b8

    b7

    b7

    b6

    b6

    b5

    b5

    • : 216 = 65,536

    = 0 0 1 1 0 0 0 0

    0 0 1 0 0 0 0 1

    3

    0

    2

    1

    JIS


    7067471


    Ascii

    ASCII

    • ASCII

      • American Standard Code for Information Interchange

    • (ANSI)1962

      • ANSI: American National Standards Institute

      • 27=128


    Ascii1

    A (41)16

    (01000001)2

    JIS

    ASCII

    b8


    7067471

    < 1-6>

    • ASCII 16

      • Men


    7067471

    < 1-6>

    • ASCII 16

      • Men

    M = (4D)16

    : (4)16: (D)16

    e = (65)16

    : (6)16: (5)16

    n = (6E)16


    Jis xdump 1 3

    0D

    0A

    2

    : JIS xdump 1.3

    xdump.exe

    16

    http://www.vector.co.jp/soft/win95/util/se197132.html


    Ebcdic

    EBCDIC

    • EBCDIC

      • Extended Binary Coded Decimal Interchange Code

    • IBM

    • 196070IBM

      • IBMIBM


    Jis iso 2022 jp

    JIS ISO-2022-JP

    • JISISO

      • JIS: Japanese Industrial Standards

      • /

    • ASCII

      • JIS

      • JISISO-2022-JP


    Jis shift jis

    JIS (Shift_JIS)

    • WindowsMac

    • JIS

    Mac ()


    Euc unix

    EUCUNIX

    • EUC: Extended Unix Code

    • 1985UNIXATT

      • EUC

      • EUC-JP EUC-KR


    Unicode

    Unicode

    • Unicode

      • Apple ComputerIBMMicrosoft

    • UTF-8

      • Unicode

      • ASCII


    7067471

    Web

    TCP/IP

    Web

    www.amazon.co.jp

    Shift-JIS

    Unicode (UTF-8)

    www.kansai-u.ac.jp

    wikipedia.org

    Unicode(UTF-8)


    7067471

    Web

    • Web

      • WebHTML

    • JISEUC-JP


    7067471

    Web

    • (http://www.amazon.co.jp)

      • Shift-JIS

    UTF-8


    7067471


    7067471

    : RGB

    • RGBRedGreenBlue3

      • <><><>

    • 2560255

      • : (255, 0, 0)

      • : (0, 255, 0)

      • : (0, 0, 255)

      • : :(255, 255, 255)

      • : :(0, 0, 0)


    16 rgb

    FFFFFF

    G

    B

    R

    16RGB

    • 256(8)216

      • 256 = 28 = 2424 = 1616

    • 24

      • 282828 224 16,777,216

    G

    B

    R

    Web


    7067471

    16


    7067471

    HTML

    <html>

    <body style="background-color:#0000FF; color:#FFFFFF;">

    <b></b>

    </body>

    </html>


    7067471

    • RGB

    • (Red)(Green)(Yellow)

    • (Green)(Blue)(Cyan)

    (FF0000) +

    (00FF00) =

    (FFFF00)

    (00FF00) +

    (0000FF) =

    (00FFFF)


    7067471

    RGB


    Web 216

    Web 216

    • OSWindows, Unix, Mac OS IE, Netscape, Opera 216

    • RGB 666 = 216

      • 10

      • CCFF16

      • :

    http://www.interq.or.jp/japan/goofy/color.html


    Word 2007

    : Word 2007


    7067471

    • RGB

    http://www.hikarun.com/w/


    7067471


    7067471

    • bit

      • 2^4(24)=162^5=32

    • bit

      • 2^6=64, 2^7=128, 2^8=256, 2^9=512

    • byte


    7067471

    • (F.2C)16

      • F=15, 2x16-1=0.125, Cx16-2=0.046875

    • (23.5479)10>>

      • 23/16=17 1/16=01 ->17

        • 0.5479x16= 8.7664, 0.7664x16= 12.2624, 0.2624x16= 4.1984, 0.1984x16= 3.1744, 0.1744x16= 2.7904, 0.7904x16= 12.6464, 0.6464x16=10.3424, 0.3424x16= 5.4784, 0.4784x16= 7.6544, 0.6544x16= 10.4704,

        • 17.8C432CA57A

    • (F.2C)16

      • F=1111, 2=0010, C=1100 1111.001011


    7067471

      • ASCII

      • SJIS


  • Login