程式語言支援函式(Functions)或方法(Methods)。關於使用函式或方法的優點,下列敘述何者不正確?

Android開發1_物件導向

Quiz
•
Computers
•
1st Grade
•
Medium

H wm
Used 8+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
簡化程式複雜度
避免程式碼重複
增加程式可重用性
加快程式執行速度
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
程式語言會使用「變數」來暫存資料,其中「區域變數」(Local Variables)具有特定限制與特性,有關於Java的「區域變數」,下列敘述何者不正確?
在程式的方法(Methods)內宣告的變數稱為區域變數
區域變數的有效範圍僅限於宣告該變數的方法內
在程式的方法定義中宣告的輸入參數(Parameters)也屬於該方法的區域變數
方法內宣告的區域變數可以和宣告的輸入參數同名
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
撰寫程式時應該善用「註解」(Comments)以增進程式的可讀性。下列何者是Java或Objective-C的常用註解符號?
\\
#
/* */
--
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
關於堆疊(Stack)的特性,下列敘述何者正確?
後進先出
後進後出
先進先出
以上皆是
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
下列何者為編譯式程式語言?
Javascript
Perl
Java
PHP
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
為了提高程式維護性,下列哪一種流程控制不建議使用?
if else
goto
switch case
block
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
使用下列何種流程控制時,最需注意別陷入無窮迴圈的情況?
while
if-else
switch
try-catch
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
動健康40問

Quiz
•
1st - 5th Grade
40 questions
遙控無人機考古題(專業操作證4)

Quiz
•
KG - Professional Dev...
40 questions
遙控無人機考古題(專業操作證5)

Quiz
•
KG - Professional Dev...
37 questions
计算机系统互联+无线局域网的组建 小测

Quiz
•
1st Grade
40 questions
資訊安全小測驗

Quiz
•
1st - 5th Grade
36 questions
數概_上_CH11

Quiz
•
1st - 5th Grade
35 questions
Scratch一级综合练习(一)

Quiz
•
1st - 6th Grade
44 questions
7 即时国际

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade