2014年8月30日 星期六

SundayClass001

7:30~9:00

Chapter 4: Functions
In this chapter you are going to:
• learn about functions
• write your own functions
• create a number guessing game.
Chapter 5: MyEtchASketch
In this chapter you are going to:
• learn how to use the tkinter library
• make your own MyEtchASketch game
• learn how to put an application in its own window
• learn how to attach functions to keyboard presses.





# myEtchASketch application from Coding Club: Python Basics
# Note: the argument 'self' (in early editions of Python Basics) has been replaced by 'event'.  

from tkinter import *

##### Set variables:
canvas_height = 400
canvas_width = 600
canvas_colour = "black"
p1_x=canvas_width/2
p1_y=canvas_height
p1_colour="green"
line_width=5
line_length=5

##### Functions:

# player controls
def p1_move_N(event):
    global p1_y
    canvas.create_line(p1_x, p1_y, p1_x, (p1_y-line_length), width=line_width, fill=p1_colour)
    p1_y = p1_y - line_length

def p1_move_S(event):
    global p1_y
    canvas.create_line(p1_x, p1_y, p1_x, p1_y+line_length, width=line_width, fill=p1_colour)
    p1_y = p1_y + line_length

def p1_move_E(event):
    global p1_x
    canvas.create_line(p1_x, p1_y, p1_x + line_length, p1_y, width=line_width, fill=p1_colour)
    p1_x = p1_x + line_length

def p1_move_W(event):
    global p1_x
    canvas.create_line(p1_x, p1_y, p1_x - line_length, p1_y, width=line_width, fill=p1_colour)
    p1_x = p1_x - line_length

def erase_all(event):
    canvas.delete(ALL)

##### main:
window = Tk()
window.title("MyEtchaSketch")
canvas = Canvas(bg=canvas_colour, height=canvas_height, width=canvas_width, highlightthickness=0)
canvas.pack()

# bind movement to key presses
window.bind("<Up>", p1_move_N)
window.bind("<Down>", p1_move_S)
window.bind("<Left>", p1_move_W)
window.bind("<Right>", p1_move_E)
window.bind("u", erase_all)

window.mainloop()

################################################
################################################
################################################




'''
ryTurtleMouseKeyboard001.py

turtle 之 滑鼠、鍵盤控制。
'''
import random
from turtle import *

s= Screen()
t= Turtle()


def 點s(x,y):
    print('點s()',x,y)
    t.goto(x,y)

def 點t(x,y):
    print('點t()',x,y)
    
def 拖t(x,y):
    print('拖t()',x,y)
    t.goto(x,y)

    
s.onclick(點s)
t.onclick(點t)

#t.ondrag(拖t) # 這行有時會當掉,還有待解決!


def 按a():
    print('按a()')
    t.clear()


def 按b():
    print('按b()')


def 按c():
    print('按c()')


def 按d():
    print('按d()')

    
s.onkeypress(按a,'a')
s.onkeypress(按b,'b')
s.onkeypress(按c,'c')
s.onkeypress(按d,'d')


def 按上():
    t.forward(100)

def 按下():
    t.back(100)

def 按左():
    t.left(90)

def 按右():
    t.right(90)
    
s.onkeypress(按上,'Up')
s.onkeypress(按下,'Down')
s.onkeypress(按左,'Left')
s.onkeypress(按右,'Right')

s.listen()

s.mainloop()

2014年8月26日 星期二

基北區熱門高中最低錄取門檻表

基北區熱門高中最低錄取門檻表
2014/07/22



建北師:135/3= 45
成中政:125/3= 42
松大麗:120/3= 40

阿名:
英文 45
數學 38
國文 33
國英數總分= 116
國英數平均= 38.7 (掉出基北區十校)
英數平均=     41.5 (上松大麗,但成中政只差一點點)
英單科=   45 (上建北師)






高中科學班


臺北市立建國高級中學
103 學年度科學班甄選入學簡章
中華民國 103 年 2 月

高中科學班畢業生 可望直升大學

http://mag.udn.com/mag/edu/storypage.jsp?f_ART_ID=431287






http://12basic.ntpc.edu.tw/wp-content/uploads/2014/04/9.pdf

http://camel.ck.tp.edu.tw/~scicla/

報名資格
3.凡就讀於主管教育行政機關核定之國民中學數理資優資源班。

報名日期
103 年 3 月 5 日

科學能力檢定
103 年 3 月 15 日
4.方式:分為「數學能力檢定」與「自然科學能力檢定」

