
Android開發2_基本程式邏輯運算
Authored by H wm
Computers
2nd Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
程式語言一般支援算術、關係、邏輯等多種運算子(Operators),而這些運算子會具有優先順序。下列有關於Java或Objective-C運算子的優先順序的排序(由高到低),何者是正確的?
+ == &&
&& == +
== + &&
+ && ==
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
上列Java程式碼的執行結果為何?
*
**
***
****
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列Java程式碼執行後,會顯示為多少?
int x = 0; int y = 10; while (x < 5) { y--; ++x; } ; System.out.print(x + "," + y);
5,5
5,6
6,6
6,5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列Java程式碼執行後,結果為何?
int a =2; int b =3;
b=(a)+(b++);
System.out.print (b);
5
6
7
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
關於以下程式片段,執行後之結果:
int v1 = 100;
double v2,v3;
v2 = v1/3;
v3 = (double)v1/3;
下列敘述何者正確?
v2之值(小數取二位)為33.00 且 v3之值(小數取二位)為33.33
v2之值(小數取二位)為33.33 且 v3之值(小數取二位)為33.33
v2之值(小數取二位)為33.00 且 v3之值(小數取二位)為33.00
v2之值(小數取二位)為33.33 且 v3之值(小數取二位)為33.00
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列何者的結果,與其他三個選項不同?
int a = 7, b; b = a++; print b;
int a = 7, b; b = ++a; print b;
int a = 88, b; b = a / 10; print b;
int a = 88, b; b = a % 10; print b;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
關於以下程式片段,執行後之結果: int v1 = 100; int v2 = --v1;
下列敘述何者正確?
v1之值為100 且 v2之值為99
v1之值為99 且 v2之值為100
v1之值為100 且 v2之值為100
v1之值為99 且 v2之值為99
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
30 questions
MODULO 1 PROGRAMACIÓN
Quiz
•
1st - 5th Grade
25 questions
勇闖魔鬼域
Quiz
•
2nd Grade
25 questions
109統測專一計算機概論
Quiz
•
2nd Grade
27 questions
二年級期末
Quiz
•
2nd Grade
28 questions
模組化程式設計
Quiz
•
2nd Grade
27 questions
二年級模進
Quiz
•
2nd Grade
28 questions
Алг СД и программирование
Quiz
•
1st - 5th Grade
29 questions
General IT
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
14 questions
Contractions
Quiz
•
2nd Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Counting Coins
Quiz
•
2nd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
19 questions
Subject-Verb Agreement
Quiz
•
2nd - 5th Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
12 questions
2-Digit Subtraction with Regrouping
Quiz
•
2nd Grade
14 questions
Fractions
Quiz
•
2nd - 3rd Grade