--- title: SIRLA 招生試題 tags: sirla, questions, information science, concept --- # ***SIRLA 招生試題*** ## 計算機概論 * 基本知識 * 請依資訊科學相關領域,試解釋下列名詞:API、TCP、RWD、SMTP、CNN :+1: :+1: * 請問下列協定之預設埠號為何?又其協定分別應用為何? * HTTP、HTTPS、FTP、Telnet、SSH、DNS :+1: * 網頁設計 * 試說明何謂前端?又何謂後端? :+1: * 試舉出當今所存在的十種網路框架,並舉出以該框架進行網站架設之實例 * 系統操作 > 以下為Linux系統樹狀圖,請依該圖回答 > 註:皆以Linux指令回答 ``` / |-- etc/ | |-- passwd | |-- s3cr3+ | |-- hackme | |-- y0u_d0n+_kn0vv/ | |-- 4r3_y0u_kidding? | |-- s3ri0us? | |-- n0_w4y | |-- f4bric4+3_log | |-- log/ | |-- system.log | |-- system.log_0.gz | |-- system.log_1.gz | |-- system.log_br3ak.gz | |-- usr/ | |-- bin/ |-- system.conf ``` * 你當前位置在`bin/`,你發現`s3cr3+`檔案中有你滿滿的黑歷史,請下指令將`s3cr3+`檔案移到`usr/`下,並將其改名為`n0+hing`,並將內容清空 * 你當前位置在`usr/`,為了不讓人發現你更改檔案的紀錄,請下指令刪除`system.log_br3ak.gz`,並新增一個`system.log_fake.gz`,然後執行`f4bric4+3_log`檔案 * Python * 下列程式碼具有執行能力,請問是以python哪一版本執行? ```python for i in range(10): haha = raw_input() print(haha) print "Do you know the version?" ``` * 下列程式碼具有執行能力,請問其最後剩下哪些字母為何? :+1: ```python count = 1 x = "You might be know about python, do you?" for i in x: if count < len(x) and count != 0: y = len(x) % count if y == 0: count += 4 print(i), else: count = count % len(x) + 1 continue ``` * JavaScript * 請說明何謂Arrow Function :+1: * 請問當今最新的JavaScript版本為何? ## 實作題 * 文字的價值 :+1: :::info 假設文字有了價值,a = 1、b = 2 ... z = 26,如此可知"love"這個單字的價值為56,"friendship"的價值則為108,碰到"death"時結束程式 請使用任何一種程式語言編寫如此程式 ::: | input | output | | ----- | ------ | | love | 56 | | friendship | 108 | | abandon | 51 | | knowledge | 96 | | girlfriend | 102 | | boyfriend | 98 | | death | | * 請設計依下列詩句的意境設計一個靜態網頁 :+1: ``` But be contented when that fell arrest 當殘暴死神不容交保機會的 Without all bail shall carry me away. 將我擒拿押解,請心存寬慰。 My life hath in this line some interest, 我的生命曾置產於這些詩句, Which for memorial still with thee shall stay. 而今如回憶的信物陪伴著你。 When thou reviewest this, thou dost review 當你一再朗讀,你是重讀著 The very part was consecrate to thee. 我獻上的我神聖的那一部份。 The earth can have but earth, which is his due; 終歸於塵土的只能擁有塵土, My spirit is thine, the better part of me. 而靈性,更好的我,於你靈性裡安住。 So then thou hast but lost the dregs of life, 我的肉體死亡,而你失去的 The prey of worms, my body being dead, 只是蛆蟲之食,生命的殘渣, The coward conquest of a wretch's knife, 怯懦的時間刀刃下的戰利品, Too base of thee to be remembered. 鄙陋得毫不值得你緬懷珍惜。 The worth of that is that which it contains, 有形的價值為其涵蘊的無形, And that is this, and this with thee remains. 而那無形的價值亦蘊涵於你。 -- Shakespeare's Sonnet 74 ```