程式設計學習進度與學習心得 新文章
第一周9/7
老師給範本
學生改HTML原始碼
第二周9/14
學習
<input type="button" value="2020年每天通貨走勢" onclick="draw()" >
<label>顏色:<input type="radio" name="color"></label>
<label>黑色:<input type="radio" name="color"></label>
<label>紅色:<input type="radio" name="color"></label>
<label>藍色:<input type="radio" name="color"></label>
<label>綠色:<input type="radio" name="color"></label><br>
第三周9/21
在HTML處增加。
<form><b>選擇顏色:
<input id="linecolor" type="checkbox">紅色
<input onclick="draw()" type="button" value="2020年每天通貨走勢" /></form>
在JavaScript處作如下更改。
ctx.fillStyle="black";
if ( document.getElementById(' linecolor').checked )
ctx.fillStyle="red";
位元組與變數
10進位 |
16進位 |
位元組Byte數的2進位表示 |
|||||||
2進位對應的10進位 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|
|
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
2 |
2 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
3 |
3 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
4 |
4 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
9 |
9 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
10 |
A |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
11 |
B |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
12 |
C |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
13 |
D |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
15 |
F |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
16 |
10 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
17 |
11 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
128 |
80 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
255 |
FF |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
=SUMPRODUCT($C$3:$J$3,C18:J18)=DEC2HEX(A18)
第四周9/28
<form><b>
選擇速度: <select id="selection">
<option value="10">10</option>
<option value="20">20</option>
<option value="40" selected>40</option>
<option value="100">100</option>
<option value="100">500</option>
</select>
選擇顏色:
<input id="linecolor" type="checkbox">紅色 <!--核取方塊 linecolor -->
<input onclick="draw()" type="button" value="2020年每天通貨走勢" />
</form>
<iframe src="https://tsaiingweng.blogspot.com/" width="100%" height="300"></iframe><!--iframe來源高度--iframe/iframe/iframe-->
var speed = document.getElementById("selection");
speedvalue = speed.options[speed.options.selectedIndex].text;
第五周10/5
第六週上課
網頁指令 | VBA指令 |
聯絡人職稱: | UserForm_Initialize()'起始表單事件設定 |
聯絡人職稱:<select id="ComboBox1"> <option>董事長</option> <option>總經理</option> <option>副總經理</option> <option>財務長</option> <option>人資長</option> </select> | With ComboBox1 .Additem("董事長") .Additem("總經理") .Additem("副總經理") .Additem("財務長") .Additem("人資長") End With |
vba | |
<input type="button"value="按下去"onclick="alert('你是豬頭')">> | vba |
command | vba |
豬狗貓 | vba |
第七周2020/10/19
表格命令對照
輸入國庫卷金額: | vba |
輸入國庫卷金額:<input type="text" id="a"> | vba |
vba | |
<input onclick="alert('你是豬頭!')" type="button" value="按下我" /> | vba |
豬狗貓 | vba |
豬<input type="radio" />狗<input type="radio" />貓<input type="radio" /> | vba |
豬狗貓 | vba |
豬<input name="pet" type="radio" />狗<input name="pet" type="radio" />貓<input name="pet" type="radio" /> | vba |
vba | |
<select><option>董事長</option><option>總經理</option><option>財務長</option></select> | vba |
Excel VBA | |
Private Sub CommandButton1_Click() Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍 If Range("A1").CurrentRegion.Rows.Count = 1 Then Set addnew = Sheets("DataTable").Range("A1").Offset(1, 0) Else Set addnew = Sheets("DataTable").Range("A1").End(xlDown).Offset(1, 0) End If addnew.Offset(0, 0).Value = TextBox1.Text '統一編號 addnew.Offset(0, 1).Value = TextBox2.Text '公司 addnew.Offset(0, 2).Value = TextBox3.Text '聯絡人 addnew.Offset(0, 4).Value = TextBox4.Text '地址 addnew.Offset(0, 3).Value = ComboBox1.Value '聯絡人職位 使用下拉式選單 ListBox1.ColumnCount = 5 '在清單方塊 ListBox1 顯示輸入的資料,5 columns ListBox1.RowSource = "A1:E65536" End Sub Private Sub CommandButton2_Click() End End Sub Private Sub UserForm_Initialize() ComboBox1.AddItem ("董事長") ComboBox1.AddItem ("總經理") ComboBox1.AddItem ("副總經理") ComboBox1.AddItem ("財務長") End Sub |
EXCEL VBA
第八週2020/10/26
國庫券T-Bill,Treasury Bill,美國財政部
國庫券面額$ 天期貼現率 %
價格$(計算中)
參考李顯儀金融市場page 4-12
第十週2020/11/9
YouTube影片編輯
陣列Array
零邊際成本
留言
張貼留言