實驗實作
103 年 3 月 20 日
4.方式:採科學營方式辦理,為期 2 日

錄取名額:招生人數扣除直接錄取名額之餘額。
科學班放榜:103 年 3 月 26 日

特殊身分學生之錄取,名額處理及成績計算方式,依其升學優待規定辦理。

直接錄取資格
□1.參加「國際國中生科學奧林匹亞競賽」獲個人銅牌獎(含)以上者。
□2.參加「國際數理學科奧林匹亞競賽」獲獎或選訓決賽完成結訓,並獲保送高中資格者。
□3.參加「國際科學展覽」獲獎或獲選「國際科學展覽」正選代表,並獲保送高中資格者。

二、科學能力觀察量表
1. 對研究數理及科學方面的問題有強烈的動機和興趣,願意自動花時間鑽研。 □ □ □ □ □
2. 常主動詢問周遭與科學有關的問題。 □ □ □ □ □
3. 數理領悟力強,學習科學的速度快。 □ □ □ □ □
4. 數字概念良好,計算能力優異。 □ □ □ □ □
5. 抽象思考能力優異,運用符號思考的能力強。 □ □ □ □ □
6. 能運用圖形、符號等代表或簡化複雜的訊息。 □ □ □ □ □
7. 能用多元方式解題,思考靈活。 □ □ □ □ □
8. 分析的能力強,邏輯推理能力優異。 □ □ □ □ □
9. 願意嘗試超乎年齡水準的科學題目。 □ □ □ □ □
10. 參與科學競賽表現優異。 □ □ □ □ □
觀察人敘述並簽名
(※請以簡明文字描述其數理性向特質或表現傑出等具體事蹟,若欄位不足可將增加部分浮貼於本欄位或背面)

-----------------------------------------
國立臺灣師範大學附屬高級中學
103 學年度科學班甄選入學簡章

http://12basic.ntpc.edu.tw/wp-content/uploads/2014/04/10.pdf

(一)直接錄取:
(二)科學能力檢定、實驗實作:

日期:103 年 3 月 15 日(星期六)。
方式:檢定項目為
語文閱讀與理解(含國文、英文)、
數學能力檢定
與自然科學能力檢定(含化學、物理、生物及地球科學)。

2. 實驗實作:
日期:103 年 3 月 29(星期六)~30 日(星期日)。

4.放榜日期:103 年 4 月 9 日





2014年8月25日 星期一

2014年8月22日 星期五

精確估算風險、大膽做決策。

5校「全壘打」吐怨氣 考生批國教一整個亂


2014-08-23

〔記者謝佳君/台北報導〕

石牌國中畢業的陸建亘,會考成績4A1B、作文四級分,一免以第三志願上新店高中,參加續招五校全錄取;其中,中崙高中是他一免時所填的第一志願,終於爭回一口氣。他直言,今年十二年國教「整個就是亂、讓人很無言」!


陸建亘一免第一、第二志願分別是中崙和成淵高中,最後錄取第三志願新店高中。
他說,因為英文不好,沒有參加特招,又害怕很多人參加二免、名額少,所以放棄二免;
之後聽說成績比他差的學生二免錄取和平,甚至沒考會考就上成功高中,讓他很生氣
認為既然續招沒有風險,就五校都嘗試看看,沒想到竟全部錄取。
陸建亘說,從六月一免放榜再熬到八月二免,還要擔心有沒有學校可念,每天都是煎熬。
【我的看法】

十二年國教,在評估國中生及其家長的「風險承受度」、「挫折忍受度」,
敢不敢「要」,怕不怕「要不到」,
能不能多方蒐集資訊、小心研判資訊、
精確估算風險、大膽做決策。

這些品質,知易行難,唯有在未來歲月裡,提醒自己、有機會就訓練自己。




2014年8月21日 星期四

麗山科學人才培育計畫

臺北市公私立高中職課程與教學領先計畫

第二期程(103 年度-105 年度) 申請計畫書

2014~2017,就是阿名讀的這三年。

主計畫冊
子計畫冊
//// 結論:

北市高中職國際交換生 盼遇上其他無限可能

http://news.ner.gov.tw/index.php?act=culnews&code=view&ids=167025

為拓展學生國際視野,台北市選送交換生赴國外交流邁入第三年,今天(18)舉行成果發表會,首度有3名高職學生參與學習,顯示高中與高職的學生,愈來愈重視與國際間的接軌。

http://sino23120397.pixnet.net/blog/post/12748861-大家擠破頭要參加的高中交換學生計畫!!!!!