阿摩線上測驗
登入
首頁
>
觀光行政與法規
>
104年 - 104 高等考試_三級_觀光行政(選試觀光英語):觀光行政與法規#28868
> 申論題
四、交通部觀光局訂定「旅行業接待大陸地區人民來臺觀光高端品質團處理原則」的目 的為何?該處理原則除應符合「旅行業接待大陸地區人民來臺觀光旅遊團優質行程 審查作業要點」外,尚應符合的情形有那些?(25 分)
相關申論題
一、請舉例說明⑴輸入方式限制⑵數值資料檢查⑶執行時期例外處理⑷資料存取權限控 制等四種程式設計技巧,如何防止使用者輸入的資料,或程式執行過程產生的資料, 發生資料值錯誤、不合理現象、執行錯誤程式中斷、或未符合資料限制等狀況。 (20 分)
#58376
⑴創造 ArrayList 物件
#58377
⑵設定迴圈起始狀態
#58378
⑶改變控制變數
#58379
⑷加入餘數 0~F 的字元到 ArrayList
#58380
⑸從最後加入的資料開始,一一取出存放在 ArrayList 中的資料(ArrayList 資料的 長度在 Java 中可使用 size()方法取得)
#58381
三、如 下 程 式 碼 所 構 成 的 方 法 / 函數( method/function ),在呼叫時,使用 recursiveFlowControl(3, "ss", "dd", "aa"),請問該方法被呼叫執行後,顯示結果為何? 如為語法有誤或執行時期發生中斷,請說明原因,並請修正錯誤或引起中斷的程式, 讓程式可以正常執行結束並顯示結果。註:System.out.println();會將小括號中的字 串顯示到螢幕輸出裝置。(15 分) void recursiveFlowControl(int num, String s1, String s2, String s3) { System.out.println("... I am here ..."); if (num == 1) { System.out.println("num==1, Move from " + s1 + " to " + s2); } else { recursiveFlowControl(num-1, s1, s3, s2); System.out.println("num!=1, Move from " + s1 + " to " + s2); recursiveFlowControl(num-1, s3, s2, s1); } } / / End of recursiveFlowContorl
#58382
五、如下的 HTML 程式執行後,執行頁面為何?請以圖示解釋執行結果。又當按下 "Submit"動作按鈕後,會將帳號、密碼等資料,以不透過 URL 的方式,傳送給 login.php 程式來處理,請問應於表單標記中加入那些屬性,及相對應的資料值。 (15 分) <html> <head> <title> Log in </title> </head> <body> <center><h1><strong>網際網路應用</strong></h1></center> <hr /> <form id="Login" name="Login"> <p> <label for="account"> Account </label> <input name="account" type="text" id="account" /> </p> <p> <label for="Password"> Password </label> <input name="Password" type="password" id="Password" /> </p> <p> <input type="reset" name="Reset" id="Reset" value="Reset" /> <input type="submit" name="Submit" id="Submit" value="Submit" /> </p> </form> </body> </html>
#58384
六、就物件導向程式而言,現有如下的繼承關係的類別。(15 分) class GrandFather { String name = "GrandFather"; String getName() { return name; } String whereIam() { return "class GrandFather"; } } // End of GrandFather class class Father extends GrandFather { String getName() { return name; } String whereIam() { return "class Father"; } } // End of Father class class Son extends Father { String name = "Son"; String getName() { return name; } String whereIam() { return "class Son"; } } // End of Son class class Daughter extends Father { String getName() { return name; } String whereIam() { return "class Daughter"; } } // End of Daughter class 於其他類別方法中使用如下的 statement: Father f1 = new GrandFather(); Father f2 = new Son(); Father f3 = new Daughter(); System.out.println(f2.getName()); System.out.println(f3.getName()); System.out.println(f2.whereIam()); System.out.println(f3.whereIam()); 請問編譯執行後,會顯示什麼結果?如為語法有誤或執行時期發生中斷,請說明原 因,並將該 statement 予以忽視,然後說明可以正確執行 statement 所產生的結果。
#58385
一、何謂觀光政策、觀光行政、觀光法規?三者之間有何關係?詳述之。(25 分)
#58386
相關試卷
112年 - 112 地方政府特種考試_三等_觀光行政(選試觀光日語):觀光行政與法規#118244
112年 · #118244
112年 - 112 原住民族特種考試_三等_觀光行政(選試觀光英語):觀光行政與法規#116468
112年 · #116468
112年 - 112 高等考試_三級_觀光行政(選試觀光英語):觀光行政與法規#115636
112年 · #115636
111年 - 111 地方政府特種考試_三等_觀光行政(選試觀光英語):觀光行政與法規#112487
111年 · #112487
111年 - 111 高等考試_三級_觀光行政(選試觀光英語):觀光行政與法規#109619
111年 · #109619
111年 - 111 普通考試_觀光行政:觀光行政與法規概要#109355
111年 · #109355
110年 - 110 高等考試_三級_觀光行政(選試觀光英語)、觀光行政(選試觀光日語):觀光行政與法規#102477
110年 · #102477
110年 - 110 普通考試_觀光行政:觀光行政與法規概要#102349
110年 · #102349
109年 - 109 地方政府特種考試_三等_觀光行政(選試觀光英語):觀光行政與法規#94859
109年 · #94859
109年 - 109 普通考試_觀光行政:觀光行政與法規概要#88697
109年 · #88697