"動手學科學/物質科學Ⅲ/進位制與字集" 修訂間的差異
(→活動一:十六進位與十進位的轉換練習一) |
(→(二)十六進位轉十進位) |
||
(未顯示同一使用者於中間所作的 17 次修訂) | |||
行 9: | 行 9: | ||
#什麼是十六進位法? | #什麼是十六進位法? | ||
#0~F分別代表什麼意義? | #0~F分別代表什麼意義? | ||
− | |||
==進位制== | ==進位制== | ||
行 18: | 行 17: | ||
== 復習十進位 == | == 復習十進位 == | ||
+ | 十進位 243 如右圖: | ||
+ | <img src='http://nice-learning.tw/uploadFiles/不錯學群/百事數學/243.svg'/> | ||
+ | |||
+ | =兩個 10<sup>2</sup> + 4 個 10<sup>1</sup> + 3 個 1(即10<sup>0</sup>) | ||
+ | |||
==十六進位== | ==十六進位== | ||
'''進位制說明:''' | '''進位制說明:''' | ||
行 106: | 行 110: | ||
<tr><td>開頭沒特別的表示字</td><td>以 x 為開頭</td></tr> | <tr><td>開頭沒特別的表示字</td><td>以 x 為開頭</td></tr> | ||
<tr><td>0 ~ 9</td><td>0~9,A,B,C,D,E,F</td></tr> | <tr><td>0 ~ 9</td><td>0~9,A,B,C,D,E,F</td></tr> | ||
− | <tr><td> | + | <tr><td>兩位數字中,高位每 1 代表十</td><td>兩位數字中,高位每 1 代表十六</td></tr> |
<tr><td>21</td><td>x15</td></tr> | <tr><td>21</td><td>x15</td></tr> | ||
<tr><td>36</td><td>x24</td></tr> | <tr><td>36</td><td>x24</td></tr> | ||
行 116: | 行 120: | ||
#排列過程,須口述向同一組的成員說明為什麼這樣排的理由。 | #排列過程,須口述向同一組的成員說明為什麼這樣排的理由。 | ||
#理解十六進位與十進位的不同記數,實質上為同一數值。 | #理解十六進位與十進位的不同記數,實質上為同一數值。 | ||
− | + | <table class='nicetable' align='center' style='border:2pt;width:95%;border-collapse:collapse'> | |
<tr> | <tr> | ||
<th bgcolor='#FFD2D2' ><B>十六進位</B></th> | <th bgcolor='#FFD2D2' ><B>十六進位</B></th> | ||
行 154: | 行 158: | ||
===(二)十六進位轉十進位=== | ===(二)十六進位轉十進位=== | ||
[http://jendo.org/uploadFiles/不錯學群/百事數學/mkDec.php http://jendo.org/uploadFiles/不錯學群/百事數學/mkDec.php] | [http://jendo.org/uploadFiles/不錯學群/百事數學/mkDec.php http://jendo.org/uploadFiles/不錯學群/百事數學/mkDec.php] | ||
+ | |||
+ | 例:十六進位 → 十進位的計算<br/><br/>xF3=15×16+3=243<br/><br/> | ||
+ | |||
+ | <table style='border:none'> | ||
+ | <tr> | ||
+ | <td style='border:none'><img src='http://nice-learning.tw/uploadFiles/不錯學群/百事數學/xF3.svg'></td> | ||
+ | <td style='color:blue;font-size:35px;border:none'>=</td> | ||
+ | <td style='border:none'><img src='http://nice-learning.tw/uploadFiles/不錯學群/百事數學/243.svg'></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | ==字集:ASCII可顯示字元(共95個)== | ||
+ | <table style='border:none;'> | ||
+ | <tr> | ||
+ | <td style='vertical-align:top;border:none;'> | ||
+ | <table border='1' cellspacing='0' cellpadding='2' class='wikitable'> | ||
+ | <tr> | ||
+ | <th>二進制</th> | ||
+ | <th>十進制</th> | ||
+ | <th>十六進制</th> | ||
+ | <th>字形</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0000</td> | ||
+ | <td>32</td> | ||
+ | <td>20</td> | ||
+ | <td style='white-space:nowrap;'>(空白)</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0001</td> | ||
+ | <td>33</td> | ||
+ | <td>21</td> | ||
+ | <td>!</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0010</td> | ||
+ | <td>34</td> | ||
+ | <td>22</td> | ||
+ | <td>'</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0011</td> | ||
+ | <td>35</td> | ||
+ | <td>23</td> | ||
+ | <td>#</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0100</td> | ||
+ | <td>36</td> | ||
+ | <td>24</td> | ||
+ | <td>$</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0101</td> | ||
+ | <td>37</td> | ||
+ | <td>25</td> | ||
+ | <td>%</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0110</td> | ||
+ | <td>38</td> | ||
+ | <td>26</td> | ||
+ | <td>&</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 0111</td> | ||
+ | <td>39</td> | ||
+ | <td>27</td> | ||
+ | <td>'</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1000</td> | ||
+ | <td>40</td> | ||
+ | <td>28</td> | ||
+ | <td>(</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1001</td> | ||
+ | <td>41</td> | ||
+ | <td>29</td> | ||
+ | <td>)</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1010</td> | ||
+ | <td>42</td> | ||
+ | <td>2A</td> | ||
+ | <td>*</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1011</td> | ||
+ | <td>43</td> | ||
+ | <td>2B</td> | ||
+ | <td>+</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1100</td> | ||
+ | <td>44</td> | ||
+ | <td>2C</td> | ||
+ | <td>,</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1101</td> | ||
+ | <td>45</td> | ||
+ | <td>2D</td> | ||
+ | <td>-</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1110</td> | ||
+ | <td>46</td> | ||
+ | <td>2E</td> | ||
+ | <td>.</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0010 1111</td> | ||
+ | <td>47</td> | ||
+ | <td>2F</td> | ||
+ | <td>/</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0000</td> | ||
+ | <td>48</td> | ||
+ | <td>30</td> | ||
+ | <td>0</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0001</td> | ||
+ | <td>49</td> | ||
+ | <td>31</td> | ||
+ | <td>1</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0010</td> | ||
+ | <td>50</td> | ||
+ | <td>32</td> | ||
+ | <td>2</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0011</td> | ||
+ | <td>51</td> | ||
+ | <td>33</td> | ||
+ | <td>3</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0100</td> | ||
+ | <td>52</td> | ||
+ | <td>34</td> | ||
+ | <td>4</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0101</td> | ||
+ | <td>53</td> | ||
+ | <td>35</td> | ||
+ | <td>5</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0110</td> | ||
+ | <td>54</td> | ||
+ | <td>36</td> | ||
+ | <td>6</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 0111</td> | ||
+ | <td>55</td> | ||
+ | <td>37</td> | ||
+ | <td>7</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1000</td> | ||
+ | <td>56</td> | ||
+ | <td>38</td> | ||
+ | <td>8</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1001</td> | ||
+ | <td>57</td> | ||
+ | <td>39</td> | ||
+ | <td>9</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1010</td> | ||
+ | <td>58</td> | ||
+ | <td>3A</td> | ||
+ | <td>:</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1011</td> | ||
+ | <td>59</td> | ||
+ | <td>3B</td> | ||
+ | <td>;</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1100</td> | ||
+ | <td>60</td> | ||
+ | <td>3C</td> | ||
+ | <td><</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1101</td> | ||
+ | <td>61</td> | ||
+ | <td>3D</td> | ||
+ | <td>=</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1110</td> | ||
+ | <td>62</td> | ||
+ | <td>3E</td> | ||
+ | <td>></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0011 1111</td> | ||
+ | <td>63</td> | ||
+ | <td>3F</td> | ||
+ | <td>?</td> | ||
+ | </tr></table></td> | ||
+ | <td style='vertical-align:top;border:none;'> | ||
+ | <table border='1' cellspacing='0' cellpadding='2' class='wikitable' style='float: left;'> | ||
+ | |||
+ | <tr valign='bottom'> | ||
+ | <th>二進制</th> | ||
+ | <th>十進制</th> | ||
+ | <th>十六進制</th> | ||
+ | <th>字形</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0000</td> | ||
+ | <td>64</td> | ||
+ | <td>40</td> | ||
+ | <td>@</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0001</td> | ||
+ | <td>65</td> | ||
+ | <td>41</td> | ||
+ | <td>A</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0010</td> | ||
+ | <td>66</td> | ||
+ | <td>42</td> | ||
+ | <td>B</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0011</td> | ||
+ | <td>67</td> | ||
+ | <td>43</td> | ||
+ | <td>C</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0100</td> | ||
+ | <td>68</td> | ||
+ | <td>44</td> | ||
+ | <td>D</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0101</td> | ||
+ | <td>69</td> | ||
+ | <td>45</td> | ||
+ | <td>E</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0110</td> | ||
+ | <td>70</td> | ||
+ | <td>46</td> | ||
+ | <td>F</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 0111</td> | ||
+ | <td>71</td> | ||
+ | <td>47</td> | ||
+ | <td>G</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1000</td> | ||
+ | <td>72</td> | ||
+ | <td>48</td> | ||
+ | <td>H</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1001</td> | ||
+ | <td>73</td> | ||
+ | <td>49</td> | ||
+ | <td>I</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1010</td> | ||
+ | <td>74</td> | ||
+ | <td>4A</td> | ||
+ | <td>J</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1011</td> | ||
+ | <td>75</td> | ||
+ | <td>4B</td> | ||
+ | <td>K</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1100</td> | ||
+ | <td>76</td> | ||
+ | <td>4C</td> | ||
+ | <td>L</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1101</td> | ||
+ | <td>77</td> | ||
+ | <td>4D</td> | ||
+ | <td>M</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1110</td> | ||
+ | <td>78</td> | ||
+ | <td>4E</td> | ||
+ | <td>N</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0100 1111</td> | ||
+ | <td>79</td> | ||
+ | <td>4F</td> | ||
+ | <td>O</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0000</td> | ||
+ | <td>80</td> | ||
+ | <td>50</td> | ||
+ | <td>P</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0001</td> | ||
+ | <td>81</td> | ||
+ | <td>51</td> | ||
+ | <td>Q</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0010</td> | ||
+ | <td>82</td> | ||
+ | <td>52</td> | ||
+ | <td>R</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0011</td> | ||
+ | <td>83</td> | ||
+ | <td>53</td> | ||
+ | <td>S</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0100</td> | ||
+ | <td>84</td> | ||
+ | <td>54</td> | ||
+ | <td>T</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0101</td> | ||
+ | <td>85</td> | ||
+ | <td>55</td> | ||
+ | <td>U</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0110</td> | ||
+ | <td>86</td> | ||
+ | <td>56</td> | ||
+ | <td>V</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 0111</td> | ||
+ | <td>87</td> | ||
+ | <td>57</td> | ||
+ | <td>W</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1000</td> | ||
+ | <td>88</td> | ||
+ | <td>58</td> | ||
+ | <td>X</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1001</td> | ||
+ | <td>89</td> | ||
+ | <td>59</td> | ||
+ | <td>Y</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1010</td> | ||
+ | <td>90</td> | ||
+ | <td>5A</td> | ||
+ | <td>Z</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1011</td> | ||
+ | <td>91</td> | ||
+ | <td>5B</td> | ||
+ | <td>[</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1100</td> | ||
+ | <td>92</td> | ||
+ | <td>5C</td> | ||
+ | <td>\</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1101</td> | ||
+ | <td>93</td> | ||
+ | <td>5D</td> | ||
+ | <td>]</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1110</td> | ||
+ | <td>94</td> | ||
+ | <td>5E</td> | ||
+ | <td>^</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0101 1111</td> | ||
+ | <td>95</td> | ||
+ | <td>5F</td> | ||
+ | <td>_</td> | ||
+ | </tr></table></td> | ||
+ | <td style='vertical-align:top;border:none'> | ||
+ | <table border='1' cellspacing='0' cellpadding='2' class='wikitable' style='float: left;'> | ||
+ | |||
+ | <tr valign='bottom'> | ||
+ | <th>二進制</th> | ||
+ | <th>十進制</th> | ||
+ | <th>十六進制</th> | ||
+ | <th>字形</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0000</td> | ||
+ | <td>96</td> | ||
+ | <td>60</td> | ||
+ | <td>`</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0001</td> | ||
+ | <td>97</td> | ||
+ | <td>61</td> | ||
+ | <td>a</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0010</td> | ||
+ | <td>98</td> | ||
+ | <td>62</td> | ||
+ | <td>b</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0011</td> | ||
+ | <td>99</td> | ||
+ | <td>63</td> | ||
+ | <td>c</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0100</td> | ||
+ | <td>100</td> | ||
+ | <td>64</td> | ||
+ | <td>d</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0101</td> | ||
+ | <td>101</td> | ||
+ | <td>65</td> | ||
+ | <td>e</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0110</td> | ||
+ | <td>102</td> | ||
+ | <td>66</td> | ||
+ | <td>f</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 0111</td> | ||
+ | <td>103</td> | ||
+ | <td>67</td> | ||
+ | <td>g</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1000</td> | ||
+ | <td>104</td> | ||
+ | <td>68</td> | ||
+ | <td>h</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1001</td> | ||
+ | <td>105</td> | ||
+ | <td>69</td> | ||
+ | <td>i</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1010</td> | ||
+ | <td>106</td> | ||
+ | <td>6A</td> | ||
+ | <td>j</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1011</td> | ||
+ | <td>107</td> | ||
+ | <td>6B</td> | ||
+ | <td>k</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1100</td> | ||
+ | <td>108</td> | ||
+ | <td>6C</td> | ||
+ | <td>l</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1101</td> | ||
+ | <td>109</td> | ||
+ | <td>6D</td> | ||
+ | <td>m</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1110</td> | ||
+ | <td>110</td> | ||
+ | <td>6E</td> | ||
+ | <td>n</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0110 1111</td> | ||
+ | <td>111</td> | ||
+ | <td>6F</td> | ||
+ | <td>o</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0000</td> | ||
+ | <td>112</td> | ||
+ | <td>70</td> | ||
+ | <td>p</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0001</td> | ||
+ | <td>113</td> | ||
+ | <td>71</td> | ||
+ | <td>q</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0010</td> | ||
+ | <td>114</td> | ||
+ | <td>72</td> | ||
+ | <td>r</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0011</td> | ||
+ | <td>115</td> | ||
+ | <td>73</td> | ||
+ | <td>s</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0100</td> | ||
+ | <td>116</td> | ||
+ | <td>74</td> | ||
+ | <td>t</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0101</td> | ||
+ | <td>117</td> | ||
+ | <td>75</td> | ||
+ | <td>u</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0110</td> | ||
+ | <td>118</td> | ||
+ | <td>76</td> | ||
+ | <td>v</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 0111</td> | ||
+ | <td>119</td> | ||
+ | <td>77</td> | ||
+ | <td>w</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1000</td> | ||
+ | <td>120</td> | ||
+ | <td>78</td> | ||
+ | <td>x</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1001</td> | ||
+ | <td>121</td> | ||
+ | <td>79</td> | ||
+ | <td>y</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1010</td> | ||
+ | <td>122</td> | ||
+ | <td>7A</td> | ||
+ | <td>z</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1011</td> | ||
+ | <td>123</td> | ||
+ | <td>7B</td> | ||
+ | <td>{</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1100</td> | ||
+ | <td>124</td> | ||
+ | <td>7C</td> | ||
+ | <td>|</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1101</td> | ||
+ | <td>125</td> | ||
+ | <td>7D</td> | ||
+ | <td>}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0111 1110</td> | ||
+ | <td>126</td> | ||
+ | <td>7E</td> | ||
+ | <td>~</td> | ||
+ | </tr></table></td> | ||
+ | </tr></table> | ||
+ | == 活動三:知道字的編碼,然後送出字== | ||
+ | [http://jendo.org/uploadFiles/跨校選修/205/mkWords.php http://jendo.org/uploadFiles/跨校選修/205/mkWords.php] | ||
+ | |||
+ | ==廣宣常用 Emoji (日語:絵文字/えもじ emoji)== | ||
+ | 取得詳情: | ||
+ | #https://graphemica.com/字符 | ||
+ | #https://emojipedia.org/ | ||
+ | 1.👉(Backhand Index Pointing Right) 2.☝️(Index Pointing Up) 3.🤣(Rolling on the Floor Laughing,笑得在地上打滾)<br/>4.💫(Dizzy,暈眩) 5.📍(Round Pushpin,圓形圖釘) 6.✨(Sparkles,閃閃發光) 7.✦ 8.➤ 9.❝ 10.❞ 11.🗓️(Spiral Calendar,螺旋日曆) 12.📣(Megaphone,擴音器) 13.🌟(Glowing Star,發光的星星) 14.🔗(Link,關聯) 15.📢(Loudspeaker,喇叭)  | ||
+ | |||
+ | ==活動四:查出字符的 UTF-8 編碼== | ||
+ | [http://jendo.org/uploadFiles/跨校選修/205/mkCode.php http://jendo.org/uploadFiles/跨校選修/205/mkCode.php] | ||
+ | |||
+ | 請試用 ❤️ 及其他中文字。 |
於 2025年3月14日 (五) 23:25 的最新修訂
目錄
最常見的十六進位數值
電腦在配色選色方面,必須大量使用色碼表來豐富畫面的色彩,使用過程裡了解色碼的編排形式為 #RRGGBB ,其中RR是顏色中紅色成分的數值,GG是顏色中綠色成分的數值,而BB則是顏色中藍色成分的數值。採用十六進位法,所列出的整數落在00到FF的範圍內,以標示/指定顏色的強度。
疑問:
- 電腦配色為什麼採用十六進位法?
- 什麼是十六進位法?
- 0~F分別代表什麼意義?
進位制
進位制是一種記數方式。利用這種記數法,可以使用有限種數字符號來表示所有的數值。
- 進位制是一種人類設計出來的數字表現方式,自然界某一個數量(值),在不同進位制裡有不同的呈現方式。也就是我們可以用不同的進位制來表示同一個數。
- 人類利用進位的方式,連結數量與符號。
- 進位制的設計是任意的、可換算的、不影響實際描述的數值多寡。
復習十進位
十進位 243 如右圖:
=兩個 102 + 4 個 101 + 3 個 1(即100)
十六進位
進位制說明:
- 基數為16的記數系統。在數學中是一種逢16進1的進位制。
- 一般用數字0到9和字母A到F表示,其中:A~F相當於十進位的10~15,這些稱作十六進位數字。
- 十六進位制系統通常用於電腦領域,因為它們可方便當作二進位制的簡寫。
(幾乎所有的電子計算機內部都使用二進位制,分別為「0」和「1」表示「關」和「開」。)
四位位元 | 0000 | 0001 | 0010 | 0011 | 0100 | 0101 | 0110 | 0111 | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
四粒位元 | ⑧ ④ ② ① ⚪⚪⚪⚪ |
⑧ ④ ② ① ⚪⚪⚪⚫ |
⑧ ④ ② ① ⚪⚪⚫⚪ |
⑧ ④ ② ① ⚪⚪⚫⚫ |
⑧ ④ ② ① ⚪⚫⚪⚪ |
⑧ ④ ② ① ⚪⚫⚪⚫ |
⑧ ④ ② ① ⚪⚫⚫⚪ |
⑧ ④ ② ① ⚪⚫⚫⚫ |
⑧ ④ ② ① ⚫⚪⚪⚪ |
⑧ ④ ② ① ⚫⚪⚪⚫ |
⑧ ④ ② ① ⚫⚪⚫⚪ |
⑧ ④ ② ① ⚫⚪⚫⚫ |
⑧ ④ ② ① ⚫⚫⚪⚪ |
⑧ ④ ② ① ⚫⚫⚪⚫ |
⑧ ④ ② ① ⚫⚫⚫⚪ |
⑧ ④ ② ① ⚫⚫⚫⚫ |
十六進位數字 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
十進位數字 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
書寫說明與示例:
十進位數字 | 十六進位數字 |
---|---|
開頭沒特別的表示字 | 以 x 為開頭 |
0 ~ 9 | 0~9,A,B,C,D,E,F |
兩位數字中,高位每 1 代表十 | 兩位數字中,高位每 1 代表十六 |
21 | x15 |
36 | x24 |
51 | x33 |
活動一:十六進位與十進位的轉換練習一
分成二組進行,每一組的組員利用 1×1 的立體方塊,排出下列數值的十六進位記數,以及相對應的十進位記數。
- 排列過程,須口述向同一組的成員說明為什麼這樣排的理由。
- 理解十六進位與十進位的不同記數,實質上為同一數值。
十六進位 | 十進位 | ||
---|---|---|---|
x15 | 21 | ||
x24 | 36 | ||
x33 | 51 | ||
x42 | 66 |
活動二:十六進位與十進位的轉換練習二
(一)十進位轉十六進位
http://jendo.org/uploadFiles/不錯學群/百事數學/mkHex.php
(二)十六進位轉十進位
http://jendo.org/uploadFiles/不錯學群/百事數學/mkDec.php
例:十六進位 → 十進位的計算
xF3=15×16+3=243
= |
字集:ASCII可顯示字元(共95個)
|
|
|
活動三:知道字的編碼,然後送出字
http://jendo.org/uploadFiles/跨校選修/205/mkWords.php
廣宣常用 Emoji (日語:絵文字/えもじ emoji)
取得詳情:
1.👉(Backhand Index Pointing Right) 2.☝️(Index Pointing Up) 3.🤣(Rolling on the Floor Laughing,笑得在地上打滾)
4.💫(Dizzy,暈眩) 5.📍(Round Pushpin,圓形圖釘) 6.✨(Sparkles,閃閃發光) 7.✦ 8.➤ 9.❝ 10.❞ 11.🗓️(Spiral Calendar,螺旋日曆) 12.📣(Megaphone,擴音器) 13.🌟(Glowing Star,發光的星星) 14.🔗(Link,關聯) 15.📢(Loudspeaker,喇叭)
活動四:查出字符的 UTF-8 編碼
http://jendo.org/uploadFiles/跨校選修/205/mkCode.php
請試用 ❤️ 及其他中文字。